/* MIX Systems — 33 Hochbetrieb · black/white + MIX orange, MIX blue as the second voice · Schibsted Grotesk */
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

:root {
  --ink: #0e1017;
  --paper: #ffffff;
  --grey: #5a5d66;      /* 6.6:1 on white */
  --line: #d9dbe0;
  --o: #fd630b;         /* MIX orange: fills, large type, or on ink */
  --amber: #ffb609;
  --blue: #576d9d;      /* MIX periwinkle: 5.2:1 on white */
  --blue-l: #8ea6dd;    /* on ink */
  --pale: #e4e9f1;
  --pad: clamp(1.1rem, 4vw, 3.5rem);
  --max: 88rem;
  --f: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
@media (min-width: 60rem) { html { scroll-padding-top: 5rem; } }
body { margin: 0; font-family: var(--f); font-size: 1.0625rem; line-height: 1.5; color: var(--ink); background: var(--paper); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: .95; letter-spacing: -.02em; }
h2, h3, h4 { overflow-wrap: break-word; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--paper); }
.orange :focus-visible { outline-color: var(--ink); }
.ph { font-size: .8em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 20; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem;
  padding: .7rem var(--pad); background: rgba(255,255,255,.94); border-bottom: 2px solid var(--ink); }
@supports (backdrop-filter: blur(6px)) { .top { backdrop-filter: blur(6px); } }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; text-transform: uppercase; }
.logo small { font-size: .62em; font-weight: 700; letter-spacing: .12em; }
.logo-mark { width: 1.7rem; height: 1.7rem; }
.nav { order: 3; display: flex; width: 100%; gap: 1.3rem; font-weight: 700; font-size: .92rem; overflow-x: auto; scrollbar-width: none; padding: .15rem 0 .05rem; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; padding: .35rem 0; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.nav-cta { display: inline-flex; align-items: center; min-height: 2.75rem; background: var(--ink); color: var(--paper); padding: .55rem .9rem; white-space: nowrap; font-weight: 700; font-size: .95rem; text-decoration: none; }
.nav-cta:hover { background: var(--o); color: var(--ink); }
.cta-s { display: none; }
@media (max-width: 30rem) { .cta-l { display: none; } .cta-s { display: inline; } .logo { font-size: 1.05rem; } }
@media (min-width: 60rem) { .top { flex-wrap: nowrap; } .nav { order: 0; width: auto; margin-left: auto; overflow: visible; gap: 1.4rem; padding: 0; } .nav-cta { margin-left: 1.4rem; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .8rem 1.4rem;
  font: 700 1.05rem/1.1 var(--f); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.btn-o { background: var(--o); color: var(--ink); }
.btn-o:hover { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: clamp(1.4rem, 3vw, 2.4rem) var(--pad) 0; max-width: var(--max); margin: 0 auto; }
.kicker { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.kicker span::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .45em; background: var(--ink); vertical-align: .05em; }
.kicker .kicker-since::before { background: var(--o); }
.hero h1 { margin-top: .7rem; font-weight: 900; font-size: clamp(2.3rem, 11.4vw, 4.8rem); line-height: .9; letter-spacing: -.045em; }
.h-line { display: block; }
.h-out { color: var(--paper); text-shadow: 2px 0 var(--ink), -2px 0 var(--ink), 0 2px var(--ink), 0 -2px var(--ink),
  1.5px 1.5px var(--ink), -1.5px -1.5px var(--ink), 1.5px -1.5px var(--ink), -1.5px 1.5px var(--ink); }
@media (forced-colors: active) { .h-out { color: CanvasText; text-shadow: none; } }
.dot { color: var(--o); }
.hero-row { display: grid; gap: 1.1rem; margin: 1.2rem 0 1.4rem; }
.hero-sub { max-width: 36rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-cta .btn { flex: 1 1 11rem; }
@media (min-width: 40rem) { .hero-cta .btn { flex: 0 0 auto; } }
@media (min-width: 60rem) { .hero h1 { font-size: clamp(4.5rem, 7.4vw, 8.2rem); } }
@media (min-width: 75rem) {
  .hero-top { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: end; margin-bottom: 1.6rem; }
  .hero-row { margin: 0; justify-items: start; }
}

/* Problem → team slider */
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); border: 2px solid var(--ink); user-select: none; -webkit-user-select: none; }
@media (min-width: 40rem) { .ba { aspect-ratio: 16 / 10; } }
@media (min-width: 60rem) { .ba { aspect-ratio: auto; height: clamp(24rem, 58vh, 40rem); } }
.ba-team, .ba-leer { position: absolute; inset: 0; }
.ba-leer { background: #e9eaec; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.tiles { position: absolute; inset: 3.6rem .8rem 2.6rem; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 6px; }
.tiles > :first-child { grid-column: 1 / -1; }
@media (min-width: 40rem) {
  .tiles { inset: 4rem 1.2rem 3rem; grid-template-columns: repeat(7, 1fr); grid-template-rows: 1fr 1fr; gap: 8px; }
  .tiles > :first-child { grid-column: auto; grid-row: span 2; }
}
.tiles li { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: .45rem .55rem; background: var(--paper); color: var(--ink); }
.tiles b { font-weight: 900; font-size: clamp(1rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1; }
.tiles span { font-weight: 700; font-size: clamp(.62rem, 1.1vw, .85rem); line-height: 1.15; }
.t-lead { background: var(--o) !important; }
.t-lead b { font-size: clamp(1.3rem, 3.6vw, 3rem); }
.t-start { background: var(--pale) !important; }
.t-rel { background: var(--blue) !important; color: var(--paper) !important; }
.t-after { background: var(--amber) !important; }
.tiles-empty i { border: 2px dashed #9a9ca3; display: grid; place-items: center; }
.tiles-empty i::after { content: "?"; font-weight: 900; font-size: clamp(1rem, 2.4vw, 2rem); color: #b4b6bc; }
.ba-problem { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(80%, 26rem); padding: 1rem 1.1rem 1.1rem;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); font-weight: 900; font-size: clamp(1.6rem, 5vw, 3rem); line-height: 1; letter-spacing: -.035em; }
.ba-problem small { display: block; margin-top: .6rem; font-weight: 700; font-size: .95rem; letter-spacing: 0; line-height: 1.3; color: var(--grey); }
.ba-tag { position: absolute; top: .9rem; z-index: 2; padding: .35rem .7rem; font-weight: 900; font-size: clamp(.9rem, 2vw, 1.2rem); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba-tag-l { left: .9rem; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.ba-tag-r { right: .9rem; background: var(--o); color: var(--ink); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--paper); z-index: 3; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 3.6rem; height: 3.6rem; transform: translate(-50%, -50%); display: grid; place-items: center;
  background: var(--o); color: var(--ink); border: 3px solid var(--paper); border-radius: 50%; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.ba-knob svg { width: 1.6rem; height: 1.6rem; }
.ba-range { position: absolute; top: 0; bottom: 0; left: -1.8rem; z-index: 4; width: calc(100% + 3.6rem); height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 3.6rem; height: 100vh; }
.ba-range::-moz-range-thumb { width: 3.6rem; height: 100vh; border: 0; }
.ba-range:focus-visible ~ .ba-line .ba-knob { outline: 4px solid var(--paper); outline-offset: 4px; box-shadow: 0 0 0 10px var(--ink); }
.ba-note { position: absolute; left: 0; bottom: 0; z-index: 5; padding: .4rem .7rem; background: var(--ink); color: var(--paper); font-size: .78rem; letter-spacing: .03em; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .ba:not(.touched) { animation: hint 2.6s cubic-bezier(.6,0,.3,1) .8s 1; }
}
@keyframes hint { 0% { --pos: 50%; } 30% { --pos: 22%; } 65% { --pos: 78%; } 100% { --pos: 50%; } }

.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-bottom: 2px solid var(--ink); }
.facts div { display: flex; flex-direction: column; justify-content: space-between; gap: .2rem; min-width: 0; padding: 1.1rem .2rem 1.1rem 0; border-top: 2px solid var(--ink); }
.facts div:nth-child(odd) { padding-right: 1rem; border-right: 2px solid var(--ink); }
.facts div:nth-child(even) { padding-left: 1rem; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.facts dd { margin: .15rem 0 0; font-weight: 900; font-size: clamp(2rem, 6vw, 4rem); line-height: 1; letter-spacing: -.035em; }
@media (min-width: 60rem) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div, .facts div:nth-child(odd), .facts div:nth-child(even) { padding: 1.3rem 1.2rem; border-top: 0; border-right: 2px solid var(--ink); }
  .facts div:first-child { padding-left: 0; }
  .facts div:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.sec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.dark { background: var(--ink); color: var(--paper); }
.orange { background: var(--o); color: var(--ink); }
.sec-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-no { font-weight: 900; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.sec-head h2 { font-weight: 900; font-size: clamp(2.2rem, 7vw, 5.6rem); max-width: 18ch; }
.sec-head h2 > span { display: inline-block; }
.sec-lead { max-width: 42rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--grey); }
.dark .sec-lead { color: #c9cbd1; }
@media (min-width: 60rem) {
  .sec-head { grid-template-columns: 7rem 1fr; column-gap: 2rem; }
  .sec-no { grid-row: span 2; padding-top: .6rem; }
}
.fine { margin-top: 1.4rem; font-size: .9rem; color: var(--grey); }
.dark .fine { color: #b9bcc4; }

/* ---------- Part A: team + stage filter (CSS only) ---------- */
.filter { position: relative; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.f-b { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .3rem .9rem; border: 2px solid var(--ink); background: var(--paper); font-weight: 700; font-size: .95rem; cursor: pointer; }
.f-b span { font-size: .75rem; color: var(--grey); }
.f-b:hover { background: #ececee; }
input:checked + .f-b { background: var(--ink); color: var(--paper); }
input:checked + .f-b span { color: #c9cbd1; }
input:focus-visible + .f-b { outline: 3px solid var(--o); outline-offset: 3px; }

.roles { display: grid; gap: 0 2.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.role { display: grid; align-content: start; gap: .45rem; padding: 1.1rem 0 1.4rem; border-top: 2px solid var(--ink); transition: opacity .35s, filter .35s; }
.role-code { font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: .9; letter-spacing: -.04em; color: var(--blue); }
.role h3 { font-weight: 900; font-size: 1.35rem; line-height: 1.1; }
.role > p:last-child { color: var(--grey); font-size: 1rem; }
.role-lead { background: var(--o); padding: 1.1rem 1.1rem 1.4rem; border-top-color: var(--ink); }
.role-lead .role-code { color: var(--ink); }
.role-lead > p:last-child { color: var(--ink); font-weight: 700; }
.role-lead { grid-column: 1 / -1; }
.note { display: none; margin-left: .35rem; padding: .15rem .45rem; vertical-align: .2em; background: var(--ink); color: var(--paper); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.n-all { display: inline-block; }
.team:has(#st-start:checked) .role:not(.in-start),
.team:has(#st-build:checked) .role:not(.in-build),
.team:has(#st-release:checked) .role:not(.in-release),
.team:has(#st-after:checked) .role:not(.in-after) { opacity: .28; filter: grayscale(1); }
.team:has(#st-start:checked) .role.in-start .role-code,
.team:has(#st-build:checked) .role.in-build .role-code,
.team:has(#st-release:checked) .role.in-release .role-code,
.team:has(#st-after:checked) .role.in-after .role-code { color: var(--o); }
.team:has(#st-start:checked) .role-lead .role-code,
.team:has(#st-build:checked) .role-lead .role-code,
.team:has(#st-release:checked) .role-lead .role-code,
.team:has(#st-after:checked) .role-lead .role-code { color: var(--ink); }
.team:has(#st-build:checked) .n-build,
.team:has(#st-release:checked) .n-release,
.team:has(#st-after:checked) .n-after { display: inline-block; }
.mix-note { margin-bottom: 1.1rem; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }

/* All 55 roles: native <details>, no JS */
.all-roles { margin-top: 1rem; }
.all-roles summary { display: inline-flex; align-items: center; gap: .9rem; min-height: 3.2rem; padding: .6rem .6rem .6rem 1.3rem; border: 2px solid var(--ink);
  font-weight: 700; font-size: 1.05rem; line-height: 1.1; list-style: none; cursor: pointer; transition: background .15s, color .15s; }
.all-roles summary::-webkit-details-marker { display: none; }
.all-roles summary:hover, .all-roles[open] summary { background: var(--ink); color: var(--paper); }
.ar-x { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--o); color: var(--ink); }
.ar-x svg { width: 1rem; height: 1rem; transition: transform .2s; }
.all-roles[open] .ar-x svg { transform: rotate(45deg); }
.ar-list { margin-top: 1.6rem; columns: 13rem 4; column-gap: 2.2rem; }
.ar-g { break-inside: avoid; padding: .7rem 0 1.1rem; border-top: 2px solid var(--ink); }
.ar-g h3 { margin-bottom: .45rem; font-weight: 900; font-size: .8rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.ar-g li { padding: .08rem 0; line-height: 1.3; }
.ar-g .q { color: var(--grey); }
.all-roles .fine { margin-top: .4rem; }

/* ---------- Part B: steps + meters ---------- */
.steps { border-top: 2px solid var(--paper); }
.step { display: grid; gap: .7rem 2rem; padding: 1.8rem 0 2rem; border-bottom: 2px solid #343844; }
.step-no { font-weight: 900; font-size: clamp(4.5rem, 16vw, 11rem); line-height: .8; letter-spacing: -.06em; color: var(--o); }
.step h3 { font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.6rem); }
.step p { max-width: 36rem; color: #dcdde2; font-size: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { border: 1.5px solid #8a8d96; padding: .25rem .6rem; font-size: .85rem; font-weight: 700; }
.tags .j { border-color: var(--o); background: var(--o); color: var(--ink); }
.tags .o { border: 1.5px dashed var(--o); color: var(--o); }
.tags .c { border-color: var(--blue-l); color: var(--blue-l); }
.meter { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; max-width: 30rem; }
.meter i, .legend i { aspect-ratio: 1; border: 2px solid #5b5f6a; }
.meter .s, .legend .s { background: var(--paper); border-color: var(--paper); }
.meter .j, .legend .j { background: var(--o); border-color: var(--o); }
.meter .o, .legend .o { border: 2px dashed var(--o); }
.meter .c, .legend .c { background: var(--blue); border-color: var(--blue-l); }
@media (min-width: 60rem) {
  .step { grid-template-columns: 16rem 1fr 1.2fr; align-items: start; }
  .step-no { grid-row: span 3; }
  .step h3 { padding-top: .5rem; }
  .step p { grid-column: 3; grid-row: 1; padding-top: .6rem; }
  .step .tags { grid-column: 3; }
  .step .meter { grid-column: 3; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .meter i { animation: pop linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    .meter i:nth-child(n+5) { animation-range: entry 30% cover 45%; }
    .meter i:nth-child(n+9) { animation-range: entry 40% cover 50%; }
  }
}
@keyframes pop { from { transform: scale(.2); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; font-size: .9rem; color: #dcdde2; }
.legend li { display: flex; align-items: center; gap: .5rem; }
.legend i { display: inline-block; width: 1rem; }

/* ---------- How we work (orange) ---------- */
.how { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.how-big { font-weight: 900; font-size: clamp(2.6rem, 10.5vw, 9.5rem); line-height: .88; letter-spacing: -.05em; }
.how-big span { display: block; }
.weeks { display: grid; margin-top: clamp(2rem, 5vw, 3.5rem); border-top: 3px solid var(--ink); }
.weeks li { display: grid; gap: .25rem; padding: 1rem .8rem 1rem 0; border-bottom: 3px solid var(--ink); }
.weeks b { font-weight: 900; font-size: clamp(1.25rem, 2.5vw, 2rem); letter-spacing: -.02em; }
.weeks span { font-size: 1.05rem; font-weight: 700; max-width: 26rem; }
@media (min-width: 60rem) {
  .weeks { grid-template-columns: 1fr 1fr 1fr; border-bottom: 0; }
  .weeks li { border-bottom: 0; border-right: 3px solid var(--ink); padding: 1.2rem 1.2rem 0; min-height: 8rem; position: relative; }
  .weeks li:first-child { padding-left: 0; }
  .weeks li:last-child { border-right: 0; }
  .weeks li::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 12px; background: var(--ink); }
}

/* ---------- Part C: directions ---------- */
.dir-list { display: grid; gap: 2.4rem 2.6rem; }
@media (min-width: 48rem) { .dir-list { grid-template-columns: 1fr 1fr; } }
.dir { border-top: 2px solid var(--ink); padding-top: 1.1rem; display: grid; gap: 1rem; align-content: start; }
.dir h3 { display: flex; align-items: baseline; gap: .7rem; font-weight: 900; font-size: clamp(1.65rem, 2.7vw, 2.3rem); }
.case-no { font-size: .85rem; letter-spacing: .1em; color: var(--grey); flex: none; }
.todo li { position: relative; padding-left: 1.1rem; }
.todo li + li { margin-top: .25rem; }
.dir-more p { max-width: 34ch; color: var(--grey); }
.dir-link { font-weight: 900; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.dir-link:hover { color: var(--o); }
.dir-tag { margin-top: -.6rem; font-weight: 900; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.todo li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; background: var(--o); }

/* ---------- Since 2006 ---------- */
.quote { font-weight: 900; font-size: clamp(2.5rem, 8.5vw, 7.4rem); line-height: .9; letter-spacing: -.045em; max-width: 14ch; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.quote::first-letter { color: var(--o); }
.since-t { max-width: 36ch; font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.35; }

/* ---------- Contact ---------- */
.direct { border-top: 2px solid var(--ink); }
.direct-row { display: grid; gap: .3rem 2rem; padding: 1.1rem 0; border-bottom: 2px solid var(--ink); align-items: baseline; }
.direct-k { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.direct-v { font-weight: 900; font-size: clamp(1.6rem, 5vw, 3.4rem); letter-spacing: -.035em; line-height: 1.05; overflow-wrap: anywhere; }
.direct-v.ph { font-size: clamp(1.2rem, 3.4vw, 2.2rem); color: var(--blue); }
@media (min-width: 60rem) { .direct-row { grid-template-columns: 12rem 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 2.5rem var(--pad) 1.5rem; overflow: hidden; }
.foot-word { font-weight: 900; font-size: clamp(2.2rem, 10.6vw, 12rem); line-height: .8; letter-spacing: -.06em; text-transform: uppercase; white-space: nowrap; max-width: var(--max); margin: 0 auto; }
.foot-row { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center; max-width: var(--max); margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid #343844; font-size: .95rem; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-row nav a { text-underline-offset: .2em; }
.foot-fine { color: #b9bcc4; font-size: .9rem; }
.foot .ph { color: #c9cbd1; }
.foot :focus-visible { outline-color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Open source */
.oss { background: #f2f3f5; }
.oss-list { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-top: clamp(2rem, 5vw, 3rem); padding: 0; list-style: none; }
.oss-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem; background: var(--paper); border: 2px solid var(--ink); }
.oss-card h3 { font-weight: 900; font-size: 1.35rem; line-height: 1.1; }
.oss-card p { margin: 0; }
.oss-meta { color: var(--grey); font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.oss-links { margin-top: auto !important; display: flex; gap: 1rem; }
.oss-links a { font-weight: 900; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.oss-links a:hover { color: var(--o); }
.since-proof { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.since-proof:hover { color: var(--o); }
