/* ==========================================================================
   Lumasmith — site styles
   Palette: near-black base, warm "luma" gold accent, cool GPU cyan secondary.
   ========================================================================== */

:root {
  --bg: #07080a;
  --bg-alt: #0a0c10;
  --panel: #0d1015;
  --panel-2: #11151b;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #e9eaee;
  --text-soft: #a7abb6;
  --text-dim: #6d7484;

  --gold: #ffb457;
  --gold-2: #ff9d3d;
  --cyan: #59d6e8;
  --violet: #8b7bff;
  --ok: #4ad295;
  --warn: #ffb457;
  --bad: #ff6b6b;

  --radius: 14px;
  --radius-sm: 9px;
  --container: 1180px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(255, 180, 87, 0.28); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: #14100a;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container--narrow { max-width: 860px; }

.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.muted { color: var(--text-dim); }
.dim { color: var(--text-dim); font-weight: 400; }
.warn { color: var(--gold); }

/* ---------- language switcher ---------- */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.14rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  flex: none;
}
.lang a {
  padding: 0.16rem 0.44rem;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}
.lang a:hover { color: var(--text); }
.lang a.is-current {
  background: var(--gold);
  color: #1a1207;
  font-weight: 500;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(180deg, #ffc272, var(--gold-2));
  color: #1a1207;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 30px -12px rgba(255, 157, 61, 0.75);
}
.btn--primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 14px 40px -10px rgba(255, 157, 61, 0.9);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.btn--sm { padding: 0.55rem 1rem; font-size: 0.83rem; }
.btn--block { width: 100%; }

/* keep button text colors from being overridden by nav link styles */
.btn.btn--primary { color: #1a1207; }
.btn.btn--ghost { color: var(--text); }
.nav__links > a.nav__cta { font-size: 0.83rem; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}
.chip--live { color: #ffd8a3; border-color: rgba(255, 180, 87, 0.35); background: rgba(255, 180, 87, 0.08); }
.chip--ok   { color: #9df0c9; border-color: rgba(74, 210, 149, 0.28); background: rgba(74, 210, 149, 0.07); }
.chip--mid  { color: #ffd8a3; border-color: rgba(255, 180, 87, 0.28); background: rgba(255, 180, 87, 0.07); }
.chip--low  { color: #b9c6ff; border-color: rgba(139, 123, 255, 0.3); background: rgba(139, 123, 255, 0.08); }
.chip--off  { color: var(--text-dim); border-color: var(--line); background: transparent; }

.chip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 180, 87, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 180, 87, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 180, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 180, 87, 0); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.is-stuck {
  background: rgba(7, 8, 10, 0.75);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand__mark { width: 25px; height: 24px; flex: none; object-fit: contain; }
.brand__logo { display: block; width: 200px; height: auto; }
.brand__word { font-size: 1.02rem; }
.brand__tag {
  padding: 0.1rem 0.42rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav__links > a {
  font-size: 0.855rem;
  color: var(--text-soft);
  transition: color 0.2s;
  position: relative;
}
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a.is-active:not(.btn) { color: var(--text); }
.nav__links > a.is-active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
}
.nav__cta { margin-left: 0.4rem; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 82% -10%, rgba(255, 180, 87, 0.13), transparent 58%),
    radial-gradient(70% 60% at 104% 78%, rgba(123, 106, 255, 0.07), transparent 62%);
}
/* faint technical grid behind the hero copy */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 65% at 72% 28%, #000, transparent);
  -webkit-mask-image: radial-gradient(75% 65% at 72% 28%, #000, transparent);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.5;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(255, 180, 87, 0.1), transparent 62%),
    radial-gradient(90% 70% at 96% 72%, rgba(89, 214, 232, 0.07), transparent 62%),
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 8, 10, 0.9) 34%, rgba(7, 8, 10, 0.12) 72%, rgba(7, 8, 10, 0.3) 100%),
    linear-gradient(180deg, transparent 62%, var(--bg) 98%);
  pointer-events: none;
}
.hero__veil::after {
  /* fine grain so gradients don't band */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero__copy { max-width: 700px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-out infinite;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.3rem, 5.1vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
}
.grad {
  background: linear-gradient(100deg, #ffe0b0 0%, var(--gold) 38%, #ff8a5c 72%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 1.4rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  color: var(--text-soft);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__meta dt {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__meta dd { font-size: 0.86rem; color: var(--text); }

/* hero side panel */
.panel {
  background: linear-gradient(180deg, rgba(19, 23, 30, 0.92), rgba(12, 15, 20, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(10px);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.panel__title {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.panel__gauge {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 0 1.1rem;
}

.gauge { position: relative; width: 108px; height: 108px; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}
.gauge__track { stroke: rgba(255, 255, 255, 0.07); }
.gauge__value {
  stroke: var(--gold);
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  filter: drop-shadow(0 0 6px rgba(255, 180, 87, 0.45));
  transition: stroke-dashoffset 1.6s var(--ease);
}
.gauge.is-on .gauge__value { stroke-dashoffset: calc(314 - (314 * var(--value) / 100)); }

.gauge__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}
.gauge__label strong {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.gauge__label small { font-size: 0.85rem; color: var(--text-soft); }
.gauge__label span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.panel__list { display: grid; gap: 0.55rem; flex: 1; min-width: 0; }
.panel__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.panel__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.panel__list b {
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ok);
  font-weight: 500;
}
.panel__foot {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.panel__foot a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.panel__foot a:hover { color: var(--gold); }

/* hero image card */
.hero__shot {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel);
  box-shadow: 0 50px 110px -60px #000, 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.hero__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero__shot figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 2.2rem 0.95rem 0.8rem;
  font-size: 0.78rem;
  background: linear-gradient(180deg, transparent, rgba(6, 7, 10, 0.9) 58%);
}
.hero__shot figcaption .mono { color: var(--text-soft); font-size: 0.68rem; }
.hero__stat {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  margin: 0;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 8, 10, 0.62);
  backdrop-filter: blur(8px);
  color: #ffd9a9;
  font-size: 0.63rem;
  letter-spacing: 0.01em;
}

/* measured numbers */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.metrics > div {
  padding: 1.05rem 1.15rem 1.1rem;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child { border-right: 0; }
.metrics dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.metrics dd {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.35rem;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.metrics dd small {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0;
}
.metrics p {
  margin-top: 0.4rem;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--text-dim);
}

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.85rem 0;
  width: max-content;
  animation: slide 42s linear infinite;
}
.ticker__track span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.ticker__track i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  flex: none;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section {
  padding-block: clamp(3.4rem, 6.4vw, 5.6rem);
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section__head--left { margin-bottom: 0; }

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
}
.section__lead {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 62ch;
}

/* ---------- status board ---------- */
.board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 21, 27, 0.7), rgba(10, 12, 16, 0.7));
  padding: clamp(1.15rem, 2.5vw, 1.9rem);
}
.board__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 1.15rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.board__rows { display: grid; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(80px, 2fr) 52px 96px;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.row:last-child { border-bottom: 0; }

.row__name { font-size: 0.9rem; color: var(--text); }
.row__bar {
  position: relative;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}
.row__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(255, 180, 87, 0.55), var(--gold));
  transition: width 1.2s var(--ease);
}
.row__pct {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-soft);
  text-align: right;
}
.row .chip { justify-self: end; }

.board__note {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-dim);
  max-width: 70ch;
}

/* ---------- capability matrix ---------- */
.matrix {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 21, 27, 0.7), rgba(10, 12, 16, 0.7));
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
}
.matrix__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 1.1rem;
  margin-bottom: 0.3rem;
  border-bottom: 1px solid var(--line);
}

