/* ============================================================
   SERAPHIN CARBON — design system
   Warm bone ground, one signal red, engineering precision.
   No shadows. No gradients. No radius.

   Light ground. Surfaces step DOWN by luminance (never up), so a
   raised section is slightly deeper than the page, never lighter.
   --hero-band is sampled from the hero footage's own studio floor so
   any letterbox around the frame sequence is invisible.
   --red stays the wordmark red and is only ever a FILL. Red set as
   TEXT on this ground uses --red-ink, which carries 5.49:1.
   ============================================================ */

:root{
  --bg:#F2EFE9;
  --surface:#E8E4DC;
  --surface-2:#DED9D0;
  --ink:#14161A;
  --muted:#5F646B;
  --line:#D3CEC5;
  --red:#ED1C24;
  --red-ink:#C0101A;
  --red-hi:#C0101A;
  /* The hero letterbox. The frame sequence has been flat-fielded onto --bg,
     so this matches the footage exactly and the video reads as the page. */
  --hero-band:#F2EFE9;

  /* Dark chrome (header + footer): near-black ground carrying the
     topographic relief, bone for text so the two palettes tie together. */
  --chrome:#0A0B0D;
  --chrome-ink:#F2EFE9;
  --chrome-muted:rgba(242,239,233,.64);
  --chrome-line:rgba(242,239,233,.16);
  --topo:url("/wp-content/themes/seraphin/assets/img/topo-chrome.1785335516.webp");

  --display:"Archivo","Helvetica Neue",system-ui,sans-serif;
  --body:"Manrope","Helvetica Neue",system-ui,sans-serif;

  --wrap:1180px;
  --bleed:clamp(1.25rem,4vw,3rem);

  /* Header bar height. Exported as a token so anything that sits under the
     sticky bar (the hero headline) can clear it instead of tucking behind. */
  --top-h:80px;

  --s-eyebrow:.7rem;
  --s-small:.86rem;
  --s-body:1.02rem;
  --s-lead:clamp(1.1rem,1.5vw,1.35rem);
  --s-h3:clamp(1.2rem,2vw,1.45rem);
  --s-h2:clamp(1.9rem,3.6vw,3rem);
  --s-h1:clamp(2.6rem,7vw,6.4rem);

  --gap-sm:16px;
  --gap-md:32px;
  --gap-lg:64px;
  /* Section rhythm calibrated against apple.com/macbook-pro, which runs
     144px standard and 216px where a section needs more air. */
  --gap-xl:clamp(88px,13vw,176px);
  --gap-2xl:clamp(120px,19vw,264px);
}

/* ---------- carbon twill ----------
   A real 2x2 twill: tows running one way in one quadrant, the other way
   in the next. Same-direction tows line up into two-wide diagonal ribs,
   which is what makes real 2x2 twill read as twill. Each tow is bundled
   filaments - a heavy core line, a finer one between, and a white
   highlight offset by one - so the weave reads as a material with
   direction and sheen rather than as printed crosshatch. 20px repeat is
   a believable weave scale on screen. Still kept at 4-11% opacity: it
   sits under the content, never on top of it. */
:root{
  --twill:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23000000'%3E%3Csvg x='0' y='0' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='10' y='0' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='20' y='0' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3Csvg x='30' y='0' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3Csvg x='0' y='10' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='10' y='10' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3Csvg x='20' y='10' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3Csvg x='30' y='10' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='0' y='20' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3Csvg x='10' y='20' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3Csvg x='20' y='20' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='30' y='20' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='0' y='30' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3Csvg x='10' y='30' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='20' y='30' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 0L0.00 10M-8.40 0L1.60 10M-6.80 0L3.20 10M-5.20 0L4.80 10M-3.60 0L6.40 10M-2.00 0L8.00 10M-0.40 0L9.60 10M1.20 0L11.20 10M2.80 0L12.80 10M4.40 0L14.40 10M6.00 0L16.00 10M7.60 0L17.60 10M9.20 0L19.20 10' stroke-width='.5' opacity='0.47'/%3E%3Cpath d='M-9.20 0L0.80 10M-7.60 0L2.40 10M-6.00 0L4.00 10M-4.40 0L5.60 10M-2.80 0L7.20 10M-1.20 0L8.80 10M0.40 0L10.40 10M2.00 0L12.00 10M3.60 0L13.60 10M5.20 0L15.20 10M6.80 0L16.80 10M8.40 0L18.40 10M10.00 0L20.00 10' stroke='%23ffffff' stroke-width='.45' opacity='0.50'/%3E%3C/svg%3E%3Csvg x='30' y='30' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M-10.00 10L0.00 0M-8.40 10L1.60 0M-6.80 10L3.20 0M-5.20 10L4.80 0M-3.60 10L6.40 0M-2.00 10L8.00 0M-0.40 10L9.60 0M1.20 10L11.20 0M2.80 10L12.80 0M4.40 10L14.40 0M6.00 10L16.00 0M7.60 10L17.60 0M9.20 10L19.20 0' stroke-width='.5' opacity='0.85'/%3E%3Cpath d='M-9.20 10L0.80 0M-7.60 10L2.40 0M-6.00 10L4.00 0M-4.40 10L5.60 0M-2.80 10L7.20 0M-1.20 10L8.80 0M0.40 10L10.40 0M2.00 10L12.00 0M3.60 10L13.60 0M5.20 10L15.20 0M6.80 10L16.80 0M8.40 10L18.40 0M10.00 10L20.00 0' stroke='%23ffffff' stroke-width='.45' opacity='0.28'/%3E%3C/svg%3E%3C/g%3E%3C/svg%3E");
  --twill-size:48px;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:var(--s-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:800;
  line-height:1.0;
  letter-spacing:-.025em;
  margin:0;
}
h1{font-size:var(--s-h1);line-height:.95;letter-spacing:-.035em}
h2{font-size:var(--s-h2)}
h3{font-size:var(--s-h3);letter-spacing:-.015em}
p{margin:0}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

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

.sr-skip{position:absolute;left:-9999px}
.sr-skip:focus{left:0;top:0;background:var(--red);color:#fff;padding:.85rem 1.4rem;z-index:200;font-weight:700}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--bleed)}

/* ---------- texture helper ---------- */
.tex{position:relative;isolation:isolate}
.tex::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:var(--twill);
  background-size:var(--twill-size) var(--twill-size);
  opacity:.035;
  pointer-events:none;
}
.tex-strong::before{opacity:.09}

/* Woven surface: twill plus a soft diagonal sheen, for panels that should
   read as an actual carbon part rather than a textured background. */
.tex-weave{position:relative;isolation:isolate;background:var(--surface)}
.tex-weave::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:var(--twill);
  background-size:var(--twill-size) var(--twill-size);
  opacity:.10;
}
.tex-weave::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(118deg,
    rgba(0,0,0,.045) 0%,
    rgba(0,0,0,0) 34%,
    rgba(0,0,0,.085) 72%);
  pointer-events:none;
}

