/* =========================================================
   AFTERCORE — cyberminimal bicolor
   base #121313 · accent #FF3300
   ========================================================= */

@font-face {
  font-family: "Aftcre Main";
  src: url("fonts/Aftcre%20Main.otf") format("opentype"),
       url("fonts/Aftcre%20Main.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aftcre Standard";
  src: url("fonts/Aftcre%20Standard.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aftcre Secondary";
  src: url("fonts/Aftcre%20Secondary.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121313;
  --acc: #FF3300;
  --paper: #EDECEC;
  --dim: rgba(237, 236, 236, 0.62);
  --faint: rgba(237, 236, 236, 0.4);
  --line: rgba(237, 236, 236, 0.16);
  --line-soft: rgba(237, 236, 236, 0.07);
  --acc-soft: rgba(255, 51, 0, 0.16);

  /* constant text on accent surfaces — never flips with the theme */
  --on-acc: #121313;
  /* translucent surfaces */
  --wash: rgba(237, 236, 236, 0.03);
  --ph: rgba(237, 236, 236, 0.3);
  --header-bg: rgba(18, 19, 19, 0.86);

  --pad: clamp(18px, 4.4vw, 64px);
  --maxw: 1560px;
  --nav-h: 74px;

  --fs-display: clamp(2.6rem, 6vw, 6.6rem);
  --fs-h2: clamp(1.95rem, 4.6vw, 4.4rem);
  --fs-h3: clamp(1.15rem, 1.5vw, 1.5rem);
  --fs-body: clamp(0.95rem, 0.55vw + 0.8rem, 1.075rem);
  --fs-micro: clamp(0.68rem, 0.2vw + 0.63rem, 0.76rem);

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

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Aftcre Secondary", "Aftcre Standard", ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: var(--fs-body);
  line-height: 1.62;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::selection { background: var(--acc); color: var(--ink); }

a { color: inherit; text-decoration: none; }

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

/* ---------- typography ---------- */

h1, h2, h3, h4 {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

/* main title = Aftcre Main (display) */
h1 {
  font-family: "Aftcre Main", "Aftcre Standard", monospace;
  font-size: var(--fs-display);
}
/* paragraph titles = Aftcre Standard (distinct from the main title) */
h2, h3, h4 {
  font-family: "Aftcre Standard", "Aftcre Secondary", monospace;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: 0; }
/* opt-in title in Standard (e.g. contact page h1) */
.font-std {
  font-family: "Aftcre Standard", "Aftcre Secondary", monospace;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.micro {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--dim);
  line-height: 1.5;
}

.micro--acc { color: var(--acc); }

.lede {
  font-size: clamp(1rem, 0.7vw + 0.9rem, 1.28rem);
  line-height: 1.55;
  color: var(--dim);
  max-width: 62ch;
}

.mark { color: var(--acc); }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

.section {
  padding-block: clamp(64px, 9vw, 148px);
  border-top: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 40px;
  margin-bottom: clamp(34px, 5vw, 72px);
}

.section-head h2 { max-width: 18ch; }
.section-head .lede { max-width: 44ch; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 20px;
}
.tag::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--acc);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--acc);
  color: var(--on-acc);
  padding: 12px 18px;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */

.btn {
  --bg: transparent;
  --fg: var(--paper);
  --bd: var(--line);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  font-family: inherit;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.arw {
  display: inline-block;
  width: 15px;
  height: 8px;
  position: relative;
  flex: none;
}
.arw::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.arw::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn .arw { transition: transform 0.28s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

.btn--primary {
  --bg: var(--acc);
  --fg: var(--on-acc);
  --bd: var(--acc);
}
.btn--primary:hover {
  --bg: transparent;
  --fg: var(--acc);
  --bd: var(--acc);
}

.btn--ghost:hover {
  --bg: var(--paper);
  --fg: var(--ink);
  --bd: var(--paper);
}

.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
/* intro page: no header until the splash starts moving */
.hdr.is-intro {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.hdr.is-intro.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hdr.is-stuck {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.hdr__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  height: 52px;
  width: auto;
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}
.brand:hover img { opacity: 0.7; transform: translateY(-3px); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }

.nav a {
  font-family: "Aftcre Standard", "Aftcre Secondary", monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  padding-block: 6px;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--acc);
  transition: width 0.3s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--paper); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }

.hdr .btn { padding: 12px 20px; font-family: "Aftcre Standard", "Aftcre Secondary", monospace; }
.btn[aria-current="page"] { border-color: var(--acc); color: var(--acc); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--acc); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); background: var(--acc); }

/* ---------- breadcrumbs ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 30px);
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.crumbs a { color: var(--dim); transition: color 0.25s var(--ease); }
.crumbs a:hover { color: var(--acc); }
.crumbs__sep { color: var(--faint); }
.crumbs [aria-current="page"] { color: var(--acc); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  padding: calc(var(--nav-h) + 40px) var(--pad) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
      font-family: "Aftcre Standard", "Aftcre Secondary", monospace;
  font-size: clamp(2rem, 11vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1.18;
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 14px;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.drawer nav a span { color: var(--acc); font-size: 0.4em; vertical-align: super; margin-right: 14px; }
.drawer nav a:hover { color: var(--acc); padding-left: 10px; }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- intro splash (scrolls away, content rises over it) ---------- */

.splash {
  --p: 0;
  --title-fs: clamp(2.2rem, 6.4vw, 5.6rem);
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(64px, 9vh, 108px);
  background: #000;
}
.splash__mark {
  height: clamp(118px, 23vh, 250px);
  width: auto;
  transform: translate3d(0, calc(var(--p) * -26vh), 0) scale(calc(1 - var(--p) * 0.14));
  opacity: calc(1 - var(--p) * 1.6);
}
.splash__title {
  font-size: var(--title-fs);
  text-align: center;
  margin-top: clamp(16px, 3.4vh, 38px);
  color: #F3F6F4;
  transform: translate3d(0, calc(var(--p) * -11vh), 0);
  opacity: calc(1 - var(--p) * 1.8);
}
.splash__title .ln { display: block; }
.splash__title .ln--acc { color: var(--acc); }
.splash__shot {
  position: relative;
  z-index: 2;
  width: min(1180px, 94vw);
  margin: calc(var(--title-fs) * -0.36) 0 0;
  transform: translate3d(0, calc(var(--p) * -5vh), 0) scale(calc(1 + var(--p) * 0.06));
  opacity: calc(1 - var(--p) * 0.35);
}
.splash__shot img { width: 100%; height: auto; }
.splash__sub {
  display: block;
  margin-top: clamp(14px, 2vh, 24px);
  font-family: "Aftcre Main", monospace;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  letter-spacing: 0.24em;
  color: rgba(243, 246, 244, 0.62);
}
.splash__shot--tall { width: min(430px, 80vw); }

.splash__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 5vh, 54px);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 246, 244, 0.6);
  opacity: calc(1 - var(--p) * 3.2);
}
.splash__cue i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 11px;
  color: var(--acc);
}
.splash__cue i::after {
  content: "";
  width: 2px;
  height: 7px;
  background: currentColor;
  animation: cuemove 1.7s var(--ease) infinite;
}
@keyframes cuemove {
  0%, 100% { transform: translateY(-3px); opacity: 0.25; }
  50% { transform: translateY(3px); opacity: 1; }
}