.matrix__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  grid-template-areas:
    "what chip"
    "note note";
  align-items: center;
  gap: 0.3rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.matrix__rows li:last-child { border-bottom: 0; }

.matrix__what {
  grid-area: what;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.matrix__what b {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.matrix__what span {
  font-size: 0.79rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.matrix__rows .chip { grid-area: chip; justify-self: end; }
.matrix__note {
  grid-area: note;
  margin: 0.1rem 0 0;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line-strong);
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 84ch;
}

/* ---------- grids & cards ---------- */

.grid { display: grid; gap: 1rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006));
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s;
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 87, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
}
.card:hover::after { opacity: 1; }

.card__num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.card h3 {
  margin: 0.75rem 0 0.6rem;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}
.card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.62;
  margin-bottom: 1.15rem;
}
.card .chip { margin-top: auto; align-self: flex-start; }

/* ---------- gallery ---------- */
.gallery { gap: 1rem; }
.shot { margin: 0; }
.shot__frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  aspect-ratio: 16 / 10;
}
.shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(0.95);
}
.shot:hover .shot__frame img { transform: scale(1.035); filter: saturate(1.08); }
.shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.6rem 0.15rem 0;
  font-size: 0.84rem;
  color: var(--text);
}
.shot figcaption .mono { color: var(--text-dim); font-size: 0.68rem; }
.gallery__note {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* ---------- timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding-left: 1.9rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(255, 255, 255, 0.1) 45%, transparent);
}

.phase { position: relative; }
.phase__dot {
  position: absolute;
  left: -1.9rem;
  top: 1.55rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-left: -0.5px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
}
.phase--now .phase__dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 180, 87, 0.14);
}

