/* ============================================================
   YAGN FOUNDATION — DESIGN SYSTEM
   yagn.css  |  v1.0  |  All pages import this file
   ============================================================

   TABLE OF CONTENTS
   1.  Design Tokens (colours, type, spacing, radius)
   2.  Reset & Base
   3.  Typography scale
   4.  Layout utilities
   5.  Topbar
   6.  Site navigation (desktop + mobile)
   7.  Buttons
   8.  Section / page-hero patterns
   9.  Detail strip
   10. Cards (project, panel, team, org)
   11. Forms
   12. Footer
   13. Animations & scroll-reveal
   14. Responsive breakpoints
   ============================================================ */


/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {

  /* ═══════════════════════════════════════════════════════════
     BRAND ACCENT
     Change --c-red + --c-red-hover + --c-red-pale to retheme
     the entire site in one edit. Everything else follows.
     ═══════════════════════════════════════════════════════════ */

  --c-red:            #9B2B1A;   /* primary accent — crimson */
  --c-red-hover:      #b33320;   /* accent on hover (slightly lighter) */
  --c-red-pale:       #fdf3f1;   /* very light tinted background */
  --c-red-muted:      rgba(155,43,26,.12);  /* subtle fill / tint */
  --c-red-muted-md:   rgba(155,43,26,.16);  /* strip item hover */
  --c-red-muted-dark: rgba(155,43,26,.18);  /* dark section card hover */
  --c-red-muted-55:   rgba(155,43,26,.55);  /* outcome card letter */
  --c-red-link:       rgba(155,43,26,.7);   /* footer bottom link */

  /* ═══════════════════════════════════════════════════════════
     ACCENT TINTS used on white/hero text
     These are warm blush tones derived from the red above.
     Update if you change --c-red to a different hue.
     ═══════════════════════════════════════════════════════════ */

  --c-red-em-hero:    #e8b8b0;   /* <em> inside hero h1 */
  --c-red-em-inner:   #e8b0a8;   /* <em> inside inner-hero h1 */
  --c-red-em-light:   #e8a090;   /* eyebrow--light, section-title--white em */
  --c-red-em-hover:   #e05540;   /* topbar link hover, footer link hover */

  /* ═══════════════════════════════════════════════════════════
     NEUTRALS
     ═══════════════════════════════════════════════════════════ */

  --c-charcoal:       #1a1a1a;   /* primary text, topbar bg, strip bg */
  --c-grey:           #555555;   /* body text */
  --c-grey-l:         #888888;   /* captions, labels, placeholders */
  --c-border:         #e8e8e8;   /* dividers, card borders */
  --c-border-hover:   #dddddd;   /* panel card num on hover */
  --c-white:          #ffffff;
  --c-cream:          #faf8f5;   /* alternate section bg (warm white) */
  --c-parchment:      #f2ece3;   /* deeper warm bg (.section--parch) */
  --c-black:          #0f0f0f;   /* footer background */

  /* ═══════════════════════════════════════════════════════════
     DARK SECTION PALETTE (used in .section--dark)
     ═══════════════════════════════════════════════════════════ */

  --c-dark-bg:        #1a1a1a;
  --c-dark-text:      rgba(255,255,255,.55);
  --c-dark-border:    rgba(255,255,255,.1);
  --c-dark-hover:     rgba(155,43,26,.18);   /* = --c-red-muted-dark */

  /* ═══════════════════════════════════════════════════════════
     SEMI-TRANSPARENT WHITES (UI overlays, hero text, tags)
     ═══════════════════════════════════════════════════════════ */

  --c-white-90:   rgba(255,255,255,.9);
  --c-white-82:   rgba(255,255,255,.82);  /* hero meta text */
  --c-white-78:   rgba(255,255,255,.78);  /* hero subtitle */
  --c-white-70:   rgba(255,255,255,.7);   /* who-tag text */
  --c-white-55:   rgba(255,255,255,.55);  /* dark section body */
  --c-white-45:   rgba(255,255,255,.45);  /* footer col links */
  --c-white-38:   rgba(255,255,255,.38);  /* footer brand desc */
  --c-white-28:   rgba(255,255,255,.28);  /* footer col headings */
  --c-white-20:   rgba(255,255,255,.2);   /* footer bottom text */
  --c-white-13:   rgba(255,255,255,.13);  /* btn shimmer */
  --c-white-08:   rgba(255,255,255,.08);  /* btn-outline-white hover bg */
  --c-white-07:   rgba(255,255,255,.07);  /* who-tag bg */
  --c-white-05:   rgba(255,255,255,.05);  /* outcome card bg */

  /* ═══════════════════════════════════════════════════════════
     SEMI-TRANSPARENT BLACKS (shadows, hero overlay)
     ═══════════════════════════════════════════════════════════ */

  --c-black-08:  rgba(15,15,15,.08);   /* hero overlay top */
  --c-black-20:  rgba(15,15,15,.2);    /* inner hero overlay top */
  --c-black-50:  rgba(15,15,15,.5);    /* hero overlay mid */
  --c-black-78:  rgba(15,15,15,.78);   /* inner hero overlay bottom */
  --c-black-88:  rgba(15,15,15,.88);   /* hero overlay bottom */
  --c-black-88r: rgba(155,43,26,.88);  /* hero badge bg (red tinted) */

  /* Topbar link colour (your edit — near-white) */
  --c-topbar-link: rgba(254,254,254,.9);

  /* ═══════════════════════════════════════════════════════════
     TYPOGRAPHY
     ═══════════════════════════════════════════════════════════ */

  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Inter', system-ui, sans-serif;

  /* Font sizes */
  --fs-xs:    11px;
  --fs-sm:    13px;
  --fs-base:  15px;
  --fs-md:    17px;
  --fs-lg:    20px;
  --fs-xl:    28px;
  --fs-2xl:   38px;
  --fs-3xl:   clamp(28px, 4vw, 48px);   /* section headings */
  --fs-4xl:   clamp(40px, 6.5vw, 78px); /* hero h1 */

  /* Font weights */
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;

  /* Line heights */
  --lh-tight:   1.1;
  --lh-snug:    1.35;
  --lh-base:    1.6;
  --lh-relaxed: 1.85;

  /* ═══════════════════════════════════════════════════════════
     SPACING
     ═══════════════════════════════════════════════════════════ */

  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 88px;

  /* ═══════════════════════════════════════════════════════════
     BORDER RADIUS
     ═══════════════════════════════════════════════════════════ */

  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-full: 9999px;

  /* ═══════════════════════════════════════════════════════════
     SHADOWS
     ═══════════════════════════════════════════════════════════ */

  --shadow-sm:  0 2px 10px rgba(0,0,0,.06);
  --shadow-md:  0 6px 22px rgba(0,0,0,.09);
  --shadow-lg:  0 12px 36px rgba(0,0,0,.13);
  --shadow-red: 0 8px 28px rgba(155,43,26,.14);
  --shadow-nav: 0 4px 24px rgba(0,0,0,.09);   /* sticky nav scrolled */

  /* ═══════════════════════════════════════════════════════════
     LAYOUT
     ═══════════════════════════════════════════════════════════ */

  --nav-h:      72px;
  --topbar-h:   38px;
  --max-w:      1080px;
  --pad-x:      3rem;    /* horizontal page padding */
  --section-py: 84px;    /* vertical section padding */

  /* ═══════════════════════════════════════════════════════════
     TRANSITIONS
     ═══════════════════════════════════════════════════════════ */

  --t-fast:         .18s ease;
  --t-base:         .26s ease;
  --t-slow:         .42s ease;
  --ease-out-quart: cubic-bezier(.25,.46,.45,.94);

}


