/* ar.solar — the Arclet Solar site. One dark theme only.
   Four full-screen pages, one per scroll, snapped by the browser.
   No inline styles anywhere: every rule lives in this file. */

:root {
  color-scheme: dark;
  --ground: #0a0c0e;
  --ink: #edeff0;
  --ink-soft: #d5dadd;
  --dim: #a3acb2;     /* light enough to read over the photo */
  --dimmer: #808a90;
  --amber: #ff8a1f;
  --amber-soft: #ffb463;
  --silicon: #5aa9dc;
  --scrim: rgba(10, 12, 14, 0.9);
  --rule: rgba(237, 239, 240, 0.3);   /* the light divider on page 2 */
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1180px;
  --top-room: 88px;   /* kept free at each page's top for its label row */
}

* { box-sizing: border-box; }

/* One page per scroll: the document snaps to the start of each .page, and
   scroll-snap-stop keeps a fast flick from skipping one. */
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}

/* The photo: a fixed layer behind the whole page, and the pages scroll over
   it. A fixed pseudo-element rather than background-attachment: fixed,
   which iOS Safari ignores. Positioned to keep the robot in view. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--ground) url("/img/hero-slate-5k-v1.webp") 50% 50% / cover no-repeat;
}

@media (max-width: 600px) {
  body::before { background-position: 45% 50%; }
}

p { margin: 0; }

a { color: var(--amber); }

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

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* Exactly one screen: dvh follows the phone's browser bars, so no part of
   the next page shows. min-height, not height, so content that cannot fit
   grows the page rather than being cut off. */
.page {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ---------- the top of every page ---------- */

/* Every page starts with a black band that fades out downward, and a row
   sits in it with the page menu at the right. Page 1 (.top) carries the
   amber line; the 404 page uses .top for its wordmark. The band lies under
   the page's content (.wrap is lifted above it), the row over both. */
.page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(96px, 16vh, 168px);
  pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0) 100%);
}

.page > .wrap {
  position: relative;
  z-index: 1;
}

.top,
.page-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px max(var(--gutter), calc((100% - var(--max)) / 2));
}

/* an amber line fading out across the top */
.top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(255, 138, 31, 0) 72%);
}

.wordmark {
  color: var(--amber);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-height: 559px) {
  .top,
  .page-top { padding-top: 16px; padding-bottom: 16px; }
}

/* The page menu, styled as a segmented progress bar: the four pages left
   to right, each in a light box, the segments touching. The current page's
   box is a little lighter, its text full white, with a thin amber line along
   its foot; the others stay dim. Each page has its own copy of the menu,
   marked with aria-current, so no script is needed. margin-left: auto keeps
   it at the right of the row. */
.progress {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.progress a {
  position: relative;
  padding: 7px 14px;
  background: rgba(237, 239, 240, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.progress a:first-child { border-radius: 3px 0 0 3px; }
.progress a:last-child { border-radius: 0 3px 3px 0; }

.progress a:hover { color: var(--ink); }

.progress a[aria-current] {
  background: rgba(237, 239, 240, 0.16);
  color: var(--ink);
}

.progress a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 138, 31, 0.75);
}

/* phones: the four boxes share the full width */
@media (max-width: 479px) {
  .progress { flex: 1 1 100%; }
  .progress a {
    flex: 1 1 auto;
    padding: 7px 6px;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-align: center;
  }
}

/* ---------- type ---------- */

.kicker {
  color: var(--amber);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, .installation-line, .mission-line {
  font-weight: 800;
  text-wrap: balance;
}

h2 em, .mission-line em {
  font-style: normal;
  color: var(--amber);
}

h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 52ch;
  color: var(--dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
}

/* ---------- page 1: hero ---------- */

.hero {
  flex-direction: column;
  justify-content: center;
  /* Extra upper room moves the centred group down by a tenth of the screen. */
  padding: calc(max(var(--top-room), clamp(32px, 6vh, 96px)) + 20vh) 0 clamp(32px, 6vh, 96px);
  padding-top: calc(max(var(--top-room), clamp(32px, 6vh, 96px)) + 20dvh);
  /* darken the top for the menu row and the bottom for the headline, and end
     on the scrim page 2 starts with, so the scroll between them is seamless */
  background: linear-gradient(180deg,
    rgba(10, 12, 14, 0.35) 0%,
    rgba(10, 12, 14, 0.12) 20%,
    rgba(10, 12, 14, 0.12) 45%,
    rgba(10, 12, 14, 0.75) 82%,
    var(--scrim) 100%);
}

/* A lighter top band lets more of the photo show near the upper edge. */
.hero::after {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0) 100%);
}

