/* =========================================================================
   Throughline — Emotional wellbeing & accessibility studio
   Palette: Ink Navy, Blush & Butter on Warm Paper
   ========================================================================= */

:root {
  /* Brief-locked palette (exact hex) */
  --primary: #1E2A4A;       /* Ink Navy */
  --secondary: #E8A0B8;     /* Blush */
  --accent: #E8B339;        /* Butter (single locked accent) */
  --bg: #FFFBEB;            /* Warm Paper */
  --fg: #0F172A;            /* Foreground ink */

  /* Derived tints (kept inside the locked family) */
  --primary-700: #16203a;
  --primary-600: #243358;
  --primary-300: #6b7799;
  --blush-soft: #f6dfe7;
  --blush-tint: #fbeef3;
  --butter-soft: #f7e6b6;
  --butter-deep: #c9962a;
  --paper-2: #fbf5dd;
  --paper-3: #f4ecd0;
  --line: #ece2c4;
  --line-strong: #ddd2b0;
  --ink-70: rgba(15, 23, 42, .70);
  --ink-58: rgba(15, 23, 42, .58);
  --ink-44: rgba(15, 23, 42, .44);
  --on-navy: #f4f1e6;
  --on-navy-soft: rgba(244, 241, 230, .72);

  --shadow-sm: 0 1px 2px rgba(30, 42, 74, .06), 0 2px 8px rgba(30, 42, 74, .05);
  --shadow-md: 0 6px 18px rgba(30, 42, 74, .08), 0 18px 40px rgba(30, 42, 74, .07);
  --shadow-lg: 0 20px 50px rgba(30, 42, 74, .14), 0 8px 22px rgba(30, 42, 74, .08);
  --shadow-navy: 0 24px 60px rgba(22, 32, 58, .35);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --font-display: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1160px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Layered warm-paper background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 8% -6%, rgba(232, 160, 184, .20), transparent 60%),
    radial-gradient(820px 560px at 100% 2%, rgba(232, 179, 57, .16), transparent 58%),
    radial-gradient(1000px 700px at 50% 118%, rgba(30, 42, 74, .08), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration-color: rgba(30,42,74,.3); text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1.1em; }

::selection { background: var(--accent); color: var(--primary-700); }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gut), 760px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--primary);
  color: var(--on-navy);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  z-index: 200;
  font-family: var(--font-display);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--on-navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--butter-deep);
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: .92rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--butter-deep));
  color: var(--primary-700);
  box-shadow: 0 8px 22px rgba(232, 179, 57, .38), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232, 179, 57, .5), inset 0 1px 0 rgba(255,255,255,.5); color: var(--primary-700); }
.btn-ghost {
  background: rgba(255,255,255,.55);
  color: var(--primary);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--primary); }
.btn-on-navy {
  background: rgba(244,241,230,.10);
  color: var(--on-navy);
  border-color: rgba(244,241,230,.28);
}
.btn-on-navy:hover { background: rgba(244,241,230,.18); transform: translateY(-2px); color: var(--on-navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(1.3);
  background: rgba(255, 251, 235, .82);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 38px; height: 38px;
  flex: 0 0 auto;
}
.nav-links {
  display: flex;
  gap: .35rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .98rem;
  color: var(--primary-600);
  text-decoration: none;
  padding: .5rem .8rem;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: rgba(30,42,74,.07);
  color: var(--primary);
}
.nav-cta { margin-left: .5rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    background: rgba(255, 251, 235, .98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }

.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 600;
}
.section-head p { color: var(--ink-70); font-size: 1.12rem; margin-bottom: 0; }
.lead { font-size: 1.18rem; color: var(--ink-70); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 1.3rem;
}
.hero h1 .soft { color: var(--secondary); }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-lead { font-size: 1.22rem; color: var(--ink-70); max-width: 36ch; margin-bottom: 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.9rem; }
.hero-note {
  display: flex; align-items: center; gap: .6rem;
  font-size: .95rem; color: var(--ink-58);
  font-family: var(--font-mono); letter-spacing: .01em;
}
.hero-note svg { width: 18px; height: 18px; color: var(--secondary); flex: 0 0 auto; }

.hero-visual { position: relative; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  aspect-ratio: 4 / 4.5;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(30,42,74,.42));
}
.hero-badge {
  position: absolute;
  left: -18px; bottom: 26px;
  background: rgba(255,251,235,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem;
  max-width: 250px;
  z-index: 3;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(150deg, var(--secondary), var(--accent)); display: grid; place-items: center; flex: 0 0 auto; }
.hero-badge .dot svg { width: 20px; height: 20px; color: var(--primary-700); }
.hero-badge b { font-family: var(--font-display); color: var(--primary); display: block; font-size: .98rem; }
.hero-badge span { font-size: .82rem; color: var(--ink-58); }
.hero-chip {
  position: absolute; right: -14px; top: 28px;
  background: var(--primary);
  color: var(--on-navy);
  border-radius: 14px;
  padding: .7rem .95rem;
  font-family: var(--font-mono);
  font-size: .76rem; letter-spacing: .04em;
  box-shadow: var(--shadow-navy);
  z-index: 3;
}
.hero-chip b { color: var(--accent); font-size: 1.15rem; display: block; font-family: var(--font-display); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; max-width: 460px; }
  .hero-lead { max-width: 50ch; }
}

