/* Nivego — nivego.pl */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext-wght-normal.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: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-wght-normal.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;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext-400-normal.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-normal.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;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext-600-normal.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-600-normal.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 {
  --paper: #F4F0E8;
  --paper-2: #FAF7F1;
  --ink: #1A1F1C;
  --ink-soft: #4A504C;
  --accent: #C45C26;
  --accent-ink: #A3461B;      /* AA on paper for small text */
  --accent-light: #E2793F;    /* AA on night for small text */
  --teal: #2F5D50;
  --teal-light: #5E9C8A;
  --night: #0E1412;
  --line: rgba(26, 31, 28, .15);
  --line-mid: rgba(26, 31, 28, .35);
  --on-night: rgba(244, 240, 232, .78);
  --on-night-soft: rgba(244, 240, 232, .62);
  --line-night: rgba(244, 240, 232, .16);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 10vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="pl"] .en,
html[lang="en"] .pl { display: none !important; }

h1, h2, h3, p, ul, ol { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 600; }
::selection { background: var(--ink); color: var(--paper); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; transition: transform .25s var(--ease); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  min-height: 4.25rem;
}

.wordmark {
  font: 650 1.65rem/1 var(--f-display);
  letter-spacing: -.025em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-mark {
  display: inline-block;
  width: .28em;
  height: .28em;
  margin-left: .06em;
  background: var(--accent);
}

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; width: 100%; padding-bottom: .75rem; }
.nav-list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; }
.nav-list a {
  position: relative;
  display: inline-block;
  padding: .3rem 0;
  font-size: .95rem;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-list a:hover::after,
.nav-list a:focus-visible::after { transform: scaleX(1); }

.lang-switch { display: inline-flex; border: 1px solid var(--line-mid); border-radius: 2px; }
.lang-switch a {
  padding: .3rem .55rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  color: var(--ink-soft);
}
.lang-switch a:hover { color: var(--ink); }
html[lang="pl"] .lang-switch [data-set-lang="pl"],
html[lang="en"] .lang-switch [data-set-lang="en"] { background: var(--ink); color: var(--paper); }

.nav-toggle { display: none; }

@media (max-width: 859px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .8rem;
    background: none;
    border: 1px solid var(--ink);
    border-radius: 2px;
    color: var(--ink);
    font: 600 .85rem/1 var(--f-body);
    cursor: pointer;
  }
  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform .2s var(--ease), opacity .2s;
  }
  .nav-toggle-lines { position: relative; }
  .nav-toggle-lines::before,
  .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-lines::before { top: -5px; }
  .nav-toggle-lines::after { top: 5px; }
  .nav-open .nav-toggle-lines { background: transparent; }
  .nav-open .nav-toggle-lines::before { transform: translateY(5px) rotate(45deg); }
  .nav-open .nav-toggle-lines::after { transform: translateY(-5px) rotate(-45deg); }

  .js .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: calc(100% + 1px);
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  .js .nav-open .site-nav { display: block; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a {
    display: block;
    padding: .85rem 0;
    font: 500 1.5rem/1.2 var(--f-display);
    border-bottom: 1px solid var(--line);
  }
  .js .nav-list a::after { display: none; }
  .js .lang-switch { margin-top: 1.25rem; }
}

@media (min-width: 860px) {
  .site-nav { width: auto; padding: 0; gap: 2rem; }
  .nav-list { gap: 2rem; }
  .nav-contact {
    padding: .4rem .85rem !important;
    border: 1px solid var(--ink);
    border-radius: 2px;
    transition: background .2s, color .2s;
  }
  .nav-contact::after { display: none; }
  .nav-contact:hover { background: var(--ink); color: var(--paper); }
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font: 600 .95rem/1.2 var(--f-body);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--accent); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline:hover .icon { transform: translate(2px, -2px); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--accent-light); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: 3px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1.5px no-repeat;
}
.btn-link:hover .icon { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--ink); }
.hero-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  padding-top: clamp(3rem, 9vw, 7.5rem);
}
.hero-slab { display: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: var(--ink); flex: none; }

.hero-title {
  margin: .8em 0 .55em;
  max-width: 15ch;
  font: 600 clamp(2.35rem, 1.3rem + 5.2vw, 5.6rem)/1.02 var(--f-display);
  letter-spacing: -.028em;
}
.hero-title em { font-style: normal; color: var(--accent); }

.lead {
  max-width: 38ch;
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }

.hero-aside {
  margin-inline: calc(var(--gutter) * -1);
  padding: 4rem var(--gutter) 2.5rem;
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 2.5rem, 100% 0, 100% 100%, 0 100%);
}

