/* Christian Besnard Conseil – site styles
   Identity: Garamond wordmark, palette "Paris slate". */

/* Self-hosted fonts (latin subset): EB Garamond and Barlow, SIL Open Font License */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Palette "Paris slate": Haussmann slate roofs, zinc, limestone façades, with the CBC teal as a small accent. */
  --slate: #1F3347;        /* primary: text, dark sections */
  --slate-deep: #172738;   /* footer, photo shading */
  --text-2: #4F5F6E;       /* secondary text (passes contrast on white and limestone) */
  --zinc: #8C9AA5;         /* rules and numerals on slate */
  --limestone: #E9E4DA;    /* light sections */
  --line: #D9D3C7;         /* hairlines on white and limestone */
  --teal: #3A88A0;         /* accent: rules, underlines */
  --teal-text: #23677C;    /* teal that passes contrast for text on white */
  --white: #FFFFFF;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: clamp(1.3rem, 1.15rem + 0.6vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 5.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-text); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--slate); }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.section--slate :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--slate); color: var(--white); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 66ch; }
.prose p:last-child { margin-bottom: 0; }

.section { padding-block: var(--section); }
.section--stone { background: var(--limestone); }
.section--slate { background: var(--slate); color: #DCE4E9; }
.section--slate h2 { color: var(--white); }
.section-title { font-size: var(--step-3); max-width: 22ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.5rem;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--light { background: var(--white); color: var(--slate); }
.btn--light:hover { background: var(--limestone); color: var(--slate); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn--dark { background: var(--slate); color: var(--white); }
.btn--dark:hover { background: var(--teal-text); color: var(--white); }

.text-link { font-weight: 500; color: var(--teal-text); text-decoration: underline; text-decoration-color: var(--teal); }
.text-link--light { color: var(--white); text-decoration-color: var(--teal); }
.text-link--light:hover { color: #B9D9E3; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: none; position: relative; text-decoration: none; }
.wordmark {
  display: block; font-family: var(--serif); font-weight: 500;
  line-height: 1; letter-spacing: .005em; color: var(--slate); white-space: nowrap;
  font-size: 1.8rem;
}
.brand:hover .wordmark { color: var(--teal-text); }

.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.nav-list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: .5rem 0;
  font-weight: 500; font-size: 1.0625rem; color: var(--slate); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--teal-text); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--teal); }
.nav-aside { display: flex; align-items: center; gap: 1.5rem; }
.lang-switch { font-weight: 600; font-size: .95rem; color: var(--slate); text-decoration: none; padding: .5rem .25rem; }
.lang-switch:hover { color: var(--teal-text); }
.btn--nav { min-height: 2.6rem; padding: .5rem 1.15rem; background: var(--slate); color: var(--white); }
.btn--nav:hover { background: var(--teal-text); color: var(--white); }

/* Transparent header over the photo, until the page is scrolled */
.has-hero .site-header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; }
.has-hero .site-header:not(.is-scrolled) .wordmark { color: var(--white); }
.has-hero .site-header:not(.is-scrolled) .brand:hover .wordmark { color: #C9DDE5; }
.has-hero .site-header:not(.is-scrolled) .nav-list a,
.has-hero .site-header:not(.is-scrolled) .lang-switch { color: var(--white); }
.has-hero .site-header:not(.is-scrolled) .nav-list a:hover,
.has-hero .site-header:not(.is-scrolled) .lang-switch:hover { color: #B9D9E3; }
.has-hero .site-header:not(.is-scrolled) .btn--nav { background: transparent; border-color: rgba(255,255,255,.7); }
.has-hero .site-header:not(.is-scrolled) .btn--nav:hover { background: rgba(255,255,255,.12); }
.has-hero .site-header:not(.is-scrolled) :focus-visible { outline-color: var(--white); }
body:not(.has-hero) main { padding-top: var(--header-h); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 34rem; color: var(--white);
  background: var(--slate);
}
.hero--home { min-height: max(36rem, 100svh); }
.hero--page { min-height: max(30rem, 68svh); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(23,39,56,.92) 0%, rgba(23,39,56,.6) 32%, rgba(23,39,56,0) 62%),
    linear-gradient(to bottom, rgba(23,39,56,.72) 0%, rgba(23,39,56,.35) 14%, rgba(23,39,56,0) 30%);
}
.hero-content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 9vh, 6.5rem); }
.hero h1 { font-size: var(--step-4); line-height: 1.04; max-width: 17ch; margin-bottom: .45em; color: var(--white); }
.hero--page h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); max-width: 20ch; }
.hero-lead { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; color: #E4ECF0; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 2.25rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active { animation: drift 14s linear both; }
  .hero-content > * { animation: rise 1s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: .12s; }
  .hero-content > :nth-child(3) { animation-delay: .24s; }
}
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-pause {
  position: absolute; right: var(--gutter); bottom: 1.5rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  background: rgba(23,39,56,.35); color: var(--white);
  border: 1px solid rgba(255,255,255,.45); border-radius: 50%; cursor: pointer;
}
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: rgba(23,39,56,.6); }
.hero-pause svg { width: .95rem; height: .95rem; fill: currentColor; }
.hero-pause .icon-play, .hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }

/* ---------- Home: the firm ---------- */
.about-grid { display: grid; gap: 2rem 4rem; }
.about-title { font-size: var(--step-3); margin: 0; }
.about-body { font-size: 1.1875rem; }
.principles { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 1.5rem; }
.principles-intro { color: var(--text-2); margin-bottom: 1.25rem; }
.principles-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem 2.5rem; }
.principles-list li {
  font-family: var(--serif); font-size: var(--step-1); line-height: 1.3;
  padding-left: 1.25rem; border-left: 2px solid var(--teal);
}
@media (min-width: 56rem) {
  .about-grid { grid-template-columns: 5fr 7fr; }
  .principles { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: 0 4rem; }
  .principles-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Home: Frank Haddad ---------- */
.person-grid { display: grid; gap: 2.5rem 4.5rem; align-items: start; }
.person-photo { margin: 0; max-width: 30rem; }
.person-photo img { width: 100%; filter: saturate(.92); }
.person-text h2 { font-size: var(--step-3); margin-bottom: .2em; }
.person-sub { font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--text-2); margin-bottom: 1.75rem; }
.person-quote {
  font-family: var(--serif); font-size: var(--step-2); line-height: 1.3;
  margin: 2.25rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 32ch;
}
@media (min-width: 56rem) {
  .person-grid { grid-template-columns: 5fr 7fr; }
  .person-photo { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Home: entry points ---------- */
.doors-grid { display: grid; gap: 3.5rem 3rem; }
.door { display: grid; gap: .75rem; color: var(--slate); text-decoration: none; }
.door-media { display: block; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: .75rem; background: var(--limestone); }
.door-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.door:hover .door-media img { transform: scale(1.03); }
.door-title { font-family: var(--serif); font-size: var(--step-2); line-height: 1.15; }
.door-text { color: var(--text-2); max-width: 44ch; }
.door-link { font-weight: 500; color: var(--teal-text); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: .2em; }
.door:hover .door-link { color: var(--slate); }
@media (min-width: 56rem) { .doors-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Home: charter teaser ---------- */
.charter-grid { display: grid; gap: 2.5rem 5rem; }
.charter-head h2 { font-size: var(--step-3); }
.charter-head p { max-width: 34ch; margin-bottom: 1.75rem; }
.charter-titles { list-style: none; counter-reset: art; margin: 0; padding: 0; }
.charter-titles li {
  counter-increment: art;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--serif); font-size: var(--step-1); line-height: 1.3; color: var(--white);
}
.charter-titles li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.charter-titles li::before { content: counter(art); color: var(--zinc); font-size: 1.1em; }
@media (min-width: 56rem) {
  .charter-grid { grid-template-columns: 4fr 8fr; }
  .charter-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- Home: contact ---------- */
.contact-grid { display: grid; gap: 3rem 5rem; }
.contact-main h2 { font-size: var(--step-3); }
.contact-address { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; margin-bottom: 1.5rem; }
.contact-address strong { font-weight: 500; }
.contact-links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.contact-list { margin: 0; display: grid; gap: 0; }
.contact-list > div { padding: 1.4rem 0; border-top: 1px solid var(--line); display: grid; gap: .35rem; }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: var(--step--1); color: var(--text-2); }
.contact-list dd { margin: 0; display: grid; gap: .2rem; }
.contact-list dd span { color: var(--text-2); font-size: var(--step--1); }
.contact-value { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; color: var(--slate); text-decoration: none; word-break: break-word; }
.contact-value:hover { color: var(--teal-text); text-decoration: underline; text-decoration-color: var(--teal); }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 5fr 7fr; } }

