/* =============================================================================
   MNTR MENTORSHIP — design system
   -----------------------------------------------------------------------------
   One stylesheet for the whole site (home, staff, confirmation; EN and FR).

   The world: a printer's proof sheet. Paper, ink, one red. The CMYK swatches,
   halftone dots, colour wheel and red marker stroke from the reference
   animation appear only as small printed marks. One type family, Archivo,
   used condensed and heavy for display, regular for reading. Sharp corners.
   Motion is stepped like stop motion in the hero and fast everywhere else.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #f7f5ef;
  --paper-2: #efece4;
  --paper-3: #e6e2d7;
  --ink: #151413;
  --ink-2: #45433f;
  --ink-3: #66635b;
  --rule: rgba(21, 20, 19, 0.16);
  --rule-strong: rgba(21, 20, 19, 0.42);

  --red: #d8231a;
  --red-deep: #b4190f;
  --blue: #5c9fe0;
  --yellow: #f0c12a;
  --green: #5bb245;
  --pink: #e35f8e;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(18px, 4vw, 56px);
  --col-gap: clamp(16px, 2vw, 28px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --frame: 83ms; /* one frame of the 12 fps reference animation */

  --header-h: 68px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); accent-color: var(--red); caret-color: var(--red); }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scrollbar-color: var(--ink-3) var(--paper-2);
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--paper); }
[hidden] { display: none !important; }
.sr-only { 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: var(--gutter); top: -100px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 0.875rem; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--rule { border-top: 1px solid var(--rule); }
.section--paper2 { background: var(--paper-2); }
.section--red { background: var(--red); color: var(--paper); }
.section--red ::selection { background: var(--ink); }

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.sec-head h2 { max-width: 18ch; }
.sec-head .sec-lede { margin-top: 18px; max-width: 52ch; color: var(--ink-2); font-size: 1.1rem; }
.section--red .sec-head .sec-lede { color: var(--paper); }

/* ---------- Typography ---------- */
.display { font-weight: 700; line-height: 0.94; letter-spacing: -0.02em; text-transform: uppercase; font-stretch: 84%; }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.8rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 4rem); }
.h-md { font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.h-sm { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-stretch: 90%; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 48ch; text-wrap: pretty; }
.body { max-width: 62ch; text-wrap: pretty; }
.body p { margin-bottom: 1.1em; }
.muted { color: var(--ink-3); }
.ink2 { color: var(--ink-2); }
.label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-stretch: 90%; line-height: 1.4; }
.label--ink { color: var(--ink); }
.ul-red { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.ul-red:hover { color: var(--red); }

/* ---------- Printed marks ---------- */
.proof-strip { display: inline-flex; gap: 3px; vertical-align: middle; }
.proof-strip i { display: block; width: 18px; height: 9px; background: var(--c); }
.proof-strip i:nth-child(1) { --c: var(--red); }
.proof-strip i:nth-child(2) { --c: var(--blue); }
.proof-strip i:nth-child(3) { --c: var(--yellow); }
.proof-strip i:nth-child(4) { --c: var(--green); }
.proof-strip i:nth-child(5) { --c: var(--pink); }
.proof-strip i:nth-child(6) { --c: var(--ink); }
.halftone { background-image: radial-gradient(var(--dot, var(--red)) 1.45px, transparent 1.6px); background-size: 11px 11px; }

/* Hand-drawn red marker around a word. */
.marker { position: relative; display: inline-block; white-space: nowrap; }
.marker > svg { position: absolute; inset: -0.16em -0.42em -0.14em -0.3em; width: calc(100% + 0.72em); max-width: none; height: calc(100% + 0.3em); overflow: visible; pointer-events: none; }
.marker > svg path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.marker--thin > svg path { stroke-width: 3.5; }
.section--red .marker > svg path { stroke: var(--paper); }

/* Draw-in: every .draw path carries pathLength="1", so the dash is a fraction of
   the path whatever the SVG is stretched to. */
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw.is-in path { transition: stroke-dashoffset 0.7s var(--ease-out); transition-delay: var(--dd, 0.1s); stroke-dashoffset: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px;
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; font-stretch: 92%;
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.16s var(--ease-out), background-color 0s linear 0.26s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateX(-101%); transition: transform 0.26s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateX(0); }
  .btn:hover { border-color: var(--red); background-color: var(--red); }
  .btn:hover svg { transform: translateX(4px); }
}
.btn:focus-visible::before { transform: translateX(0); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.2s var(--ease-out); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red::before { background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--red:hover { border-color: var(--ink); background-color: var(--ink); } }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost::before { background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { color: var(--paper); border-color: var(--ink); background-color: var(--ink); } }
.btn--ghost:focus-visible { color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper::before { background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--paper:hover { color: var(--paper); border-color: var(--ink); background-color: var(--ink); } }
.btn--paper:focus-visible { color: var(--paper); }
.btn--lg { min-height: 62px; padding: 0 32px; font-size: 0.94rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.76rem; }
@media (max-width: 520px) { .btn--adaptive { white-space: normal; text-align: center; line-height: 1.25; padding-block: 14px; font-size: 0.82rem; letter-spacing: 0.06em; } }

/* Text link with sliding red underline */
.tlink {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  background-image: linear-gradient(var(--red), var(--red)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 0.26s var(--ease-out); padding-bottom: 3px;
}
@media (hover: hover) and (pointer: fine) { .tlink:hover { background-size: 100% 2px; } .tlink:hover svg { transform: translateX(3px); } }
.tlink:focus-visible { background-size: 100% 2px; }
.tlink svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease-out); }
.section--red .tlink { background-image: linear-gradient(var(--paper), var(--paper)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: 0.04em; }
.brand img { width: 34px; height: 34px; }
.brand small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-3); margin-left: 4px; text-transform: uppercase; font-stretch: 90%; display: none; }
@media (min-width: 640px) { .brand small { display: inline; } }
.header-right { display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); }
.lang { display: inline-flex; align-items: center; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; border: 1px solid var(--rule-strong); overflow: hidden; }
.lang a, .lang span { padding: 7px 10px; text-decoration: none; color: var(--ink-2); }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .lang a:hover { color: var(--red); } }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.burger { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform 0.26s var(--ease-out), opacity 0.2s, top 0.26s var(--ease-out); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Navigation drawer ---------- */
.nav-scrim { position: fixed; inset: 0; z-index: 95; background: rgba(21, 20, 19, 0.4); opacity: 0; pointer-events: none; transition: opacity 0.26s var(--ease-out); }
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }
.nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(100%, 520px); background: var(--paper); color: var(--ink);
  border-left: 1px solid var(--rule);
  transform: translateX(102%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 clamp(24px, 5vw, 56px) 36px;
}
.nav.is-open { transform: translateX(0); }
.nav-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.nav-close { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.nav-close svg { width: 22px; height: 22px; }
.nav-list { list-style: none; margin-top: clamp(12px, 3vh, 32px); }
.nav-list li { border-top: 1px solid var(--rule); }
.nav-list li:last-child { border-bottom: 1px solid var(--rule); }
.nav-list a {
  display: block; padding: clamp(12px, 2.2vh, 20px) 0;
  font-weight: 700; font-size: clamp(1.5rem, 3.6vh, 2.2rem); text-transform: uppercase; letter-spacing: -0.01em; font-stretch: 84%;
  text-decoration: none; transition: color 0.16s, padding-left 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav-list a:hover { color: var(--red); padding-left: 8px; } }
.nav-list a:focus-visible { color: var(--red); }
.nav-policies { margin-top: clamp(20px, 4vh, 36px); }
.nav-policies .label { margin-bottom: 10px; display: block; }
.nav-policies ul { list-style: none; display: grid; gap: 4px; }
.nav-policies button, .nav-policies a { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); text-decoration: none; text-align: left; display: inline-flex; gap: 10px; align-items: center; padding: 4px 0; }
.nav-policies button::before, .nav-policies a::before { content: ""; width: 10px; height: 2px; background: var(--red); flex: none; }
@media (hover: hover) and (pointer: fine) { .nav-policies button:hover, .nav-policies a:hover { color: var(--red); } }
.nav-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.nav-foot .contact { font-size: 0.86rem; color: var(--ink-3); line-height: 1.5; }
.nav-foot .contact a { color: var(--ink-2); text-decoration: none; }
.nav .stag { opacity: 0; transform: translateY(10px); transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out); }
.nav.is-open .stag { opacity: 1; transform: none; }
.nav.is-open .stag:nth-child(1) { transition-delay: 0.08s; }
.nav.is-open .stag:nth-child(2) { transition-delay: 0.12s; }
.nav.is-open .stag:nth-child(3) { transition-delay: 0.16s; }
.nav.is-open .stag:nth-child(4) { transition-delay: 0.2s; }
.nav.is-open .stag:nth-child(5) { transition-delay: 0.24s; }
.nav.is-open .stag:nth-child(6) { transition-delay: 0.28s; }
.nav.is-open .nav-policies, .nav.is-open .nav-foot { transition-delay: 0.3s; }

