/* ==========================================================================
   Winterbite Studios — site styles
   Layers: 1) tokens  2) reset  3) atmosphere  4) layout  5) components
   ========================================================================== */

/* ── 1. Tokens ───────────────────────────────────────────────────────────── */
:root {
  --ink-900: #050a14;
  --ink-800: #070d18;
  --ink-700: #0c1424;
  --ink-600: #131e33;
  --line: rgba(148, 189, 232, 0.14);
  --line-strong: rgba(148, 189, 232, 0.3);

  --text: #e8f0fb;
  --text-dim: #9db0cb;
  --text-faint: #6b7f9c;

  --ice-300: #a5e5ff;
  --ice-400: #6fd0f5;
  --ice-500: #35b3e8;
  --frost: #d9f2ff;
  --violet: #8f7fe8;

  --radius: 14px;
  --radius-lg: 22px;

  /* Layout widths.
     --shell is the outer container: wide, so grids and cards use the screen.
     --measure caps PROSE only — long lines are hard to read no matter how wide
     the monitor is, so paragraphs stay narrow while layout goes full width. */
  --shell: 1600px;
  --measure: 46rem;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── 2. Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink-800);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 650; }
p { margin: 0; }
ul, dl, dd, dt { margin: 0; padding: 0; }
ul { list-style: none; }
img, canvas { max-width: 100%; display: block; }

a { color: var(--ice-400); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--ice-300); }

:focus-visible {
  outline: 2px solid var(--ice-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -3rem;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.6rem 1.1rem;
  background: var(--ice-400);
  color: var(--ink-900);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ── 3. Atmosphere (aurora + frost canvas) ───────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(53, 179, 232, 0.16), transparent 70%),
    radial-gradient(900px 500px at 85% 15%, rgba(143, 127, 232, 0.12), transparent 70%),
    var(--ink-800);
}

.aurora__band {
  position: absolute;
  width: 140vmax;
  height: 44vmax;
  left: 50%;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  transform-origin: center;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora__band--1 { top: -18vmax; background: radial-gradient(ellipse, rgba(53, 179, 232, 0.55), transparent 65%); }
.aurora__band--2 { top: 4vmax;  background: radial-gradient(ellipse, rgba(143, 127, 232, 0.42), transparent 65%); animation-duration: 34s; animation-delay: -8s; }
.aurora__band--3 { top: 26vmax; background: radial-gradient(ellipse, rgba(165, 229, 255, 0.24), transparent 65%); animation-duration: 42s; animation-delay: -16s; }

@keyframes drift {
  from { transform: translateX(-58%) rotate(-4deg) scale(1); }
  to   { transform: translateX(-44%) rotate(5deg) scale(1.14); }
}

.frost {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora__band { animation: none; }
  .frost { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── 4. Layout ───────────────────────────────────────────────────────────── */
/* The header spans the full viewport; only its CONTENTS are centred in the shell.
   The backdrop lives on the header itself so the blurred bar reaches both screen
   edges instead of floating as a rectangle inside the container. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Lighter and blurrier than a solid bar: the aurora stays visible through it,
     which is what stops it reading as a black box. */
  background: linear-gradient(to bottom, rgba(7, 13, 24, 0.62), rgba(7, 13, 24, 0.28));
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

/* Hairline that fades in with the bar, full-bleed across the viewport. */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(to right, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-stuck::before,
.site-header.is-stuck::after { opacity: 1; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--text); font-weight: 650; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand__mark { flex: none; }
.brand__accent { color: var(--ice-400); margin-left: 0.28em; }
.brand--footer { font-size: 0.95rem; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); font-size: 0.9375rem; }
.nav a { color: var(--text-dim); font-weight: 500; }
.nav a:hover { color: var(--text); }

.nav__cta {
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(53, 179, 232, 0.08);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__cta:hover { background: rgba(53, 179, 232, 0.18); border-color: var(--ice-500); }

main { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(4.5rem, 11vh, 8.5rem) 0; border-top: 1px solid var(--line); }
.section__head { max-width: var(--measure); margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3.25rem); margin-bottom: 1rem; }
.section__lede { color: var(--text-dim); font-size: 1.05rem; max-width: 42rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice-400);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(to right, var(--ice-500), transparent);
}

/* ── 5. Components ───────────────────────────────────────────────────────── */

/* Hero */
/* Two-column hero on wide screens: copy left, facts panel right, so the width
   is actually used instead of leaving a void beside a capped headline. */
.hero {
  padding: clamp(4rem, 13vh, 8rem) 0 clamp(3.5rem, 9vh, 6rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 66rem) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
}

.hero__main { min-width: 0; }   /* grid child: allow shrinking instead of overflowing */

.hero__panel {
  position: relative;
  min-width: 0;
  padding: clamp(1.75rem, 2.5vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 220px at 80% 0%, rgba(53, 179, 232, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(19, 30, 51, 0.66), rgba(12, 20, 36, 0.4));
  overflow: hidden;
}
.hero__panel-mark { opacity: 0.5; margin-bottom: 1.5rem; }
.hero__title {
  font-size: clamp(2.4rem, 1rem + 5.4vw, 5.75rem);
  font-weight: 680;
  max-width: 24ch;   /* headline keeps its punch instead of stretching thin */
}

.gradient-text {
  background: linear-gradient(120deg, var(--frost) 0%, var(--ice-400) 45%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  margin-top: 1.6rem;
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--text-dim);
}

.hero__lede strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--ice-400), var(--ice-500));
  color: var(--ink-900) !important;
  box-shadow: 0 8px 26px -10px rgba(53, 179, 232, 0.75);
}
.btn--primary:hover { box-shadow: 0 14px 34px -10px rgba(53, 179, 232, 0.9); }