/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--c-charcoal);
  background: var(--c-white);
  line-height: var(--lh-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }


/* ── 3. TYPOGRAPHY SCALE ──────────────────────────────────── */
.serif { font-family: var(--font-serif); }

/* Eyebrow label */
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.eyebrow::after {
  content: '';
  flex: 0 0 28px;
  height: 1.5px;
  background: var(--c-red);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }
.eyebrow--light { color: var(--c-red-em-light); }
.eyebrow--light::after { background: var(--c-red-em-light); }

/* Section heading */
.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--c-charcoal);
  margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--c-red); }
.section-title--white { color: var(--c-white); }
.section-title--white em { color: var(--c-red-em-light); }
.section-title--center { text-align: center; }

/* Lead paragraph */
.section-lead {
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  line-height: var(--lh-relaxed);
  color: var(--c-grey);
  max-width: 640px;
}
.section-lead--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lead--light { color: var(--c-white-55); }

/* Body text */
p.body { font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--c-grey); }


/* ── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.section {
  padding: var(--section-py) var(--pad-x);
}
.section--cream  { background: var(--c-cream); }
.section--dark   { background: var(--c-dark-bg); }
.section--red    { background: var(--c-red-pale); }
.section--parch  { background: var(--c-parchment); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mt-xl  { margin-top: var(--sp-xl); }
.mt-52  { margin-top: 52px; }

/* Divider */
.divider { height: 1px; background: var(--c-border); }
.divider--dark { background: var(--c-dark-border); }