/* ---------- Policy viewer (document panel) ---------- */
.doc-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(21, 20, 19, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.24s var(--ease-out); }
.doc-scrim.is-open { opacity: 1; pointer-events: auto; }
.doc { position: fixed; inset: 0; z-index: 111; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
@media (min-width: 720px) { .doc { align-items: center; padding: 24px; } }
.doc-sheet {
  width: 100%; max-width: 820px; max-height: 100dvh; background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule-strong); display: flex; flex-direction: column;
  transform: translateY(16px) scale(0.98); opacity: 0; visibility: hidden; pointer-events: none;
  /* Closed sheet is hidden, not just transparent: it must not catch clicks or focus. */
  transition: transform 0.24s var(--ease-out), opacity 0.2s var(--ease-out), visibility 0s linear 0.24s;
  box-shadow: 0 24px 60px -24px rgba(21, 20, 19, 0.55);
}
@media (min-width: 720px) { .doc-sheet { max-height: 90dvh; } }
.doc.is-open .doc-sheet { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px clamp(18px, 4vw, 32px) 0; }
.doc-head .label { margin-bottom: 6px; display: block; }
.doc-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-stretch: 84%; text-transform: uppercase; }
.doc-close { width: 44px; height: 44px; display: grid; place-items: center; flex: none; margin: -8px -8px 0 0; }
@media (hover: hover) and (pointer: fine) { .doc-close:hover { color: var(--red); } }
.doc-close svg { width: 22px; height: 22px; }
.doc-tabs { display: flex; overflow-x: auto; padding: 14px clamp(18px, 4vw, 32px) 0; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.doc-tabs::-webkit-scrollbar { display: none; }
.doc-tabs button { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; padding: 10px 14px 12px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; font-stretch: 90%; }
@media (hover: hover) and (pointer: fine) { .doc-tabs button:hover { color: var(--ink); } }
.doc-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.doc-body { overflow-y: auto; overscroll-behavior: contain; padding: 24px clamp(18px, 4vw, 32px) 40px; font-size: 1rem; line-height: 1.6; scrollbar-color: var(--ink-3) var(--paper-2); }
.doc-body h3 { font-size: 1.05rem; font-stretch: 88%; text-transform: uppercase; letter-spacing: 0.02em; margin: 1.8em 0 0.7em; }
.doc-body h3:first-child { margin-top: 0; }
.doc-body h4 { font-size: 0.95rem; font-weight: 600; margin: 1.3em 0 0.4em; letter-spacing: 0; }
.doc-body p { margin: 0 0 0.9em; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc-body li { margin-bottom: 0.4em; }
.doc-body ol.clauses { list-style: none; padding-left: 0; }
.doc-body ol.clauses > li { display: grid; grid-template-columns: 3.2em 1fr; gap: 8px; margin-bottom: 0.75em; }
.doc-body ol.clauses > li > b { font-weight: 600; font-size: 0.82rem; color: var(--ink-3); padding-top: 0.25em; font-variant-numeric: tabular-nums; }
.doc-body ol.clauses ol { list-style: lower-alpha; margin-top: 0.4em; }
.doc-body .doc-meta { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.4em; }
.doc-body .notice { border: 1px solid var(--red); background: color-mix(in srgb, var(--red) 8%, transparent); padding: 12px 16px; margin: 0 0 1.4em; font-size: 0.9rem; line-height: 1.45; }
.doc-body .notice--neutral { border-color: var(--rule-strong); background: var(--paper-2); }
.doc-body mark.gap { background: var(--yellow); color: var(--ink); padding: 0 4px; font-weight: 600; }
.doc-body .doc-foot { margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--ink-3); }

/* ---------- Hero ----------
   A printed sheet: trim marks in the corners, the circled word and the
   offer in a split row at the top, and the sprite-filled MNTR set to the
   full page width along the bottom edge (sized by JS, .fit). */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; overflow: hidden; padding-block: clamp(20px, 3vh, 40px) 0; }