.btn--ghost { border-color: var(--line-strong); color: var(--text) !important; background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--ice-500); background: rgba(53, 179, 232, 0.09); }

/* Stats strip */
/* Stats read as a definition list inside the hero panel: label above value,
   one per row, separated by hairlines. */
.stats { display: grid; gap: 0; }

.stat { padding: 0.9rem 0; }
.stat + .stat { border-top: 1px solid var(--line); }
.stat:first-child { padding-top: 0; }
.stat:last-child { padding-bottom: 0; }

.stat dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.stat dd { margin-top: 0.35rem; font-size: 1.0625rem; font-weight: 600; }

/* Card grid */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }

.card {
  position: relative;
  padding: 1.85rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(19, 30, 51, 0.7), rgba(12, 20, 36, 0.45));
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(53, 179, 232, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card:hover::after { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ice-300);
  font-size: 1.1rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-dim); font-size: 0.9375rem; }

/* Stack groups */
/* Six groups: 1 → 2 → 3 columns, so it lands as a clean 3x2 on a wide screen
   rather than a single cramped row of six. */
.stack-groups { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .stack-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .stack-groups { grid-template-columns: repeat(3, 1fr); } }

.stack-group {
  padding: 1.5rem 1.5rem 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(19, 30, 51, 0.5), rgba(12, 20, 36, 0.28));
  transition: border-color 0.3s var(--ease);
}
.stack-group:hover { border-color: var(--line-strong); }
.stack-group h3 {
  margin-bottom: 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice-400);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips li {
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(53, 179, 232, 0.07);
  font-size: 0.8125rem;
  color: var(--text);
}

/* Product cards
   Every card is the same height (grid stretch + flex column), and every image sits
   in an identical 3:2 box. object-fit: contain guarantees the whole key image is
   visible — these are banners with text baked in, so cropping would cut words. */
.products {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  align-items: stretch;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(19, 30, 51, 0.7), rgba(12, 20, 36, 0.45));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.product:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.product__shot {
  aspect-ratio: 3 / 2;          /* identical box for all three cards */
  flex: none;
  border-bottom: 1px solid var(--line);
  background: var(--ink-900);   /* fills any letterboxing, so art edges look intentional */
}
.product__shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* show everything — never crop the baked-in titles */
  display: block;
}

/* Older browsers without aspect-ratio: fall back to the padding-box trick. */
@supports not (aspect-ratio: 3 / 2) {
  .product__shot { position: relative; height: 0; padding-bottom: 66.667%; }
  .product__shot img { position: absolute; inset: 0; }
}

.product__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.5rem 1.6rem 1.65rem;
}
.product__body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.product__body p { color: var(--text-dim); font-size: 0.9375rem; }