/* darken the left, where the headline sits; faded out before the bottom
   edge so it does not darken the join with page 2 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 12, 14, 0.6) 0%, rgba(10, 12, 14, 0) 62%);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.hero .wrap { position: relative; }

/* The name, tagline, and installation line move together as one group. */
.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.75rem, min(11vw, 14vh), 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.hero .tagline {
  margin: clamp(10px, 2vh, 18px) 0 0;
}

.hero .installation-line {
  position: relative;
  max-width: 32ch;
  margin: clamp(28px, 6vh, 64px) 0 0;
  padding-top: clamp(16px, 2.5vh, 24px);
}

.hero .installation-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--amber);
}

@media (max-height: 559px) {
  .hero {
    padding: calc(88px + 20vh) 0 16px;
    padding-top: calc(88px + 20dvh);
  }
  .hero .installation-line { margin-top: 18px; padding-top: 12px; }
}

/* ---------- page 2: what we do ---------- */

/* Free form: the intro and the steps side by side, the steps set on a
   loose diagonal, and the outcomes below one light divider, the page's only
   line. The headline's first line is level with step 01: the intro and the
   steps share their first baseline. */
.what {
  align-items: center;
  /* the block is centred; this is only the least room kept above (clear of
     the label row) and below it, small enough for the block to fit a
     768 px-tall laptop screen */
  padding: max(var(--top-room), clamp(32px, 6vh, 96px)) 0 clamp(32px, 6vh, 96px);
  background: var(--scrim);
}

.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "intro steps"
    "outcomes outcomes";
  align-items: baseline;
  column-gap: clamp(40px, 6vw, 96px);
}

.what-intro { grid-area: intro; }

.what h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.9rem, min(3.6vw, 6vh), 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.what .lead { margin-top: clamp(16px, 3vh, 26px); }

.steps {
  grid-area: steps;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 4vh, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
}

/* each step a little further right, like panels down a row */
.steps li:nth-child(2) { margin-left: clamp(0px, 3.5vw, 56px); }
.steps li:nth-child(3) { margin-left: clamp(0px, 7vw, 112px); }

