/* =========================================================
   CDR Conseil — Design tokens
   ========================================================= */
:root {
  --navy: #20294B;
  --navy-2: #2A3557;
  --navy-soft: #4A5170;
  --gold: #E3BE6A;
  --gold-hover: #C29B5A;
  --gold-text: #7A5C22; /* darker gold for text on light backgrounds — meets WCAG AA 4.5:1 on --bg */
  --beige: #AE997D;
  --bg: #FAF8F4;
  --white: #FFFFFF;
  --border: #E6E1D6;
  --border-dark: rgba(255,255,255,0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 140px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(32,41,75,0.06);
  --shadow-md: 0 12px 32px rgba(32,41,75,0.10);
  --shadow-lg: 0 24px 64px rgba(32,41,75,0.16);

  --container-max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 100%; height: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container.narrow { max-width: 780px; }

/* =========================================================
   Typography
   ========================================================= */
h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-text);
}
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--space-3);
}
.section .eyebrow { color: var(--gold-text); }
.section .eyebrow--light { color: var(--gold); }
.lead {
  font-size: 1.1rem;
  color: var(--navy-2);
  max-width: 60ch;
}
.section .lead--light { color: var(--white); }
p.sub, .section :where(p) { color: var(--navy-soft); max-width: 62ch; }
.section-title-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-7);
}
.section-head { margin-bottom: var(--space-7); }
.section-head.narrow { max-width: 680px; }
.section-head p { margin-top: var(--space-3); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-hover); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(32,41,75,0.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 76px;
}
.brand { flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }

.main-nav ul { display: flex; gap: var(--space-5); }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-2);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--gold-hover);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: max-height 0.3s var(--ease);
}
.mobile-nav.is-open { max-height: 400px; }
.mobile-nav ul { padding: var(--space-2) var(--space-4) var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.mobile-nav li > a:not(.btn) { display: flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 1rem; }
.mobile-nav .btn { margin-top: var(--space-2); }

@media (max-width: 860px) {
  .main-nav, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: var(--space-6); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.hero-copy {
  padding: var(--space-6) var(--space-4) var(--space-8);
  max-width: 640px;
  margin: 0 auto;
}
.hero-sub { font-size: 1.1rem; color: var(--navy-2); margin: var(--space-4) 0 var(--space-5); max-width: 52ch; }
.hero-reassure { font-size: 0.9rem; color: var(--navy-soft); margin-top: var(--space-4); max-width: 46ch; }

.hero-visual {
  position: relative;
  min-height: 360px;
}
.hero-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 640px;
  object-fit: cover;
  object-position: center 20%;
}
.hero-badge {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  background: rgba(32,41,75,0.92);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 280px;
  box-shadow: var(--shadow-lg);
}
.hero-badge-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.hero-badge-label { font-size: 0.8rem; color: rgba(255,255,255,0.85); line-height: 1.4; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 88vh; }
  .hero-copy { padding: var(--space-9) var(--space-7) var(--space-7) var(--space-8); max-width: 640px; margin: 0; display: flex; flex-direction: column; justify-content: center; }
  .hero-visual { min-height: 100%; }
  .hero-img { max-height: none; min-height: 100%; }
}

/* =========================================================
   Sections — shared rhythm
   ========================================================= */
.section { padding: var(--space-8) 0; }

/* Problem */
.problem-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}
.problem-list li {
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy-2);
  position: relative;
  padding-left: var(--space-6);
}
.problem-list li::before {
  content: "";
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-hover);
}
.problem-key {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  max-width: 46ch;
}

/* Modes */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.modes-grid > * { min-width: 0; }
.mode-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.mode-card--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
}
.mode-card--primary h3 { color: var(--white); }
.mode-card--primary p { color: rgba(255,255,255,0.78); }
.mode-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--space-3);
}
.mode-card--primary .mode-tag { color: var(--gold); }
.mode-card h3 { margin-bottom: var(--space-3); font-size: 1.5rem; }
.mode-card p { margin-bottom: var(--space-5); }
.mode-card--primary .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.mode-card--primary .btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

@media (min-width: 860px) {
  .modes-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .mode-card--primary { padding: var(--space-7); }
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-7);
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold-text);
  margin-bottom: var(--space-4);
  padding: 11px;
}
.benefit-card h3 { margin-bottom: var(--space-3); font-size: 1.15rem; }
.benefit-card p { font-size: 0.95rem; margin-bottom: var(--space-3); }
.benefit-result {
  font-weight: 600;
  color: var(--navy) !important;
  font-size: 0.9rem !important;
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  margin-bottom: 0 !important;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }

/* Example */
.example { background: var(--navy); color: var(--white); }
.example h2 { color: var(--white); }
.example .example-intro { text-align: center; color: var(--white); max-width: 600px; margin: 0 auto var(--space-6); font-size: 1.05rem; }
.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.example-col {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.example-col--accent { background: rgba(227,190,106,0.1); border-color: rgba(227,190,106,0.35); }
.example-label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.example-col p { color: rgba(255,255,255,0.85); margin: 0; max-width: none; }
.example-arrow {
  width: 32px; height: 32px;
  margin: 0 auto;
  color: var(--gold);
  transform: rotate(90deg);
}
.example .example-outro {
  text-align: center;
  max-width: 560px;
  margin: var(--space-6) auto 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}
.example-cta {
  text-align: center;
  margin-top: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.example-cta p { color: var(--white); font-size: 1.05rem; }

@media (min-width: 760px) {
  .example-grid { grid-template-columns: 1fr auto 1fr; }
  .example-arrow { transform: none; }
}

/* Long term */
.longterm-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-7); }
.longterm-grid > * { min-width: 0; }
.longterm-copy .lead { margin: var(--space-3) 0 var(--space-4); }
.axis-list { margin-top: var(--space-6); display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.axis h3 { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); font-size: 1.1rem; }
.axis-index { font-family: var(--font-display); color: var(--gold-text); font-size: 1rem; }
.axis p { font-size: 0.95rem; }
.longterm-visual img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