/* ── 5. TOPBAR ────────────────────────────────────────────── */
.topbar {
  background: var(--c-charcoal);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  font-size: var(--fs-xs);
  color: var(--c-white);
  letter-spacing: .3px;
  position: relative;
  z-index: 600;
}
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__item  { display: flex; align-items: center; gap: 6px; }
.topbar a {
  color: var(--c-topbar-link);
  text-decoration: none;
  transition: color var(--t-fast);
}
.topbar a:hover { color: var(--c-red-em-hover); }


/* ── 6. SITE NAVIGATION ───────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  justify-content: space-between;
  transition: box-shadow var(--t-base);
}
.site-nav.scrolled { box-shadow: var(--shadow-nav); }

/* Logo */
.nav-logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--t-fast);
}
.nav-logo img:hover { opacity: .85; }

/* Primary links */
.nav-primary {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.nav-primary > li { position: relative; }
.nav-primary > li > a {
  display: block;
  padding: 0 16px;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-charcoal);
  text-decoration: none;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  transition: color var(--t-base);
  white-space: nowrap;
}
/* Farmor-style sliding underline */
.nav-primary > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease-out-quart);
}
.nav-primary > li > a:hover             { color: var(--c-red); }
.nav-primary > li > a:hover::after,
.nav-primary > li.active > a::after     { transform: scaleX(1); }
.nav-primary > li.active > a            { color: var(--c-red); }

/* Dropdown */
.has-drop:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop {
  position: absolute;
  top: calc(100% + 1px); left: 0;
  min-width: 210px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-red);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: 600;
}
.nav-drop li a {
  display: block;
  padding: 10px 18px;
  font-size: var(--fs-sm);
  color: var(--c-grey);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: .2px;
}
.nav-drop li a:hover { color: var(--c-red); background: var(--c-red-pale); }
.nav-drop li a.drop-highlight { color: var(--c-red); font-weight: var(--fw-semi); }

/* CTA button in nav */
.nav-cta {
  background: var(--c-red);
  color: var(--c-white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  transition: background var(--t-base), transform var(--t-fast);
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--c-white-13);
  transform: translateX(-100%);
  transition: transform .32s ease;
}
.nav-cta:hover { background: var(--c-red-hover); }
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta:active { transform: scale(.97); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-charcoal);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile full-screen menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--c-white);
  z-index: 900;
  flex-direction: column;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform .32s var(--ease-out-quart);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close {
  align-self: flex-end;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--c-charcoal);
  line-height: 1;
}
.mobile-menu__logo { height: 36px; margin-top: 1rem; }
.mobile-menu ul { margin-top: 2rem; }
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--c-charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mobile-menu ul li a:hover { color: var(--c-red); }
.mobile-menu__footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: var(--fs-sm);
  color: var(--c-grey);
  display: flex;
  flex-direction: column;
  gap: 6px;
}


/* ── 7. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: var(--fw-semi);
  letter-spacing: .3px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-fast);
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--c-white-13);
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.btn:hover::before  { transform: translateX(0); }
.btn:active         { transform: scale(.97); }

.btn--primary {
  background: var(--c-red);
  color: var(--c-white);
}
.btn--primary:hover { background: var(--c-red-hover); }

.btn--outline-white {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid var(--c-white-55);
}
.btn--outline-white:hover { border-color: var(--c-white); background: var(--c-white-08); }

.btn--outline-dark {
  background: transparent;
  color: var(--c-charcoal);
  border: 1.5px solid var(--c-charcoal);
}
.btn--outline-dark:hover { border-color: var(--c-red); color: var(--c-red); }

.btn--full { width: 100%; text-align: center; }


/* ── 8. HERO PATTERNS ─────────────────────────────────────── */

