/* Eitri Energy. Steel, heat, and the record. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-stretch: 62% 125%;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/archivo-latin-wdth-wght.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --steel: #141619;
  --steel-up: #1b1e22;
  --plate: rgba(9, 10, 12, 0.84);
  --ink: #ece8e1;
  --ink-2: #b4b0a8;
  --rule: rgba(236, 232, 225, 0.17);
  --rule-hard: rgba(236, 232, 225, 0.42);
  --heat: #ff6a1a;
  --heat-hot: #ffc774;
  --ember: #b3260c;
  --gut: 40px;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p, ul, ol, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
main:focus { outline: none; }

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

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 16px; top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--heat);
  color: #120802;
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.skip:focus { top: 16px; }

/* ---------- the two registers ---------- */

.lbl {
  font: 500 11px/18px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag {
  font: 400 11px/16px var(--mono);
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
/* round 7: the label every one-liner sits under ("What it's designed to do:") */
.def {
  display: block;
  margin-bottom: 8px;
  font: 400 11px/16px var(--mono);
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.display {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 116%;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.display--home { font-size: clamp(36px, 5.2vw, 86px); font-stretch: 104%; max-width: 15ch; }
.display--product { font-size: clamp(46px, 10.4vw, 168px); line-height: 0.84; }
.display--section { font-size: clamp(36px, 6.2vw, 104px); }

/* ---------- floating chrome ---------- */

.nav {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(468px, calc(100% - 32px));
  height: 52px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  background: var(--plate);
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 2px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav__home { display: grid; place-items: center; height: 100%; color: var(--ink); }
.mark { width: 26px; height: 26px; display: block; }
.mark__hot { fill: var(--heat); }
.nav__label {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}
.nav__menu { height: 100%; }
.nav__menu summary {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 1px solid rgba(236, 232, 225, 0.1);
}
.nav__menu summary::-webkit-details-marker { display: none; }
.tgl::before { content: "( + )"; font: 500 11px/1 var(--mono); letter-spacing: 0.04em; white-space: pre; }
details[open] > summary .tgl::before,
[aria-expanded="true"] > .tgl::before { content: "( \2013  )"; }
.nav__panel {
  position: absolute;
  left: -1px; right: -1px;
  top: calc(100% + 6px);
  background: var(--plate);
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 2px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 8px 16px 14px;
  background: rgba(9, 10, 12, 0.97);
}
.nav__panel li + li { border-top: 1px solid var(--rule); }
.nav__panel li a {
  display: block;
  padding: 10px 0;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__panel a:hover, .nav__panel a[aria-current="page"] { color: var(--heat-hot); }
.nav__portfolio {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-hard);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav__portfolio a { text-decoration: none; }
.nav__portfolio .lbl { color: var(--ink-2); }

.rail {
  position: fixed;
  z-index: 39;
  top: 16px;
  right: 16px;
  width: 228px;
  display: none;
}
@media (min-width: 1120px) { .rail { display: block; } }
.rail__card {
  background: var(--plate);
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 2px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.rail__card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0 14px;
  cursor: pointer;
  list-style: none;
}
.rail__card summary::-webkit-details-marker { display: none; }
.rail__list { padding: 0 14px 12px; }
.rail__list li { padding: 9px 0; border-top: 1px solid var(--rule); display: grid; gap: 3px; }
.rail__list a { font: 500 11px/1.2 var(--mono); letter-spacing: 0.06em; text-decoration: none; }
.rail__list span { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.rail__list .is-here a { color: var(--heat-hot); }

/* ---------- hero: forge heat on steel ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-content: end;
  padding: 120px var(--gut) 0;
  /* Readable without JS: a still of the heat, drawn in CSS. */
  background:
    radial-gradient(60% 45% at 80% 44%, rgba(255, 150, 60, 0.32), rgba(255, 90, 26, 0.08) 45%, transparent 70%),
    linear-gradient(170deg, transparent 41%, rgba(179, 38, 12, 0.5) 43.2%, rgba(255, 106, 26, 0.85) 44.2%, rgba(255, 199, 116, 0.9) 44.7%, rgba(255, 106, 26, 0.8) 45.3%, rgba(179, 38, 12, 0.4) 46.4%, transparent 48.6%),
    linear-gradient(180deg, #0c0e10 0%, #171a1d 55%, #0a0b0c 100%);
}
.hero--home { min-height: 100vh; min-height: 100svh; }
.hero--product { min-height: 86vh; min-height: 86svh; }
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}
.hero::after {
  /* a scrim under the words, so the heat never fights the type */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 11, 12, 0.86) 0%, rgba(10, 11, 12, 0.35) 36%, transparent 62%);
  pointer-events: none;
}
.hero__copy { grid-column: 1 / span 8; display: grid; gap: 22px; align-self: end; }
.hero--product .hero__copy,
.hero--portfolio .hero__copy { grid-column: 1 / -1; }
.hero--product .hero__lede,
.hero--portfolio .hero__lede { grid-column: 8 / span 5; margin-top: 28px; }
.hero__lede {
  grid-column: 9 / span 4;
  align-self: end;
  font-size: 19px;
  line-height: 1.3;
  max-width: 34ch;
}
.hero--product .hero__lede { font-size: 20px; }

.bar {
  grid-column: 1 / -1;
  margin-top: 56px;
  border-top: 1px solid var(--rule-hard);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr);
  column-gap: 24px;
  padding: 18px 0 22px;
  font: 500 11px/18px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bar__station { display: flex; align-items: center; gap: 10px; }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(236, 232, 225, 0.22);
  flex: none;
}
.bar__station .dot { animation: heat-step 4.8s steps(1, end) infinite; animation-delay: calc(var(--i) * 1.6s - 4.8s); }
@keyframes heat-step {
  0% { background: var(--heat); box-shadow: 0 0 10px 2px rgba(255, 106, 26, 0.7); }
  33.34%, 100% { background: rgba(236, 232, 225, 0.22); box-shadow: none; }
}
.bar--status { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.bar__status { text-transform: none; letter-spacing: 0.01em; font-size: 13px; font-weight: 400; }

/* ---------- editorial paragraph ---------- */

.chain { padding: 180px var(--gut) 150px; }
.sect__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 28px; font-weight: 400; }
.editorial {
  max-width: 24em;
  font-size: clamp(26px, 3.15vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.lbl--inline {
  display: inline-block;
  vertical-align: 0.5em;
  margin-right: 1.4em;
  color: var(--heat-hot);
}
.editorial--product { max-width: 26em; font-size: clamp(24px, 2.7vw, 42px); }

/* ---------- the ledger ---------- */

.ledger { padding: 0 var(--gut) 160px; }
.ledger__h { display: flex; justify-content: flex-end; padding-bottom: 14px; font-weight: 400; }
.row { border-top: 1px solid var(--rule); padding: 26px 0 30px; }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row__head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) auto minmax(0, 5fr);
  grid-template-areas: "name chips tgl media" "line line line media";
  grid-template-rows: auto 1fr;
  column-gap: 24px;
  align-items: start;
}
.row__name { grid-area: name; }
.chips { grid-area: chips; }
.row__toggle { grid-area: tgl; }
.row__media { grid-area: media; }
.row__line { grid-area: line; }
.row__name { font-size: 24px; line-height: 1.05; font-weight: 700; font-stretch: 116%; }
.row__name a { text-decoration: none; }
.row__name a:hover { color: var(--heat-hot); }
.chips { display: flex; flex-wrap: wrap; gap: 3px; padding-top: 3px; }
.chips li {
  background: #050607;
  border: 1px solid rgba(236, 232, 225, 0.12);
  border-radius: 1px;
  padding: 3px 7px;
  font: 500 10px/14px var(--mono);
  letter-spacing: 0.08em;
}
.row__toggle {
  background: none;
  border: 0;
  color: var(--ink);
  padding: 4px 2px;
  cursor: pointer;
  white-space: nowrap;
}
.row__toggle:hover { color: var(--heat-hot); }
.row__media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  text-decoration: none;
}
.row__media img {
  width: 168px;
  height: 112px;
  object-fit: cover;
  object-position: top left;
  border-radius: 1px;
  filter: saturate(0.9);
  transition: filter 0.3s var(--ease-out);
}
.row__media:hover img { filter: saturate(1.05) brightness(1.04); }
.row__media .tag { flex-basis: 100%; text-align: right; }
.row__media--none { color: var(--ink-2); padding-top: 3px; }
.row__line { margin-top: 14px; max-width: 46ch; color: var(--ink-2); font-size: 17px; line-height: 1.4; }
.row__panel {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto;
  column-gap: 24px;
  row-gap: 18px;
  align-items: start;
}
.row__panel[hidden] { display: none; }
.kv { display: grid; gap: 8px; }
.kv__k { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; color: var(--heat-hot); }
.kv__k .tag { color: var(--ink-2); }
.kv__v { font-size: 18px; line-height: 1.35; max-width: 44ch; }
.row__go { align-self: end; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--rule-hard);
  border-radius: 2px;
  text-decoration: none;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn:hover { border-color: var(--heat); color: var(--heat-hot); }
.ico { width: 11px; height: 11px; flex: none; }

/* ---------- how provable works: knurled steel ---------- */

.how {
  position: relative;
  padding: 170px var(--gut) 170px;
  border-top: 1px solid var(--rule);
  background:
    repeating-linear-gradient(45deg, rgba(236, 232, 225, 0.028) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(236, 232, 225, 0.028) 0 1px, transparent 1px 9px),
    var(--steel);
}
.how__steps {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
}
.how__step { border-top: 1px solid var(--rule-hard); padding-top: 18px; display: grid; gap: 14px; align-content: start; }
.how__step .lbl { color: var(--heat-hot); }
.how__line { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; font-weight: 600; max-width: 18ch; }
.how__more { color: var(--ink-2); max-width: 36ch; }

/* ---------- close ---------- */

.close { padding: 200px var(--gut) 150px; display: grid; gap: 64px; }
.close h2 { max-width: 12ch; }
.close__links { display: grid; gap: 16px; }
.close__links ul { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- product page sections ---------- */

.split {
  padding: 40px var(--gut) 160px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 40px;
}
.split h2 { grid-column: 1 / span 6; }
.split__body { grid-column: 7 / span 6; display: grid; gap: 14px; align-content: start; }
.does li { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 19px; line-height: 1.35; }
.does li:last-child { border-bottom: 1px solid var(--rule); }

.roles { padding: 0 var(--gut) 160px; }
.roles__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.roles__row:last-child { border-bottom: 1px solid var(--rule); }
.roles__name { font-size: 22px; line-height: 1.15; font-weight: 600; }
.roles__does { color: var(--ink-2); max-width: 52ch; }

.proof {
  margin: 0 var(--gut);
  padding: 56px 0 64px;
  border-top: 1px solid var(--rule-hard);
  border-bottom: 1px solid var(--rule-hard);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 24px;
  row-gap: 48px;
}
.proof .lbl { color: var(--heat-hot); }
.proof__line { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.12; font-weight: 600; max-width: 22ch; }
.proof__line + .proof__line { margin-top: 18px; }
.proof__status { font: 400 15px/1.5 var(--mono); max-width: 38ch; }

.screens { padding: 150px var(--gut) 120px; }
.screens__note { max-width: 52ch; color: var(--ink-2); margin-bottom: 40px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.shot a { display: block; border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.shot img { width: 100%; height: auto; }
.shot__cap { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 15px; }
.shots__none { font: 400 15px/1.5 var(--mono); color: var(--ink-2); max-width: 46ch; }

.next { padding: 0 var(--gut) 140px; }
.next__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "l name ico" "l line ico";
  column-gap: 24px;
  row-gap: 10px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--rule-hard);
  border-bottom: 1px solid var(--rule-hard);
  text-decoration: none;
}
.next__link .lbl { grid-area: l; padding-top: 8px; color: var(--ink-2); }
.next__name { grid-area: name; font-size: clamp(30px, 4.4vw, 68px); line-height: 0.92; font-weight: 800; font-stretch: 116%; }
.next__line { grid-area: line; color: var(--ink-2); max-width: 52ch; }
.next__link .ico { grid-area: ico; width: 22px; height: 22px; margin-top: 8px; }
.next__link:hover .next__name { color: var(--heat-hot); }

/* ---------- footer ---------- */

.foot { padding: 0 var(--gut) 40px; }
.foot__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--rule-hard);
}
.foot__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 26px; font: 500 11px/18px var(--mono); letter-spacing: 0.06em; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--heat-hot); }
.foot__links .lbl { color: var(--ink-2); }
.foot__line { padding-top: 18px; border-top: 1px solid var(--rule); font: 400 12px/1.6 var(--mono); color: var(--ink-2); }