.steps .num {
  grid-row: 1 / span 3;
  color: var(--amber);
  font-size: clamp(2.25rem, min(4vw, 6.5vh), 3.25rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.steps .who {
  color: var(--amber);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.steps .crew .num,
.steps .crew .who { color: var(--silicon); }

.steps h3 {
  margin-top: 4px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.steps .desc {
  margin-top: 6px;
  max-width: 40ch;
  color: var(--dim);
  line-height: 1.5;
}

.outcomes {
  grid-area: outcomes;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin: clamp(24px, 5vh, 52px) 0 0;
  padding: clamp(20px, 4.5vh, 44px) 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.outcomes h3 { font-size: 1.05rem; }

.outcomes .desc {
  margin-top: 4px;
  max-width: 34ch;
  color: var(--dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* narrower screens: one column, steps straight down */
@media (max-width: 899px) {
  .what { padding: max(var(--top-room), clamp(28px, 6vh, 72px)) 0 clamp(28px, 6vh, 72px); }
  .what-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "steps"
      "outcomes";
    align-items: start;
  }
  .steps,
  .outcomes { margin-top: clamp(20px, 3.5vh, 40px); }
  .steps li:nth-child(n) { margin-left: 0; }
}

/* phones, and screens too short for it all (a phone held sideways):
   condensed to titles so page 2 still fits one screen */
@media (max-width: 759px), (max-height: 559px) {
  .what .desc { display: none; }
  .what h2 {
    font-size: clamp(1.6rem, min(7vw, 5.5vh), 2.2rem);
  }
  .what .lead { font-size: 1rem; }
  .steps { gap: 14px; }
  .steps li { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 10px; }
  .steps .num { grid-row: 1 / span 2; font-size: 2rem; }
  .steps h3 { margin-top: 2px; font-size: 1.05rem; }
  .outcomes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    padding-top: 12px;
  }
  .outcomes h3 { font-size: 1rem; }
}

/* short but wide (a phone held sideways): back to two columns, tighter */
@media (max-height: 559px) and (min-width: 640px) {
  .what { padding: 68px 0 16px; }
  .what-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "intro steps"
      "outcomes outcomes";
    align-items: baseline;
  }
  .steps { margin-top: 0; }
  .what .lead { margin-top: 10px; font-size: 0.95rem; }
  .outcomes { margin-top: 14px; padding-top: 12px; }
}

/* ---------- page 3: why choose us ---------- */

/* The headline sits above a light divider. Below it, the example project
   context introduces two figures side by side, each as a pair of bars, and
   last the note on what the figures are. The bars are to scale: 1.5 of
   3 months, and 120 of 325, the middle of 300-350. */
.proto {
  align-items: center;
  padding: max(var(--top-room), clamp(32px, 6vh, 96px)) 0 clamp(32px, 6vh, 96px);
  background: var(--scrim);
}

.proto h2 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.9rem, min(3.6vw, 6vh), 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.projection {
  margin-top: clamp(28px, 6vh, 64px);
  padding-top: clamp(20px, 4vh, 40px);
  border-top: 1px solid var(--rule);
}

.proto .lead { margin: 0; }

.projection-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vh, 40px) clamp(40px, 6vw, 96px);
  margin-top: clamp(20px, 3vh, 32px);
}

.stat h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.bars { margin: clamp(12px, 2.5vh, 20px) 0 0; }

.bar-row + .bar-row { margin-top: clamp(10px, 2vh, 16px); }

.bars dt {
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bar-row.ours dt { color: var(--amber); }

.bars dd {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 0;
}

/* each bar's length is its share of the row, once the value's room is
   taken out */
.bar {
  flex: none;
  width: calc((100% - 11rem) * var(--share));
  height: 10px;
  border-radius: 2px;
  background: rgba(237, 239, 240, 0.28);
}

.ours .bar { background: var(--amber); }

.bar-time-manual,
.bar-crew-manual { --share: 1; }
.bar-time-ours { --share: 0.5; }
.bar-crew-ours { --share: 0.37; }

.val {
  color: var(--ink-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ours .val {
  color: var(--amber);
  font-size: clamp(1.4rem, min(2.4vw, 4vh), 1.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fine {
  max-width: 72ch;
  margin-top: clamp(24px, 5vh, 48px);
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* narrower screens: the two figures one above the other */
@media (max-width: 759px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}

@media (max-height: 559px) {
  .proto { padding: 68px 0 16px; }
  .projection { margin-top: 14px; padding-top: 12px; }
  .stats { margin-top: 12px; }
  .fine { margin-top: 12px; }
}

/* ---------- page 4: contact ---------- */

/* A solid closing page with a quiet sun pattern and an installation scene. */
.contact {
  --contact-ground: #15222d;
  flex-direction: column;
  justify-content: center;
  padding: max(var(--top-room), 12vh) 0 clamp(32px, 8vh, 96px);
  overflow: clip;
  background: var(--contact-ground);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("/img/contact-pattern.svg") 0 0 / 160px 160px repeat;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.contact-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.contact-copy { min-width: 0; }

.contact h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.contact-mail {
  margin-top: clamp(14px, 2.5vh, 24px);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-mail a { color: #fff; text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; }

.contact .mission-line {
  display: inline-block;
  margin-top: clamp(24px, 4vh, 40px);
  padding-top: 18px;
  border-top: 1px solid rgba(237, 239, 240, 0.18);
}

.contact-animation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "art" "caption";
  align-items: center;
  gap: 14px 8px;
  min-width: 0;
  width: 100%;
  margin: 0;
}

.animation-frame {
  grid-area: art;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  /* Hide the dark sky strip, then fade the scene edges into the page. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent 8%, #000 14%, #000 94%, transparent);
  mask-image:
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent 8%, #000 14%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.animation-motion { display: block; }
.animation-frame img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.animation-caption {
  grid-area: caption;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.animation-caption::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--amber);
}

@media (max-width: 899px) {
  .contact { padding-top: max(var(--top-room), 10vh); }
  .contact-body { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vh, 48px); }
  .contact h2 { font-size: clamp(2.5rem, 7.5vw, 4.5rem); }
  .contact-animation { max-width: 680px; }
  .contact .mission-line { max-width: none; margin-top: 20px; padding-top: 12px; }
}

@media (max-height: 559px) and (min-width: 640px) {
  .contact { padding: 76px 0 20px; }
  .contact-body { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 24px; }
  .contact h2 { font-size: clamp(2rem, 4vw, 3rem); }
  .contact-mail { margin-top: 10px; font-size: 1.25rem; }
  .contact .mission-line { margin-top: 16px; padding-top: 10px; }
  .contact-animation { gap: 8px 6px; }
  .animation-caption { letter-spacing: 0.02em; }
}

/* ---------- shared: installation and mission text, tagline, 404 band ---------- */

.installation-line,
.mission-line {
  max-width: 32ch;
  font-size: clamp(1.15rem, min(2.2vw, 3.6vh), 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

/* Semi-transparent: --amber-soft at 70% in the colour, not opacity, which
   the scroll reveal animates and would override */
.tagline {
  max-width: 46ch;
  text-wrap: balance;
  color: rgba(255, 180, 99, 0.7);
  font-family: var(--f-body);
  font-size: clamp(1.5rem, min(3.6vw, 6vh), 2.625rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.foot {
  padding: 24px 0;
  background: var(--ground);
  color: var(--dimmer);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-height: 559px) {
  .foot { padding: 14px 0; }
}

/* ---------- scroll animation ---------- */

/* Tied to the scroll position: text fades and rises in as its page arrives,
   and fades and lifts away as it leaves at the top. The timeline is the
   page's own (--page), not each element's, so the motion spans the whole
   page change and is complete exactly when the page snaps into place. The
   later start points stagger it: heading first, details after.
   Only where scroll-driven animations exist (Chrome, Edge, Safari 26+);
   elsewhere the text simply stands still, so nothing is ever hidden. Off
   under reduced motion. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-48px); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .page { view-timeline: --page block; }

    .reveal {
      animation: reveal-in linear both, reveal-out linear forwards;
      animation-timeline: --page, --page;
      animation-range: entry 20% entry 100%, exit 0% exit 60%;
    }

    .what h2,
    .proto h2,
    .hero .tagline { animation-range: entry 30% entry 100%, exit 0% exit 60%; }

    .what .lead,
    .steps li:nth-child(1),
    .hero .installation-line,
    .contact-mail,
    .proto .lead { animation-range: entry 40% entry 100%, exit 0% exit 60%; }

    .steps li:nth-child(2),
    .outcomes li:nth-child(1),
    .contact .mission-line,
    .contact-animation,
    .stat:nth-child(1) { animation-range: entry 50% entry 100%, exit 0% exit 60%; }

    .steps li:nth-child(3),
    .outcomes li:nth-child(2),
    .stat:nth-child(2) { animation-range: entry 60% entry 100%, exit 0% exit 60%; }

    .outcomes li:nth-child(3),
    .proto .fine { animation-range: entry 70% entry 100%, exit 0% exit 60%; }

    .outcomes li:nth-child(4) { animation-range: entry 80% entry 100%, exit 0% exit 60%; }
  }
}

/* ---------- 404 ---------- */

.notfound {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.nf {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  background: rgba(10, 12, 14, 0.78);
}

.nf h1 {
  margin: 18px 0 0;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.nf .lead { margin-top: 16px; }

.back {
  margin-top: 32px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