.splash__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(26px, 4vh, 44px);
  position: relative;
  z-index: 3;
}
.splash--404 .splash__title { font-size: clamp(5rem, 22vw, 13rem); }
.splash--404 .btn {
  --fg: #F3F6F4;
  --bg: transparent;
  --bd: rgba(243, 246, 244, 0.35);
}
.splash--404 .btn:hover { --bg: #F3F6F4; --fg: #121313; --bd: #F3F6F4; }

/* everything after the splash rises over it */
.page {
  position: relative;
  z-index: 1;
  background: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(56px, 8vw, 116px);
}
.hero__intro {
  max-width: 800px;
  margin-inline: auto;
}
h1 .ln { display: block; }
h1 .ln--acc { color: var(--acc); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(26px, 3.4vw, 44px);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: clamp(30px, 4vw, 54px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta b {
  font-family: "Aftcre Main", monospace;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--paper);
}

/* framed media */
.frame {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(16px, 2vw, 28px);
  background: transparent;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--acc);
}
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.frame img { width: 100%; height: auto; }
.frame__cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

/* portrait render — big poster */
.frame--tall {
  max-width: min(100%, 620px);
  margin-inline: auto;
}

/* ---------- scroll spy (section names) ---------- */

.spy {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-right: 16px;
  border-right: 1px solid var(--line-soft);
  pointer-events: none;
}
.spy a {
  pointer-events: auto;
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0.55;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.spy a::before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  flex: none;
}
.spy a:hover { opacity: 1; color: var(--paper); }
.spy a.is-on { color: var(--acc); opacity: 1; }

/* ---------- cookie notice ---------- */

.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 32px;
  background: var(--paper);
  color: var(--ink);
  padding: 18px clamp(18px, 4vw, 56px);
  border-top: 3px solid var(--acc);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}
.cookiebar[hidden] { display: none !important; }
.cookiebar p { margin: 0; font-size: 0.95em; line-height: 1.55; }
.cookiebar .btn { flex: none; }
.cookiebar a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- legal ---------- */