.hero-inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hero-top { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 4vh, 40px) var(--col-gap); align-items: end; padding-top: clamp(96px, 16vh, 150px); }
@media (min-width: 900px) { .hero-top { grid-template-columns: 7fr 5fr; padding-top: clamp(110px, 21vh, 200px); } }
.hero-title { font-weight: 800; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.03em; margin: 0; display: block; }
.hero-word { display: block; }
.hero-word--ship { font-size: clamp(2.6rem, 7.6vw, 7rem); font-stretch: 62%; font-weight: 700; display: inline-block; }
html.is-ready .hero-word--ship.pop { animation: pop 1ms steps(1, end) both, widen 0.5s steps(6, end) both; animation-delay: calc(var(--s) * var(--frame)), calc(var(--s) * var(--frame) + 60ms); }
@keyframes widen { from { font-stretch: 62%; } to { font-stretch: 84%; } }
.hero-sub { display: block; margin-top: clamp(12px, 2vh, 20px); font-size: clamp(1.15rem, 2.1vw, 1.7rem); font-style: italic; font-weight: 500; letter-spacing: 0.01em; line-height: 1.15; padding-bottom: 0.1em; }
.hero-right { max-width: 46ch; }
@media (min-width: 900px) { .hero-right { padding-bottom: 0.5em; } }
.hero-lede { margin: 0 0 clamp(16px, 2.4vh, 24px); color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.15rem); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-bottom { position: relative; margin-top: clamp(28px, 5vh, 56px); line-height: 0.78; }
.hero-word--mntr { font-size: var(--fit, 30vw); font-stretch: 100%; font-weight: 800; letter-spacing: -0.04em; line-height: 0.78; display: inline-block; white-space: nowrap; color: var(--ink); -webkit-text-stroke: 1px var(--ink); transform: translateY(0.02em); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero-word--mntr {
    color: transparent;
    background-image: url("../media/hero-sprite.webp?v=2");
    background-repeat: repeat-x;
    background-size: auto 1200%;
    background-position: 0 0;
    -webkit-background-clip: text; background-clip: text;
  }
  html.is-ready .hero-word--mntr.is-live { animation: pop 1ms steps(1, end) both, spriteStep 2s steps(12, end) infinite; animation-delay: 0ms, 0ms; }
  @keyframes spriteStep { from { background-position-y: 0%; } to { background-position-y: 109.0909%; } }
}
/* Hand-drawn arrow under the offer, pointing down the page to the video */
.hero-right { position: relative; }
.hero-arrow { position: absolute; left: 4px; top: calc(100% + 10px); display: inline-block; color: var(--ink); line-height: 0; }
.hero-arrow svg { width: 26px; height: 52px; overflow: visible; }
@media (max-width: 899px) { .hero-arrow { position: static; margin-top: 16px; } }
.hero-arrow svg path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .hero-arrow:hover svg { animation: nudge 0.5s var(--ease-out); } }
@keyframes nudge { 50% { transform: translateY(6px); } }
.crop { position: absolute; width: 18px; height: 18px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 18px; height: 1px; }
.crop::after { width: 1px; height: 18px; }
.crop--tl { left: 10px; top: 10px; } .crop--tl::before { left: 0; top: 0; } .crop--tl::after { left: 0; top: 0; }
.crop--tr { right: 10px; top: 10px; } .crop--tr::before { right: 0; top: 0; } .crop--tr::after { right: 0; top: 0; }
.crop--bl { left: 10px; bottom: 10px; } .crop--bl::before { left: 0; bottom: 0; } .crop--bl::after { left: 0; bottom: 0; }
.crop--br { right: 10px; bottom: 10px; } .crop--br::before { right: 0; bottom: 0; } .crop--br::after { right: 0; bottom: 0; }
.section--red .crop::before, .section--red .crop::after { background: var(--paper); }

