/* ============================================================
   Tamil Center of Stamford, Inc. — Proof of Concept
   Shared stylesheet. Portable static CSS, no framework.
   Palette + type derived from the real TCSI logo & 2026 flyer.
   ------------------------------------------------------------
   For Sathish: all colors are CSS variables in :root below.
   Swap brand values in one place and the whole site updates.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #1a2a52;   /* primary — from logo ring / flyer border */
  --navy-deep:   #131f3d;
  --gold:        #d99a2b;   /* accent — from logo sun / flyer bullets  */
  --gold-soft:   #e8b657;
  --clay:        #b06a3a;   /* secondary — from roundel figure         */
  --cream:       #faf3e3;   /* page background — from flyer panel       */
  --cream-deep:  #f3e9d2;
  --ink:         #2a2f3a;   /* body text                                */
  --ink-soft:    #5b6270;
  --line:        #e5dcc3;   /* hairline dividers                        */
  --white:       #ffffff;

  --maxw: 1120px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(19, 31, 61, 0.28);
  --shadow-sm: 0 4px 14px -8px rgba(19, 31, 61, 0.30);

  --serif: "Fraunces", "Noto Serif Tamil", Georgia, serif;
  --sans:  "Inter", "Noto Sans Tamil", system-ui, sans-serif;
  --tamil: "Noto Serif Tamil", "Fraunces", serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