/* ---------- type helpers ---------- */
.eyebrow{
  font-family:var(--display);
  font-size:var(--s-eyebrow);
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--red);
  margin:0 0 1.6rem;
}
.eyebrow-muted{color:var(--muted)}
.lead{font-size:var(--s-lead);color:var(--muted);line-height:1.45;max-width:46ch}
.measure{max-width:52ch}
.muted{color:var(--muted)}

/* the signature: italic spec figure */
.fig{
  font-family:var(--display);
  font-weight:800;
  font-style:italic;
  letter-spacing:-.03em;
  line-height:1;
  display:block;
}
.fig .unit{
  font-family:var(--body);
  font-style:normal;
  font-weight:400;
  font-size:.34em;
  color:var(--muted);
  margin-left:.28rem;
  letter-spacing:0;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 1.75rem;
  font-family:var(--display);
  font-size:.78rem;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;
  border:1px solid transparent;border-radius:0;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-hi)}
.btn-ghost{border-color:var(--line);color:var(--ink);background:transparent}
.btn-ghost:hover{border-color:var(--ink)}
.btn-sm{min-height:42px;padding:0 1.15rem;font-size:.72rem}

/* ---------- header ---------- */
.s-top{
  position:sticky;top:0;z-index:50;
  /* Dark chrome: the topographic relief is the material edge of the page.
     Re-scoping the colour tokens flips every var()-driven colour inside
     the bar - nav links, wordmark fallback, menu button - in one place. */
  --ink:var(--chrome-ink);
  --muted:var(--chrome-muted);
  --line:var(--chrome-line);
  color:var(--chrome-ink);
  background:var(--chrome) var(--topo) center/cover no-repeat;
  border-bottom:1px solid rgba(255,255,255,.07);
  isolation:isolate;
}
/* scrim so the nav stays readable where the contours run bright */
.s-top::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg, rgba(6,7,9,.18), rgba(6,7,9,.46));
  pointer-events:none;
}
@media(min-width:980px){:root{--top-h:96px}}
.s-top .wrap{display:flex;align-items:center;gap:2rem;min-height:var(--top-h);padding-block:.75rem}
.s-logo img{height:26px;width:auto;mix-blend-mode:screen}
.s-nav{display:none;gap:1.7rem;margin-left:auto}
@media(min-width:980px){.s-nav{display:flex}}
.s-nav a{
  font-family:var(--display);
  font-size:.76rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);
  padding:.35rem 0;border-bottom:2px solid transparent;
  transition:color .15s,border-color .15s;
}
.s-nav a:hover,.s-nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--red)}

