/* ============================================================
   site.css — pages publiques du Baromètre d'Alignement IA
   (landing + méthodologie + confidentialité)
   Design system « Héritage & Transformation » de Positis,
   repris des tokens exacts de heritage.css (positis-site).
   Autonome : n'affecte pas les pages de passation
   (q/d/statut/fin, qui ont leur propre barometre.css).
   ============================================================ */
:root {
  --ink: #13233B;            /* encre — texte / fonds sombres */
  --ink-soft: #46556d;       /* texte secondaire */
  --cream: #FAF6EF;          /* fond clair premium */
  --paper: #EFE7D9;          /* sable — sections / cartes */
  --paper-deep: #E4D6C2;     /* sable profond */
  --amber: #F25C3B;          /* corail signature — aplats, pastille, ponctuation */
  --amber-deep: #D8431F;     /* corail profond — accents titres sur fond sombre */
  --coral-text: #B73522;     /* corail accessible AA — boutons, eyebrows, liens */
  --coral-text-deep: #99301F;/* hover boutons */
  --mute: #667085;
  --mute-soft: #8A90A0;
  --line: rgba(19, 35, 59, 0.12);
  --line-soft: rgba(19, 35, 59, 0.06);
  --blue-700: #1E3D6B;
  --growth: #2E8B6B;         /* vert apprenance — tags qualité */
  --accent-soft: #FBE7DE;
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: var(--cream); }

a { color: var(--coral-text); }

img { max-width: 100%; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-text);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============ NAVIGATION ============ */
nav.main {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
}
nav.main .nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
}
.logo .dot {
  width: 0.30em;
  height: 0.30em;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
  flex: none;
  transform: translateY(-0.34em);
}
.logo .by {
  font-family: var(--sans);
  font-weight: 400;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--mute);
  margin-left: 0.1em;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--amber-deep); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--amber-deep);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--coral-text); }
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--coral-text);
  border-radius: 99px;
  background: var(--coral-text);
  color: #fff !important;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}
.nav-cta:hover { background: var(--coral-text-deep); border-color: var(--coral-text-deep); }
.nav-cta::after { display: none; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 10px; margin: -10px; z-index: 1101; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
nav.main.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.main.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.main.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS / LINKS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 32px;
  background: var(--coral-text);
  color: #fff;
  border: none;
  border-radius: 99px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary:hover { background: var(--coral-text-deep); gap: 20px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-ghost:hover { border-color: var(--coral-text); color: var(--coral-text); }
.link-arrow {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.link-arrow:hover { color: var(--coral-text); border-color: var(--coral-text); gap: 16px; }

/* ============ HERO ============ */
section.hero {
  padding: 168px 0 120px;
  position: relative;
  overflow: hidden;
  background: #fff;
}
section.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
}
.hero-eyebrow {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--amber); }
.hero-title {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  margin-bottom: 32px;
  color: var(--ink);
}
.hero-title em { font-style: italic; color: var(--ink); display: block; }
.hero-lede {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 0 12px 40px;
  border-left: 1px solid var(--line);
}
.hero-side-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--mute);
  margin-bottom: 14px;
  line-height: 1.35;
}
.hero-side-number {
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.hero-side-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--mute);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* ============ MANIFESTO (encre) ============ */
section.manifesto {
  background: var(--ink);
  color: var(--cream);
  padding: 82px 0;
}
.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.4;
  font-weight: 300;
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 48px;
  letter-spacing: -0.005em;
}
.manifesto-text em { font-style: italic; color: var(--amber); }
.manifesto-sig {
  display: block;
  text-align: center;
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute-soft);
}

/* ============ SECTION SCAFFOLD ============ */
.section {
  padding: 128px 0;
}
.section.cream { background: var(--cream); }
.section.white { background: #fff; }
.section.sable { background: var(--paper); }
.section-header {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 72px;
  align-items: end;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--amber-deep); }
.section-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
}

/* ============ DIMENSIONS (landing) ============ */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.dim-cell {
  padding: 36px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.dim-cell:nth-child(4n) { border-right: none; }
/* 1re colonne alignée sur le bord du conteneur ; les autres respirent du filet */
.dim-cell:nth-child(4n+1) { padding-left: 0; }
.dim-icon {
  width: 34px; height: 34px;
  color: var(--coral-text);
  margin-bottom: 22px;
}
.dim-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--coral-text);
  display: block;
  margin-bottom: 12px;
}
.dim-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dim-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.dim-note {
  margin-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--mute);
}

/* ============ STEPS (landing) ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.step { position: relative; }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--coral-text);
  line-height: 1;
  margin-bottom: 18px;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 12px;
  font-weight: 400;
  color: var(--ink);
}
.step-desc {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.step-time {
  margin-top: 14px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral-text);
  font-weight: 600;
}

/* ============ TWO-AUDIENCE / MIRROR ============ */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 34px;
}
.audience-card.sable { background: var(--paper); border-color: var(--line); }
.audience-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-text);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}
.audience-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.audience-card p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.audience-card p + p { margin-top: 14px; }

/* ============ FREE / REASSURANCE STRIP ============ */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gift-item {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.gift-item h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.gift-item p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ============ STAT (BCG) ============ */
.stat-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 40px;
}
.stat-feature .source {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 18px;
}
.stat-feature .big {
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--amber-deep);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.stat-feature .big small {
  font-size: 1.8rem;
  color: var(--amber-deep);
}
.stat-feature p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.stat-feature .cite {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--mute);
  font-style: italic;
}