/* Stop-motion appearance: each .pop element shows on its frame --s. */
.pop { opacity: 0; }
html.is-ready .pop { animation: pop 1ms steps(1, end) both; animation-delay: calc(var(--s, 0) * var(--frame)); }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
html.no-js .pop, html.reduced .pop { opacity: 1; animation: none !important; }

/* The hero keeps one printed element: the line drawing in the top-right corner. */
.hero-marks { position: absolute; inset: 0; pointer-events: none; }
.hm { position: absolute; }
.hm-drawing { right: var(--gutter); top: -6px; width: clamp(150px, 14vw, 196px); height: auto; }
@media (max-width: 899px) { .hm-drawing { width: clamp(96px, 30vw, 130px); top: 2%; } }

/* ---------- Curved divider ---------- */
.curve { position: relative; height: clamp(56px, 8vw, 110px); margin-top: -1px; }
.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.curve path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.curve path.red { stroke: var(--red); stroke-width: 4; }

/* ---------- Video frame ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--paper-2); border: 1px solid var(--rule-strong); overflow: hidden; }
.video-frame::before { content: ""; position: absolute; inset: 0; opacity: 0.35; background-image: radial-gradient(var(--ink-3) 1px, transparent 1.15px); background-size: 12px 12px; -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 100%); mask-image: radial-gradient(ellipse at center, transparent 30%, #000 100%); }
.video-frame > video, .video-frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.video-empty .play { width: clamp(56px, 8vw, 84px); height: clamp(56px, 8vw, 84px); border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; color: var(--ink); background: color-mix(in srgb, var(--paper) 70%, transparent); }
.video-empty .play svg { width: 36%; height: 36%; margin-left: 6%; }
.video-empty .label { color: var(--ink-2); }
.video-frame.has-media::before, .video-frame.has-media .video-empty { display: none; }
.video-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 12px; }

/* ---------- Apply block ---------- */
.apply { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
@media (min-width: 900px) { .apply { text-align: left; align-items: flex-start; } }
.apply .already { font-size: 1rem; color: var(--ink-2); }
.apply .already a { color: var(--ink); font-weight: 500; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
@media (hover: hover) and (pointer: fine) { .apply .already a:hover { color: var(--red); } }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1000px) { .book-grid { grid-template-columns: 4fr 8fr; gap: clamp(32px, 4vw, 64px); align-items: start; } .book-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.book-aside .h-lg { margin-bottom: 18px; }
.book-points { list-style: none; margin-top: 26px; display: grid; gap: 14px; max-width: 40ch; }
.book-points li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; font-size: 0.98rem; color: var(--ink-2); align-items: start; }
.book-points li::before { content: ""; width: 14px; height: 2px; background: var(--red); margin-top: 0.65em; }
.book-frame { position: relative; border: 1px solid var(--rule-strong); background: #fff; min-height: 820px; }
.book-frame iframe { width: 100%; min-height: 820px; border: 0; display: block; }
.book-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #fff; color: var(--ink-3); pointer-events: none; transition: opacity 0.24s var(--ease-out); }
.book-loading .bar { width: 120px; height: 2px; background: var(--rule); overflow: hidden; }
.book-loading .bar::after { content: ""; display: block; width: 40%; height: 100%; background: var(--red); animation: slide 0.9s var(--ease-in-out) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.book-frame.is-loaded .book-loading { opacity: 0; }
.book-frame.is-failed .book-loading .bar { display: none; }
.book-fallback { margin-top: 12px; font-size: 0.86rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.book-fallback a { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .book-fallback a:hover { color: var(--red); } }

/* ---------- Why mentorship: statement + services grid ---------- */
.statement { font-weight: 700; font-stretch: 84%; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em; font-size: clamp(2rem, 5vw, 4.4rem); max-width: 16ch; }
.two-col { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 7fr; align-items: start; } .two-col > :first-child { position: sticky; top: calc(var(--header-h) + 24px); } }
.services { list-style: none; display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px); }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } .services li:first-child { grid-column: 1 / -1; max-width: 60ch; } }
.services h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-stretch: 86%; text-transform: uppercase; letter-spacing: -0.005em; margin-bottom: 8px; }
.services li:first-child h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.services p { color: var(--ink-2); font-size: 1rem; text-wrap: pretty; }