.product__status {
  margin-top: auto;             /* pins the status to the bottom of every card */
  padding-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.product__status--live { color: var(--ice-300); }
.product__status::before { content: "● "; }

/* Link row */
.link-row { display: grid; gap: 0.85rem; margin-top: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 30, 51, 0.4);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.link-card:hover { border-color: var(--ice-500); background: rgba(53, 179, 232, 0.08); transform: translateY(-3px); }
.link-card__label { color: var(--text); font-weight: 600; font-size: 0.9375rem; }
.link-card:hover .link-card__label { color: var(--text); }
.link-card__meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ice-400); }

/* Timeline */
.timeline { margin-top: clamp(3rem, 7vw, 4.5rem); }
.timeline__heading {
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice-400);
}

.timeline__list { list-style: none; display: grid; gap: 0; }

.timeline__item {
  display: grid;
  gap: 0.35rem 1.75rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .timeline__item { grid-template-columns: 10rem 1fr; } }

.timeline__when { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-faint); padding-top: 0.15rem; }
.timeline__what strong { color: var(--text); font-weight: 600; }
.timeline__what p { margin-top: 0.4rem; color: var(--text-dim); font-size: 0.9375rem; max-width: var(--measure); }

/* Credentials */
.credentials {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.credential {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 20, 36, 0.35);
}
.credential h4 {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-400);
}
.credential ul { display: grid; gap: 0.55rem; }
.credential li { position: relative; padding-left: 1rem; color: var(--text-dim); font-size: 0.9rem; }
.credential li::before { content: "—"; position: absolute; left: 0; color: var(--text-faint); }

/* Work list */
.work-list { display: grid; gap: 1.1rem; }

.work {
  display: grid;
  grid-template-columns: 1fr;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(19, 30, 51, 0.55), rgba(12, 20, 36, 0.3));
  transition: border-color 0.3s var(--ease);
}
.work:hover { border-color: var(--line-strong); }

/* On wide screens the prose stays a readable column on the left and the tech
   stack moves into its own column on the right, so the card uses its full width
   instead of leaving dead space beside a 46rem paragraph. */
@media (min-width: 68rem) {
  .work {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    column-gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
  }
  .work__meta { grid-column: 1; grid-row: 1; }
  .work h3     { grid-column: 1; grid-row: 2; }
  .work p      { grid-column: 1; grid-row: 3; }
  .work__stack {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0.35rem;
    align-content: start;
  }
}

.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

.tag {
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-300);
}
.work__year { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-faint); }
.work h3 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem); margin-bottom: 0.8rem; }
.work p { color: var(--text-dim); max-width: var(--measure); }

.work__stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.work__stack li {
  padding: 0.3rem 0.7rem;
  border-radius: 7px;
  background: rgba(53, 179, 232, 0.09);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--frost);
}

/* Studio */
.studio { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 62rem) { .studio { grid-template-columns: 1.05fr 0.95fr; } }

.studio__intro h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.85rem); margin-bottom: 1.1rem; }
.studio__intro p { color: var(--text-dim); }
.studio__intro p + p { margin-top: 1.1rem; }

.principles { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.principles li { padding: 1.35rem 1.5rem; background: var(--ink-700); font-size: 0.9375rem; color: var(--text-dim); }
.principles strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 0.25rem; }

/* Contact */
.section--contact { border-top: 1px solid var(--line); }
.contact {
  padding: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(53, 179, 232, 0.13), transparent 70%),
    linear-gradient(150deg, rgba(19, 30, 51, 0.75), rgba(12, 20, 36, 0.5));
  text-align: center;
}
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.85rem); margin-bottom: 1rem; }
.contact__lede { color: var(--text-dim); max-width: 34rem; margin: 0 auto; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(3rem, 8vh, 5rem); }
.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer__note { color: var(--text-faint); font-size: 0.85rem; }

.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.15rem; font-size: 0.875rem; }
.site-footer__links a { color: var(--text-dim); }
.site-footer__links a:hover { color: var(--ice-300); }

/* 404 page */
.lost { display: grid; place-items: center; min-height: 100vh; padding: var(--gutter); text-align: center; }
.lost__inner { max-width: 34rem; }
.lost__title { font-size: clamp(2.75rem, 1.5rem + 7vw, 5.5rem); }
.lost__lede { margin-top: 1.4rem; color: var(--text-dim); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); }
.lost__action { margin-top: 2.25rem; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Small screens */
@media (max-width: 40rem) {
  .nav a:not(.nav__cta) { display: none; }
  .site-header { padding-block: 0.9rem; }
}