/* ---------- Trust bar ---------- */
.trustbar {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0));
}
.trustbar-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.4rem 2.4rem;
  padding: 1.3rem 0;
}
.trustbar-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-44); }
.trustbar-items { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-left: auto; }
.trustbar-items span { font-family: var(--font-display); font-weight: 500; color: var(--primary-600); font-size: .95rem; display: inline-flex; align-items: center; gap: .5rem; }
.trustbar-items svg { width: 17px; height: 17px; color: var(--secondary); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.45));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.stat b { font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--primary); display: block; letter-spacing: -0.02em; }
.stat span { color: var(--ink-58); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Tilt cards (services / pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .4s var(--ease);
}
.card {
  position: relative;
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.tilt:hover .card { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
/* one-pass butter sheen (transform + opacity only) */
.card .sheen {
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(232,179,57,.30), rgba(232,160,184,.18), transparent);
  transform: translateX(-180%) skewX(-12deg);
  opacity: 0;
  pointer-events: none;
}
.tilt:hover .card .sheen { animation: sheen .9s var(--ease) forwards; }
@keyframes sheen {
  0% { transform: translateX(-180%) skewX(-12deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateX(220%) skewX(-12deg); opacity: 0; }
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blush-soft), var(--butter-soft));
  border: 1px solid rgba(255,255,255,.7);
  margin-bottom: 1.2rem;
  transform: translateZ(28px);
}
.card-icon svg { width: 26px; height: 26px; color: var(--primary); }
.card h3 { font-size: 1.32rem; margin-bottom: .55rem; transform: translateZ(20px); }
.card p { color: var(--ink-70); margin-bottom: 1.1rem; transform: translateZ(12px); }
.card ul { list-style: none; padding: 0; margin: 0 0 1.3rem; transform: translateZ(10px); }
.card ul li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; font-size: .98rem; color: var(--primary-600); }
.card ul li svg { width: 18px; height: 18px; color: var(--secondary); flex: 0 0 auto; margin-top: .2rem; }
.card-link {
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
  transform: translateZ(20px);
}
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Approach / steps ---------- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 880px) { .approach { grid-template-columns: 1fr; } }
.step {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  position: relative;
}
.step .num {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--butter-deep);
  letter-spacing: .1em;
}
.step .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--primary); display: grid; place-items: center; margin: .8rem 0 1rem; }
.step .ic svg { width: 23px; height: 23px; color: var(--accent); }
.step h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.step p { color: var(--ink-70); margin-bottom: 0; font-size: 1rem; }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  position: relative;
  aspect-ratio: 5 / 4;
}
.split-figure img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li svg { width: 22px; height: 22px; color: var(--primary); background: var(--butter-soft); border-radius: 7px; padding: 3px; flex: 0 0 auto; }
.checklist li b { font-family: var(--font-display); color: var(--primary); }

