@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonHyperlegibleNext-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonHyperlegibleNext-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("fonts/AtkinsonHyperlegibleMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("fonts/AtkinsonHyperlegibleMono-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #070b1c;
  --bg-2: #0b1229;
  --panel: #101a3a;
  --panel-2: #16224a;
  --edge: #26356e;
  --edge-soft: #1a2650;
  --display: #050817;
  --grid: #13204a;
  --text: #e8f0ff;
  --dim: #9aabd6;
  --dim-2: #7484b4;
  --cyan: #22e3ff;
  --magenta: #ff3fb4;
  --lime: #b6ff3c;
  --yellow: #ffd23f;
  --violet: #8b5cff;
  --grad: linear-gradient(100deg, var(--cyan), var(--violet) 52%, var(--magenta));
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Atkinson Hyperlegible Next", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(16px, 0.55vw + 14.6px, 18px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(34, 227, 255, 0.13), transparent 62%),
    radial-gradient(760px 480px at 12% 4%, rgba(139, 92, 255, 0.16), transparent 66%),
    radial-gradient(900px 700px at 50% 110%, rgba(255, 63, 180, 0.08), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(38, 53, 110, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(38, 53, 110, 0.22) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 78%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #8af3ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 34px);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #041023;
  padding: 10px 18px;
  z-index: 100;
  font-family: var(--mono);
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(7, 11, 28, 0.94), rgba(7, 11, 28, 0.72));
  border-bottom: 1px solid rgba(38, 53, 110, 0.6);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.brand-mark { height: 44px; width: auto; }
.brand span {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand b { font-weight: 600; }
.brand em { font-style: normal; color: var(--dim); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.86rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  padding: 8px 11px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover, .nav a[aria-current="true"] {
  color: var(--text);
  background: rgba(34, 227, 255, 0.09);
}

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--edge);
  background: var(--btn-bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: #3d549f; color: var(--text); }
.btn--primary {
  background: var(--grad);
  border-color: transparent;
  color: #051021;
  font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(34, 227, 255, 0.65);
}
.btn--primary:hover { color: #051021; box-shadow: 0 16px 40px -14px rgba(255, 63, 180, 0.7); }
.btn--ghost { background: rgba(18, 27, 61, 0.6); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--sm { padding: 9px 15px; font-size: 0.78rem; }

.header-cta { display: flex; gap: 8px; align-items: center; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 9px;
  background: rgba(18, 27, 61, 0.7);
  color: var(--text);
  cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform 0.2s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(38px, 6vw, 76px) 0 clamp(30px, 4vw, 48px);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: clamp(0px, 3vw, 36px);
  right: -6%;
  width: min(48vw, 600px);
  aspect-ratio: 800 / 602;
  background: url("/assets/cicada-800.webp") center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(18, 27, 61, 0.7);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-decoration: none;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(182, 255, 60, 0.16);
}
.pill b { color: var(--text); font-weight: 600; }
.pill:hover { border-color: #3d549f; }

.hero h1 {
  font-size: clamp(2.1rem, 6.2vw, 4.5rem);
  letter-spacing: -0.035em;
  max-width: min(17ch, 100%);
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: min(62ch, 100%);
  color: var(--dim);
  font-size: clamp(1rem, 0.4vw + 0.94rem, 1.15rem);
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.hero-note {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--dim-2);
  letter-spacing: 0.04em;
}
.hero-note a { color: var(--dim); }

.hero-shot {
  margin: clamp(26px, 4vw, 44px) auto 0;
  width: 100%;
  max-width: 1120px;
  position: relative;
}
.hero-shot::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--grad);
  opacity: 0.5;
  filter: blur(18px);
  z-index: -1;
}
.frame {
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--display);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; }
.hero-shot figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--dim-2);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ---------- marquee ---------- */
.strip {
  border-block: 1px solid var(--edge-soft);
  background: rgba(5, 8, 23, 0.66);
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  padding: 13px 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2);
  animation: slide 42s linear infinite;
  width: max-content;
}
.strip-track span { display: inline-flex; align-items: center; gap: 40px; }
.strip-track i { color: var(--cyan); font-style: normal; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: clamp(52px, 7vw, 96px) 0; }
.section-head {
  display: grid;
  gap: 16px;
  max-width: min(74ch, 100%);
  margin-bottom: clamp(30px, 4vw, 52px);
}
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.kicker {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.section-head.center .kicker::before { display: none; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--dim); font-size: 1.03rem; }

/* ---------- whats new ---------- */
.new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: linear-gradient(160deg, rgba(22, 34, 74, 0.75), rgba(12, 19, 48, 0.7));
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--edge); transform: translateY(-2px); }
.card .icon { width: 34px; height: 34px; color: var(--cyan); }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--dim); font-size: 0.94rem; }
.card .tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2);
}
.new-showcase {
  margin-top: 18px;
  display: grid;
  gap: 20px;
  justify-items: center;
}
.new-showcase figure { margin: 0; display: grid; gap: 10px; width: 100%; min-width: 0; }
.new-showcase-wide { max-width: 100%; }
.new-showcase-narrow { max-width: 760px; }
.new-showcase--pair { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.new-showcase--pair figure { max-width: none; }
.new-showcase img { border-radius: var(--radius); border: 1px solid var(--edge-soft); }
.new-showcase figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim-2);
  text-align: center;
}

