/* Refinement layer (Claude Code, 18 Nov 2026) — loaded last on every page.
 * Readability and finish on top of Codex v0.7.0. Type sizes were remapped at source
 * (see docs/REDESIGN_AUDIT_2026-11-18.md); this file holds the cross-cutting rules.
 */
h1,h2,h3{text-wrap:balance}
p,li,figcaption{text-wrap:pretty}

/* Hero: let the company film read. The previous shade sat at ~90% opacity. */
.hero-shade{background:
  linear-gradient(90deg,color-mix(in oklab,var(--ink-deep) 86%,transparent) 0%,color-mix(in oklab,var(--ink-deep) 55%,transparent) 42%,color-mix(in oklab,var(--ink-deep) 18%,transparent) 100%),
  linear-gradient(0deg,color-mix(in oklab,var(--ink-deep) 70%,transparent) 0%,transparent 38%)}

/* Shared Pause-motion pill: smaller footprint so it stops covering card corners. */
.motion-master{font-size:13px;padding:8px 14px;opacity:.86;transition:opacity 200ms ease}
.motion-master:hover,.motion-master:focus-visible{opacity:1}

/* Press feedback on the main actions. */
.header-cta,.text-link,.round-link,button{transition-property:transform,background-color,color,border-color,opacity}
.header-cta:active,.round-link:active,.enquiry-form button[type=submit]:active{transform:scale(.97)}

@media (max-width:650px){
  /* Body copy floor on phones. */
  main p{font-size:max(15px,1em)}
}

/* Browser surfaces carry the palette too (Impeccable finishing pass, 18 Nov 2026). */
::selection{background:var(--gold-light);color:var(--ink-deep)}
html{scrollbar-color:color-mix(in oklab,var(--ink) 38%,transparent) var(--paper);accent-color:var(--gold)}
input,textarea{caret-color:var(--gold)}
a{text-underline-offset:.22em;text-decoration-thickness:1px}
:focus-visible{outline-color:var(--gold)}

/* Sharpness (18 Nov): the hero film is 1024px wide, so it is framed at that size on the
 * dark surface instead of being stretched edge to edge. */
.hero{background:var(--ink-deep)}
.hero-video{inset:auto;right:0;top:50%;translate:0 -50%;width:min(1024px,100%);height:auto;aspect-ratio:16/9;object-fit:cover;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 26%),linear-gradient(0deg,transparent 0,#000 16%,#000 84%,transparent 100%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0,#000 26%),linear-gradient(0deg,transparent 0,#000 16%,#000 84%,transparent 100%);mask-composite:intersect}
.hero-shade{background:linear-gradient(90deg,color-mix(in oklab,var(--ink-deep) 70%,transparent) 0%,transparent 55%)}
@media (max-width:800px){.hero-video{top:0;translate:none;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 40%);mask-image:linear-gradient(0deg,transparent 0,#000 40%)}}
/* The RAD construction reference is 854px wide: keep the player at that size. */
.construction-player{max-width:854px;margin-inline:auto}