/* mobile nav, no JS */
.s-mnav{position:relative;margin-left:auto}
@media(min-width:980px){.s-mnav{display:none}}
.s-mnav summary{
  list-style:none;cursor:pointer;
  display:inline-flex;align-items:center;gap:.5rem;
  min-height:44px;padding:.4rem .9rem;
  border:1px solid var(--line);
  font-family:var(--display);font-size:.72rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  user-select:none;
}
.s-mnav summary::-webkit-details-marker{display:none}
.s-mnav[open] summary{border-color:var(--ink)}
.s-mnav-ic{width:15px;height:11px;position:relative;display:inline-block}
.s-mnav-ic::before,.s-mnav-ic::after,.s-mnav-ic i{content:"";position:absolute;left:0;right:0;height:1.5px;background:currentColor}
.s-mnav-ic::before{top:0}.s-mnav-ic i{top:5px}.s-mnav-ic::after{bottom:0}
.s-mnav-panel{
  /* the dropdown floats over the light page, so restore the light scheme */
  --ink:#14161A;--muted:#5F646B;--line:#D3CEC5;
  color:var(--ink);
  position:absolute;right:0;top:calc(100% + .55rem);min-width:225px;
  background:var(--surface);border:1px solid var(--line);z-index:60;
}
.s-mnav-panel a{display:block;padding:.9rem 1.2rem;border-bottom:1px solid var(--line);font-size:.95rem}
.s-mnav-panel a:last-child{border-bottom:0}
.s-mnav-panel a:hover{background:var(--surface-2)}

/* ---------- sections ---------- */
.sec{padding:var(--gap-xl) 0}
.sec-air{padding:var(--gap-2xl) 0}
.sec-line{border-top:1px solid var(--line)}
.sec-surface{background:var(--surface)}
.head{max-width:52ch;margin-bottom:clamp(3.5rem,7vw,6rem)}
.head h2{margin-bottom:1.75rem}
.head p{color:var(--muted)}

/* ---------- spec strip ---------- */
.strip{background:var(--surface);border-block:1px solid var(--line);position:relative;isolation:isolate}
.strip::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:var(--twill);background-size:var(--twill-size) var(--twill-size);opacity:.05;
}
.strip-grid{display:grid;grid-template-columns:repeat(2,1fr)}
@media(min-width:880px){.strip-grid{grid-template-columns:repeat(4,1fr)}}
.strip .cell{padding:clamp(2.75rem,5vw,4.25rem) clamp(1.75rem,3vw,2.75rem) clamp(2.75rem,5vw,4.25rem) 0;border-right:1px solid var(--line)}
.strip .cell:last-child{border-right:0}
@media(max-width:879px){
  .strip .cell:nth-child(2n){border-right:0}
  .strip .cell:nth-child(-n+2){border-bottom:1px solid var(--line)}
}
.strip .fig{font-size:clamp(2rem,3.8vw,3.1rem)}
.strip .cap{display:block;margin-top:.95rem;font-size:var(--s-small);color:var(--muted);max-width:24ch;line-height:1.45}

/* ---------- range grid ---------- */
.range{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
@media(min-width:700px){.range{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.range{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--surface);padding:clamp(2rem,3vw,3rem);display:flex;flex-direction:column;transition:background .2s}
.card:hover{background:var(--surface-2)}
.card-img{
  aspect-ratio:5/4;
  background:var(--surface-2);
  background-image:var(--twill);
  background-size:var(--twill-size) var(--twill-size);
  margin-bottom:1.9rem;overflow:hidden;
}
.card-img img{width:100%;height:100%;object-fit:cover}
.card h3{margin-bottom:.45rem}
.card .line{font-size:var(--s-small);color:var(--muted);margin-bottom:1.6rem}
.card dl{display:flex;gap:2rem;margin:0 0 1.6rem}
.card dt{font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:.25rem}
.card dd{margin:0;font-family:var(--display);font-weight:700;font-style:italic;font-size:1.22rem;letter-spacing:-.02em}
.card .price{margin-top:auto;font-family:var(--display);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

/* ---------- document cards (the moat) ---------- */
.docs{display:grid;gap:clamp(2.5rem,5vw,4.5rem)}
@media(min-width:820px){.docs{grid-template-columns:repeat(3,1fr)}}
.doc{border-top:2px solid var(--red);padding-top:2rem}
.doc h3{margin-bottom:.55rem}
.doc p{font-size:var(--s-small);color:var(--muted)}

/* ---------- footer ---------- */
.s-foot{
  padding:var(--gap-xl) 0 var(--gap-md);
  font-size:var(--s-small);
  position:relative;
  isolation:isolate;
  /* Same dark chrome as the header, same token flip. */
  --ink:var(--chrome-ink);
  --muted:var(--chrome-muted);
  --line:var(--chrome-line);
  color:var(--chrome-ink);
  background:var(--chrome) var(--topo) center/cover no-repeat;
}
/* scrim: darker at the base so the fine print never fights the contours */
.s-foot::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg, rgba(6,7,9,.34), rgba(6,7,9,.26) 40%, rgba(6,7,9,.52));
  pointer-events:none;
}
.s-fgrid{display:grid;gap:3.5rem;margin-bottom:4rem}
@media(min-width:800px){.s-fgrid{grid-template-columns:1.5fr 1fr 1fr 1fr}}
.s-foot h4{font-family:var(--display);font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 1.05rem}
.s-foot ul{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.s-foot a{color:var(--muted)}
.s-foot a:hover{color:var(--ink)}
.s-fbase{border-top:1px solid var(--line);padding-top:2rem;color:var(--muted);font-size:.8rem;display:flex;flex-wrap:wrap;gap:1.2rem;justify-content:space-between}

/* ---------- motion ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}