/* Full-bleed photo hero (index, seminar) */
.page-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    var(--c-black-08) 0%,
    var(--c-black-50) 50%,
    var(--c-black-88) 100%
  );
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 60px var(--pad-x) 72px;
  max-width: 820px;
}
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-black-88r);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.page-hero__h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--c-white);
  margin-bottom: 10px;
}
.page-hero__h1 em { font-style: italic; color: var(--c-red-em-hero); }
.page-hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.8vw, 28px);
  font-style: italic;
  color: var(--c-white-78);
  margin-bottom: 28px;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}
.page-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-white-82);
  font-size: 14px;
}
.meta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-red);
  flex-shrink: 0;
}
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner page hero (smaller, image banner) */
.inner-hero {
  height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.inner-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.inner-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--c-black-20), var(--c-black-78));
}
.inner-hero__content {
  position: relative; z-index: 2;
  padding: 32px var(--pad-x);
}
.inner-hero__content h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  line-height: var(--lh-tight);
}
.inner-hero__content h1 em { font-style: italic; color: var(--c-red-em-inner); }
.inner-hero__breadcrumb {
  font-size: var(--fs-xs);
  color: var(--c-white-55);
  margin-bottom: 8px;
  letter-spacing: .5px;
}
.inner-hero__breadcrumb a { color: var(--c-white-55); text-decoration: none; }
.inner-hero__breadcrumb a:hover { color: var(--c-white); }


/* ── 9. DETAIL STRIP ──────────────────────────────────────── */
.detail-strip {
  background: var(--c-charcoal);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 26px 20px;
  text-align: center;
  color: var(--c-white);
  border-right: 1px solid var(--c-dark-border);
  transition: background var(--t-base);
  cursor: default;
}
.strip-item:hover { background: var(--c-red-muted-md); }
.strip-item:last-child { border-right: none; }
.strip-item__icon { font-size: 22px; display: block; margin-bottom: 8px; }
.strip-item__val  { font-size: 15px; font-weight: var(--fw-semi); margin-bottom: 2px; }
.strip-item__key  { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-white-38); }


/* ── 10. CARDS ────────────────────────────────────────────── */

/* Project card */
.project-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.project-card:hover { box-shadow: var(--shadow-red); transform: translateY(-4px); }
.project-card__img { height: 220px; overflow: hidden; }
.project-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.project-card:hover .project-card__img img { transform: scale(1.05); }
.project-card__body { padding: 24px; }
.project-card__tag {
  display: inline-block;
  background: var(--c-red-pale);
  color: var(--c-red);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.project-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-charcoal);
  line-height: var(--lh-snug);
  margin-bottom: 10px;
}
.project-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-grey);
  line-height: 1.75;
}
.project-card__date {
  margin-top: 14px;
  font-size: var(--fs-xs);
  color: var(--c-grey-l);
  letter-spacing: .4px;
  font-weight: var(--fw-medium);
}

/* Panel card */
.panel-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--c-red);
  padding: 32px;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.panel-card:hover { box-shadow: var(--shadow-red); transform: translateY(-4px); }
.panel-card__num {
  font-family: var(--font-serif);
  font-size: 48px; font-weight: var(--fw-bold);
  color: var(--c-border); line-height: 1;
  margin-bottom: 12px;
  transition: color var(--t-base);
}
.panel-card:hover .panel-card__num { color: var(--c-border-hover); }
.panel-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg); font-weight: var(--fw-bold);
  color: var(--c-charcoal); line-height: var(--lh-snug);
  margin-bottom: 10px;
}
.panel-card__desc { font-size: var(--fs-sm); color: var(--c-grey); line-height: 1.75; margin-bottom: 14px; }
.panel-card__q {
  font-size: var(--fs-sm); font-style: italic;
  color: var(--c-charcoal);
  border-left: 2px solid var(--c-red);
  padding-left: 12px; line-height: 1.6;
}
.panel-card__q strong {
  font-style: normal; color: var(--c-red);
  font-weight: var(--fw-semi);
  font-size: var(--fs-xs); letter-spacing: .5px; text-transform: uppercase;
}