@media (min-width: 960px) {
  .longterm-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

/* Transition */
.transition { background: var(--navy-2); color: var(--white); text-align: center; }
.transition h2 { color: var(--white); max-width: 560px; margin: 0 auto var(--space-4); }
.transition .body-light { color: var(--white); margin: 0 auto var(--space-3); }

/* Method */
.method-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  counter-reset: step;
  position: relative;
}
.method-steps li { position: relative; }
.step-index {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-text);
  margin-bottom: var(--space-2);
}
.method-steps h3 { margin-bottom: var(--space-2); }
.method-steps p { font-size: 0.95rem; }
.method-quote {
  margin-top: var(--space-8);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--navy);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
@media (min-width: 760px) { .method-steps { grid-template-columns: repeat(4, 1fr); } }

/* About */
.profiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-7);
  max-width: 760px;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}
.profile-avatar {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.profile-role { color: var(--gold-text); font-weight: 600; font-size: 0.85rem; margin: var(--space-1) 0 var(--space-3); }
.profile-card p:not(.profile-role) { font-size: 0.95rem; margin: 0 auto; }
@media (min-width: 640px) { .profiles-grid { grid-template-columns: 1fr 1fr; } }

/* Final CTA */
.final-cta { background: var(--navy); color: var(--white); }
.final-cta h2 { color: var(--white); margin-bottom: var(--space-4); }
.final-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-7); }
.final-grid > * { min-width: 0; }
.final-points { margin-top: var(--space-6); display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.final-points li {
  padding-left: var(--space-5);
  position: relative;
  color: var(--white);
  font-size: 0.95rem;
}
.final-points li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
@media (min-width: 960px) { .final-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Contact form */
.contact-form {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.contact-form > * { min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.field-row > * { min-width: 0; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; grid-template-columns: 1fr; gap: 6px; }
.field > * { min-width: 0; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-2); }
.field .optional { font-weight: 400; color: var(--navy-soft); }
.field input, .field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg);
  resize: vertical;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--gold-hover); background: var(--white); outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C0554A; }
.field-error { font-size: 0.8rem; color: #C0554A; min-height: 1em; }
.form-status { font-size: 0.9rem; }
.form-status.success { color: #2F6F52; font-weight: 600; }

.btn-spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(32,41,75,0.25);
  border-top-color: var(--navy);
  display: none;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: var(--space-7) 0 var(--space-5); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.footer-inner > * { min-width: 0; }
.footer-brand img { height: 34px; width: auto; margin-bottom: var(--space-3); filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 40ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-nav a { font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.45); border-top: 1px solid var(--border-dark); padding-top: var(--space-5); }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: var(--space-4); margin-left: var(--space-4); }
.footer-legal a, .footer-legal button {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--gold); }
@media (max-width: 600px) {
  .footer-legal { display: flex; margin-left: 0; margin-top: var(--space-3); gap: var(--space-3); }
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr; grid-template-areas: "brand nav" "copy copy"; }
  .footer-brand { grid-area: brand; }
  .footer-nav { grid-area: nav; justify-content: flex-end; align-content: start; }
  .footer-copy { grid-area: copy; }
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal-page { padding: var(--space-7) 0 var(--space-8); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-2);
  margin-bottom: var(--space-5);
}
.legal-back:hover { color: var(--gold-text); }
.legal-page h1 { margin-bottom: var(--space-2); }
.legal-updated { color: var(--navy-soft); font-size: 0.85rem; margin-bottom: var(--space-7); }
.legal-body { max-width: 720px; }
.legal-body h2 {
  font-size: 1.3rem;
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--navy-2); margin-bottom: var(--space-4); max-width: none; }
.legal-body ul { margin: 0 0 var(--space-4); display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
.legal-body li { color: var(--navy-2); padding-left: var(--space-4); position: relative; }
.legal-body li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-hover);
}
.legal-body strong { color: var(--navy); }
.legal-contact-box {
  margin-top: var(--space-7);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.legal-contact-box p { margin-bottom: var(--space-1); }
.legal-contact-box p:last-child { margin-bottom: 0; }

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--gold-text);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.error-page h1 { margin-bottom: var(--space-3); }
.error-page p { color: var(--navy-soft); max-width: 46ch; margin: 0 auto var(--space-6); }

/* =========================================================
   Cookie consent banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cookie-banner-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
  max-width: 68ch;
}
.cookie-banner-inner a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.cookie-banner-actions .btn { flex: 1 1 auto; }
.cookie-banner .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.cookie-banner .btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
@media (min-width: 700px) {
  .cookie-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner-actions .btn { flex: 0 0 auto; }
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