.ticket {
  position: relative;
  max-width: 22rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  transform: rotate(-1.5deg);
  box-shadow: 6px 6px 0 var(--accent);
  transition: transform .35s var(--ease);
}
.ticket:hover { transform: rotate(0) translateY(-2px); }
.ticket-main { padding: 1.4rem 1.5rem 1rem; }
.ticket-kicker {
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.ticket-list { list-style: none; padding: 0; }
.ticket-list li + li { border-top: 1px dashed var(--line-mid); }
.ticket-list a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: baseline;
  padding: .85rem 0;
  font: 500 1.25rem/1.25 var(--f-display);
  text-decoration: none;
  transition: color .2s, transform .25s var(--ease);
}
.ticket-list a:hover { color: var(--accent-ink); transform: translateX(3px); }
.ticket-no { font: 600 .8rem/1 var(--f-body); letter-spacing: .06em; color: var(--teal); }
.ticket-stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.5rem;
  border-top: 2px dashed var(--line-mid);
}
.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
}
.ticket-stub::before { left: -9px; }
.ticket-stub::after { right: -9px; }
.ticket-stub-text { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.barcode {
  width: 6.5rem;
  height: 1.6rem;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px);
}

.runsheet { width: 100%; max-width: 22rem; margin-top: 2.5rem; }
.runsheet-grid line { stroke: rgba(244, 240, 232, .2); stroke-dasharray: 2 4; }
.runsheet-now { stroke: var(--accent-light); stroke-width: 1.5; }
.runsheet-labels text { fill: var(--on-night-soft); font: 400 10px var(--f-body); text-anchor: middle; }
.bar { transform-box: fill-box; transform-origin: left; animation: grow 1s var(--ease) both; }
.bar:nth-child(2) { animation-delay: .12s; }
.bar:nth-child(3) { animation-delay: .24s; }
.bar:nth-child(4) { animation-delay: .36s; }
.bar-teal { fill: var(--teal-light); }
.bar-paper { fill: rgba(244, 240, 232, .85); }
.bar-orange { fill: var(--accent); }
@keyframes grow { from { transform: scaleX(0); } }

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
    column-gap: clamp(2rem, 6vw, 6rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
  }
  .hero-slab {
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: calc((100% - min(100%, var(--wrap))) / 2 + min(100%, var(--wrap)) * .42);
    background:
      linear-gradient(90deg, rgba(244, 240, 232, .05) 1px, transparent 1px) 0 0 / 48px 100%,
      var(--ink);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-aside { margin: 0; padding: 0; background: none; clip-path: none; justify-self: end; width: 100%; max-width: 22rem; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.how, .about { padding-bottom: calc(var(--section-y) * .5); }

.hero-title, .section-title, .product-name, .axis-title { text-wrap: balance; }

.ruler {
  height: 11px;
  border-top: 1px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 120px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--line-mid) 0 1px, transparent 1px 12px) 0 0 / 100% 5px no-repeat;
}
.ruler--night {
  border-top-color: var(--paper);
  background:
    repeating-linear-gradient(90deg, var(--paper) 0 1px, transparent 1px 120px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--line-night) 0 1px, transparent 1px 12px) 0 0 / 100% 5px no-repeat;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  margin: 1.25rem 0 1.25rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-no {
  font: 300 clamp(2.75rem, 2rem + 3vw, 4.5rem)/1 var(--f-display);
  letter-spacing: -.03em;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
}
.section-title {
  max-width: 16ch;
  font: 600 clamp(2rem, 1.3rem + 3vw, 3.6rem)/1.05 var(--f-display);
  letter-spacing: -.022em;
}
.section-title--xl { font-size: clamp(2.6rem, 1.5rem + 5vw, 5.5rem); }
.section-lead {
  max-width: 46ch;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.fineprint { font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- 01 How ---------- */

.how-grid { display: grid; gap: 2.5rem; }
.axes { display: grid; gap: 2.5rem; }
.axis { padding-top: 1.5rem; border-top: 3px solid var(--teal); }
.axis-b { border-top-color: var(--accent); }
.axis-letter {
  display: block;
  margin-bottom: .75rem;
  font: 300 4.5rem/.9 var(--f-display);
  color: var(--teal);
}
.axis-b .axis-letter { color: var(--accent); }
.axis-title { margin-bottom: .75rem; font: 600 1.6rem/1.15 var(--f-display); letter-spacing: -.015em; }
.axis p { max-width: 40ch; color: var(--ink-soft); }
.axis-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.axis-link:hover .icon { transform: translateX(3px); }

@media (min-width: 900px) {
  .how-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
  .axes { grid-template-columns: 1fr 1fr; padding-top: 1.25rem; }
  .axis-b { margin-top: 4rem; }
}

/* ---------- 02 Products ---------- */

.product-stack { display: grid; gap: clamp(2.5rem, 6vw, 5rem); margin-top: 3rem; }
.product {
  background: var(--paper-2);
  border: 1px solid var(--ink);
  border-top: 6px solid var(--teal);
  border-radius: 2px;
}
.product--right { border-top-color: var(--accent); }

.product-meta { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--ink); }
.product-meta > * { display: flex; align-items: center; padding: .65rem 1.1rem; border-right: 1px solid var(--line); }
.product-code { font: 600 .95rem/1 var(--f-display); }
.product-domain { margin-left: auto; border-right: 0; border-left: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); }