/* ============ CTA BAND (dark) ============ */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--blue-700) 100%);
  color: var(--cream);
  padding: 116px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.16;
  filter: blur(60px);
  pointer-events: none;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-inner .eyebrow { color: var(--amber); display: block; margin-bottom: 22px; }
.cta-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta-inner h2 em { font-style: italic; color: var(--amber); }
.cta-inner p {
  font-size: 1.05rem;
  color: rgba(250, 246, 239, 0.82);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-inner .btn-primary { background: var(--coral-text); }
.cta-inner .btn-primary:hover { background: var(--coral-text-deep); }
.cta-fine {
  margin-top: 22px;
  font-size: 0.84rem;
  color: rgba(250, 246, 239, 0.6);
}

/* ============ PROSE (méthodo / confidentialité) ============ */
.page-hero {
  padding: 162px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero .eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  position: relative;
}
.page-hero .eyebrow-row::before { content: ''; width: 36px; height: 1px; background: var(--amber); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  position: relative;
}
.page-hero h1 em { font-style: italic; color: var(--amber); }
.page-hero .lede {
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 640px;
  position: relative;
}
.page-hero .lede strong { color: var(--ink); font-weight: 600; }

.prose-block { padding: 56px 0; border-top: 1px solid var(--line); }
.prose-block:first-of-type { border-top: none; }
.prose-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.prose-kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-text);
}
.prose-kicker .step-of {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 12px;
  text-transform: none;
}
.prose-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--ink);
}
.prose-body h2 em { font-style: italic; color: var(--amber-deep); }
.prose-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.prose-body p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.prose-body p:last-child { margin-bottom: 0; }
.prose-body p strong { color: var(--ink); font-weight: 600; }
.prose-body ul {
  list-style: none;
  margin: 18px 0 22px;
}
.prose-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose-body ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.prose-body ul li strong { color: var(--ink); font-weight: 600; }

/* Definition list (RGPD) */
.def-table {
  margin: 8px 0 4px;
  border-top: 1px solid var(--line);
}
.def-row {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.def-row dt {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-text);
  padding-top: 2px;
}
.def-row dd {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.def-row dd strong { color: var(--ink); font-weight: 600; }

/* À compléter token (juridique) */
.todo {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coral-text-deep);
  background: var(--accent-soft);
  border: 1px dashed rgba(183, 53, 34, 0.45);
  border-radius: 6px;
  padding: 1px 8px;
}

/* Callout (sable card in prose) */
.callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  margin: 26px 0 6px;
}
.callout h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.callout p { font-size: 0.96rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 0; }

/* Bandes lecture (méthodo) */
.bands { margin: 22px 0 6px; }
.band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.band:first-child { border-top: 1px solid var(--line); }
.band .range {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  white-space: nowrap;
}
.band .range.aligne { color: var(--growth); }
.band .range.vigilance { color: var(--amber-deep); }
.band .range.ecart { color: var(--coral-text); }
.band .b-name { font-weight: 600; color: var(--ink); }
.band .b-desc { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }

/* ============ FOOTER ============ */
footer.site {
  background: var(--ink);
  color: rgba(245, 241, 232, 0.65);
  padding: 76px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
}
.footer-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.42rem;
  color: var(--cream);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
}
.footer-logo .dot { width: 0.30em; height: 0.30em; border-radius: 50%; background: var(--amber); display: inline-block; flex: none; transform: translateY(-0.34em); }
.footer-logo .by { font-family: var(--sans); font-weight: 400; font-style: italic; font-size: 0.72rem; color: var(--mute-soft); margin-left: 0.1em; }
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 22px;
}
.footer-qualiopi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 99px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(245, 241, 232, 0.72);
}
.footer-qualiopi-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--growth); }
.footer-col h4 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(245, 241, 232, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(245, 241, 232, 0.45);
}
.footer-bottom-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-bottom-links a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer-bottom-links a:hover { color: var(--amber); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .container, .container-narrow { padding: 0 28px; }
  nav.main { padding: 16px 28px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  nav.main.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: fixed; inset: 0; background: var(--cream);
    padding: 110px 32px 40px; z-index: 1100; margin: 0;
  }
  nav.main.nav-open .nav-links a { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); display: inline-block; padding: 10px 0; }
  nav.main.nav-open .nav-links a.nav-cta { margin-top: 16px; font-family: var(--sans); font-size: 1rem; }
  body.nav-locked { overflow: hidden; }

  section.hero { padding: 132px 0 76px; }
  .hero-grid, .section-header { grid-template-columns: 1fr; gap: 40px; }
  .hero-side { border-left: none; border-top: 1px solid var(--line); padding: 30px 0 0; }
  .section { padding: 92px 0; }
  .dim-grid { grid-template-columns: 1fr 1fr; }
  .dim-cell:nth-child(2n) { border-right: none; }
  .dim-cell { padding-left: 28px; padding-right: 22px; }
  .dim-cell:nth-child(4n+1) { padding-left: 28px; }
  .dim-cell:nth-child(2n+1) { padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .audience-grid, .gift-grid { grid-template-columns: 1fr; gap: 18px; }
  .prose-grid { grid-template-columns: 1fr; gap: 18px; }
  .prose-kicker .step-of { margin-top: 6px; }
  .def-row { grid-template-columns: 1fr; gap: 6px; }
  .def-row dt { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 128px 0 50px; }
  .cta-band { padding: 88px 0; }
}

@media (max-width: 560px) {
  .container, .container-narrow { padding: 0 22px; }
  .dim-grid, .steps { grid-template-columns: 1fr; }
  .dim-cell { border-right: none; padding-left: 0 !important; padding-right: 0 !important; }
  .hero-actions { gap: 18px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .band { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { scroll-behavior: auto !important; }
}