img { max-width: 100%; display: block; }
a { color: var(--clay); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.tamil { font-family: var(--tamil); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--cream-deep); }
.section--navy { background: var(--navy); color: #eef1f7; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.center .lede { margin-inline: auto; }

/* Eyebrow label */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.section--navy .eyebrow { color: var(--gold-soft); }

/* Kolam divider — the signature motif (Tamil floor-art inspired) */
.kolam {
  width: 120px; height: 22px; margin: 1.4rem 0;
  color: var(--gold);
}
.center .kolam { margin-inline: auto; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 243, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.6rem var(--gap);
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); color: var(--navy); font-size: 1.02rem; }
.brand-text span { font-size: 0.7rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.nav-links {
  display: flex; gap: 0.1rem; margin-left: auto; align-items: center;
  list-style: none; padding: 0; margin-block: 0; flex-wrap: nowrap;
}
.nav-links a {
  color: var(--ink); font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 0.6rem; border-radius: 8px; display: block; white-space: nowrap;
}
.nav-links a:hover { background: var(--cream-deep); text-decoration: none; color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; background: var(--gold);
  border-radius: 2px; margin-top: 3px;
}
.nav-cta {
  background: var(--gold); color: var(--navy) !important; font-weight: 700 !important;
  border-radius: 999px !important; padding: 0.4rem 0.85rem !important; white-space: nowrap;
  font-size: 0.9rem;
}
.nav-cta:hover { background: var(--gold-soft); }

/* "Get Involved" dropdown group */
.nav-group { position: relative; }
.nav-group-toggle {
  border: 0; cursor: pointer; font: inherit;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.nav-group .caret { font-size: 0.6em; transition: transform 0.18s; }
.nav-group.open .caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 0.4rem; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.nav-group:hover .nav-menu,
.nav-group.open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a {
  display: block; padding: 0.6rem 0.8rem; border-radius: 8px;
  color: var(--ink); font-size: 0.92rem; font-weight: 500;
}
.nav-menu a:hover { background: var(--cream-deep); color: var(--navy); text-decoration: none; }
.nav-menu a.active { color: var(--navy); font-weight: 700; background: var(--cream-deep); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0;
  cursor: pointer; padding: 0.4rem; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gap) 1rem; margin: 0;
    transform: translateY(-120%); transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a.active::after { display: none; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  /* Dropdown expands inline in the mobile panel */
  .nav-group { width: 100%; }
  .nav-group-toggle { width: 100%; justify-content: center; }
  .nav-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; min-width: 0;
    padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.2s ease;
  }
  .nav-group.open .nav-menu { max-height: 200px; }
  .nav-group:hover .nav-menu { max-height: 0; }
  .nav-group.open .nav-menu { max-height: 200px; }
  .nav-menu a { text-align: center; border-bottom: 1px solid var(--line); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  padding: 0.8rem 1.5rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.15s, background 0.2s;
  font-size: 0.98rem;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.section--navy .btn-outline { border-color: var(--gold-soft); color: var(--gold-soft); }
.section--navy .btn-outline:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(217,154,43,0.16), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem;
  align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 { margin: 0 0 0.4em; }
.hero .accent { color: var(--clay); }
.hero-motto {
  font-family: var(--serif); font-style: italic; color: var(--gold);
  font-size: 1.15rem; margin-top: 1.4rem;
}
.hero-art {
  aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--navy) 0%, var(--navy-deep) 70%);
  display: grid; place-items: center; box-shadow: var(--shadow);
  position: relative;
}
.hero-art img { width: 78%; border-radius: 50%; }
.hero-art::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  border: 2px dashed rgba(217,154,43,0.5);
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-art { max-width: 300px; margin-inline: auto; order: -1; }
  .hero .btn-row, .hero .kolam { justify-content: center; margin-inline: auto; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px){ .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { color: var(--navy); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 0.9rem;
  background: var(--cream-deep); display: grid; place-items: center; color: var(--clay);
}
.card .icon svg { width: 26px; height: 26px; }

/* MVV section is a plain wrapper; the .grid.grid-3 inside handles columns.
   (Removed a conflicting grid rule that was applied to the section itself.) */
.mvv { background: var(--cream-deep); }

/* ---------- Logo strip (sub-committees) ---------- */
.logo-strip { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.logo-strip a { text-align: center; color: var(--ink-soft); font-size: 0.82rem; font-weight: 600; }
.logo-strip a:hover { text-decoration: none; color: var(--navy); }
.logo-strip .chip {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 0.5rem;
  display: grid; place-items: center; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.18s;
}
.logo-strip a:hover .chip { transform: translateY(-3px); }
.logo-strip .chip img { width: 68%; }

/* ---------- Events ---------- */
.event {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem;
}
.event .date {
  text-align: center; background: var(--navy); color: var(--white);
  border-radius: 10px; padding: 0.5rem; line-height: 1.05;
}
.event .date .m { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); }
.event .date .d { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.event .meta { color: var(--ink-soft); font-size: 0.9rem; }
.event .meta strong { color: var(--navy); }
@media (max-width: 620px){
  .event { grid-template-columns: 72px 1fr; }
  .event .btn { grid-column: 1 / -1; text-align: center; }
}

/* ---------- Team / profiles ---------- */
.profile { text-align: center; }
.profile .avatar {
  width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 0.8rem;
  /* Consistent headshot background standard — Track 1 §1.5 */
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: grid; place-items: center; color: var(--gold-soft);
  border: 3px solid var(--gold); overflow: hidden; box-shadow: var(--shadow-sm);
}
.profile .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile .avatar .initials { font-family: var(--serif); font-size: 2.2rem; }
.profile .role { color: var(--clay); font-weight: 600; font-size: 0.9rem; }
.profile .name { font-family: var(--serif); color: var(--navy); font-size: 1.15rem; }

/* ---------- Callout / notes for Sathish ---------- */
.spec-note {
  border-left: 4px solid var(--gold); background: #fff8e8;
  padding: 0.9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0;
  font-size: 0.9rem; color: #6a5320;
}
.spec-note strong { color: var(--clay); }
.placeholder-pill {
  display: inline-block; background: #fff8e8; color: var(--clay);
  border: 1px dashed var(--gold); border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; padding: 0.1rem 0.6rem; letter-spacing: 0.03em;
}

/* Photo placeholder blocks */
.photo-ph {
  background:
    repeating-linear-gradient(45deg, var(--cream-deep), var(--cream-deep) 12px, #efe3c6 12px, #efe3c6 24px);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--ink-soft);
  font-size: 0.82rem; font-weight: 600; aspect-ratio: 4/3; text-align: center; padding: 1rem;
}
.photo-ph.wide { aspect-ratio: 16/7; }
.photo-ph.tall { aspect-ratio: 3/4; }

/* ---------- Lists ---------- */
.tick { list-style: none; padding: 0; margin: 0; }
.tick li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; }
.tick li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(217,154,43,0.22);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9d2e6; padding-block: 3rem 1.5rem; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.9rem; }
.site-footer a { color: #c9d2e6; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 780px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 54px; height: 54px; border-radius: 50%; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer-motto { font-family: var(--serif); font-style: italic; color: var(--gold-soft); margin-top: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: #8f9bb8;
}
.social { display: flex; gap: 0.6rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #c9d2e6;
}
.social a:hover { background: var(--gold); color: var(--navy); }
.social svg { width: 18px; height: 18px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--navy); color: #eef1f7; padding-block: clamp(2.5rem,5vw,3.6rem); text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 0.4rem; }
.page-hero p { color: #c9d2e6; max-width: 58ch; margin-inline: auto; }
.page-hero .tamil { color: var(--gold-soft); }
.breadcrumb { font-size: 0.82rem; color: #9fb0d8; margin-bottom: 0.8rem; }
.breadcrumb a { color: #9fb0d8; }

/* ---------- Utility ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.stack > * + * { margin-top: 1rem; }
.pill-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.info-pill { background: var(--cream-deep); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
/* Scroll reveal — only applies once JS adds .reveal-armed, so content is
   fully visible if JS is disabled/slow. */
.reveal-armed { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal-armed.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-armed { opacity: 1; transform: none; } }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--gold); color: var(--navy); padding: 0.6rem 1rem; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   PoC COMPONENT LAYER
   Defines classes the page markup uses that weren't yet in the
   base sheet. Same token system (navy / gold / cream). Grouped
   so the Tech Committee can find each component quickly.
   ============================================================ */

/* --- Section rhythm & headings --- */
section { padding-block: clamp(2.6rem, 5vw, 4.2rem); }
.section-head { margin-bottom: 1.8rem; }
.section-head.center { text-align: center; }
.section-head h2 { margin: 0.2rem 0 0; }
.section-head.center .kolam-rule { margin-inline: auto; }

/* Eyebrow label (already partly defined; ensure consistent) */
.eyebrow {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); display: inline-block;
}

/* Kolam rule — a small dotted divider echoing a Tamil kolam motif */
.kolam-rule {
  width: 96px; height: 12px; margin-top: 0.9rem;
  background-image: radial-gradient(var(--gold) 33%, transparent 34%);
  background-size: 12px 12px; background-repeat: repeat-x;
  background-position: center; opacity: 0.9;
}

/* --- Typographic helpers --- */
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.mb0 { margin-bottom: 0; }
.center { text-align: center; }
.tamil { font-family: var(--tamil); }

/* --- Buttons --- */
.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.btn-row.center { justify-content: center; }
.btn-gold   { background: var(--gold); color: var(--navy-deep); border: 1px solid var(--gold); }
.btn-gold:hover   { background: var(--gold-soft); text-decoration: none; }
.btn-ghost  { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost:hover  { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-ghost-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); text-decoration: none; }
.btn-maroon { background: var(--clay); color: var(--white); border: 1px solid var(--clay); }
.btn-maroon:hover { background: #97572f; text-decoration: none; }

/* --- Hero --- */
.hero {
  background:
    radial-gradient(1200px 380px at 50% -120px, rgba(217,154,43,0.16), transparent 60%),
    var(--cream);
  text-align: center; padding-block: clamp(2.4rem, 6vw, 4.4rem);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-seal { width: clamp(120px, 20vw, 168px); height: auto; margin-bottom: 1.1rem;
  filter: drop-shadow(0 8px 22px rgba(19,31,61,0.28)); }
.hero h1 { max-width: 30ch; margin: 0.3rem 0 0.6rem; }
.hero .lead { text-align: center; margin-inline: auto; }

/* --- MVV cards --- */
.mvv-card {
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.mvv-card .eyebrow { margin-bottom: 0.5rem; }
.mvv-card ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.mvv-card li { margin-bottom: 0.5rem; }
.mvv-card li:last-child { margin-bottom: 0; }

/* --- Sub-committee logo tiles --- */
.logo-row {
  display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center;
}
.logo-tile {
  flex: 1 1 180px; max-width: 240px; text-align: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1rem;
  box-shadow: var(--shadow-sm); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  transition: transform 0.18s, box-shadow 0.18s;
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.logo-tile b { color: var(--navy); font-size: 1.02rem; }
.logo-tile span { color: var(--ink-soft); font-size: 0.86rem; }
.logo-circle {
  width: 76px; height: 76px; border-radius: 50%; margin-bottom: 0.7rem;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, var(--navy), var(--navy-deep));
  color: var(--gold-soft); font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  border: 3px solid var(--gold); box-shadow: var(--shadow-sm);
}
.logo-circle.tamil { font-family: var(--tamil); }
.tag-new {
  font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
  background: var(--clay); color: var(--white); padding: 1px 6px; border-radius: 999px;
  vertical-align: middle; margin-left: 4px;
}

/* --- Generic card accents --- */
.card-accent { border-top: 4px solid var(--gold); }
.card h3 { margin-top: 0; }

/* --- Feature lists (schedule / facts) --- */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  padding: 0.6rem 0 0.6rem 1.6rem; border-bottom: 1px solid var(--line); position: relative;
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.feature-list li b { color: var(--navy); }

/* --- Photo placeholders --- */
.photo-ph, .ph-photo {
  background:
    repeating-linear-gradient(45deg, var(--cream-deep) 0 12px, #ecdfc0 12px 24px);
  border: 1px dashed #cdbb90; border-radius: var(--radius);
  min-height: 200px; display: grid; place-items: center; text-align: center;
  color: var(--ink-soft); font-size: 0.9rem; padding: 1rem;
}
.ph-photo.tall { min-height: 320px; }
.ph-photo small { color: #8a7c5c; }

/* --- Headshot avatars: the CONSISTENT-BACKGROUND standard (Track 1.5) --- */
.ph-avatar {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 0.8rem;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #24386b, var(--navy-deep));
  color: var(--gold-soft); font-family: var(--serif); font-weight: 700; font-size: 2.4rem;
  border: 3px solid var(--gold); box-shadow: var(--shadow-sm);
}
.person { text-align: center; }
.person b { display: block; color: var(--navy); margin-top: 0.2rem; }
.person span { display: block; color: var(--gold); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.person p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* --- Event cards --- */
.event-card {
  display: grid; grid-template-columns: 78px 1fr; gap: 1.2rem; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); margin-bottom: 1rem;
}
.event-card h3 { margin: 0.35rem 0 0.25rem; }
.event-date {
  text-align: center; background: var(--navy); color: var(--white);
  border-radius: 10px; padding: 0.55rem 0.4rem; line-height: 1.05;
}
.event-date .m { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); }
.event-date .d { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; }
.event-meta { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 0.4rem; }
.pill {
  display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy-deep); background: var(--gold-soft);
  padding: 2px 9px; border-radius: 999px;
}
@media (max-width: 620px){ .event-card { grid-template-columns: 64px 1fr; } }

/* --- Donation amount chips --- */
.amount-chip {
  font: inherit; font-weight: 600; cursor: pointer;
  background: var(--white); color: var(--navy); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 0.5rem 1.2rem; transition: all 0.15s;
}
.amount-chip:hover { border-color: var(--gold); }
.amount-chip.sel { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* --- Full-width call-to-action band --- */
.band {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white); text-align: center;
}
.band h2 { color: var(--white); }
.band .lead, .band p { color: #c9d2e6; margin-inline: auto; }
.band .eyebrow { color: var(--gold-soft); }

/* --- Page hero (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white); text-align: center; padding-block: clamp(2rem, 5vw, 3.4rem);
}
.page-hero h1 { color: var(--white); margin: 0.3rem 0 0.5rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero p { color: #c9d2e6; max-width: 58ch; margin-inline: auto; }

/* --- Spec / open-question callouts (requirements overlay; delete for prod) --- */
.spec {
  background: #fff7e6; border: 1px solid #f0d79a; border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 0.85rem 1.1rem; margin-top: 1.4rem;
  font-size: 0.9rem; color: #6b5320;
}
.spec.open { border-left-color: var(--clay); background: #fdefe8; color: #7a4327; }
.spec b { color: inherit; }

/* --- Blog post cards --- */
.post {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.post .meta { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.post h3 { margin: 0 0 0.5rem; }
.post h3 a { color: var(--navy); }

/* --- People grid (officers / committee rosters) --- */
.people-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 900px; margin-inline: auto;
}
.people-grid .person {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1rem; box-shadow: var(--shadow-sm);
}

/* --- Real committee logo badges (home page tiles) --- */
.logo-badge {
  width: 92px; height: 92px; border-radius: 50%; margin-bottom: 0.8rem;
  display: grid; place-items: center; overflow: hidden;
  background: var(--white); border: 2px solid var(--line);
  box-shadow: var(--shadow-sm); padding: 8px;
}
.logo-badge img { width: 100%; height: 100%; object-fit: contain; }

/* --- Home hero banner (real TCSI banner artwork) --- */
.hero-banner {
  width: 100%; max-width: 920px; height: auto; margin: 0 auto 1.4rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px -14px rgba(19,31,61,0.35);
}

/* --- Interior page hero logo --- */
.hero-logo {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 0.9rem;
  object-fit: contain; background: var(--white); padding: 6px;
  border: 3px solid var(--gold); box-shadow: var(--shadow-sm);
}

/* ============================================================
   PARTNER / SPONSORSHIP PAGE (from Abitha's flyer, Track 1.3.3)
   ============================================================ */

/* "200 Families & Growing" stat card */
.stat-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white); border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow);
}
.stat-figure { font-family: var(--serif); font-size: clamp(3.4rem, 8vw, 5rem); font-weight: 700; color: var(--gold-soft); line-height: 1; }
.stat-label { font-weight: 600; letter-spacing: 0.02em; margin-top: 0.4rem; font-size: 1.1rem; }

/* Sponsorship tiers */
.tier-list { display: grid; gap: 0.9rem; margin-top: 18px; }
.tier {
  display: grid; grid-template-columns: 120px 130px 1fr; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.3rem; box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--gold);
}
.tier-amt { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.tier-name { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; color: var(--gold); }
.tier-benefit { color: var(--ink-soft); }
.tier-titanium { border-left-color: #6b7a8f; }
.tier-titanium .tier-name { color: #6b7a8f; }
.tier-platinum { border-left-color: #9aa4b0; }
.tier-platinum .tier-name { color: #7e8794; }
.tier-gold { border-left-color: #d99a2b; }
.tier-gold .tier-name { color: #c9871f; }
.tier-silver { border-left-color: #a9b0ba; }
.tier-silver .tier-name { color: #868d98; }
.tier-bronze { border-left-color: #b3763d; }
.tier-bronze .tier-name { color: #a2662f; }
@media (max-width: 640px){
  .tier { grid-template-columns: 90px 1fr; row-gap: 0.3rem; }
  .tier-benefit { grid-column: 1 / -1; }
}

/* Year-long advertising band */
.advertise-band {
  margin-top: 1.4rem; background: var(--white); border: 1px dashed var(--gold);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.advertise-band h3 { color: var(--navy); }

/* MVV tagline (C1) */
.mvv-tagline {
  color: var(--ink-soft); font-style: italic; font-size: 1.05rem;
  margin: 0.2rem 0 0; max-width: 52ch; margin-inline: auto;
}

/* MVV cards — equal height, tidy vertical balance (C1 fix) */
.mvv .grid-3 { align-items: stretch; }
.mvv .mvv-card { display: flex; flex-direction: column; }
.mvv .mvv-card .eyebrow { margin-bottom: 0.6rem; }
.mvv .mvv-card > p { margin-top: auto; margin-bottom: auto; }
.mvv .mvv-card ul { margin-top: 0.2rem; }

/* Values pillars — bold label at normal size, description smaller (C1 tweak) */
.mvv .mvv-card ul li { font-size: 0.85rem; line-height: 1.45; }
.mvv .mvv-card ul li b { font-size: 1rem; }

/* Footer Tamil motto — keep on one line */
.site-footer .motto {
  font-family: var(--tamil); font-size: 0.9rem; color: var(--gold-soft);
  margin-top: 0.8rem; white-space: nowrap; letter-spacing: 0.01em;
}
@media (max-width: 480px){
  .site-footer .motto { white-space: normal; font-size: 0.85rem; }
}