/* ---------- Navy band ---------- */
.band {
  background:
    radial-gradient(700px 380px at 12% 0%, rgba(232,160,184,.22), transparent 60%),
    radial-gradient(700px 460px at 95% 100%, rgba(232,179,57,.18), transparent 58%),
    linear-gradient(160deg, var(--primary), var(--primary-700));
  color: var(--on-navy);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.band h2, .band h3 { color: #fff; }
.band p { color: var(--on-navy-soft); }
.band .eyebrow { color: var(--accent); }
.band .eyebrow::before { background: var(--accent); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 920px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: linear-gradient(180deg, #fff, var(--blush-tint));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote .qm { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--secondary); height: 1.2rem; }
.quote blockquote { margin: 0 0 1.3rem; font-size: 1.06rem; color: var(--primary-600); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--secondary), var(--accent)); color: var(--primary-700); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: 0 0 auto; }
.quote .who b { font-family: var(--font-display); color: var(--primary); display: block; font-size: .98rem; }
.quote .who span { font-size: .85rem; color: var(--ink-58); }

/* ---------- Insights / blogroll ---------- */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 940px) { .insights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .insights { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--butter-deep); margin-bottom: .6rem; }
.post-card h3 { font-size: 1.22rem; margin-bottom: .5rem; color: var(--primary); }
.post-card p { color: var(--ink-70); font-size: .98rem; margin-bottom: 1.1rem; }
.post-meta { margin-top: auto; display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-58); font-family: var(--font-mono); }
.post-meta .more { margin-left: auto; color: var(--primary); font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Resources blogroll ---------- */
.resources {
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.resource-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 2rem; }
@media (max-width: 720px) { .resource-list { grid-template-columns: 1fr; } }
.resource-list li { border-bottom: 1px solid var(--line); }
.resource-list a {
  display: flex; align-items: center; gap: .7rem;
  padding: .95rem .25rem;
  font-family: var(--font-display); font-weight: 500;
  color: var(--primary); text-decoration: none;
  transition: padding-left .25s var(--ease), color .2s;
}
.resource-list a:hover { padding-left: .7rem; color: var(--butter-deep); }
.resource-list a .arr { margin-left: auto; color: var(--secondary); transition: transform .25s var(--ease); }
.resource-list a:hover .arr { transform: translateX(4px); }
.resource-list a svg { width: 16px; height: 16px; }

/* ---------- CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(2rem, 5vw, 3rem); }
.cta-final p { max-width: 52ch; margin-inline: auto; }
.cta-final .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--primary), var(--primary-700));
  color: var(--on-navy);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-about { color: var(--on-navy-soft); font-size: .98rem; max-width: 34ch; }
.footer-col h4 { color: var(--accent); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: var(--on-navy-soft); text-decoration: none; font-size: .98rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(244,241,230,.16);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--on-navy-soft); font-size: .88rem;
}
.footer-bottom a { color: var(--on-navy-soft); }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card {
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; color: var(--primary); margin-bottom: .45rem; font-size: .98rem; }
.field .req { color: var(--secondary); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.02rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: rgba(255,255,255,.85);
  color: var(--fg);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30,42,74,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err {
  display: none;
  color: #a11d3a;
  font-size: .9rem;
  margin-top: .4rem;
  font-weight: 600;
}
.field.invalid input, .field.invalid textarea { border-color: #c0364f; box-shadow: 0 0 0 4px rgba(192,54,79,.14); }
.field.invalid .err { display: block; }
.form-status {
  display: none;
  margin-bottom: 1.2rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--butter-soft);
  border: 1px solid var(--butter-deep);
  color: var(--primary-700);
  font-weight: 600;
}
.form-status.show { display: block; }
.form-note { font-size: .85rem; color: var(--ink-58); margin-top: 1rem; }

.contact-aside { display: grid; gap: 1.2rem; }
.info-card { background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.info-card h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.info-row { display: flex; gap: .8rem; align-items: flex-start; padding: .5rem 0; }
.info-row svg { width: 20px; height: 20px; color: var(--secondary); flex: 0 0 auto; margin-top: .2rem; }
.info-row a, .info-row span { color: var(--primary-600); text-decoration: none; }
.info-row a:hover { color: var(--butter-deep); }

/* ---------- FAQ disclosure ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 800px; }
.faq {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { margin-left: auto; flex: 0 0 auto; transition: transform .3s var(--ease); color: var(--secondary); }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-70); }
.faq .faq-body p { margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.member {
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.member .av {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 1.1rem;
  background: linear-gradient(150deg, var(--secondary), var(--accent));
  color: var(--primary-700);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  box-shadow: inset 0 2px 6px rgba(255,255,255,.4);
}
.member h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.member .role { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; color: var(--butter-deep); text-transform: uppercase; margin-bottom: .8rem; }
.member p { color: var(--ink-70); font-size: .96rem; margin-bottom: 0; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 820px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value { padding: 1.5rem; border-left: 3px solid var(--accent); background: rgba(255,255,255,.5); border-radius: 0 var(--radius) var(--radius) 0; }
.value h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.value p { color: var(--ink-70); font-size: .96rem; margin-bottom: 0; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.18rem; color: var(--ink-70); max-width: 60ch; }
.crumbs { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-44); margin-bottom: 1.2rem; letter-spacing: .04em; }
.crumbs a { color: var(--ink-58); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }

/* ---------- Article ---------- */
.article-hero { padding: clamp(40px, 6vw, 70px) 0 0; }
.article-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 2rem 0 0;
  aspect-ratio: 16 / 8;
  border: 1px solid rgba(255,255,255,.6);
}
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 1.1rem; line-height: 1.75; }
.article-body h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 2.4rem 0 .9rem; }
.article-body h3 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); margin: 1.8rem 0 .7rem; }
.article-body p { margin: 0 0 1.2em; color: #283142; }
.article-body a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.article-body a:hover { color: var(--butter-deep); }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body img { border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow-md); }
.article-body figure { margin: 1.6rem 0; }
.article-body strong { color: var(--primary); }
.article-body section { margin-bottom: 1em; }
.article-body[dir="rtl"] { text-align: right; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1.2rem 0 0; color: var(--ink-58); font-family: var(--font-mono); font-size: .85rem; }
.article-meta .pill { background: var(--blush-soft); color: var(--primary-700); padding: .3rem .8rem; border-radius: 999px; font-weight: 500; letter-spacing: .04em; }
.article-cta { margin-top: 2.5rem; }
.source-box {
  margin: 2.5rem 0 0;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
}
.source-box h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.source-box a { color: var(--primary); font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-stagger] > * { opacity: 0; transform: translateY(22px); }
[data-stagger].in > * { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* Hero load-in */
.hero [data-load] { opacity: 0; transform: translateY(20px); }
.hero.loaded [data-load] { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, [data-stagger] > *, .hero [data-load] { opacity: 1 !important; transform: none !important; }
  .tilt { transform: none !important; }
  .card .sheen { display: none; }
  .post-card:hover { transform: none; }
}