.ftr__legal {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: none;
}
.legal-note {
  margin-top: 26px;
  max-width: 62ch;
  color: var(--faint);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

/* mobile only: the portrait render closes the page */
.mobile-visual {
  display: none;
  padding-block: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line-soft);
}

.scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(34px, 5vw, 64px);
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.scrollcue i {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--acc), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ---------- ticker ---------- */

/* danger bar: accent strip with the headline features */
.ticker {
  position: relative;
  z-index: 1;
  background: var(--acc);
  overflow: hidden;
  padding-block: 14px;
}
.ticker__row {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.ticker__row span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-inline: 26px;
  font-family: "Aftcre Main", monospace;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-acc);
  white-space: nowrap;
}
.ticker__row span::after {
  content: "//";
  color: rgba(18, 19, 19, 0.55);
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}
.stat {
  padding: clamp(24px, 3vw, 44px) clamp(18px, 2vw, 32px);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stat b {
  display: block;
  font-family: "Aftcre Main", monospace;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--acc);
  margin-bottom: 14px;
}
.stat span { display: block; }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.card {
  background: var(--ink);
  padding: clamp(26px, 3vw, 44px) clamp(22px, 2.4vw, 36px) clamp(30px, 3.4vw, 52px);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { background: rgba(255, 51, 0, 0.045); }
.card:hover::after { transform: scaleX(1); }
.card__num {
  font-family: "Aftcre Main", monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: clamp(34px, 4vw, 66px);
}
.card h3 { margin-bottom: 14px; }
.card p { color: var(--dim); font-size: 0.95em; margin: 0; }

/* ---------- split / feature ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--top { align-items: start; }

.feature { border-top: 1px solid var(--line-soft); }
.feature__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 48px);
  padding-block: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
  transition: background 0.35s var(--ease);
}
.feature__row:hover { background: var(--wash); }
.feature__row .idx {
  font-family: "Aftcre Main", monospace;
  color: var(--acc);
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
}
.feature__row p { color: var(--dim); margin: 0; }

/* ---------- process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.step { padding-top: 22px; border-top: 1px solid var(--line); position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--acc);
}
.step__n {
  font-family: "Aftcre Main", monospace;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--dim); font-size: 0.94em; margin: 0; }

/* ---------- manifesto ---------- */

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}
.manifesto__mark {
  display: flex;
  justify-content: center;
}
.manifesto__mark img {
  max-height: clamp(280px, 38vw, 460px);
  width: auto;
}
.manifesto blockquote {
  margin: 0;
  font-family: "Aftcre Standard", "Aftcre Secondary", monospace;
  font-size: clamp(1.35rem, 2.7vw, 2.5rem);
  line-height: 1.24;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.manifesto blockquote em { font-style: normal; color: var(--acc); }

/* ---------- cta band ---------- */

.cta {
  background: var(--acc);
  color: var(--on-acc);
  padding-block: clamp(52px, 8vw, 118px);
  position: relative;
  z-index: 1;
}
.cta h2 { max-width: 16ch; margin-bottom: 24px; }
.cta p { color: rgba(18, 19, 19, 0.78); max-width: 52ch; }
.cta .btn { --fg: var(--on-acc); --bd: rgba(18, 19, 19, 0.5); --bg: transparent; }
.cta .btn:hover { --bg: var(--on-acc); --fg: var(--acc); --bd: var(--on-acc); }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}
.cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 44px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 19, 19, 0.25);
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.ftr {
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: 34px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  z-index: 1;
}
.ftr__logo {
  margin-bottom: clamp(40px, 5vw, 70px);
  display: flex;
  justify-content: center;
}
.ftr__logo img {
  height: clamp(200px, 36vh, 420px);
  width: auto;
}
.ftr__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(38px, 5vw, 64px);
  border-bottom: 1px solid var(--line-soft);
}
.ftr__cols h4 {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  color: var(--acc);
  margin-bottom: 20px;
}
.ftr__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ftr__cols a { color: var(--dim); font-size: 0.95em; transition: color 0.25s var(--ease); }
.ftr__cols a:hover { color: var(--acc); }
.ftr__bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  padding-top: 26px;
}

/* ---------- page head (inner pages) ---------- */

.phead {
  padding-top: calc(var(--nav-h) + clamp(46px, 8vw, 104px));
  padding-bottom: clamp(34px, 5vw, 68px);
}
.phead h1 { margin-bottom: 26px; }
.phead__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 50px;
}

/* ---------- specs table ---------- */

.specs { border-top: 1px solid var(--line); }
.specs__row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 20px;
  padding-block: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.specs__row dt {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.specs__row dd {
  margin: 0;
  font-family: "Aftcre Main", monospace;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  text-transform: uppercase;
}
.specs__row dd span { color: var(--acc); }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 2.5vw, 34px);
}