/* Team card */
.team-card { }
.team-card__photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.team-card__photo-wrap img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform .45s ease;
}
.team-card:hover .team-card__photo-wrap img { transform: scale(1.04); }
.team-card__bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--c-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out-quart);
}
.team-card:hover .team-card__bar { transform: scaleX(1); }
.team-card__name {
  font-family: var(--font-serif);
  font-size: var(--fs-lg); font-weight: var(--fw-bold);
  color: var(--c-charcoal); margin-bottom: 3px;
}
.team-card__role {
  font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--c-red); font-weight: var(--fw-semi);
  margin-bottom: 10px;
}
.team-card__bio { font-size: var(--fs-sm); color: var(--c-grey); line-height: 1.75; }
.team-card__bio--tbi { font-size: var(--fs-sm); color: var(--c-border); font-style: italic; }

/* Org card */
.org-card {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.org-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.org-card__mono {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-charcoal); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.org-card__name { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--c-charcoal); margin-bottom: 6px; }
.org-card__desc { font-size: var(--fs-sm); color: var(--c-grey); line-height: 1.75; margin-bottom: 10px; }
.org-card__link { font-size: 12px; color: var(--c-red); text-decoration: none; font-weight: var(--fw-medium); }
.org-card__link:hover { text-decoration: underline; }

/* Focus area tile */
.focus-tile {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 3px solid transparent;
  padding: 32px 26px;
  transition: border-top-color var(--t-base), background var(--t-base), transform var(--t-base);
}
.focus-tile:hover { border-top-color: var(--c-red); background: var(--c-red-pale); transform: translateY(-3px); }
.focus-tile__num {
  font-family: var(--font-serif); font-size: 52px;
  font-weight: var(--fw-bold); color: var(--c-border);
  line-height: 1; margin-bottom: 12px;
}
.focus-tile h3 { font-size: var(--fs-md); font-weight: var(--fw-semi); color: var(--c-charcoal); margin-bottom: 12px; }
.focus-tile ul { display: flex; flex-direction: column; gap: 6px; }
.focus-tile ul li {
  font-size: var(--fs-sm); color: var(--c-grey);
  padding-left: 14px; position: relative; line-height: 1.6;
}
.focus-tile ul li::before { content: '—'; position: absolute; left: 0; color: var(--c-red); font-size: 10px; top: 4px; }

/* Objective / outcome item */
.obj-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--c-border);
}
.obj-item:first-child { border-top: 1px solid var(--c-border); }
.obj-item__letter {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-red); color: var(--c-white);
  font-size: var(--fs-sm); font-weight: var(--fw-semi);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.obj-item__text { font-size: 14px; color: var(--c-grey); line-height: 1.75; padding-top: 5px; }

/* Outcome card (dark section) */
.outcome-card {
  background: var(--c-white-05);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: background var(--t-base), transform var(--t-base);
}
.outcome-card:hover { background: var(--c-dark-hover); transform: translateX(4px); }
.outcome-card__letter {
  font-family: var(--font-serif); font-size: 32px; font-weight: var(--fw-bold);
  color: var(--c-red-muted-55); line-height: 1; flex-shrink: 0;
}
.outcome-card__text { font-size: var(--fs-sm); color: var(--c-dark-text); line-height: 1.75; padding-top: 5px; }

/* Contact info item */
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--c-border);
}
.contact-item:first-child { border-top: 1px solid var(--c-border); }
.contact-item__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-red-pale); color: var(--c-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item__label {
  font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--c-grey-l);
  font-weight: var(--fw-semi); margin-bottom: 4px;
}
.contact-item__val { font-size: var(--fs-base); color: var(--c-charcoal); }
.contact-item__val a { color: var(--c-red); text-decoration: none; }
.contact-item__val a:hover { text-decoration: underline; }

/* Who-attends tags */
.who-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.who-tag {
  background: var(--c-white-07);
  border: 1px solid var(--c-dark-border);
  color: var(--c-white-70);
  font-size: 12px; padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), border-color var(--t-fast);
  cursor: default;
}
.who-tag:hover { background: var(--c-red-muted-dark); border-color: var(--c-red-muted); }