.tag { gap: .55rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tag--live { color: var(--teal); }
.tag--waitlist { color: var(--accent-ink); }
.tag-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.tag-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--teal);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

.product-body { display: grid; gap: 2.5rem; padding: clamp(1.5rem, 4vw, 3rem); }
.product-name {
  margin-bottom: .75rem;
  font: 600 clamp(1.75rem, 1.2rem + 2vw, 2.6rem)/1.05 var(--f-display);
  letter-spacing: -.022em;
}
.product-oneliner { max-width: 52ch; margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.55; }

.ticks { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.ticks li { position: relative; padding: .6rem 0 .6rem 1.75rem; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: .8rem;
  height: .45rem;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
}
.product--right .ticks li::before { border-color: var(--accent); }

.product-not { max-width: 56ch; margin-bottom: 1.75rem; font-size: .9rem; color: var(--ink-soft); }
.product-not strong { color: var(--ink); }
.product-note {
  max-width: 56ch;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-mid);
  font-size: .85rem;
  color: var(--ink-soft);
}

.product-figure { order: 2; margin: 0; align-self: center; }
.product-figure svg { width: 100%; max-width: 280px; margin-inline: auto; }
.fig-ink { stroke: var(--ink); fill: none; stroke-width: 1.5; }
.fig-thick { stroke-width: 3; }
.fig-teal { stroke: var(--teal); fill: none; stroke-width: 2; }
.fig-orange { fill: var(--accent); stroke: var(--accent); stroke-width: 2; }
.fig-fill-paper { fill: var(--paper-2); }
.fig-soft { stroke: var(--line-mid); fill: none; stroke-width: 1.2; stroke-dasharray: 3 4; }
.fig-flow { stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-dasharray: 3 3; }
.fig-flow-head { stroke: var(--accent); fill: none; stroke-width: 1.5; }