/* ---------- feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 16px; }
.feature-copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.95rem); }
.feature-copy p { color: var(--dim); }
.feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.94rem;
}
.feature-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--dim);
}
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent, var(--cyan));
  transform: rotate(45deg);
}
.feature-copy li strong { color: var(--text); font-weight: 600; }
.feature-shot { position: relative; }
.feature-shot img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--edge-soft);
  box-shadow: var(--shadow);
  width: 100%;
  cursor: zoom-in;
}
.feature-shot .shot-kbd {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim-2);
  text-align: right;
}
kbd {
  font-family: var(--mono);
  font-size: 0.78em;
  background: rgba(34, 227, 255, 0.1);
  border: 1px solid rgba(34, 227, 255, 0.28);
  border-radius: 5px;
  padding: 1px 6px;
  color: #bff4ff;
  white-space: nowrap;
}

/* ---------- instruments ---------- */
.inst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.inst {
  --accent: var(--cyan);
  border: 1px solid var(--edge-soft);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: rgba(13, 21, 50, 0.66);
  padding: 16px 18px;
  display: grid;
  gap: 5px;
}
.inst h3 {
  font-size: 0.98rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.inst h3 em { font-style: normal; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--dim-2); text-transform: uppercase; }
.inst p { font-size: 0.86rem; color: var(--dim); line-height: 1.5; }

/* ---------- composed artwork ---------- */
.marketing {
  margin: 0 0 clamp(30px, 4vw, 52px);
  display: grid;
  gap: 10px;
  justify-items: center;
}
.marketing img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--edge-soft);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.marketing-wide img { max-width: 100%; }
.marketing figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim-2);
  text-align: center;
}
#themes .marketing { max-width: 1000px; margin-inline: auto; }
#themes .marketing img { cursor: zoom-in; }
.theme-notes { display: grid; gap: 8px; margin-top: 22px; color: var(--dim); font-size: 0.92rem; max-width: min(78ch, 100%); }