/* ---------- forms ---------- */

.form { display: grid; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.field label i { color: var(--acc); font-style: normal; }
.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 15px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--acc);
  background: rgba(255, 51, 0, 0.05);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ph); }
.field .err {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  min-height: 1em;
}
.form__note { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

.panel {
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 42px);
  background: var(--wash);
}

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list li {
  padding-block: 15px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.list li::before { content: "//"; color: var(--acc); flex: none; }
.list li:last-child { border-bottom: 0; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.contact-link {
  display: inline-block;
  font-family: "Aftcre Main", monospace;
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: var(--paper);
  overflow-wrap: anywhere;
  transition: color 0.25s var(--ease);
}
.contact-link:hover { color: var(--acc); }

/* ---------- privacy / legal pages ---------- */

.prose { max-width: 76ch; }
.prose h2 { font-size: var(--fs-h3); margin: clamp(30px, 4vw, 52px) 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--dim); margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { list-style: none; margin: 0 0 1.2em; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { padding-left: 26px; position: relative; color: var(--dim); }
.prose ul li::before { content: "//"; position: absolute; left: 0; color: var(--acc); }
.prose a:not(.btn) { color: var(--acc); border-bottom: 1px solid var(--line); transition: border-color 0.25s var(--ease); }
.prose a:not(.btn):hover { border-bottom-color: var(--acc); }
.prose time, .prose [data-dim] { color: var(--faint); }

/* ---------- motion / morph ---------- */

@media (prefers-reduced-motion: no-preference) {
  .btn { overflow: hidden; transition: background 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease), transform 0.28s var(--ease); }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }
  /* shine sweep morph on primary */
  .btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 38%;
    height: 100%;
    background: rgba(255, 255, 255, 0.24);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease);
    pointer-events: none;
  }
  .btn--primary:hover::after { left: 130%; }

  /* card micro-morphs */
  .card__num { transition: transform 0.35s var(--ease); }
  .card h3 { transition: transform 0.35s var(--ease), color 0.35s var(--ease); }
  .card:hover .card__num { transform: translateX(10px); }
  .card:hover h3 { transform: translateX(4px); color: var(--paper); }

  /* step hover — accent dot stretches into a line */
  .step { transition: padding-left 0.35s var(--ease); }
  .step::before { transition: transform 0.35s var(--ease) 0.05s, width 0.35s var(--ease); }
  .step:hover { padding-left: 14px; }
  .step:hover::before { transform: scaleX(7) translateX(1px); transform-origin: left; }

  /* feature row — accent bar draws down the left edge */
  .feature__row { position: relative; }
  .feature__row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--acc);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--ease);
  }
  .feature__row:hover::before { transform: scaleY(1); }
  .feature__row .idx { transition: color 0.3s var(--ease); }
  .feature__row p { transition: color 0.3s var(--ease); }
  .feature__row:hover .idx { color: var(--pending, var(--acc)); }
  .feature__row:hover p { color: var(--paper); }

  /* frame corners morph open on hover + image settle */
  .frame::before, .frame::after { transition: width 0.4s var(--ease), height 0.4s var(--ease); }
  .frame:hover::before, .frame:hover::after { width: 30px; height: 30px; }
  .frame img { transition: transform 0.7s var(--ease); }
  .frame:hover img { transform: scale(1.015); }

  /* spy dot morph — square active marker */
  .spy a::before { transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
  .spy a.is-on::before { transform: scale(2.4); }

  /* splash entrance — staggered rise (runs once on load) */
  .splash__mark { animation: splashIn 0.85s var(--ease) 0.04s backwards; }
  .splash__title { animation: splashIn 0.9s var(--ease) 0.18s backwards; }
  .splash__shot { animation: splashIn 1s var(--ease) 0.34s backwards; }
  .splash__sub { animation: splashIn 0.7s var(--ease) 0.26s backwards; }
  .splash__cue { animation: splashIn 0.8s var(--ease) 0.85s backwards; }
  @keyframes splashIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- reveal ---------- */

.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__mark { justify-content: flex-start; }
  .contact__grid { grid-template-columns: 1fr; }
  .feature__row { grid-template-columns: 64px minmax(0, 1fr); }
  .feature__row p { grid-column: 2; }
}

@media (max-width: 880px) {
  .nav, .hdr .btn { display: none; }
  .burger { display: block; }
  .spy { display: none; }
  /* vertical render moves to the very end of the page */
  .product-shot { display: none; }
  .mobile-visual { display: block; }
}

@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .stats { grid-template-columns: 1fr; }
  .specs__row { grid-template-columns: 1fr; gap: 6px; }
  .btn { width: 100%; justify-content: space-between; }
  .hero__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .rv { opacity: 1; transform: none; }
}
