/* Design lab shared base (ZT-155, Sep 26 2026). Mock-ups only: nothing here ships to production.
   Brand tokens copy src/styles/global.css. Motion tokens are the zolt-design-director skill, section 8.
   Bolt geometry is measured from public/assets/mark.svg (see design-lab/directions.md, "The bolt angle"). */

/* Fonts: the exact self-hosted files the site uses, latin + latin-ext. The DM Sans file is variable (wght 100-1000,
   opsz 9-40), so it is declared as a weight range: same file, same family, a lighter weight is available for large
   captions, and 600-700 for headings, the wordmark and figures (Ivo, Oct 1). Ledger and dial numbers use .num. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 1000;font-display:swap;src:url(./fonts/dm-sans-latin-ext.woff2) format('woff2');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:'DM Sans';font-style:normal;font-weight:100 1000;font-display:swap;src:url(./fonts/dm-sans-latin.woff2) format('woff2');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}

:root{
  /* Brand (CLAUDE.md). --blue-d clears 4.5:1 on --mist. */
  --blue:#00A3E0;--blue-d:#00719F;--ink:#16191D;--ink2:#1F2328;--mint:#2EE6A6;
  --gold:#B8913F;--gold-l:#E2C27A;--paper:#FBFAF7;--mist:#F3F4F2;--line:#E6E4DE;--mute:#5A616B;--r:20px;

  /* Motion tokens (skill section 8). Exits run about a third faster. */
  --dur-tap:140ms;--dur-ui:240ms;--dur-reveal:520ms;--dur-hero:900ms;
  --dur-tap-out:95ms;--dur-ui-out:160ms;--dur-reveal-out:350ms;
  --dur-glint:700ms;--dur-glint-btn:200ms;--dur-engrave:1600ms;--dur-frame:600ms;
  --ease-out:cubic-bezier(.2,.7,.2,1);--ease-in:cubic-bezier(.4,0,1,1);--ease-move:cubic-bezier(.65,0,.35,1);
  --stagger:50ms;

  /* The bolt. The long diagonal of the Z in mark.svg runs from (331.7, 99.2) to (261.7, 239.2):
     70 across for 140 down, a clean 1:2. That is 63.435deg from horizontal (26.565deg from vertical). */
  --bolt-angle:63.435deg;--bolt-lean:26.565deg;--bolt-run:.5;
  /* Arrivals travel up and to the right along that diagonal (x = -y/2). */
  --arrive-x:-7px;--arrive-y:14px;
  /* The notch: a corner cut parallel to the diagonal. Height --notch, horizontal cut --notch * .5. */
  --notch:14px;

  color-scheme:light;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:'DM Sans',system-ui,sans-serif;font-size:17px;line-height:1.6;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3{font-family:'DM Sans',system-ui,sans-serif;font-weight:700;margin:0;text-wrap:balance;letter-spacing:-.025em;line-height:1.08}
p{margin:0;text-wrap:pretty}
img,svg,canvas,video{display:block;max-width:100%}
a{color:inherit}
::selection{background:rgba(0,163,224,.2)}
/* Focus: --blue-d on light surfaces (5.2:1 on paper); Miami Blue alone is 2.75:1 and fails. Dark sections set .on-dark. */
:focus-visible{outline:2px solid var(--blue-d);outline-offset:3px}
.on-dark :focus-visible{outline-color:var(--blue)}
/* Ledger and dial figures: DM Sans 600 (Ivo, Oct 1), tabular figures asked for where the font has them. */
.num{font-family:'DM Sans',system-ui,sans-serif;font-weight:600;font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1;letter-spacing:0}
@media (min-width:900px){html{scrollbar-width:thin;scrollbar-color:rgba(31,35,40,.45) transparent}}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Notch utility: bottom-right corner cut at the bolt angle. Use --n to size it per element. */
.notch{--n:var(--notch);clip-path:polygon(0 0,100% 0,100% calc(100% - var(--n)),calc(100% - var(--n) * .5) 100%,0 100%)}
.notch-tl{--n:var(--notch);clip-path:polygon(calc(var(--n) * .5) 0,100% 0,100% 100%,0 100%,0 var(--n))}

/* Design-lab bar: which direction you are looking at, and a way to replay the one moment. */
.labbar{position:fixed;left:12px;bottom:12px;z-index:9999;display:flex;align-items:center;gap:4px;padding:5px;border-radius:999px;background:rgba(22,25,29,.92);color:#fff;font:600 12.5px/1 'DM Sans',sans-serif;box-shadow:0 8px 24px -8px rgba(0,0,0,.4);max-width:calc(100% - 24px);overflow-x:auto;scrollbar-width:none}
.labbar::-webkit-scrollbar{display:none}
.labbar a,.labbar button{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border-radius:999px;color:rgba(255,255,255,.72);text-decoration:none;white-space:nowrap;border:0;background:none;font:inherit;cursor:pointer}
.labbar a:hover,.labbar button:hover{color:#fff;background:rgba(255,255,255,.08)}
.labbar a[aria-current]{color:var(--ink);background:var(--gold-l)}
.labbar .lab-k{padding:0 10px 0 8px;color:var(--gold-l);font-weight:600;white-space:nowrap}
.labbar .lab-s{display:none}
.labbar .lab-x{min-width:32px;justify-content:center;font-size:17px;color:rgba(255,255,255,.55)}
.lab-spacer{height:64px}
@media (max-width:600px){
  .labbar{left:8px;bottom:8px;gap:2px;padding:4px;font-size:12px}
  .labbar .lab-k{display:none}
  .labbar .lab-long{display:none}.labbar .lab-s{display:inline}
  .labbar a,.labbar button{min-height:30px;padding:0 9px}
}

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