/* ORTVIK design tokens. Loaded first on every page; site.css / home.css only consume these.
   Values measured on ortvik.com (Framer) at 1440 and 390. One breakpoint: phone ≤809px.
   Reference: ../design-system.md */
@font-face{font-family:"Neulis Sans";font-weight:200;font-style:normal;font-display:swap;src:url(/fonts/neulis-200.woff2) format("woff2")}
@font-face{font-family:"Neulis Sans";font-weight:300;font-style:normal;font-display:swap;src:url(/fonts/neulis-300.woff2) format("woff2")}

:root{
  /* colour */
  --ink:#121212;--cream:#ede9e4;--sand:#bdb4af;--stone:#7a6f6a;--line:#2a2725;--open:#c4a46c;
  --sans:"Neulis Sans","Outfit","Helvetica Neue",Arial,sans-serif;--ital:"Bodoni Moda","Bodoni 72",Didot,serif;
  --ease:cubic-bezier(.22,.7,.2,1);

  /* type: size / line-height / letter-spacing per role; --t-* is the font shorthand (weight size/lh family) */
  --fs-display:80px;   --lh-display:72px;   --ls-display:0;        /* page titles, Neulis 200 caps */
  --fs-display-it:74px;--lh-display-it:72px;                        /* Bodoni italic caps line under a display line */
  --fs-title:60px;     --lh-title:54px;     --ls-title:0;          /* section headings */
  --fs-title-it:56px;  --lh-title-it:54px;
  --fs-quote:60px;     --lh-quote:60px;     --ls-quote:-.04em;     /* pull quotes */
  --fs-quote-it:56px;  --lh-quote-it:60px;
  --fs-h4:40px;        --lh-h4:40px;        --ls-h4:0;             /* small headings, product names */
  --fs-h4-it:36px;     --lh-h4-it:40px;
  --fs-h5:28px;        --lh-h5:32px;        --ls-h5:-.01em;        /* column heads, CTA links, Neulis 300 caps */
  --fs-h5-it:25px;     --lh-h5-it:32px;
  --fs-lead:22px;      --lh-lead:30.8px;    --ls-lead:-.03em;      /* attributions, one-line intros, Neulis 200 */
  --fs-body:16px;      --lh-body:24px;      --ls-body:.02em;       /* running text, Neulis 300 */
  --fs-small:14px;     --lh-small:22.4px;   --ls-small:0;          /* inline links, captions, meta */
  --fs-label:14px;     --lh-label:22.4px;   --ls-label:0;          /* labels and eyebrows: sentence case, --stone */
  --t-display:200 var(--fs-display)/var(--lh-display) var(--sans);
  --t-display-it:italic 400 var(--fs-display-it)/var(--lh-display-it) var(--ital);
  --t-title:200 var(--fs-title)/var(--lh-title) var(--sans);
  --t-title-it:italic 400 var(--fs-title-it)/var(--lh-title-it) var(--ital);
  --t-quote:200 var(--fs-quote)/var(--lh-quote) var(--sans);
  --t-quote-it:italic 400 var(--fs-quote-it)/var(--lh-quote-it) var(--ital);
  --t-h4:200 var(--fs-h4)/var(--lh-h4) var(--sans);
  --t-h4-it:italic 400 var(--fs-h4-it)/var(--lh-h4-it) var(--ital);
  --t-h5:300 var(--fs-h5)/var(--lh-h5) var(--sans);
  --t-h5-it:italic 400 var(--fs-h5-it)/var(--lh-h5-it) var(--ital);
  --t-lead:200 var(--fs-lead)/var(--lh-lead) var(--sans);
  --t-body:300 var(--fs-body)/var(--lh-body) var(--sans);
  --t-small:300 var(--fs-small)/var(--lh-small) var(--sans);
  --t-label:300 var(--fs-label)/var(--lh-label) var(--sans);

  /* spacing scale: the only distances used */
  --s4:4px;--s8:8px;--s16:16px;--s20:20px;--s24:24px;--s32:32px;--s40:40px;--s50:50px;--s80:80px;--s100:100px;--s160:160px;--s200:200px;

  /* spacing roles */
  --gut:var(--s50);          /* page gutter */
  --nav-h:90px;              /* fixed header height (chrome, not spacing) */
  --wrap:1440px;             /* content container */
  --sec:var(--s200);         /* between sections (as padding-top of the next one) */
  --gap-label:var(--s20);    /* eyebrow / label -> heading */
  --gap-title:var(--s32);    /* heading -> its text */
  --gap-text:var(--s20);     /* paragraph -> paragraph, text -> link, list rows */
  --gap-media:var(--s100);   /* text -> image, image -> image, heading -> grid inside a section */
  --gap-caption:var(--s20);  /* image -> caption */
  --gap-col:var(--s20);      /* image / card grid columns */
  --gap-wide:var(--s80);     /* text columns; becomes the row gap when they stack */
  --gap-field:var(--s32);    /* form field -> form field */

  color-scheme:dark;
}
@media (max-width:809px){
  :root{
    --fs-display:36px;   --lh-display:38px;
    --fs-display-it:34px;--lh-display-it:38px;
    --fs-title:36px;     --lh-title:38px;
    --fs-title-it:34px;  --lh-title-it:38px;
    --fs-quote:32px;     --lh-quote:32px;
    --fs-quote-it:30px;  --lh-quote-it:32px;
    --fs-h4:24px;        --lh-h4:24px;
    --fs-h4-it:22px;     --lh-h4-it:24px;
    --fs-h5:18px;        --lh-h5:20px;
    --fs-h5-it:16px;     --lh-h5-it:20px;
    --fs-lead:16px;      --lh-lead:22.4px;
    --fs-body:14px;      --lh-body:21px;
    --fs-small:12px;     --lh-small:19.2px;
    --fs-label:14px;     --lh-label:21px;
    --gut:var(--s32);--sec:var(--s160);--nav-h:70px;
    --gap-label:var(--s16);--gap-title:var(--s24);--gap-text:var(--s16);--gap-media:var(--s50);
    --gap-caption:var(--s16);--gap-col:var(--s16);--gap-wide:var(--s50);--gap-field:var(--s24);
  }
}
/* The live site is dark in both schemes; colours are restated so a dark preference never flips them. */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--ink:#121212;--cream:#ede9e4;--sand:#bdb4af;--stone:#7a6f6a}}
:root[data-theme="dark"]{--ink:#121212;--cream:#ede9e4;--sand:#bdb4af;--stone:#7a6f6a}