/* ---------- the label roll ---------- */

.roll {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.25;
  height: 1.25em;
}
.roll > span {
  display: inline-block;
  text-shadow: 0 1.25em currentColor;
  transition: transform 0.38s var(--ease-out);
}
a:hover .roll > span,
button:hover .roll > span,
summary:hover .roll > span,
a:focus-visible .roll > span,
button:focus-visible .roll > span { transform: translateY(-1.25em); }

/* ---------- the nav label swap ---------- */

.nav__label .is-swap { display: inline-block; animation: label-in 0.42s var(--ease-out); }
@keyframes label-in {
  from { transform: translateY(80%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- heading reveal (only when the script turns it on) ---------- */

.reveal-on .display,
.reveal-on .editorial,
.reveal-on .next__name {
  opacity: 0;
  transform: translateY(0.32em);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-on .hero .display { transition-delay: 0.12s; }
.reveal-on .is-in { opacity: 1; transform: none; }

/* ---------- the trail and the first-load wipe: overlays that take no input ---------- */

.trail,
.wipe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.trail { z-index: 30; }
.wipe { z-index: 60; }
html[data-wipe] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--steel);
  pointer-events: none;
  animation: wipe-failsafe 0.2s linear 1.2s forwards;
}
@keyframes wipe-failsafe {
  to { opacity: 0; visibility: hidden; }
}

/* ---------- portfolio ---------- */

.hero--portfolio { min-height: 72vh; min-height: 72svh; }
.hero--portfolio .hero__copy { min-width: 0; }
.hero--portfolio .hero__copy > .lbl { white-space: normal; }
.hero--portfolio h1 { overflow-wrap: anywhere; }
.session {
  margin: 0 var(--gut);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.session__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: var(--ink-2); }
.session__line .lbl { color: var(--ink); }
.session__out { margin: 0; }
button.btn { background: transparent; color: var(--ink); cursor: pointer; }
.ledger--guides { padding-top: 110px; }
.row--guide .row__head {
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr);
  grid-template-areas: "name chips demo" "line line demo";
}
.row--guide .row__line { max-width: 60ch; color: var(--ink-2); }
.row__demo { grid-area: demo; display: flex; justify-content: flex-end; align-items: flex-start; }
.btn--hot { border-color: var(--heat); color: var(--heat-hot); }
.row__card .lbl { color: var(--ink-2); }

/* Numbered sheets share rules, not floating card surfaces. Copy stays on steel. */
.portfolio-index { margin: 0 0 80px; border-top: 1px solid var(--rule); }
.portfolio-index ul { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.portfolio-index li { flex: 1 1 220px; }
.portfolio-index a { display: flex; align-items: center; min-height: 52px; padding: 14px 16px; text-decoration: none; }
.portfolio-index a:hover, .portfolio-index a:focus-visible { color: var(--heat-hot); }
.portfolio-index .lbl { white-space: normal; }
.portfolio-sheet { margin-bottom: 110px; scroll-margin-top: 90px; }
.portfolio-sheet:last-child { margin-bottom: 0; }
.sheet__header { padding: 0 0 24px; container-type: inline-size; }
.sheet__header h2 { font-size: clamp(28px, 10cqi, 72px); line-height: .98; font-weight: 800; font-stretch: 108%; letter-spacing: -.035em; overflow-wrap: anywhere; }
.sheet__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; color: var(--ink-2); }
.sheet__meta > .lbl { white-space: normal; }
.sheet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-hard); border-left: 1px solid var(--rule); }
.sheet__cell { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--steel); }
.sheet__caption { display: flex; align-items: baseline; gap: 16px; min-height: 66px; padding: 20px 24px; }
.sheet__number { color: var(--heat-hot); flex: 0 0 auto; }
.sheet__caption h3 { font: 500 11px/18px var(--mono); letter-spacing: .06em; color: var(--ink); }
.sheet__art { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-block: 1px solid var(--rule); }
.sheet__content { padding: 24px; font-size: 18px; line-height: 1.45; color: var(--ink); }
.sheet__content > p + p { margin-top: 20px; }
.sheet__content .row__line { margin: 20px 0 0; font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.sheet__content .editorial--product { margin: 0; padding: 0; font-size: 18px; line-height: 1.45; letter-spacing: 0; max-width: none; text-indent: 0; }
.sheet__source { display: block; margin-top: auto; padding: 0 24px 24px; }
.sheet__roles { margin: 0; }
.sheet__roles > div + div { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.sheet__roles dt { font-weight: 650; margin-bottom: 5px; }
.sheet__roles dd { margin: 0; color: var(--ink-2); }
.sheet__content .row__card .lbl { white-space: normal; color: var(--heat-hot); }
.sheet__demo { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 0; margin-top: 16px; color: var(--heat-hot); }
.sheet__demo .lbl { white-space: normal; }

@media (max-width: 800px) {
  .portfolio-index { margin-bottom: 48px; }
  .portfolio-index li { flex-basis: 100%; border-bottom: 1px solid var(--rule); }
  .portfolio-index li:last-child { border-bottom: 0; }
  .portfolio-index a { padding-left: 0; }
  .portfolio-sheet { margin-bottom: 80px; }
  .sheet__grid { grid-template-columns: minmax(0, 1fr); }
  .sheet__caption { min-height: 60px; padding: 18px 20px; gap: 12px; }
  .sheet__content { padding: 20px; }
  .sheet__source { padding: 0 20px 20px; }
}

@media (max-width: 640px) {
  .hero--portfolio .hero__copy { container-type: inline-size; }
  .hero--portfolio h1 { font-size: clamp(28px, 10.6cqi, 64px); }
}

/* ---------- narrower screens ---------- */

@media (max-width: 1023px) {
  .hero__copy { grid-column: 1 / -1; }
  .hero__lede, .hero--product .hero__lede, .hero--portfolio .hero__lede { grid-column: 1 / span 9; margin-top: 28px; }
  .row__head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name tgl" "chips chips" "line line" "media media"; grid-template-rows: none; row-gap: 14px; }
  .row__line { margin-top: 0; }
  .row__media { justify-content: flex-start; }
  .row__media .tag { text-align: left; }
  .row__panel { grid-template-columns: minmax(0, 1fr); }
  .row--guide .row__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "chips" "line" "demo"; }
  .row__demo { justify-content: flex-start; }
  .split h2, .split__body { grid-column: 1 / -1; }
  .proof { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root { --gut: 16px; }
  body { font-size: 17px; }
  .hero { padding-top: 96px; column-gap: 0; }
  .hero__lede, .hero--product .hero__lede, .hero--portfolio .hero__lede { grid-column: 1 / -1; font-size: 17px; }
  .display--product { font-size: clamp(34px, 10.6vw, 64px); font-stretch: 108%; }
  .bar { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; margin-top: 36px; }
  .bar--status { grid-template-columns: minmax(0, 1fr); }
  .chain { padding: 110px var(--gut) 100px; }
  .lbl--inline { display: block; margin: 0 0 14px; vertical-align: 0; }
  .ledger { padding-bottom: 110px; }
  .row__name { font-size: 21px; }
  .row__media img { width: calc(50% - 4px); height: auto; aspect-ratio: 3 / 2; }
  .row__media img:nth-child(3) { display: none; }
  .how { padding: 110px var(--gut); }
  .how__steps { grid-template-columns: minmax(0, 1fr); margin-top: 56px; row-gap: 36px; }
  .close { padding: 120px var(--gut) 100px; gap: 44px; }
  .split { padding-bottom: 110px; }
  .roles { padding-bottom: 110px; }
  .roles__row { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .screens { padding: 110px var(--gut) 90px; }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .next__link { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l ico" "name ico" "line ico"; }
  .nav__label { font-size: 10px; letter-spacing: 0.05em; }
  .nav__menu summary { padding: 0 12px; }
}

/* ---------- motion off ---------- */

@media (prefers-reduced-motion: reduce) {
  .bar__station .dot { animation: none; }
  .bar__station:first-child .dot { background: var(--heat); }
  .btn, .row__media img { transition: none; }
  .nav__label .is-swap { animation: none; }
  html[data-wipe] body::after { animation: none; display: none; }
  .roll > span { transition: none; }
  a:hover .roll > span,
  button:hover .roll > span,
  summary:hover .roll > span,
  a:focus-visible .roll > span,
  button:focus-visible .roll > span { transform: none; }
  .trail, .wipe { display: none; }
}