/* ---------- Journey ---------- */
.journey { list-style: none; display: grid; gap: 32px; }
@media (min-width: 860px) { .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); } }
.journey li { position: relative; padding-top: 18px; border-top: 1px solid var(--rule-strong); }
.journey li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); transition: width 0.6s var(--ease-out); }
.journey.is-in li::before { width: 100%; }
.journey.is-in li:nth-child(2)::before { transition-delay: 0.15s; } .journey.is-in li:nth-child(3)::before { transition-delay: 0.3s; } .journey.is-in li:nth-child(4)::before { transition-delay: 0.45s; }
.journey .num { font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-stretch: 84%; color: var(--ink); display: inline-block; padding: 0 0.1em; }
.journey .num > svg path { stroke-width: 3; }
.journey h3 { margin: 14px 0 10px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-stretch: 86%; text-transform: uppercase; }
.journey p { color: var(--ink-2); font-size: 0.98rem; text-wrap: pretty; }

/* ---------- Tracks ---------- */
.tracks { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .tracks { grid-template-columns: 6fr 6fr; align-items: start; } }
.track-list { list-style: none; }
.track { padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--rule-strong); display: grid; grid-template-columns: 1fr; gap: 10px 24px; }
@media (min-width: 560px) { .track { grid-template-columns: auto 1fr; align-items: start; } }
.track:last-child { border-bottom: 1px solid var(--rule-strong); }
.track .name { font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; font-stretch: 84%; letter-spacing: -0.01em; }
.track .thr { font-weight: 800; font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: 0.9; letter-spacing: -0.03em; font-stretch: 84%; color: var(--red); font-variant-numeric: tabular-nums; }
.track .thr small { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; font-stretch: 90%; }
.track .who { color: var(--ink-2); font-size: 1rem; max-width: 36ch; text-wrap: pretty; }
.track .who b { color: var(--ink); font-weight: 600; }
@media (min-width: 560px) { .track .name { grid-column: 1 / -1; } }
.track-notes { display: grid; gap: clamp(22px, 3vw, 32px); }
.track-notes h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-stretch: 86%; text-transform: uppercase; margin-bottom: 10px; }
.track-notes p { color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.track-notes .remedy { padding: clamp(18px, 2.4vw, 26px); background: var(--paper-2); border: 1px solid var(--rule); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule-strong); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: start; text-align: left; padding: clamp(16px, 2vw, 22px) 0; font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.25; letter-spacing: 0; font-stretch: 92%; transition: color 0.16s; }
@media (hover: hover) and (pointer: fine) { .faq-q:hover { color: var(--red); } }
.faq-q .x { position: relative; width: 28px; height: 28px; justify-self: end; margin-top: -2px; }
.faq-q .x::before, .faq-q .x::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform 0.22s var(--ease-out); }
.faq-q .x::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .x::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-q[aria-expanded="true"] .x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.26s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p, .faq-a ul { color: var(--ink-2); max-width: 66ch; font-size: 1rem; text-wrap: pretty; }
.faq-a ul { padding-left: 1.2em; margin-bottom: 1em; }
.faq-a .inner { padding: 0 48px clamp(18px, 2vw, 26px) 0; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Staff ---------- */
.portrait { position: relative; overflow: hidden; background: var(--paper-3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.5s var(--ease-out); }
.portrait::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--red); mix-blend-mode: multiply; opacity: 0; transition: opacity 0.26s var(--ease-out); pointer-events: none; }
.portrait img { transition: transform 0.5s var(--ease-out), filter 0.26s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  a:hover .portrait img, .person:hover .portrait img { transform: scale(1.03); filter: grayscale(1) contrast(1.15); }
  a:hover .portrait::before, .person:hover .portrait::before { opacity: 0.55; }
}
.portrait .strip { position: absolute; z-index: 2; left: 10px; bottom: 10px; opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.24s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a:hover .portrait .strip, .person:hover .portrait .strip { opacity: 1; transform: none; } }
.portrait--empty { display: grid; place-items: center; }
.portrait--empty .init { font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); color: var(--ink); line-height: 1; opacity: 0.85; position: relative; }
.portrait--empty .halftone { position: absolute; inset: 0; opacity: 0.28; --dot: var(--ink-3); }
.portrait--empty .label { position: absolute; left: 12px; bottom: 10px; color: var(--ink-2); }

