/* =====================================================================
   GSDT — Design D  ·  "Datum"
   Shared design system. Independent prototype — not for publication.
   Concept: every requirement measured from a fixed reference. Photographic
   plates carry engineering annotation; motion = measure, register, focus,
   route, assemble, scale.
   Layout: 12-col grid on a datum line; charcoal "cinema" bands alternate
   with warm-white "document" bands.
   ===================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+2190-2199, U+25A0-25FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-ext-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-opsz-italic.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------------------------------------------------------------------
   Tokens — the five locked GSDT colours, plus opacity derivatives only.
   --------------------------------------------------------------------- */
:root {
  --charcoal: #1A1B1D;
  --warm: #F6F3EF;
  --cool: #9A9C9E;
  --titanium: #C4C5C7;
  --graphite: #5A5D60;

  /* surface roles (light document band is the default) */
  --bg: var(--warm);
  --fg: var(--charcoal);
  --fg-2: var(--graphite);
  --rule: rgba(26, 27, 29, .16);
  --rule-strong: rgba(26, 27, 29, .42);
  --line: var(--titanium);
  --accent: var(--graphite);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* type scale */
  --t-hero: clamp(3.25rem, 1.2rem + 8.6vw, 10.5rem);
  --t-xl: clamp(2.5rem, 1.1rem + 5vw, 6.25rem);
  --t-l: clamp(2rem, 1.1rem + 3.1vw, 4rem);
  --t-m: clamp(1.5rem, 1.05rem + 1.5vw, 2.4rem);
  --t-h3: clamp(1.15rem, 1rem + .5vw, 1.5rem);
  --t-lede: clamp(1.075rem, .98rem + .42vw, 1.375rem);
  --t-body: clamp(1rem, .96rem + .14vw, 1.0625rem);
  --t-small: .875rem;
  --t-label: .72rem;

  /* geometry */
  --gutter: clamp(20px, 4.2vw, 72px);
  --col-gap: clamp(16px, 2vw, 32px);
  --max: 1680px;
  --header-h: 72px;
  --logo-cell: 116px;
  --section-pad: clamp(96px, 12vw, 200px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-mid: 320ms;

  color-scheme: light;
}

.band--dark {
  --bg: var(--charcoal);
  --fg: var(--warm);
  --fg-2: var(--titanium);
  --rule: rgba(196, 197, 199, .18);
  --rule-strong: rgba(196, 197, 199, .45);
  --line: var(--graphite);
  --accent: var(--titanium);
  color-scheme: dark;
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--warm);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-feature-settings: "cv11" 1, "ss03" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 70; background: var(--charcoal);
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--charcoal); color: var(--warm); }
.band--dark ::selection { background: var(--warm); color: var(--charcoal); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.band--dark :focus-visible { outline-color: var(--warm); }

.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 {
  position: fixed; left: 12px; top: 12px; z-index: 200; padding: 10px 14px;
  background: var(--warm); color: var(--charcoal); font-size: 14px; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--t-mid) var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------------------------------------------------------------------
   Layout primitives
   --------------------------------------------------------------------- */
.band { background: var(--bg); color: var(--fg); position: relative; }
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.grid > * { min-width: 0; }
.section-pad { padding-block: var(--section-pad); }

/* ---------------------------------------------------------------------
   Type
   --------------------------------------------------------------------- */
.t-hero {
  font-size: var(--t-hero); line-height: .9; letter-spacing: -.052em; font-weight: 500;
  font-variation-settings: "opsz" 32;
}
.t-xl { font-size: var(--t-xl); line-height: .96; letter-spacing: -.043em; font-weight: 500; }
.t-l { font-size: var(--t-l); line-height: 1.02; letter-spacing: -.034em; font-weight: 500; }
.t-m { font-size: var(--t-m); line-height: 1.1; letter-spacing: -.024em; font-weight: 500; }
.t-h3 { font-size: var(--t-h3); line-height: 1.22; letter-spacing: -.012em; font-weight: 560; }
.t-lede { font-size: var(--t-lede); line-height: 1.5; letter-spacing: -.006em; color: var(--fg); font-weight: 400; }
.t-body { font-size: var(--t-body); line-height: 1.62; color: var(--fg-2); }
.t-body--fg { color: var(--fg); }
.t-small { font-size: var(--t-small); line-height: 1.55; color: var(--fg-2); }
.label {
  font-size: var(--t-label); line-height: 1.2; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 560; color: var(--fg-2);
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "zero" 1; }
.measure { max-width: 34em; }
.measure-s { max-width: 26em; }
.stack-s > * + * { margin-top: .75rem; }
.stack > * + * { margin-top: 1.25rem; }
.stack-l > * + * { margin-top: 2rem; }

/* Section index + eyebrow: "02 / 10 — Who We Are"  (true position in page) */
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow .idx { color: var(--fg); }
.eyebrow .tick { width: 28px; height: 1px; background: var(--rule-strong); flex: none; }

/* Line-mask reveal (JS adds .is-split and animates .ln > span) */
.split .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split .ln > span { display: inline-block; will-change: transform; }

/* ---------------------------------------------------------------------
   Buttons & links (Graphite = the functional colour)
   --------------------------------------------------------------------- */
.btn {
  --h: 52px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 14px; height: var(--h);
  padding: 0 22px 0 24px; font-size: 15px; font-weight: 560; letter-spacing: -.005em;
  background: var(--graphite); color: var(--warm);
  border: 1px solid var(--graphite); border-radius: 0;
  position: relative; isolation: isolate; overflow: hidden;
  transition: color var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease-out);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--charcoal);
  transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease-out);
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.band--dark .btn::after { background: var(--warm); }
.band--dark .btn:hover, .band--dark .btn:focus-visible { color: var(--charcoal); border-color: var(--warm); }
.btn .arr { width: 18px; height: 10px; flex: none; transition: transform var(--t-mid) var(--ease-out); }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--ghost::after { background: var(--fg); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bg); border-color: var(--fg); }
.band--dark .btn--ghost:hover, .band--dark .btn--ghost:focus-visible { color: var(--charcoal); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 560;
  color: var(--fg); padding-block: 6px; position: relative;
}
.link-arrow::before {
  content: ""; position: absolute; left: 0; right: 30px; bottom: 0; height: 1px; background: var(--rule-strong);
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 30px; bottom: 0; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform 460ms var(--ease-out);
}
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow .arr { width: 18px; height: 10px; transition: transform var(--t-mid) var(--ease-out); }
.link-arrow:hover .arr, .link-arrow:focus-visible .arr { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   Registration marks (corner crosshairs) — the Datum framing device
   --------------------------------------------------------------------- */
.reg { position: relative; }
.reg > .reg-mark {
  position: absolute; width: 14px; height: 14px; pointer-events: none; z-index: 3;
  --c: var(--titanium);
}
.reg-mark::before, .reg-mark::after { content: ""; position: absolute; background: var(--c); }
.reg-mark::before { left: 6.5px; top: 0; width: 1px; height: 14px; }
.reg-mark::after { top: 6.5px; left: 0; height: 1px; width: 14px; }
.reg-mark.tl { left: -7px; top: -7px; }
.reg-mark.tr { right: -7px; top: -7px; }
.reg-mark.bl { left: -7px; bottom: -7px; }
.reg-mark.br { right: -7px; bottom: -7px; }

/* ---------------------------------------------------------------------
   Plates (rendered imagery) + honest captions
   --------------------------------------------------------------------- */
.plate { position: relative; margin: 0; }
.plate__frame { position: relative; overflow: hidden; background: #111214; }
.plate__frame img { width: 100%; height: 100%; object-fit: cover; }
.plate__meta {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 12px;
  font-size: 11.5px; letter-spacing: .06em; color: var(--fg-2);
}
.plate__meta em { font-style: italic; letter-spacing: .01em; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callouts svg { width: 100%; height: 100%; overflow: visible; }
.co-line { stroke: var(--warm); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.co-dot { fill: var(--warm); }
.co-ring { fill: none; stroke: var(--warm); stroke-width: 1; vector-effect: non-scaling-stroke; }
.co-label {
  position: absolute; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 560;
  color: var(--warm); white-space: nowrap; padding: 5px 8px 4px; background: rgba(26, 27, 29, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ---------------------------------------------------------------------
   Header — title-block logo cell + quiet navigation
   --------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  top: env(safe-area-inset-top, 0px);
  color: var(--warm);
  transition: transform 520ms var(--ease-out), color var(--t-mid) var(--ease-out);
  pointer-events: none;
}
.site-header .bar {
  position: absolute; inset: 0; background: var(--charcoal); opacity: 0;
  border-bottom: 1px solid transparent;
  transition: opacity var(--t-mid) var(--ease-out), background-color var(--t-mid) var(--ease-out), border-color var(--t-mid);
}
.site-header.is-solid .bar { opacity: 1; border-bottom-color: rgba(196, 197, 199, .14); }
.site-header.on-light { color: var(--charcoal); }
.site-header.on-light .bar { background: var(--warm); border-bottom-color: rgba(26, 27, 29, .1); }
.site-header.is-hidden { transform: translateY(calc(-100% - var(--logo-cell))); }
.site-header .inner {
  position: relative; height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 28px;
  pointer-events: auto;
}
.logo-cell {
  position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); top: 0; width: var(--logo-cell); height: var(--logo-cell);
  background: var(--charcoal); display: grid; place-items: center; isolation: isolate;
  pointer-events: auto; z-index: 2;
}
.logo-cell img {
  width: 100px; height: auto; mix-blend-mode: screen; /* original white-on-black file; black field resolves to the charcoal cell */
}
.logo-cell::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(196, 197, 199, .22);
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav a, .nav button.nav-btn {
  font-size: 14px; font-weight: 520; letter-spacing: -.003em; position: relative; padding-block: 10px;
  display: inline-flex; align-items: center; gap: 7px;
}
.nav a::after, .nav button.nav-btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 380ms var(--ease-out);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav button.nav-btn:hover::after,
.nav button.nav-btn[aria-expanded="true"]::after, .nav a[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left;
}
.nav .chev { width: 9px; height: 6px; transition: transform var(--t-mid) var(--ease-out); }
.nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-cta { --h: 42px; padding: 0 16px 0 18px; font-size: 14px; }
.site-header:not(.on-light) .header-cta { background: transparent; border-color: rgba(246, 243, 239, .5); }
.site-header:not(.on-light) .header-cta::after { background: var(--warm); }
.site-header:not(.on-light) .header-cta:hover, .site-header:not(.on-light) .header-cta:focus-visible { color: var(--charcoal); }
.menu-btn { display: none; height: 44px; padding: 0 4px; align-items: center; gap: 10px; font-size: 14px; font-weight: 560; }
.menu-btn .bars { width: 22px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--t-mid) var(--ease-out); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }

/* Mega menu */
.mega {
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 55;
  background: var(--charcoal); color: var(--warm);
  border-top: 1px solid rgba(196, 197, 199, .14); border-bottom: 1px solid rgba(196, 197, 199, .14);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 560ms var(--ease-out), visibility 0s linear 560ms;
}
.mega.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 560ms var(--ease-out), visibility 0s; }
.mega .grid { padding-block: 56px 44px; align-items: stretch; }
.mega__intro { grid-column: 1 / span 3; padding-top: calc(var(--logo-cell) - var(--header-h) + 8px); }
.mega__list { grid-column: 4 / span 5; display: grid; gap: 0; border-top: 1px solid rgba(196, 197, 199, .16); }
.mega__item {
  display: grid; grid-template-columns: 56px 1fr 24px; gap: 8px 18px; align-items: start;
  padding: 22px 0 24px; border-bottom: 1px solid rgba(196, 197, 199, .16);
  position: relative;
}
.mega__item .n { font-size: 12px; color: var(--cool); padding-top: 7px; }
.mega__item .t { font-size: clamp(1.3rem, 1rem + .9vw, 1.75rem); letter-spacing: -.022em; font-weight: 500; line-height: 1.15; }
.mega__item .d { grid-column: 2; font-size: 14px; line-height: 1.55; color: var(--titanium); max-width: 40em; }
.mega__item .arr { width: 18px; height: 10px; margin-top: 12px; opacity: .5; transition: transform var(--t-mid) var(--ease-out), opacity var(--t-mid); }
.mega__item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--warm);
  transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease-out);
}
.mega__item:hover::before, .mega__item:focus-visible::before, .mega__item.is-active::before { transform: scaleX(1); }
.mega__item:hover .arr, .mega__item:focus-visible .arr, .mega__item.is-active .arr { transform: translateX(4px); opacity: 1; }
.mega__media { grid-column: 9 / span 4; position: relative; min-height: 300px; overflow: hidden; background: #111214; }
.mega__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 520ms var(--ease-out), transform 900ms var(--ease-out); }
.mega__media img.is-active { opacity: 1; transform: none; }
.mega__media figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; font-size: 11px; letter-spacing: .06em; color: var(--titanium); }
.mega-scrim { position: fixed; inset: 0; z-index: 54; background: rgba(26, 27, 29, .45); opacity: 0; visibility: hidden; transition: opacity 420ms var(--ease-out), visibility 0s linear 420ms; }
.mega-scrim.is-open { opacity: 1; visibility: visible; transition: opacity 420ms var(--ease-out), visibility 0s; }

/* Mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 80; background: var(--charcoal); color: var(--warm);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 600ms var(--ease-out), visibility 0s linear 600ms;
}
.mnav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 600ms var(--ease-out), visibility 0s; }
.mnav__top { height: 72px; display: flex; justify-content: flex-end; align-items: center; flex: none; }
.mnav__body { padding-block: 64px 40px; display: grid; gap: 28px; }
.mnav__group { border-top: 1px solid rgba(196, 197, 199, .16); }
.mnav__link { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(196, 197, 199, .16); font-size: clamp(1.5rem, 1rem + 3vw, 2.25rem); letter-spacing: -.028em; font-weight: 500; }
.mnav__link .n { font-size: 12px; color: var(--cool); letter-spacing: .05em; }
.mnav__sub { padding: 12px 0 8px 0; display: grid; gap: 2px; }
.mnav__sub a { display: flex; gap: 14px; padding: 9px 0; font-size: 17px; color: var(--titanium); }
.mnav__sub a .n { font-size: 12px; color: var(--cool); padding-top: 4px; }
.mnav__foot { margin-top: auto; padding-block: 28px; border-top: 1px solid rgba(196, 197, 199, .16); display: grid; gap: 6px; font-size: 14px; color: var(--titanium); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--warm); position: relative; overflow: hidden; }
.site-footer .grid { padding-block: 88px 28px; row-gap: 48px; }
.foot-logo { grid-column: 1 / span 3; }
.foot-logo .cell { width: 132px; height: 132px; display: grid; place-items: center; background: var(--charcoal); isolation: isolate; border: 1px solid rgba(196, 197, 199, .16); }
.foot-logo img { width: 112px; mix-blend-mode: screen; }
.foot-col { grid-column: span 2; }
.foot-col h2 { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 560; color: var(--cool); margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a, .foot-col span.v { font-size: 14.5px; color: var(--titanium); transition: color var(--t-fast); }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--warm); }
.foot-col .addr { font-size: 14px; line-height: 1.6; color: var(--titanium); font-style: normal; }
.foot-contact { grid-column: span 3; }
.foot-legal {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 24px; border-top: 1px solid rgba(196, 197, 199, .14); font-size: 12px; color: var(--cool);
}
.foot-legal .legalname { color: var(--graphite); color: #8a8d90; font-size: 11.5px; letter-spacing: .02em; }
.foot-lines { position: absolute; right: 0; bottom: 0; width: 46%; height: 100%; pointer-events: none; }

/* ---------------------------------------------------------------------
   Dialog: unbuilt-page notice + review notes
   --------------------------------------------------------------------- */