@media (max-width: 559px) {
  .product-domain { display: none !important; }
}
@media (min-width: 860px) {
  .product--left .product-body { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .product--right .product-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
  .product--right .product-figure { order: 0; }
}
@media (min-width: 1040px) {
  .product { width: 88%; }
  .product--right { justify-self: end; }
}

/* ---------- 03 Dedicated ---------- */

.dedicated {
  --cut: clamp(2rem, 5vw, 5rem);
  padding-top: calc(var(--section-y) + var(--cut));
  background: var(--night);
  color: var(--paper);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.dedicated :focus-visible { outline-color: var(--accent-light); }
.dedicated .section-label { color: var(--on-night-soft); }
.dedicated .section-no { color: var(--accent-light); }
.dedicated .section-lead { color: var(--on-night); }
.dedicated .fineprint { color: var(--on-night-soft); }

.dedicated-grid { display: grid; gap: 3.5rem; }
.list-title {
  margin: 3rem 0 .75rem;
  font: 600 .78rem/1.4 var(--f-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.runlist { list-style: none; padding: 0; max-width: 40rem; }
.runlist li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  padding: .95rem 0;
  border-top: 1px solid var(--line-night);
  font: 400 clamp(1.1rem, 1rem + .5vw, 1.3rem)/1.35 var(--f-display);
}
.runlist li:last-child { border-bottom: 1px solid var(--line-night); }
.runlist-no { font: 600 .78rem/1 var(--f-body); letter-spacing: .08em; color: var(--accent-light); }

.project-sample { max-width: 40rem; }
.project-sample-name {
  margin: 0 0 1rem;
  font: 400 clamp(1.35rem, 1.1rem + 1vw, 1.75rem)/1.3 var(--f-display);
  color: var(--paper);
}
.project-sample-lead { margin: 0 0 .5rem; color: var(--on-night); line-height: 1.55; }
.list-title--sub { margin-top: 2rem; margin-bottom: .35rem; }
.ticks--night li { border-color: var(--line-night); font-size: clamp(1rem, .95rem + .35vw, 1.15rem); line-height: 1.45; }
.ticks--night li::before { border-color: var(--teal-light); }

.dedicated-aside { display: grid; gap: 2.5rem; justify-items: center; align-content: start; }
.stamp {
  width: clamp(9rem, 22vw, 12.5rem);
  color: var(--accent-light);
  transform: rotate(-14deg);
  transition: transform .5s var(--ease);
}
.dedicated-aside:hover .stamp { transform: rotate(-4deg); }
.stamp-ring { fill: none; stroke: currentColor; stroke-width: 1.5; }
.stamp-ring--dash { stroke-dasharray: 3 5; }
.stamp-text { fill: currentColor; font: 600 11.5px var(--f-body); letter-spacing: .12em; }
.stamp-center { fill: currentColor; font: 600 64px var(--f-display); text-anchor: middle; }

.board {
  width: 100%;
  max-width: 22rem;
  padding: 1rem 1.1rem 1.1rem;
  background: #131B18;
  border: 1px solid rgba(244, 240, 232, .22);
  border-radius: 3px;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: .75rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--line-night);
}
.board-live {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.board-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board-cols { display: inline-flex; gap: 4px; }
.board-cols span { width: 18px; height: 6px; background: rgba(244, 240, 232, .2); }
.board-rows { list-style: none; padding: 0; }
.board-rows li { display: grid; grid-template-columns: 1.1rem 12px 1fr; align-items: center; gap: .75rem; padding: .45rem 0; }
.board-rank { font: 600 .95rem/1 var(--f-display); }
.board-swatch { width: 12px; height: 12px; }
.s1 { background: var(--accent-light); }
.s2 { background: var(--teal-light); }
.s3 { background: rgba(244, 240, 232, .85); }
.s4 { background: #C9A27A; }
.s5 { background: rgba(244, 240, 232, .4); }
.board-bar { position: relative; height: 8px; background: rgba(244, 240, 232, .08); }
.board-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 240, 232, .82);
  transform: scaleX(var(--w));
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.board-rows li:first-child .board-bar::before { background: var(--accent-light); }
.board-rows li:nth-child(2) .board-bar::before { transition-delay: .1s; animation: nudge 5s 1.5s ease-in-out infinite alternate; }
.board-rows li:nth-child(3) .board-bar::before { transition-delay: .2s; animation: nudge 6s 2s ease-in-out infinite alternate-reverse; }
.board-rows li:nth-child(4) .board-bar::before { transition-delay: .3s; }
.board-rows li:nth-child(5) .board-bar::before { transition-delay: .4s; }
@keyframes nudge { to { transform: scaleX(calc(var(--w) + .05)); } }
.js .board:not(.is-in) .board-bar::before { transform: scaleX(0); animation: none; }

.example {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(244, 240, 232, .22);
  border-left: 4px solid var(--accent-light);
}
.example-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.example-body { max-width: 44ch; font: 400 clamp(1.2rem, 1rem + .9vw, 1.55rem)/1.4 var(--f-display); }
.example-cta .fineprint { margin-top: 1rem; max-width: 36ch; }

@media (min-width: 960px) {
  .dedicated-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(3rem, 7vw, 7rem); }
  .dedicated-aside { padding-top: 2.5rem; }
  .example { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; column-gap: 3rem; }
  .example-label { grid-column: 1 / -1; }
}

/* ---------- 04 About ---------- */

.about-grid { display: grid; gap: 3rem; }
.about-copy > p:last-child { max-width: 58ch; margin-top: 1.25rem; }
.factsheet { margin: 0; border-block: 2px solid var(--ink); }
.factsheet > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .8rem 0; }
.factsheet > div + div { border-top: 1px solid var(--line); }
.factsheet dt {
  padding-top: .2rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.factsheet dd { margin: 0; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(3rem, 8vw, 8rem); align-items: end; }
}

/* ---------- 05 Contact ---------- */

.contact-grid { display: grid; gap: 3.5rem; }
.contact-copy { display: flex; flex-direction: column; align-items: flex-start; }
.contact-copy .btn-primary { margin-top: 2rem; }
.contact-fineprint { margin-top: 1.25rem; max-width: 42ch; }
.contact-fineprint a { text-decoration: underline; text-underline-offset: .15em; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 3rem 2.5rem; background: var(--ink); color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--accent-light); }
.footer-grid { display: grid; gap: 1.75rem; align-items: center; }
.wordmark--footer { color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; padding: 0; }
.footer-links a { font-size: .9rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease), color .2s; }
.footer-links a:hover { color: var(--accent-light); background-size: 100% 1px; }
.legal {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-night);
  font-size: .8rem;
  color: var(--on-night-soft);
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: auto 1fr; }
  .footer-links { justify-content: flex-end; }
}

/* ---------- Reveal & motion ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Simple pages ---------- */

.page { padding-block: var(--section-y); }
.page .section-title { margin-bottom: 1.5rem; }
.page p { max-width: 60ch; margin-top: 1rem; }
.page .btn-link { margin-top: 2.5rem; }