/* Home preview: asymmetric strip */
.team-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 699px) {
  /* Phones: one horizontal row to flick through, bleeding to the screen edge. */
  .team-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .team-strip::-webkit-scrollbar { display: none; }
  .team-strip > a { flex: 0 0 64%; scroll-snap-align: start; }
}
@media (min-width: 700px) { .team-strip { grid-template-columns: repeat(12, 1fr); align-items: end; } }
.team-strip a { text-decoration: none; display: block; }
.team-strip .portrait { aspect-ratio: 4 / 5; }
.team-strip .meta { margin-top: 10px; }
.team-strip .name { font-weight: 700; font-size: 1.1rem; text-transform: uppercase; font-stretch: 86%; }
.team-strip .school { font-size: 0.82rem; color: var(--ink-3); margin-top: 2px; }
@media (min-width: 700px) {
  .team-strip > :nth-child(1) { grid-column: span 3; }
  .team-strip > :nth-child(2) { grid-column: span 2; padding-bottom: 36px; }
  .team-strip > :nth-child(3) { grid-column: span 3; }
  .team-strip > :nth-child(4) { grid-column: span 2; padding-bottom: 36px; }
  .team-strip > :nth-child(5) { grid-column: span 2; }
}

/* Staff page directory */
.people { list-style: none; }
.person { display: grid; grid-template-columns: 1fr; gap: 18px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 760px) { .person { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; } }
.person .portrait { aspect-ratio: 4 / 5; grid-column: 1 / -1; max-width: 420px; }
.person .ptext { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .person .portrait { grid-column: 1 / span 4; }
  .person .ptext { grid-column: 6 / span 7; padding-top: 6px; }
  .person:nth-child(even) .portrait { grid-column: 9 / span 4; grid-row: 1; }
  .person:nth-child(even) .ptext { grid-column: 1 / span 7; grid-row: 1; }
  .person.person--sm .portrait { grid-column: 2 / span 3; }
  .person.person--sm:nth-child(even) .portrait { grid-column: 9 / span 3; }
}
.person h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-stretch: 84%; text-transform: uppercase; margin-bottom: 8px; }
.person .school { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.person .bio { margin-top: 14px; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.person dl { margin: 18px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 0.95rem; max-width: 56ch; }
.person dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.3em; font-stretch: 90%; }
.person dd { margin: 0; color: var(--ink-2); }
.mgmt { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .mgmt { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); } }
.mgmt .portrait { aspect-ratio: 1 / 1; }
.mgmt .name { font-weight: 700; font-size: 1.25rem; text-transform: uppercase; font-stretch: 86%; margin-top: 12px; }
.mgmt .role { font-size: 0.86rem; color: var(--ink-3); margin-top: 3px; }