/* Blockquote */
.blockquote {
  border-left: 3px solid var(--c-red);
  padding: 4px 0 4px 20px;
  font-family: var(--font-serif);
  font-size: var(--fs-lg); font-style: italic;
  color: var(--c-charcoal); line-height: var(--lh-snug);
  margin: 24px 0;
}


/* ── 11. FORMS ────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-size: var(--fs-xs); font-weight: var(--fw-semi);
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--c-grey-l);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--c-charcoal);
  background: var(--c-white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px var(--c-red-muted);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12px; color: var(--c-grey-l); text-align: center; line-height: 1.6; margin-top: 14px; }


/* ── 12. FOOTER ───────────────────────────────────────────── */
.site-footer { background: var(--c-black); padding: 56px var(--pad-x) 28px; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--c-dark-border);
}
.footer-brand__logo { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand__desc { font-size: var(--fs-sm); color: var(--c-white-38); line-height: var(--lh-relaxed); max-width: 280px; }
.footer-col h4 {
  font-size: var(--fs-xs); letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--c-white-28);
  margin-bottom: 16px; font-weight: var(--fw-semi);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: var(--c-white-45);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--c-white); padding-left: 4px; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 22px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 11px; color: var(--c-white-20); }
.footer-bottom a { color: var(--c-red-link); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-red-em-hover); }


/* ── 13. ANIMATIONS & SCROLL REVEAL ──────────────────────── */
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal classes — JS adds .in when element enters viewport */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right {
  opacity: 0; transform: translateX(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in,
.reveal-left.in,
.reveal-right.in {
  opacity: 1; transform: none;
}

/* Stagger grid — children animate in one by one */
.stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.stagger.in > *:nth-child(1) { opacity:1; transform:none; transition-delay:.04s; }
.stagger.in > *:nth-child(2) { opacity:1; transform:none; transition-delay:.13s; }
.stagger.in > *:nth-child(3) { opacity:1; transform:none; transition-delay:.22s; }
.stagger.in > *:nth-child(4) { opacity:1; transform:none; transition-delay:.31s; }
.stagger.in > *:nth-child(5) { opacity:1; transform:none; transition-delay:.40s; }
.stagger.in > *:nth-child(6) { opacity:1; transform:none; transition-delay:.49s; }
.stagger.in > *:nth-child(7) { opacity:1; transform:none; transition-delay:.58s; }

/* Hero entrance animations */
.hero-anim-1 { animation: fadeUp .8s .10s ease both; }
.hero-anim-2 { animation: fadeUp .8s .25s ease both; }
.hero-anim-3 { animation: fadeUp .8s .40s ease both; }
.hero-anim-4 { animation: fadeUp .8s .55s ease both; }
.hero-anim-5 { animation: fadeUp .8s .70s ease both; }

/* Toast notification */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--c-charcoal); color: var(--c-white);
  padding: 16px 24px; border-radius: var(--radius-sm);
  border-left: 3px solid var(--c-red);
  font-size: 14px; max-width: 340px; line-height: 1.5;
  transform: translateY(80px); opacity: 0;
  transition: all .4s ease; pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }


/* ── 14. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --pad-x: 2rem;
    --section-py: 72px;
  }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .detail-strip { grid-template-columns: 1fr 1fr; }
  .strip-item { border-bottom: 1px solid var(--c-dark-border); }
  .strip-item:nth-child(even) { border-right: none; }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 1.5rem;
    --section-py: 56px;
    --nav-h: 64px;
  }
  .topbar { padding: 0 1.5rem; font-size: 11px; }
  .topbar__right .topbar__item:first-child { display: none; }
  .site-nav { padding: 0 1.5rem; }
  .nav-primary, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .grid-2, .grid-3, .grid-2-wide,
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .detail-strip { grid-template-columns: 1fr; }
  .strip-item:nth-child(even) { border-right: none; }
  .inner-hero { height: 200px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 80vh; }
}

@media (max-width: 480px) {
  :root { --fs-3xl: clamp(26px, 6vw, 38px); }
  .page-hero__h1 { font-size: clamp(34px, 10vw, 52px); }
}
</style>