.notice {
  position: fixed; inset: auto auto calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); z-index: 120;
  width: min(440px, calc(100vw - 32px)); background: var(--warm); color: var(--charcoal);
  border: 1px solid rgba(26, 27, 29, .18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  padding: 24px 24px 22px; transform: translateY(calc(100% + 40px)); transition: transform 560ms var(--ease-out);
}
.notice.is-open { transform: none; }
.notice h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.notice p { font-size: 14px; line-height: 1.55; color: var(--graphite); }
.notice .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.notice .row .btn { --h: 40px; font-size: 13.5px; padding: 0 14px; }
.notice .x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; }
.notice .copyline { margin-top: 12px; font-size: 13px; color: var(--graphite); }
.notice .copyline b { color: var(--charcoal); font-weight: 600; user-select: all; }

.review-toggle {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: rgba(26, 27, 29, .82); color: var(--warm); border: 1px solid rgba(196, 197, 199, .3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.review-toggle .dot { width: 6px; height: 6px; background: var(--titanium); }
.review {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 91;
  width: min(460px, calc(100vw - 32px)); max-height: min(70vh, 640px); overflow: auto;
  background: var(--charcoal); color: var(--warm); border: 1px solid rgba(196, 197, 199, .22);
  padding: 22px 22px 18px; font-size: 13.5px; line-height: 1.55;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s linear 280ms;
}
.review.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s; }
.review h2 { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--cool); font-weight: 600; margin-bottom: 12px; }
.review ol { list-style: none; counter-reset: r; display: grid; gap: 10px; }
.review li { counter-increment: r; display: grid; grid-template-columns: 26px 1fr; color: var(--titanium); }
.review li::before { content: counter(r, decimal-leading-zero); color: var(--cool); font-size: 11.5px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.review p.st { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(196, 197, 199, .16); color: var(--cool); font-size: 12.5px; }

/* Review toggle: a vertical edge tab on desktop so it never covers bottom-right captions */
@media (min-width: 1081px) {
  .review-toggle { right: 0; bottom: auto; top: 50%; height: auto; width: 30px; padding: 14px 0; justify-content: center;
    writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); border-right: 0; font-size: 10.5px; }
  .review { bottom: auto; top: 50%; right: 44px; transform: translate(8px, -50%); }
  .review.is-open { transform: translate(0, -50%); }
}
@media (max-width: 1080px) { .site-footer .grid { padding-bottom: 72px; } }

/* ---------------------------------------------------------------------
   Responsive header
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --header-h: 64px; --logo-cell: 108px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mega, .mega-scrim { display: none; }
  .foot-logo { grid-column: 1 / -1; }
  .foot-col { grid-column: span 4; }
  .foot-contact { grid-column: span 4; }
}
@media (max-width: 640px) {
  .review-toggle { height: 30px; padding: 0 10px; font-size: 10px; letter-spacing: .12em; opacity: .9; }
  .foot-col, .foot-contact { grid-column: span 6; }
  .foot-contact { grid-column: 1 / -1; }
  .site-footer .grid { row-gap: 40px; }
}

/* ---------------------------------------------------------------------
   Reduced motion: no transforms-as-transitions, no auto movement
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