/* ---------- Confirmation ---------- */
.status-hero { padding-block: clamp(48px, 8vw, 110px) clamp(40px, 6vw, 72px); }
.status-hero .h-xl { max-width: 16ch; }
.status-hero .lede { margin-top: 22px; }
.step { display: grid; grid-template-columns: 1fr; gap: 18px; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--rule-strong); }
@media (min-width: 900px) { .step { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); } .step .snum { grid-column: 1 / span 3; } .step .sbody { grid-column: 4 / span 8; } .step--wide .sbody { grid-column: 4 / span 9; } }
.step .snum { font-weight: 800; font-size: clamp(3.4rem, 8vw, 7.5rem); line-height: 0.85; letter-spacing: -0.03em; color: var(--red); font-stretch: 84%; }
.step h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); font-stretch: 84%; text-transform: uppercase; margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; color: var(--ink-2); align-items: start; }
.checklist li::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--ink); margin-top: 5px; }
.booking-card { border: 1px solid var(--rule-strong); padding: 18px 20px; margin-top: 22px; display: grid; gap: 6px; background: var(--paper-2); }
.booking-card .label { display: block; margin-bottom: 4px; }
.booking-card .when { font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); font-stretch: 86%; }
.booking-card p { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .fm-dots { position: absolute; left: var(--gutter); top: 10%; width: 150px; height: 120px; --dot: rgba(247, 245, 239, 0.7); -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); pointer-events: none; }
.final .fm-swatches { position: absolute; right: var(--gutter); bottom: 12%; display: grid; gap: 6px; pointer-events: none; }
.final .fm-swatches i { display: block; width: 46px; height: 18px; }
@media (max-width: 899px) { .final .fm-dots { width: 80px; height: 70px; } .final .fm-swatches i { width: 30px; height: 12px; } }
.final .h-xl { max-width: 14ch; margin-inline: auto; }
.final .lede { margin: 22px auto 30px; color: var(--paper); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 96px) 32px; }
.footer a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover, .footer .fcol button:hover { color: var(--red); } }
.footer .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
@media (min-width: 900px) { .footer .fgrid { grid-template-columns: 4fr 2fr 2fr 2fr 2fr; } }
.footer .fbrand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer .fbrand { grid-column: auto; } }
.footer .fbrand p { color: rgba(247, 245, 239, 0.78); max-width: 34ch; font-size: 0.98rem; margin-top: 16px; text-wrap: pretty; }
.footer .fbrand .brand { color: var(--paper); }
.footer .fcol h4, .footer .fcol .fh { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247, 245, 239, 0.66); margin-bottom: 14px; font-stretch: 90%; }
.footer .fcol ul { list-style: none; display: grid; gap: 8px; font-size: 0.95rem; }
.footer .fcol button { font-size: 0.95rem; text-align: left; color: inherit; }
.footer .fbot { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgba(247, 245, 239, 0.15); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 0.8rem; color: rgba(247, 245, 239, 0.72); }
.footer .fbot .proof-strip i:nth-child(6) { background: var(--paper); }
.footer .big { display: block; margin-top: clamp(32px, 5vw, 64px); line-height: 0.8; }
.footer .big span { font-weight: 800; font-size: var(--fit, 24vw); line-height: 0.8; letter-spacing: -0.04em; text-transform: uppercase; color: rgba(247, 245, 239, 0.12); user-select: none; font-stretch: 100%; display: inline-block; white-space: nowrap; }
@supports (-webkit-background-clip: text) or (background-clip: text) { .footer .big span { color: transparent; background-image: url("../media/hero-sprite.webp?v=2"); background-repeat: repeat-x; background-size: auto 1200%; background-position: 0 -0%; -webkit-background-clip: text; background-clip: text; opacity: 0.6; } }

