/* ================= IPC Attoor — design system (model-adapted) =================
   Palette: zinc neutrals. Display: Playfair Display. Body: Inter.
   Tamil: Noto Sans Tamil. Accent kept minimal & editorial.
============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..800;1,400..700&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap');

:root {
  --z-50:  #fafafa;
  --z-100: #f4f4f5;
  --z-200: #e4e4e7;
  --z-300: #d4d4d8;
  --z-400: #a1a1aa;
  --z-500: #71717a;
  --z-600: #52525b;
  --z-700: #3f3f46;
  --z-800: #27272a;
  --z-900: #18181b;

  --bg: var(--z-50);
  --card: #ffffff;
  --ink: var(--z-900);
  --ink-2: var(--z-700);
  --muted: var(--z-500);
  --line: var(--z-200);

  --red: #b91c1c;          /* used sparingly for destructive/alerts */
  --green: #15803d;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(24,24,27,.05);
  --shadow: 0 24px 60px -32px rgba(24,24,27,.35);

  --font: 'Inter', 'Noto Sans Tamil', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-ta: 'Noto Sans Tamil', 'Inter', sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--z-200); }
:lang(ta), .ta { font-family: var(--font-ta); line-height: 1.95; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--z-600); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.wrap, .container { width: min(var(--wrap), 92%); margin: 0 auto; }
.band { padding: 72px 0; }
.sec { padding: 48px 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-weight: 500; font-size: 15px; cursor: pointer;
  background: var(--z-900); color: #fff; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--z-800); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--z-50); color: var(--ink); }
.btn.ghost.light { background: rgba(255,255,255,.9); border-color: var(--z-200); color: var(--ink); }
.btn.dark { background: var(--z-900); }
.btn.green { background: var(--green); }
.btn.sm { padding: 9px 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- forms ---------- */
label.f { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number],
input[type=tel], input[type=file], select, textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--z-900); box-shadow: 0 0 0 3px var(--z-100); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.field { margin-bottom: 16px; }
.help { font-size: 13px; color: var(--muted); }

/* ---------- cards / tables ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px; }
.card h3 { font-size: 20px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th { background: var(--z-50); text-align: left; padding: 14px 16px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--z-50); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.badge.ok { background: #ecfdf5; color: #15803d; }
.badge.no { background: #fef2f2; color: #b91c1c; }
.badge.info { background: var(--z-100); color: var(--z-700); }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--z-100);
  color: var(--z-600); font-size: 13px; font-weight: 500; }
.thumb { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.alert { padding: 14px 20px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 20px; border: 1px solid transparent; }
.alert.success { background: #ecfdf5; color: #14532d; border-color: #bbf7d0; }
.alert.error { background: #fef2f2; color: #7f1d1d; border-color: #fecaca; }
.empty { padding: 56px; text-align: center; color: var(--muted); }
.kv { width: 100%; border-collapse: collapse; font-size: 15px; }
.kv th { text-align: left; padding: 10px 0; color: var(--muted); font-weight: 500; width: 42%; vertical-align: top; }
.kv td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.prose { font-size: 17px; color: var(--z-600); line-height: 1.8; max-width: 72ch; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); margin: 20px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ================= ADMIN SHELL ================= */
.admin { display: flex; min-height: 100vh; }
.sidebar { width: 264px; flex: 0 0 264px; background: var(--z-900); color: #fff;
  padding: 24px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.sidebar .brand img { width: 42px; height: 42px; background: #fff; border-radius: 50%; padding: 3px; }
.sidebar .brand b { font-family: var(--font-serif); font-size: 15px; line-height: 1.2; display: block; }
.sidebar .brand span { font-size: 11px; opacity: .6; }
.nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; opacity: .45; margin: 22px 12px 8px; }
.sidebar a.nav { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px;
  color: rgba(255,255,255,.72); font-size: 14.5px; font-weight: 500; margin-bottom: 2px; }
.sidebar a.nav:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar a.nav.active { background: #fff; color: var(--z-900); }
.sidebar a.nav i { width: 18px; text-align: center; }
.main { flex: 1; min-width: 0; }
.topbar { background: rgba(250,250,250,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  padding: 16px 28px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 20; }
.topbar h1 { font-size: 22px; margin: 0; }
.topbar .spacer { flex: 1; }
.topbar .who { font-size: 13px; color: var(--muted); text-align: right; }
.content { padding: 28px; }
.page-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head .spacer { flex: 1; }
.burger { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat .k { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.stat .v { font-family: var(--font-serif); font-size: 40px; font-weight: 500; letter-spacing: -.03em; }
.stat .ic { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; color: #fff; font-size: 17px; background: var(--z-900); }
.stat.g .ic { background: var(--green); }
.stat.d .ic { background: var(--z-700); }
.stat.b .ic { background: var(--z-500); }

.chart-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .t { font-weight: 500; font-size: 15px; }
.list-row .s { font-size: 13px; color: var(--muted); }

/* login */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--z-50); }
.auth-card { width: min(430px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 32px; padding: 40px; box-shadow: var(--shadow); }
.auth-card img.logo { width: 72px; display: block; margin: 0 auto 16px; }
.auth-card h1, .auth-card h2 { text-align: center; font-size: 26px; }

/* ================= PUBLIC SITE ================= */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(250,250,250,.8);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(228,228,231,.7); }
.head-inner { display: flex; align-items: center; gap: 16px; min-height: 80px; }
.site-brand { display: flex; align-items: center; gap: 12px; }
.site-brand img { width: 42px; height: 42px; object-fit: contain; }
.site-brand b { display: block; font-family: var(--font-serif); font-size: 19px; font-weight: 600;
  letter-spacing: -.02em; color: var(--ink); }
.site-brand span { display: block; font-size: 12px; color: var(--muted); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a { padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--z-600); }
.site-nav a:hover { color: var(--ink); }
.site-nav a.on { color: var(--ink); background: var(--z-100); }
.site-nav a.btn { color: #fff; }
.site-nav a.btn:hover { color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 110px; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--z-50), rgba(250,250,250,.86) 45%, rgba(250,250,250,.86)); backdrop-filter: blur(2px); }
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: 76px; margin: 0 auto 26px; }
.hero-badge { display: inline-block; padding: 7px 18px; border-radius: 999px; background: var(--z-100);
  color: var(--z-600); font-size: 14px; font-weight: 500; letter-spacing: .02em; margin-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 7vw, 82px); font-weight: 400; line-height: 1.06;
  max-width: 16ch; margin: 0 auto 26px; }
.hero h1 em { font-style: italic; color: var(--z-400); }
.hero-ta { font-family: var(--font-ta); font-size: clamp(17px, 2.4vw, 24px); color: var(--z-600); margin-bottom: 18px; }
.hero-verse { font-size: 18px; font-weight: 300; color: var(--z-600); max-width: 60ch; margin: 0 auto 40px; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* interior page hero */
.page-hero { padding: 80px 0 44px; border-bottom: 1px solid var(--line); background: #fff; }
.page-hero h1 { font-size: clamp(34px, 5.5vw, 60px); margin-bottom: 12px; }
.page-hero .ta, .page-hero p { color: var(--z-600); font-size: 17px; margin: 0; }

/* section headings */
.sec-title { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 10px; }
.sec-sub { color: var(--muted); font-size: 17px; margin-bottom: 40px; }
.sec-sub.ta { font-size: 16px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .ti { width: 52px; height: 52px; border-radius: 999px; background: var(--z-100);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; }
.tile h3 { font-size: 22px; margin-bottom: 10px; }
.tile p { color: var(--z-600); margin: 0; font-size: 15.5px; }

/* events */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 32px; }
.ev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ev-card > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ev-body { padding: 26px; flex: 1; }
.ev-date { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ev-card h3 { font-size: 23px; margin-bottom: 8px; }
.ev-card p { color: var(--z-600); font-size: 15.5px; }
.ev-card.muted-card { opacity: .72; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gal a { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--z-100); }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.gal a:hover img { transform: scale(1.05); }

/* map */
.map-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-card > div { padding: 36px; }
.map-card h3 { font-size: 26px; }
.map-card p { color: var(--z-600); }

/* footer */
.site-foot { background: var(--z-900); color: rgba(255,255,255,.7); padding: 72px 0 0; margin-top: 80px; }
.site-foot a { color: rgba(255,255,255,.82); }
.site-foot a:hover { color: #fff; }
.site-foot h4 { color: #fff; font-family: var(--font); font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; margin-bottom: 16px; }
.site-foot p { font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot-brand img { width: 42px; height: 42px; object-fit: contain; }
.foot-brand b { display: block; font-family: var(--font-serif); font-size: 19px; color: #fff; }
.foot-brand span { display: block; font-size: 12px; opacity: .65; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-top: 16px; font-size: 13px; text-align: center; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.6); }
.designer-credit { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); opacity: .9; transition: opacity .2s; }
.designer-credit:hover { opacity: 1; }
.designer-credit img { height: 20px; width: auto; }
.designer-credit b { font-weight: 600; }
.admin-credit { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px;
  padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.admin-credit img { height: 18px; width: auto; opacity: .6; }

/* motion */
html { scroll-behavior: smooth; }
/* Reveal is only ever hidden when JS is running — no-JS or a script error
   can never blank out page content. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px);
    transition: opacity .65s cubic-bezier(.21,.47,.32,.98), transform .65s cubic-bezier(.21,.47,.32,.98); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal.in.d1 { transition-delay: .08s; }
  html.js .reveal.in.d2 { transition-delay: .16s; }
  html.js .reveal.in.d3 { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* page enter / exit transition */
body.page-enter { animation: pageIn .5s cubic-bezier(.21,.47,.32,.98) both; }
body.page-leave { opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* micro-interactions */
a, button, .btn, .card, .tile, .pillar, .ev-card, .gal-item, .svc-row, .quote, .stat-card {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease,
              box-shadow .35s ease, transform .35s cubic-bezier(.21,.47,.32,.98), opacity .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.site-nav a { position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.21,.47,.32,.98); }
.site-nav a:hover::after, .site-nav a.on::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.btn::after { display: none; }
.site-head { transition: box-shadow .3s ease, background-color .3s ease, padding .3s ease; }
.site-head.scrolled { box-shadow: 0 8px 30px rgba(9,9,11,.08); }
.ev-card img, .gal-item img { transition: transform .6s cubic-bezier(.21,.47,.32,.98); }
.ev-card:hover img, .gal-item:hover img { transform: scale(1.05); }
.quote:hover, .stat-card:hover { transform: translateY(-4px); }

/* colourful icons */
.cicon { display: block; }
.pillar .ti, .tile .ti { background: var(--z-50); border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .35s cubic-bezier(.21,.47,.32,.98); }
.pillar:hover .ti, .tile:hover .ti { transform: translateY(-3px) rotate(-4deg); }

/* contact page info list */
.contact-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { flex: none; width: 42px; height: 42px; border-radius: 14px; background: var(--z-50);
  border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s ease; }
.contact-list li:hover .ci { transform: translateY(-2px) scale(1.04); }
.contact-list b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-list p { margin: 0; color: var(--z-800); }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--z-900); }

/* footer contact list */
.foot-contact { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.foot-contact li { display: flex; align-items: center; gap: 10px; }

/* back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 999px;
  background: var(--z-900); color: #fff; display: grid; place-items: center; font-size: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px); z-index: 60;
  box-shadow: 0 10px 28px rgba(9,9,11,.25); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* responsive */
@media (max-width: 980px) {
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .map-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .band { padding: 56px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .burger { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 2px; background: var(--z-50); border-bottom: 1px solid var(--line); padding: 14px 4%; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -290px; z-index: 60; transition: .25s; }
  .sidebar.open { left: 0; }
  .content { padding: 16px; }
  .hero { padding: 80px 0 70px; }
}
@media print {
  .sidebar, .topbar, .site-head, .site-foot, .no-print { display: none !important; }
  body { background: #fff; }
  .content { padding: 0; }
}

/* ================= HOME — model-adapted sections ================= */
.band-white { background: #fff; border-top: 1px solid rgba(228,228,231,.6); border-bottom: 1px solid rgba(228,228,231,.6); }
.band-dark { background: var(--z-900); color: rgba(255,255,255,.72); position: relative; overflow: hidden; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 18px; line-height: 1.8; color: var(--z-600); }
.lead.light { color: rgba(255,255,255,.62); font-weight: 300; font-size: 20px; max-width: 62ch; margin-inline: auto; }
.sec-title.light { color: #fff; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin-bottom: 40px; }
.sec-head .sec-title { margin: 0; }
.pill { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--z-900);
  color: #fff; font-size: 12px; font-weight: 500; margin-bottom: 12px; }

/* history */
.hist-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.hist-side { position: sticky; top: 110px; }
.hist-body > div + div { margin-top: 56px; }
.hist-body h3 { font-size: 26px; margin-bottom: 12px; }
.stat-card { background: var(--z-50); border: 1px solid var(--z-100); border-radius: var(--radius); padding: 30px; margin-top: 28px; }
.stat-card .yr { font-family: var(--font-serif); font-size: 40px; line-height: 1; margin-bottom: 6px; }
.stat-card .k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.stat-card p { color: var(--z-600); margin: 0; }

/* milestone */
.milestone { padding: 110px 0; }
.milestone::before { content: ''; position: absolute; top: -40%; right: -15%; width: 700px; height: 700px;
  background: rgba(255,255,255,.05); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.rule-line { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.rule-line span { width: 48px; height: 1px; background: rgba(255,255,255,.3); }
.rule-line em { font-family: var(--font-serif); font-size: 26px; color: rgba(255,255,255,.8); }

/* pillars */
.pillars { gap: 22px; }
.pillar { background: #fff; border: 1px solid rgba(228,228,231,.7); border-radius: var(--radius);
  padding: 38px; height: 100%; transition: box-shadow .45s; }
.pillar:hover { box-shadow: var(--shadow); }
.pillar .ti { width: 50px; height: 50px; border-radius: 16px; background: var(--z-100);
  display: grid; place-items: center; color: var(--z-900); margin-bottom: 22px; }
.pillar h3 { font-size: 25px; margin-bottom: 10px; }
.pillar p { color: var(--z-600); margin: 0; }

/* youth */
.youth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.youth-art { aspect-ratio: 1; border-radius: 48px; background: var(--z-100); border: 1px solid rgba(228,228,231,.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px; }
.youth-art .ring { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid;
  place-items: center; margin-bottom: 28px; box-shadow: var(--shadow-sm); color: var(--z-900); }
.youth-art h3 { font-size: 30px; margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--z-800); }
.ticks li::before { content: ''; width: 24px; height: 24px; border-radius: 50%; background: var(--z-900);
  flex: 0 0 24px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M10 3L4.5 8.5L2 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center; }

/* testimonials */
.quotes { gap: 22px; }
.quote { background: #fff; border: 1px solid rgba(228,228,231,.7); border-radius: var(--radius);
  padding: 32px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; margin: 0; }
.quote .qm { font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--z-300); margin-bottom: 12px; }
.quote blockquote { margin: 0 0 28px; color: var(--z-600); line-height: 1.75; }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption span { font-size: 13.5px; color: var(--muted); }

/* leadership */
.leader { background: var(--z-50); border: 1px solid rgba(228,228,231,.7); border-radius: 48px;
  padding: 56px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.leader-photo { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(to top right, var(--z-300), var(--z-100)); display: grid; place-items: center; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-contact { display: flex; align-items: center; gap: 12px; padding-top: 24px;
  margin-top: 8px; border-top: 1px solid var(--line); font-weight: 500; }
.leader-contact .dot { width: 40px; height: 40px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); }

/* service list */
.svc-list { display: grid; gap: 14px; }
.svc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 26px 32px; border-radius: var(--radius); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); transition: background .25s; }
.svc-row:hover { background: rgba(255,255,255,.1); }
.svc-row .k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.svc-row h3 { font-size: 24px; margin: 0; }
.svc-time { background: rgba(255,255,255,.1); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 500; }

/* gallery grid */
.gal2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gal-item { position: relative; display: block; overflow: hidden; border-radius: 32px;
  border: 1px solid rgba(228,228,231,.7); aspect-ratio: 4/3; background: #fff; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item .cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 28px;
  color: #fff; font-weight: 500; font-size: 17px; opacity: 0; transition: opacity .3s;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%); }
.gal-item:hover .cap { opacity: 1; }

@media (max-width: 980px) {
  .hist-grid, .youth-grid, .leader { grid-template-columns: 1fr; gap: 40px; }
  .hist-side { position: static; }
  .leader { padding: 32px; border-radius: 32px; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .gal2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pillars, .quotes { grid-template-columns: 1fr; }
  .milestone { padding: 72px 0; }
  .svc-row { padding: 22px; }
}