/* ---------- Charter page ---------- */
.articles { list-style: none; counter-reset: art; margin: 0; padding: 0; display: grid; gap: 0 5rem; }
.article {
  counter-increment: art;
  display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1.25rem;
  padding: 2.25rem 0; border-top: 1px solid var(--line);
}
.article::before {
  content: counter(art);
  grid-row: span 2;
  font-family: var(--serif); font-size: 3rem; line-height: .9; color: var(--teal);
}
.article h2 { font-size: var(--step-2); margin-bottom: .55em; }
.article p { margin: 0; color: #24343F; max-width: 60ch; }
@media (min-width: 64rem) {
  .articles { grid-template-columns: 1fr 1fr; }
}

/* ---------- Companies page: steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.step {
  counter-increment: step;
  display: grid; gap: .5rem 3rem;
  padding: 2.5rem 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: counter(step); font-family: var(--serif); font-size: 3rem; line-height: .9; color: var(--teal-text); }
.step h3 { font-size: var(--step-2); margin: 0; max-width: 18ch; }
.step p { margin: 0; max-width: 64ch; }
@media (min-width: 56rem) {
  .step { grid-template-columns: 4rem 4fr 7fr; }
}

/* ---------- Candidates page ---------- */
.pillars { display: grid; gap: 3rem 5rem; }
.pillar { border-top: 2px solid var(--teal); padding-top: 1.5rem; }
.pillar h2 { font-size: var(--step-2); }
.pillar p { margin: 0; max-width: 62ch; }
@media (min-width: 56rem) { .pillars { grid-template-columns: 1fr 1fr; } }

/* ---------- Call to action band ---------- */
.cta-grid { display: grid; gap: 2rem 4rem; align-items: end; }
.cta h2 { font-size: var(--step-3); max-width: 20ch; }
.cta p { max-width: 50ch; margin: 0; }
.cta-actions { display: grid; gap: 1.25rem; justify-items: start; }
.cta-alt { color: var(--text-2); line-height: 1.8; }
@media (min-width: 56rem) { .cta-grid { grid-template-columns: 7fr 5fr; } }

/* ---------- Legal page ---------- */
.legal-grid { display: grid; gap: 2.5rem 5rem; }
.legal-head h1 { font-size: var(--step-4); margin-bottom: .3em; }
.legal-note { color: var(--text-2); font-style: italic; max-width: 60ch; }
.legal-toc-title { font-weight: 600; margin-bottom: .75rem; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: var(--step--1); }
.legal-toc a { color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--teal-text); text-decoration: underline; }
.legal-body section { padding-top: 1.5rem; }
.legal-body section + section { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: var(--step-2); }
.legal-body p { font-size: 1.0625rem; }
@media (min-width: 64rem) {
  .legal-grid { grid-template-columns: 16rem 1fr; }
  .legal-head { grid-column: 1 / -1; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- 404 ---------- */
.notfound h1 { font-size: var(--step-4); }
.notfound p { color: var(--text-2); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-deep); color: #B7C5CE; font-size: var(--step--1); padding-top: 4rem; }
.site-footer a { color: #DCE4E9; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--teal); }
.footer-grid { display: grid; gap: 2.5rem 4rem; padding-bottom: 3rem; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: center; align-content: start; }
.footer-brand img { width: 3rem; height: 3rem; outline: 1px solid rgba(140,154,165,.45); outline-offset: 0; }
.footer-wordmark { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.1; color: var(--white); }
.footer-brand p { grid-column: 1 / -1; margin-top: 1.25rem; }
.footer-brand p { max-width: 32ch; }
.footer-contact { line-height: 1.8; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 5fr 4fr 3fr; } }

/* ---------- Mobile navigation ---------- */
@media (max-width: 63.99rem) {
  :root { --header-h: 4.75rem; }
  .wordmark { font-size: 1.3rem; }
  .menu-toggle {
    display: grid; place-items: center; position: relative; z-index: 60;
    width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
    background: none; border: 0; color: var(--slate); cursor: pointer;
  }
  .has-hero .site-header:not(.is-scrolled) .menu-toggle { color: var(--white); }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
    display: block; width: 1.5rem; height: 2px; background: currentColor; border-radius: 1px;
    transition: transform .25s var(--ease), opacity .2s;
  }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -7px; }
  .menu-toggle-bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] { color: var(--white) !important; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
    background: var(--slate); overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility 0s linear .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
  .nav-list { flex-direction: column; gap: .25rem; }
  .site-header .nav-list a {
    font-family: var(--serif); font-weight: 500; font-size: 2.1rem; line-height: 1.25; color: var(--white);
    border-bottom: 0; padding: .3rem 0;
  }
  .site-header .nav-list a[aria-current="page"] { color: #8FC3D3; }
  .nav-aside { width: 100%; justify-content: space-between; }
  .site-header .lang-switch { color: var(--white); }
  .site-header .nav-aside .btn--nav,
  .has-hero .site-header:not(.is-scrolled) .nav-aside .btn--nav { background: var(--white); color: var(--slate); border-color: var(--white); }
  .site-header .nav-aside .btn--nav:hover { background: var(--limestone); }
  .menu-open .site-header .wordmark { color: var(--white); }
  .menu-open .site-header { background: transparent; border-bottom-color: transparent; }
  .brand { z-index: 60; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .hero-media, .hero-pause, .site-footer .footer-nav { display: none; }
  .hero { color: var(--slate); background: none; min-height: 0; }
  .hero::after { display: none; }
  .hero h1, .hero-lead { color: var(--slate); }
}

/* ---------- Maintenance page ---------- */
.page-maintenance { background: var(--slate); color: #D8DEE3; }
.maintenance { min-height: 100svh; display: grid; place-items: center; padding: 3rem var(--gutter); }
.maintenance-inner { width: 100%; max-width: 34rem; }
.maintenance-mark { width: 4rem; height: 4rem; outline: 1px solid rgba(140,154,165,.45); margin-bottom: 1.5rem; }
.maintenance-name { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--white); margin-bottom: 3rem; }
.maintenance-lang { padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14); margin-bottom: 1.75rem; }
.maintenance h1, .maintenance h2 { color: var(--white); font-size: var(--step-3); margin-bottom: .4em; }
.maintenance h2 { font-size: var(--step-2); }
.maintenance-lang p { margin: 0; }
.maintenance-contact { padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14); line-height: 1.9; }
.maintenance a { color: var(--white); text-decoration-color: var(--teal); }
.maintenance a:hover { color: #C9DDE5; }
.maintenance :focus-visible { outline-color: var(--white); }