/* ---------- Reveal on scroll (used sparingly) ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: var(--rd, 0s); }
.rv.is-in { opacity: 1; transform: none; }
html.no-js .rv, html.reduced .rv { opacity: 1; transform: none; transition: none; }

/* ---------- Root language chooser ---------- */
.choose { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px; }
.choose .links { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  .hero-word--mntr { animation: none !important; background-position: 0 0; }
  .hero-word--ship { font-stretch: 84%; animation: none !important; }
  .portrait::before { transition: none; }
  .pop, .rv { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .draw path { stroke-dashoffset: 0 !important; transition: none !important; }
  .journey li::before { transition: none; }
  .nav, .nav-scrim, .nav .stag, .doc-sheet, .doc-scrim, .faq-a, .btn::before, .portrait img { transition-duration: 0.01ms !important; }
  .book-loading .bar::after { animation: none; width: 100%; }
}

/* ---------- Privacy choices (consent.js) ----------
   A small cream card in the corner, not a bar across the page. Accept and
   Reject carry the same weight; nothing optional runs until one is pressed. */
.pc-banner { position: fixed; z-index: 9990; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; padding: 22px 22px 20px; background: #fdfdfc; color: #121211; border: 1px solid rgba(18, 18, 17, 0.55); font-family: "Die Grotesk A", "Archivo", "Helvetica Neue", Arial, sans-serif; font-size: 0.92rem; line-height: 1.5; box-shadow: 0 18px 48px -24px rgba(18, 18, 17, 0.45); }
.pc-banner[hidden], .pc-panel[hidden], .pc-scrim[hidden] { display: none; }
.pc-title { margin: 0 0 8px; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-stretch: 112%; }
.pc-text { margin: 0; color: #3c3b38; }
.pc-text a, .pc-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pc-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pc-btn { flex: 1 1 auto; min-height: 44px; padding: 0 16px; font: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; border: 1px solid #121211; border-radius: 0; transition: background-color 0.18s, color 0.18s, border-color 0.18s; }
.pc-solid { background: #121211; color: #fdfdfc; }
.pc-ghost { background: transparent; color: #121211; border-color: rgba(18, 18, 17, 0.55); }
@media (hover: hover) and (pointer: fine) { .pc-solid:hover { background: #d8231a; border-color: #d8231a; } .pc-ghost:hover { background: #121211; color: #fdfdfc; border-color: #121211; } }
.pc-btn:focus-visible, .pc-switch:focus-visible, .pc-banner a:focus-visible, .pc-panel a:focus-visible { outline: 2px solid #d8231a; outline-offset: 2px; }
.pc-scrim { position: fixed; inset: 0; z-index: 9991; background: rgba(18, 18, 17, 0.45); }
.pc-panel { position: fixed; z-index: 9992; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; padding: clamp(20px, 3vw, 30px); background: #fdfdfc; color: #121211; border: 1px solid rgba(18, 18, 17, 0.55); font-family: "Die Grotesk A", "Archivo", "Helvetica Neue", Arial, sans-serif; font-size: 0.92rem; line-height: 1.5; }
.pc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.pc-x { flex: none; min-height: 40px; padding: 0 4px; border: 0; background: none; color: #121211; font: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pc-cats { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid rgba(18, 18, 17, 0.55); }
.pc-cats li { padding: 14px 0; border-bottom: 1px solid rgba(18, 18, 17, 0.2); }
.pc-cat-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pc-cat-name { font-weight: 600; }
.pc-always { flex: none; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5f5d58; }
.pc-cat-desc { margin: 6px 0 0; color: #3c3b38; font-size: 0.88rem; }
.pc-note { margin: 14px 0 0; color: #5f5d58; font-size: 0.86rem; }
.pc-switch { flex: none; appearance: none; -webkit-appearance: none; position: relative; width: 44px; height: 24px; margin: 0; border: 1px solid #121211; background: #fdfdfc; cursor: pointer; transition: background-color 0.18s; }
.pc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #8a8781; transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.18s; }
.pc-switch:checked { background: #121211; }
.pc-switch:checked::after { transform: translateX(20px); background: #fdfdfc; }
@media (prefers-reduced-motion: reduce) { .pc-btn, .pc-switch, .pc-switch::after { transition: none; } }
@media (max-width: 480px) { .pc-banner { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 18px 16px 16px; } .pc-btn { flex-basis: 100%; } }
.doc-inline-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