/* three themes side by side */
.theme-row {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.theme-row figure { margin: 0; display: grid; gap: 9px; min-width: 0; }
.theme-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border-radius: 12px;
  border: 1px solid var(--edge-soft);
  cursor: zoom-in;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-row img:hover { border-color: var(--cyan); transform: translateY(-2px); }
.theme-row figcaption {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.theme-row figcaption em {
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-left: 6px;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.gallery button {
  padding: 0;
  border: 1px solid var(--edge-soft);
  border-radius: 12px;
  overflow: hidden;
  background: var(--display);
  cursor: zoom-in;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.gallery button:hover { border-color: var(--cyan); transform: translateY(-2px); }
.gallery img { width: 100%; display: block; }
.gallery span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(4, 8, 22, 0.92));
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text);
  text-align: left;
}

/* ---------- downloads ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.dl {
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(22, 34, 74, 0.62), rgba(10, 16, 40, 0.72));
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.dl-head { display: flex; align-items: center; gap: 10px; }
.dl-head svg { width: 22px; height: 22px; color: var(--cyan); }
.dl h3 { font-size: 1.05rem; }
.dl .meta { font-family: var(--mono); font-size: 0.72rem; color: var(--dim-2); letter-spacing: 0.04em; }
.dl .btn { width: 100%; }
.dl small { color: var(--dim-2); font-size: 0.78rem; line-height: 1.45; }
.dl--hero { border-color: rgba(34, 227, 255, 0.4); box-shadow: 0 0 0 1px rgba(34, 227, 255, 0.1), 0 20px 50px -30px rgba(34, 227, 255, 0.6); }

.install {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.install div {
  border-left: 2px solid var(--edge);
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--dim);
}
.install h4 {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.install a { color: var(--cyan); }
.checksums {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--dim-2);
}

/* ---------- docs ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 10px;
}
.doc {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 13px 15px;
  border: 1px solid var(--edge-soft);
  border-radius: 9px;
  background: rgba(13, 21, 50, 0.5);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.16s, background 0.16s;
}
.doc:hover { border-color: var(--cyan); background: rgba(34, 227, 255, 0.07); color: var(--text); }
.doc span { font-family: var(--mono); font-size: 0.7rem; color: var(--dim-2); margin-left: auto; }

/* ---------- support / donate ---------- */
.support {
  border: 1px solid var(--edge-soft);
  border-left: 2px solid rgba(34, 227, 255, 0.55);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(120deg, rgba(18, 27, 61, 0.55), rgba(9, 14, 36, 0.5));
  display: grid;
  gap: 16px;
  justify-items: start;
}
.support h2 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); max-width: min(26ch, 100%); }
.support p { color: var(--dim); max-width: min(74ch, 100%); font-size: 0.96rem; }
.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 4px;
}
.btn--thanks {
  background: rgba(0, 112, 186, 0.16);
  border-color: rgba(120, 190, 240, 0.45);
  color: #d7ecff;
}
.btn--thanks:hover {
  background: rgba(0, 112, 186, 0.26);
  border-color: rgba(150, 210, 255, 0.7);
  color: #fff;
}
.btn--thanks svg { width: 15px; height: 15px; color: #8fd0ff; }
.support-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--dim-2);
}
.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.support-links a { color: var(--dim-2); text-decoration: none; }
.support-links a:hover { color: var(--cyan); }

.thanks-line {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(38, 53, 110, 0.42);
  max-width: min(84ch, 100%);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--dim-2);
}
.thanks-line a { color: var(--dim); }
.thanks-line a:hover { color: var(--cyan); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--edge-soft);
  padding: 44px 0 34px;
  color: var(--dim-2);
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: var(--dim); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.footer-mark { height: 48px; width: auto; }
.footer-base {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(38, 53, 110, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ---------- video ---------- */
/* ---------- video ---------- */
.video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--display);
  box-shadow: var(--shadow);
}
.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #04081a;
  object-fit: contain;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(3, 6, 18, 0.94);
  backdrop-filter: blur(6px);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1500px, 96vw);
  max-height: 84vh;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
}
.lightbox-caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--dim);
  text-align: center;
  max-width: min(70ch, 100%);
}
.lb-btn {
  position: absolute;
  border: 1px solid var(--edge);
  background: rgba(16, 26, 58, 0.9);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-copy { order: 0; }
  .feature-shot { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .burger { display: block; }
  .site-header.menu-open .nav {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 14px clamp(18px, 4vw, 34px) 20px;
    background: rgba(7, 11, 28, 0.98);
    border-bottom: 1px solid var(--edge);
    gap: 2px;
  }
  .site-header.menu-open .nav a { padding: 12px; font-size: 0.95rem; }
  .hero::after { display: none; }
  .hero-shot::before { filter: blur(10px); opacity: 0.35; }
}

@media (max-width: 620px) {
  .hero h1 { max-width: 100%; }
  .theme-row { grid-template-columns: 1fr; }
  .header-cta .btn--primary { display: none; }
  .brand span { font-size: 0.74rem; letter-spacing: 0.08em; }
  .brand-mark { height: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 26px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-btn { width: 38px; height: 38px; }
}

/* print */
@media print {
  body::before, body::after, .site-header, .strip, .hero-shot::before { display: none; }
  body { background: #fff; color: #000; }
}