.phase__body {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem 1.25rem;
  background: rgba(255, 255, 255, 0.016);
  transition: border-color 0.3s, background 0.3s;
}
.phase--now .phase__body {
  background: linear-gradient(180deg, rgba(255, 180, 87, 0.055), rgba(255, 255, 255, 0.012));
  border-color: rgba(255, 180, 87, 0.22);
}
.phase__body:hover { border-color: var(--line-strong); }

.phase__top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.phase__top h3 { font-size: 1.05rem; }
.phase__when { margin-left: auto; color: var(--text-dim); }
.phase__body p {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  max-width: 70ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.tags li {
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* ---------- requirements ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.specs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.016);
}
.specs__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.specs__row:last-child { border-bottom: 0; }
.specs__row span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 0.18rem;
}
.specs__row b { font-weight: 500; color: var(--text); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: "";
  width: 10px; height: 10px;
  flex: none;
  border-right: 1.5px solid var(--text-dim);
  border-bottom: 1.5px solid var(--text-dim);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--gold);
}
.faq details p {
  padding: 0 0 1.2rem;
  max-width: 68ch;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.68;
}

/* ---------- cta / form ---------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 180, 87, 0.18);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 180, 87, 0.1), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(139, 123, 255, 0.1), transparent 60%),
    var(--panel);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent);
  pointer-events: none;
}
.cta__copy { position: relative; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.cta__copy > p:not(.kicker) {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 46ch;
}
.cta__points {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.cta__points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}
.cta__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.85;
  transform: rotate(45deg);
}

.form {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 8, 10, 0.55);
  backdrop-filter: blur(8px);
  align-content: start;
}
.form__field { display: grid; gap: 0.4rem; }
.form__field label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form__field .opt { color: rgba(255, 255, 255, 0.25); text-transform: none; letter-spacing: 0; }
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(255, 255, 255, 0.22); }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: rgba(255, 180, 87, 0.5);
  background: rgba(255, 255, 255, 0.05);
}
.form__field input[aria-invalid="true"] { border-color: rgba(255, 107, 107, 0.6); }

.form .btn { margin-top: 0.25rem; }

.form__status {
  min-height: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}
.form__status.is-error { color: #ff9c9c; }
.form__status.is-ok { color: var(--ok); }

.form__legal {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__claim {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.footer__nav h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.footer__nav a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-soft);
  padding: 0.24rem 0;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--gold); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--text-dim);
}
.footer__build { font-size: 0.68rem; letter-spacing: 0.04em; }

/* ---------- legal pages ---------- */
.nav__meta { display: flex; align-items: center; gap: 0.9rem; }
.nav__back { font-size: 0.82rem; color: var(--text-soft); }
.nav__back:hover { color: var(--gold); }

.legal { padding-block: clamp(2.2rem, 4.5vw, 3.6rem) clamp(3.5rem, 7vw, 5.5rem); }
.legal__head { max-width: 720px; margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.legal h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.035em; }
.legal__meta {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.legal__body { max-width: 72ch; }
.legal__body h2 {
  margin: 2.1rem 0 0.65rem;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}
.legal__body p, .legal__body li {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-soft);
}
.legal__body p + p { margin-top: 0.75rem; }
.legal__body ul { margin: 0.6rem 0 0; padding-left: 1.15rem; display: grid; gap: 0.35rem; }
.legal__body li { list-style: disc; }
.legal__body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 180, 87, 0.35);
}
.legal__note {
  margin-top: 2.2rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__shot { max-width: 430px; width: 100%; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics > div:nth-child(2n) { border-right: 0; }
  .metrics > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 68px 0 auto;
    display: grid;
    gap: 0;
    padding: 0.5rem var(--pad) 1.5rem;
    background: rgba(7, 8, 10, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links > a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav__links > a.is-active:not(.btn)::after { display: none; }
  .nav__cta { margin: 1rem 0 0; justify-self: start; padding-inline: 1.2rem; }
  .lang { margin-top: 0.9rem; justify-self: start; }

  .row {
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-areas:
      "name pct"
      "bar  bar"
      "chip chip";
    gap: 0.45rem 0.75rem;
    padding: 0.9rem 0;
  }
  .row__name { grid-area: name; }
  .row__pct { grid-area: pct; }
  .row__bar { grid-area: bar; }
  .row .chip { grid-area: chip; justify-self: start; }

  .timeline { padding-left: 1.4rem; }
  .phase__dot { left: -1.4rem; }
}

@media (max-width: 640px) {
  .grid--3 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 1.1rem 1.6rem; }
  .panel__gauge { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .panel__list { width: 100%; }
  .specs__row { grid-template-columns: 1fr; gap: 0.2rem; }
  .specs__row span { padding-top: 0; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .shot figcaption { font-size: 0.75rem; }
  .section { padding-block: 3.5rem; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
