/* Vendow Studio – nye retninger (B-137.43–50). Felles grunn for A og B: skrifter, farger, mål, hode, etikettrader, statusmerker.
   Samme familie som vendow.no (krem, blekk, kobolt, Archivo/Inter/Geist Mono); Studio legger til lilla, acid, korall og gul. */
@font-face { font-family: 'Archivo V'; src: url(../fonts/archivo-var.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Inter V'; src: url(../fonts/inter-opsz.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(../fonts/geist-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
:root {
  --cream: #F6F2E8; --pale: #ECE5D3; --dim: #DCD4C1; --mute: #85806F; --ink: #111113; --night: #0A0A0C;
  --cob: #2F5BFF; --vio: #702BFF; --acid: #D4FF3F; --coral: #F07A52; --sun: #FFC83D;
  --f-big: 'Archivo V', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Inter V', 'Helvetica Neue', Arial, sans-serif;
  --f-meta: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); --heavy: cubic-bezier(.7, 0, .2, 1);
  --g: 16px;
  /* --z: én designpiksel. 1 på 1440×900, vokser til 2 på store skjermer, aldri under 1 (som vendow.no). */
  --z: clamp(1px, min(100vw / 1440, 100vh / 900), 2px);
  --vh: 100svh;
  /* W-ens skrå: bjelkene går 48,773 til høyre per 100 ned = 26° fra loddrett. */
  --skra: 26deg; --tan: 0.48773;
}
@media (min-width: 900px) { :root { --g: calc(18 * var(--z)); } }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-text); font-size: 16px; line-height: 1.35; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video, canvas, svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Stor type: Archivo 900, smal, versaler. Sett størrelse selv; --wd styrer bredden (62–125). */
.big { font-family: var(--f-big); font-weight: 900; text-transform: uppercase; line-height: .84; letter-spacing: -0.02em;
  font-stretch: calc(var(--wd, 84) * 1%); font-variation-settings: 'wght' 900, 'wdth' var(--wd, 84); }
/* Liten metatekst: Geist Mono, versaler, sperret. */
.meta { font-family: var(--f-meta); font-size: calc(11 * var(--z)); letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
@media (max-width: 899px) { .meta { font-size: 10.5px; } }

/* Hodet: samme brikker som vendow.no, med Studio-navnet. */
.hode { position: fixed; z-index: 50; left: var(--g); right: var(--g); top: calc(10 * var(--z)); display: flex; align-items: stretch; justify-content: space-between; pointer-events: none; }
.hode > * { pointer-events: auto; }
.hode .brikke { display: flex; align-items: center; gap: calc(12 * var(--z)); padding: calc(9 * var(--z)) calc(14 * var(--z)) calc(9 * var(--z)) calc(11 * var(--z)); background: var(--cream); box-shadow: 0 1px 0 rgba(17,17,19,.08), 0 6px 18px rgba(17,17,19,.06); text-decoration: none; }
.hode .brikke svg { width: calc(26 * var(--z)); height: auto; }
.hode .brikke b { display: block; font-family: var(--f-meta); font-weight: 400; font-size: calc(10.5 * var(--z)); letter-spacing: .1em; }
.hode .brikke i { display: block; font-style: normal; font-family: var(--f-meta); font-size: calc(9 * var(--z)); letter-spacing: .12em; color: var(--mute); margin-top: 2px; }
.hode .hoyre { display: flex; gap: calc(4 * var(--z)); }
.hode .kn { display: flex; align-items: center; padding: 0 calc(16 * var(--z)); min-height: calc(38 * var(--z)); background: var(--ink); color: var(--cream); font-size: calc(13 * var(--z)); font-weight: 500; text-decoration: none; }
.hode .sprak { display: flex; align-items: center; gap: 8px; padding: 0 calc(12 * var(--z)); background: var(--cream); font-family: var(--f-meta); font-size: calc(10 * var(--z)); letter-spacing: .1em; box-shadow: 0 6px 18px rgba(17,17,19,.06); }
.hode .sprak b { font-weight: 400; text-decoration: underline; text-underline-offset: 3px; } .hode .sprak span { color: var(--mute); }
@media (max-width: 899px) { .hode { top: 8px; } .hode .brikke { gap: 9px; padding: 8px 11px 8px 9px; } .hode .brikke svg { width: 24px; } .hode .brikke b { font-size: 10.5px; } .hode .brikke i { font-size: 9px; }
  .hode .kn { font-size: 13px; padding: 0 13px; min-height: 40px; } .hode .sprak { display: none; } }

/* Etikettrad: fire spalter med tynn strek over (vendow.no). */
.rad { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); }
.rad > * { border-top: 1px solid rgba(17,17,19,.22); padding-top: calc(7 * var(--z)); }
.rad .svak { color: var(--mute); }
/* Kapitteletikett: «/ TITTEL» + liten stripeklynge + nummer til høyre. */
.kap { display: flex; align-items: center; gap: calc(10 * var(--z)); border-top: 1px solid currentColor; padding-top: calc(7 * var(--z)); }
.kap .nr { margin-left: auto; }

/* Status. Samme språk som maskinen på vendow.no: fylt = finnes i dag, tynn ramme = bygges nå, stiplet = ambisjon. */
.st { display: inline-flex; align-items: center; height: calc(18 * var(--z)); padding: 0 calc(8 * var(--z)); border-radius: 99px; font-family: var(--f-meta); font-size: calc(9.5 * var(--z)); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.st.drift { background: var(--ink); color: var(--cream); }
.st.bygges { border: 1px solid currentColor; }
.st.ambisjon { border: 1px dashed currentColor; }
@media (max-width: 899px) { .st { height: 18px; padding: 0 8px; font-size: 9.5px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; } }
