/* Asterion Studio — Final Hybrid 2026 */

:root {
  --black: #030303;
  --white: #ffffff;
  --panel: #101010;
  --cold: #d7dce8;
  --blue: #3d5afe;
  --blue-hover: #2a47e6;
  --blue-soft: rgba(61, 90, 254, 0.1);
  --blue-line: rgba(61, 90, 254, 0.34);
  --cyan: rgba(61, 90, 254, 0.42);
  --line: #e8eaee;
  --line-l: #dde1ea;
  --line-d: rgba(255, 255, 255, 0.12);
  --muted: rgba(215, 220, 232, 0.62);
  --muted-d: rgba(5, 5, 5, 0.62);
  --wrap: min(92vw, 1320px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Syne", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --focus-ring: 0 0 0 2px var(--black), 0 0 0 4px rgba(61, 90, 254, 0.48);
  --section-y: clamp(64px, 9vh, 96px);
  --tap: 44px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--black); color: var(--white); line-height: 1.58; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a, button { color: inherit; text-decoration: none; font: inherit; cursor: pointer; }
ul { list-style: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; z-index: 9999; padding: 8px 16px; background: var(--blue); color: var(--white); }
.skip:focus { left: 12px; top: 12px; }

.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--blue) 0%, #4e6bff 100%);
  pointer-events: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap);
  padding: 14px 28px; font-size: 0.84rem; font-weight: 600; border-radius: 0;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--fill { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--fill:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.16); }
.btn--ghost:hover { border-color: var(--blue-line); background: var(--blue-soft); color: var(--white); }
.btn--block { width: 100%; }

.btn:focus-visible,
.top__cta:focus-visible,
.top__nav a:focus-visible,
.top__nav-contact a:focus-visible,
.top__burger:focus-visible,
.build__link:focus-visible,
.picker__tab:focus-visible,
.picker__cta:focus-visible,
.formats__f:focus-visible,
.format-card:focus-visible,
.faq__q:focus-visible,
.modal__close:focus-visible,
.contact__links a:focus-visible,
.fld select:focus-visible,
.fld input:focus-visible,
.fld textarea:focus-visible,
.fld__pills label:has(:focus-visible) {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Header — black cinema calm */
.top {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform 0.45s var(--ease), background 0.35s, border-color 0.35s;
}
.top.is-hide { transform: translateY(-100%); }
.top.is-solid { background: rgba(3,3,3,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); }
.top__in {
  display: flex; align-items: center; gap: 28px;
  width: var(--wrap); margin-inline: auto; padding: 20px 0;
}
.top__brand { font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; margin-right: auto; color: var(--white); }
.top__nav { display: flex; gap: 26px; }
.top__nav-eyebrow,
.top__nav-foot { display: none; }
.top__nav-links { display: contents; }
.top__nav a { font-size: 0.78rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.top__nav a:hover { color: var(--white); }
.top__cta {
  font-size: 0.78rem; font-weight: 600; padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.top__cta:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--white); }
.top__burger { display: none; flex-direction: column; gap: 7px; background: none; border: none; padding: 4px; }
.top__burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s; }
.top__burger.is-open span:first-child { transform: translateY(9px) rotate(45deg); }
.top__burger.is-open span:last-child { transform: translateY(-9px) rotate(-45deg); }
.top-dim { position: fixed; inset: 0; z-index: 90; background: rgba(3,3,3,0.7); backdrop-filter: blur(4px); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.head { margin-bottom: clamp(32px, 5vh, 44px); }
.head .mono { color: var(--blue); display: block; margin-bottom: 12px; }
.head h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.head p { margin-top: 14px; color: var(--muted); max-width: 48ch; line-height: 1.62; }
.head--dark h2 { color: var(--white); }

/* Hero — layered cinematic */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; background: var(--black);
}
.hero__glow {
  position: absolute; top: -10%; right: 8%; width: 50%; height: 70%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(61,90,254,0.18) 0%, transparent 68%);
  filter: blur(40px);
}
.hero__layers { position: absolute; inset: 0; z-index: 1; }
.hero__layer {
  position: absolute; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.06);
  will-change: transform;
}
.hero__layer img {
  position: absolute; inset: 0;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__layer--back {
  animation: hero-drift-back 10s ease-in-out infinite;
}
.hero__layer--mid {
  animation: hero-drift-mid 8s ease-in-out infinite;
  animation-delay: -2.4s;
}
.hero__layer--front {
  animation: hero-drift-front 6.5s ease-in-out infinite;
  animation-delay: -1.1s;
}
@keyframes hero-drift-back {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35% { transform: translate(-8px, 5px) rotate(0.7deg); }
  70% { transform: translate(10px, -6px) rotate(-0.9deg); }
}
@keyframes hero-drift-mid {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40% { transform: translate(12px, -7px) rotate(-1.1deg); }
  75% { transform: translate(-7px, 9px) rotate(0.8deg); }
}
@keyframes hero-drift-front {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  45% { transform: translate(-10px, 6px) rotate(1.2deg); }
  80% { transform: translate(8px, -8px) rotate(-0.9deg); }
}
.hero__layer--back { width: 60%; right: -5%; top: 10%; aspect-ratio: 16/10; transform-origin: center center; }
.hero__layer--mid { width: 42%; right: 16%; top: 26%; aspect-ratio: 4/3; transform-origin: center center; }
.hero__layer--front { width: 32%; right: 6%; bottom: 20%; aspect-ratio: 10/7; border-color: rgba(61,90,254,0.35); transform-origin: center center; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(0deg, var(--black) 0%, transparent 42%),
    linear-gradient(90deg, var(--black) 0%, rgba(3, 3, 3, 0.92) 36%, transparent 56%);
  pointer-events: none;
}
.hero__body {
  position: relative; z-index: 3;
  padding: clamp(104px, 13vh, 128px) 0 clamp(56px, 8vh, 88px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__body .mono { color: var(--blue); margin-bottom: 14px; }
.hero__body .mono,
.hero__lead,
.hero__acts { max-width: min(42vw, 520px); }
.hero__title {
  font-family: "Unbounded", "Space Grotesk", "Syne", sans-serif;
  font-size: clamp(2.55rem, 4.7vw, 4.55rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: min(38vw, 11.5ch);
  margin: clamp(2vh, 4vh, 6vh) 0 clamp(18px, 3vh, 28px);
  text-wrap: balance;
}
.hero__title span {
  display: block;
  color: var(--white);
  font-weight: 600;
  -webkit-text-stroke: 0;
  margin-top: 0.04em;
}
.hero__lead { margin: 0 0 28px; color: var(--muted); font-size: clamp(0.95rem, 1.35vw, 1.05rem); line-height: 1.62; max-width: 42ch; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Statement */
.statement {
  padding: var(--section-y) 0;
  background: var(--black);
  border-bottom: 1px solid var(--line-d);
}
.statement__in {
  position: relative;
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: clamp(20px, 3.5vw, 36px);
  align-items: start;
}
.statement__in::before {
  content: "";
  display: block;
  width: 3px;
  height: clamp(52px, 9vh, 84px);
  background: var(--blue);
  margin-top: 0.35em;
}
.statement__text {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.1vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 24ch;
  color: var(--white);
}

/* Build — assembly white → diagonal slant → picker dark */
.build__assembly {
  padding: clamp(56px, 8vh, 88px) 0 clamp(40px, 5vh, 60px);
  background: var(--white);
  color: var(--black);
  position: relative;
  z-index: 2;
}

.build__slant {
  --slant-h: clamp(44px, 8vw, 128px);
  position: relative;
  z-index: 3;
  height: var(--slant-h);
  margin-top: -2px;
  background: transparent;
  pointer-events: none;
}

.build__slant::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: calc(100% + 2px);
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

@media (min-width: 768px) {
  .build__slant::before {
    clip-path: polygon(0 0, 100% 0, 100% 14%, 0 100%);
  }
}

.build__picker {
  position: relative;
  z-index: 1;
  --slant-h: clamp(44px, 8vw, 128px);
  padding: clamp(36px, 5vh, 60px) 0 clamp(56px, 8vh, 88px);
  margin-top: calc(-1 * var(--slant-h));
  padding-top: calc(clamp(36px, 5vh, 60px) + var(--slant-h));
  background: var(--black);
}
.build__picker .head { margin-bottom: clamp(24px, 4vh, 36px); }
.build__picker .head h2 { color: var(--white); }
.picker {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  grid-template-rows: auto minmax(340px, 1fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line-d);
  background: var(--panel);
}
.picker__tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-d);
  border-bottom: 1px solid var(--line-d);
}
.picker__tab {
  min-height: 68px;
  padding: 14px 16px;
  background: var(--black);
  border: none;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.picker__tab::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.picker__tab:hover {
  color: var(--white);
  background: var(--blue-soft);
}
.picker__tab.is-on {
  color: var(--white);
  background: var(--panel);
}
.picker__tab.is-on::after { transform: scaleX(1); }
.picker__stage {
  position: relative;
  min-height: 340px;
  background: var(--black);
  overflow: hidden;
  border-right: 1px solid var(--line-d);
}
.picker__visual { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s var(--ease); }
.picker__visual.is-on { opacity: 1; }
.picker__visual img { width: 100%; height: 100%; object-fit: cover; }
.picker__info {
  position: relative;
  min-height: 340px;
  align-self: stretch;
}
.picker__desc {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.picker__desc.is-on { opacity: 1; pointer-events: auto; }
.picker__title {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}
.picker__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
}
.picker__meta span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.picker__meta span + span { color: var(--cold); }
.picker__text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
  max-width: 38ch;
  margin-bottom: auto;
  padding-bottom: 22px;
}
.picker__cta {
  align-self: flex-start;
  min-width: 148px;
  min-height: var(--tap);
  padding: 12px 24px;
  font-size: 0.82rem;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.picker__cta:hover { transform: translateY(-1px); background: var(--blue-hover); border-color: var(--blue-hover); }


.build__grid {
  display: grid;
  grid-template-columns: minmax(272px, 336px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  width: var(--wrap);
  margin-inline: auto;
  align-items: start;
}
.build__rail { position: sticky; top: 96px; align-self: start; padding-right: 8px; }
.build__rail .mono { color: var(--blue); letter-spacing: 0.16em; }
.build__rail h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 700;
  margin-top: 14px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.build__rail > p {
  margin-top: 14px;
  color: var(--muted-d);
  font-size: 0.94rem;
  line-height: 1.62;
  max-width: 34ch;
}
.build__nav { margin-top: 26px; display: flex; flex-direction: column; }
.build__link {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 12px;
  align-items: center;
  min-height: var(--tap);
  padding: 13px 0 13px 10px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--muted-d);
  position: relative;
  transition: color 0.2s;
}
.build__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.25s var(--ease);
}
.build__link span {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--blue);
  opacity: 0.42;
  letter-spacing: 0.1em;
}
.build__link.is-active,
.build__link:hover { color: var(--black); }
.build__link.is-active::before { transform: scaleY(1); }
.build__link.is-active span { opacity: 1; }
.build__meter { margin-top: 22px; height: 2px; background: var(--line); overflow: hidden; }
.build__meter i { display: block; height: 100%; width: 25%; background: var(--blue); transition: transform 0.5s var(--ease); }
.build__panels { display: flex; flex-direction: column; gap: clamp(24px, 3.5vh, 44px); }
.build__panel {
  opacity: 0.85;
  transition: opacity 0.35s, border-color 0.35s, box-shadow 0.35s;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}
.build__panel.is-active {
  opacity: 1;
  border-color: rgba(61, 90, 254, 0.42);
  box-shadow: 0 20px 56px rgba(61, 90, 254, 0.12);
}
.build__panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: min(44vh, 420px);
  object-fit: cover;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.build__copy {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
}
.build__copy h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.build__copy p { color: var(--muted-d); margin-top: 8px; font-size: 0.9rem; line-height: 1.58; }

/* Featured */
.featured { padding: 0; background: var(--black); }
.featured__frame { position: relative; min-height: 82vh; overflow: hidden; }
.featured__frame > img {
  width: 100%; height: 100%; object-fit: cover; object-position: 86% center;
  min-height: 82vh;
}
.featured__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--black) 0%, var(--black) 28%, rgba(3, 3, 3, 0.99) 42%, rgba(3, 3, 3, 0.92) 54%, rgba(3, 3, 3, 0.45) 66%, transparent 86%),
    linear-gradient(180deg, transparent 0%, rgba(3, 3, 3, 0.35) 100%);
}
.featured__meta {
  position: absolute; left: max(3vw, calc((100vw - 1320px) / 2)); bottom: clamp(48px, 8vh, 88px);
  max-width: 540px; z-index: 2;
  padding: 22px 40px 22px 8px;
  background: rgba(3, 3, 3, 0.99);
  box-shadow: 32px 0 64px rgba(3, 3, 3, 0.92);
}
.featured__meta::before {
  content: "";
  position: absolute;
  inset: -16px -48px -16px -16px;
  background: rgba(3, 3, 3, 0.98);
  z-index: -1;
  pointer-events: none;
}
.featured__meta .mono { color: var(--blue); margin-bottom: 14px; }
.featured__meta h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.featured__meta > p { margin: 16px 0 26px; color: var(--muted); line-height: 1.62; max-width: 42ch; }
.featured__stats { display: flex; gap: 32px; margin-bottom: 28px; }
.featured__stats strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--blue); }
.featured__stats span { font-size: 0.62rem; color: var(--muted); }

/* Formats grid */
.formats {
  padding: var(--section-y) 0;
  background: var(--panel);
}
.formats__filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 4vh, 36px); }
.formats__f {
  min-height: 40px;
  padding: 10px 18px; background: transparent; border: 1px solid var(--line-d);
  color: var(--muted); font-weight: 600; font-size: 0.76rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.formats__f.is-on,
.formats__f:hover { border-color: var(--blue); color: var(--white); background: var(--blue-soft); }
.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}
.format-card {
  position: relative; overflow: hidden; cursor: pointer;
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border: 1px solid var(--line-d);
  transition: border-color 0.25s, background 0.25s;
}
.format-card:hover { border-color: var(--blue-line); background: rgba(61, 90, 254, 0.04); }
.format-card.is-off { opacity: 0.15; pointer-events: none; }
.format-card--wide { grid-column: 1 / -1; }
.format-card__media {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--black);
}
.format-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 3, 3, 0.28) 100%);
  pointer-events: none;
}
.format-card__media img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.format-card--wide .format-card__media img {
  aspect-ratio: 2.8 / 1;
  max-height: 172px;
  object-position: center 42%;
}
.format-card__cap {
  flex: 0 0 auto;
  padding: 14px 16px 16px;
  background: var(--panel);
  border-top: 1px solid var(--line-d);
}
.format-card__cap .mono { color: var(--blue); margin-bottom: 4px; font-size: 0.62rem; }
.format-card__cap h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.25; color: var(--white); }

/* Process — white system */
.process {
  padding: var(--section-y) 0;
  background: var(--white); color: var(--black);
  border-bottom: 1px solid var(--line);
}
.process .head .mono { color: var(--blue); }
.process .head h2 { color: var(--black); }
.process__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-l); border: 1px solid var(--line);
}
.process__cell { background: var(--white); padding: clamp(28px, 4vw, 40px); }
.process__cell .mono { color: var(--blue); font-size: 0.62rem; }
.process__cell h3 { margin-top: 12px; font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.process__cell p { margin-top: 8px; font-size: 0.88rem; color: var(--muted-d); line-height: 1.55; }

/* Pricing */
.pricing {
  padding: var(--section-y) 0;
  background: var(--black);
}
.pricing__layout { display: grid; gap: clamp(28px, 4vh, 40px); }
.pricing__packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pack {
  padding: 32px 24px; border: 1px solid var(--line-d);
  display: flex; flex-direction: column;
  transition: border-color 0.25s, background 0.25s;
}
.pack:hover { border-color: var(--blue-line); }
.pack--hot { border-color: var(--blue-line); background: var(--blue-soft); }
.pack .mono { color: var(--blue); margin-bottom: 8px; }
.pack h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.pack__sum { margin-top: 12px; font-size: 1.35rem; font-weight: 700; color: var(--cold); line-height: 1.2; }
.pack__note { margin: 8px 0 6px; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.pack__who { margin: 0 0 20px; color: rgba(215, 220, 232, 0.5); font-size: 0.82rem; line-height: 1.55; flex: 1; }
.pack--hot .pack__who { color: rgba(215, 220, 232, 0.68); }
.pack .btn { margin-top: auto; width: 100%; }
.calc {
  padding: clamp(24px, 4vw, 32px); border: 1px solid var(--line-d); background: var(--panel);
}
.calc h3 { font-weight: 700; margin-bottom: 8px; font-size: 1.15rem; line-height: 1.25; }
.calc__hint { margin: 0 0 20px; color: var(--muted); font-size: 0.82rem; line-height: 1.58; max-width: 52ch; }
.fld { display: block; margin-bottom: 16px; }
fieldset.fld {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-inline-size: 0;
}
fieldset.fld:focus-within {
  outline: none;
  box-shadow: none;
}
.calc fieldset.fld > span { display: block; margin-bottom: 6px; color: var(--muted); }
.fld > span,
fieldset.fld > span { display: block; margin-bottom: 6px; color: var(--muted); }
.fld select, .fld input:not([type=radio]):not([type=range]), .fld textarea {
  width: 100%; min-height: var(--tap);
  padding: 12px 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-d); color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.fld select {
  color-scheme: dark;
  background-color: rgba(255, 255, 255, 0.04);
  color: #fff;
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.fld select option {
  background: #111318;
  color: #fff;
}
.fld select option:checked,
.fld select option:hover {
  background: #1b2448;
  color: #fff;
}
.fld textarea { min-height: 120px; padding-top: 12px; }
.fld select:hover, .fld input:not([type=radio]):not([type=range]):hover, .fld textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.fld select:focus-visible {
  border-color: var(--blue);
  background-color: rgba(61, 90, 254, 0.06);
}
.fld input:not([type=radio]):not([type=range]):focus-visible,
.fld textarea:focus-visible {
  border-color: var(--blue);
  background: rgba(61, 90, 254, 0.06);
}
.fld input[type=range] { width: 100%; accent-color: var(--blue); }
.fld__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line-d);
  background: rgba(255, 255, 255, 0.02);
}
.fld__pills label {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1 1 0;
  min-width: 88px;
  min-height: var(--tap); padding: 10px 12px;
  border: 1px solid transparent; font-size: 0.82rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}
.fld__pills input[type=radio] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.fld__pills label:hover { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); }
.fld__pills label:has(:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--white); }
.fld--dark select, .fld--dark input, .fld--dark textarea { background: rgba(255,255,255,0.06); }
.calc__out { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.calc__out strong { display: block; font-size: 1.8rem; font-weight: 700; margin-top: 8px; color: var(--white); line-height: 1.15; }
.calc__out .mono { color: rgba(215, 220, 232, 0.55); }

/* FAQ */
.faq {
  padding: var(--section-y) 0;
  background: var(--white); color: var(--black);
}
.faq .head h2 { color: var(--black); }
.faq__list { max-width: 720px; border-top: 1px solid var(--line); border-left: 3px solid var(--blue); padding-left: 4px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; min-height: var(--tap);
  padding: 18px 0; background: none; border: none; text-align: left;
  font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--black); line-height: 1.4;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--blue-hover); }
.faq__q::after { content: "+"; color: var(--blue); font-size: 1.3rem; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.4s; }
.faq__a p { padding-bottom: 22px; color: var(--muted-d); font-size: 0.92rem; line-height: 1.62; }

/* Contact */
.contact {
  position: relative; padding: clamp(80px, 10vh, 120px) 0;
  background: var(--black);
}
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__veil { position: absolute; inset: 0; background: linear-gradient(105deg, var(--black) 38%, rgba(3,3,3,0.78)); }
.contact__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact__info .mono { color: var(--blue); }
.contact__info h2 { font-family: var(--display); font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 700; margin-top: 12px; line-height: 1.08; letter-spacing: -0.03em; }
.contact__info > p { margin-top: 14px; color: var(--muted); line-height: 1.62; max-width: 38ch; }
.contact__links { margin-top: 28px; }
.contact__links li { display: flex; gap: 14px; align-items: center; min-height: var(--tap); padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.contact__links .mono { min-width: 40px; color: var(--muted); }
.contact__links a { padding: 4px 0; transition: color 0.2s; }
.contact__links a:hover { color: var(--blue); }
.contact__form {
  padding: 32px; background: rgba(16,16,16,0.9); border: 1px solid var(--line-d); backdrop-filter: blur(10px);
}
.contact__title { font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; line-height: 1.25; }
.contact__ok { margin-top: 14px; color: var(--blue); font-size: 0.88rem; }

.foot { padding: 24px 0; border-top: 1px solid var(--line-d); color: var(--muted); font-size: 0.82rem; text-align: center; }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; pointer-events: none; opacity: 0; transition: opacity 0.35s;
}
.modal.is-open { pointer-events: auto; opacity: 1; }
.modal__dim { position: absolute; inset: 0; background: rgba(3,3,3,0.82); backdrop-filter: blur(8px); }
.modal__sheet {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr;
  max-width: 940px; max-height: 90vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line-d);
  transform: translateY(20px); transition: transform 0.4s var(--ease);
}
.modal.is-open .modal__sheet { transform: none; }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px;
  background: var(--black); border: 1px solid var(--line-d); color: var(--white); font-size: 1.3rem;
  transition: border-color 0.2s, background 0.2s;
}
.modal__close:hover { border-color: var(--blue-line); background: var(--blue-soft); }
.modal__img { width: 100%; object-fit: cover; min-height: 260px; }
.modal__body { padding: 28px; }
.modal__body .mono { color: var(--blue); }
.modal__body h2 { font-family: var(--display); font-size: 1.6rem; margin: 8px 0; }
.modal__body > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.modal__dl { display: flex; gap: 28px; margin-bottom: 14px; }
.modal__dl dt { font-family: var(--mono); font-size: 0.6rem; color: var(--muted); text-transform: uppercase; }
.modal__dl dd { font-weight: 700; margin-top: 4px; }
.modal__body li { padding: 6px 0; border-bottom: 1px solid var(--line-d); font-size: 0.88rem; color: var(--muted); }
.modal__body .btn { margin-top: 14px; }

@media (max-width: 900px) {
  .top-dim:not([hidden]) {
    background: var(--black);
    backdrop-filter: none;
  }
  .top:has(.top__nav.is-open) {
    z-index: 102;
    background: var(--black);
    border-bottom: 1px solid var(--line-d);
  }
  .top:has(.top__nav.is-open) .top__brand {
    opacity: 0;
    visibility: hidden;
  }
  .top:has(.top__nav.is-open) .top__in {
    position: relative;
    z-index: 2;
  }
  .top__nav {
    position: fixed; inset: 0 0 0 auto; z-index: 1;
    width: min(280px, 85vw);
    flex-direction: column; padding: 96px 28px;
    background: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(18px);
    border: none;
    border-left: 1px solid var(--line-d);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.55);
    transform: translateX(100%); transition: transform 0.4s, width 0.35s var(--ease);
  }
  .top__nav.is-open {
    inset: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    padding: 104px max(28px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  }
  .top__nav.is-open::before {
    content: "";
    position: absolute;
    left: max(28px, env(safe-area-inset-left));
    top: 88px;
    width: 40px;
    height: 2px;
    background: var(--blue);
    pointer-events: none;
  }
  .top__nav-eyebrow {
    display: block;
    color: var(--blue);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-d);
  }
  .top__nav-links {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
    margin-top: 4px;
  }
  .top__nav-links a {
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 14px 0 14px 18px;
    font-family: var(--display);
    font-size: clamp(1.18rem, 5.2vw, 1.42rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: rgba(215, 220, 232, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, padding-left 0.25s var(--ease);
  }
  .top__nav-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 52%;
    background: var(--blue);
    transform: translateY(-50%) scaleY(0);
    transition: transform 0.25s var(--ease);
  }
  .top__nav-links a:hover,
  .top__nav-links a:focus-visible {
    color: var(--white);
    padding-left: 24px;
  }
  .top__nav-links a:hover::before,
  .top__nav-links a:focus-visible::before {
    transform: translateY(-50%) scaleY(1);
  }
  .top__nav-foot {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line-d);
  }
  .top__nav-cta {
    width: 100%;
    font-size: 0.82rem;
  }
  .top__nav-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: rgba(215, 220, 232, 0.42);
  }
  .top__nav-contact span { opacity: 0.35; }
  .top__nav-contact a {
    min-height: auto;
    padding: 4px 0;
    font-family: var(--mono);
    font-size: inherit;
    font-weight: 500;
    letter-spacing: inherit;
    color: rgba(215, 220, 232, 0.55);
    border: none;
    transition: color 0.2s;
  }
  .top__nav-contact a:hover { color: var(--blue); }
  .top__burger {
    display: flex;
    position: relative;
    z-index: 3;
    padding: 8px;
    margin: -4px -8px -4px 0;
  }
  .top__cta { display: none; }
  .hero__layer--front { display: none; }
  .hero__body { padding-top: 96px; padding-bottom: 40px; }
  .hero__body .mono,
  .hero__lead,
  .hero__acts { max-width: 100%; }
  .hero__title {
    max-width: 100%;
    font-size: clamp(1.95rem, 9.4vw, 2.75rem);
    line-height: 0.88;
    margin: clamp(12px, 3vh, 24px) 0 18px;
  }
  .hero__lead { margin-bottom: 22px; font-size: 0.94rem; }
  .hero__acts .btn { min-height: var(--tap); padding: 12px 18px; font-size: 0.8rem; }
  .formats__f { min-height: var(--tap); padding: 11px 18px; }
  .calc { padding: 24px 20px; }
  .contact__form { padding: 24px 20px; }
  .contact__grid { gap: 36px; }
  .build__grid { grid-template-columns: 1fr; gap: 28px; }
  .build__rail { position: static; padding-right: 0; }
  .build__panels { gap: 20px; }
  .build__panel,
  .build__panel:not(.is-active) { opacity: 1; }
  .build__panel:not(.is-active) {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  }
  .build__panel:not(.is-active) .build__copy h3 { color: var(--black); }
  .build__panel:not(.is-active) .build__copy p { color: var(--muted-d); }
  .build__panel.is-active {
    border-color: rgba(61, 90, 254, 0.5);
    box-shadow: inset 3px 0 0 #3D5AFE, 0 16px 40px rgba(61, 90, 254, 0.12);
  }
  .build__panel img { max-height: min(36vh, 320px); }
  .pricing__layout { gap: 20px; }
  .calc { padding: 16px 14px 10px; }
  .calc h3 { margin-bottom: 2px; font-size: 1.02rem; }
  .calc__hint { margin-bottom: 8px; font-size: 0.76rem; line-height: 1.45; }
  .calc .fld,
  .calc fieldset.fld { margin-bottom: 8px; }
  .calc .fld select { min-height: 42px; padding: 10px 12px; }
  .calc .fld__pills { padding: 2px; gap: 4px; }
  .calc .fld__pills label { min-height: 38px; padding: 7px 8px; font-size: 0.76rem; }
  .calc__out {
    margin-top: 4px;
    padding: 10px 12px 8px;
    border-top: 1px solid var(--line-d);
    background: rgba(8, 10, 16, 0.98);
  }
  .calc__out strong { font-size: 1.48rem; margin-top: 2px; }
  .featured__frame { min-height: min(78vh, 700px); }
  .featured__frame > img { object-position: 96% 36%; min-height: min(78vh, 700px); }
  .featured__veil {
    background:
      linear-gradient(0deg, rgba(3, 3, 3, 0.99) 0%, rgba(3, 3, 3, 0.96) 42%, rgba(3, 3, 3, 0.55) 62%, transparent 80%),
      linear-gradient(90deg, var(--black) 0%, rgba(3, 3, 3, 0.99) 64%, rgba(3, 3, 3, 0.72) 76%, transparent 98%);
  }
  .featured__meta {
    background: rgba(3, 3, 3, 0.99);
    padding: 18px 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 -24px 48px rgba(3, 3, 3, 0.85);
  }
  .featured__meta::before { inset: -20px -20px -20px -20px; background: rgba(3, 3, 3, 0.99); }
  .picker {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .picker__tabs { grid-template-columns: repeat(4, minmax(132px, 1fr)); overflow-x: auto; }
  .picker__tab { min-height: 60px; font-size: 0.74rem; }
  .picker__stage {
    min-height: min(34vh, 280px);
    border-right: none;
    border-bottom: 1px solid var(--line-d);
  }
  .picker__info { min-height: 240px; }
  .picker__desc { padding: 22px 20px; }
  .picker__title { font-size: 1.08rem; margin-bottom: 10px; }
  .picker__text { max-width: none; padding-bottom: 18px; }
  .picker__cta { width: 100%; min-width: 0; }
  .formats__grid { grid-template-columns: 1fr; gap: 10px; }
  .format-card, .format-card--wide { grid-column: 1; }
  .format-card--wide .format-card__media img { max-height: 168px; aspect-ratio: 16/9; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__packs { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .modal__sheet { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .process__grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .wrap {
    width: 100%;
    max-width: 100%;
    padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
    box-sizing: border-box;
  }
  .formats { padding-block: clamp(52px, 8vh, 72px); }
  .process { padding-block: clamp(52px, 8vh, 72px); }
  .pricing { padding-block: clamp(52px, 8vh, 72px); }
  .faq { padding-block: clamp(52px, 8vh, 72px); }
  .contact { padding-block: clamp(64px, 9vh, 88px); }
  .featured__meta {
    left: max(24px, env(safe-area-inset-left));
    right: max(24px, env(safe-area-inset-right));
    max-width: none;
    bottom: clamp(36px, 6vh, 56px);
    background: rgba(3, 3, 3, 1);
    padding: 18px 20px;
    backdrop-filter: blur(14px);
    box-shadow: 0 -28px 56px rgba(3, 3, 3, 0.9);
  }
  .featured__meta::before { inset: -24px -24px -24px -24px; background: rgba(3, 3, 3, 1); }
  .featured__frame > img { object-position: 98% 30%; }
  .featured__veil {
    background:
      linear-gradient(0deg, rgba(3, 3, 3, 1) 0%, rgba(3, 3, 3, 0.97) 44%, rgba(3, 3, 3, 0.62) 64%, transparent 82%),
      linear-gradient(90deg, var(--black) 0%, rgba(3, 3, 3, 1) 68%, rgba(3, 3, 3, 0.78) 80%, transparent 99%);
  }
  .featured__meta h2 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .featured__stats { gap: 24px; margin-bottom: 22px; }
  .formats__grid { gap: 8px; }
  .pack { padding: 24px 20px; }
  .faq__q { padding: 16px 0; font-size: 0.94rem; }
  .foot { padding: 20px 0; font-size: 0.78rem; }
  .hero { align-items: flex-start; }
  .hero__glow {
    top: -6%; right: -4%; width: 58%; height: 42%; opacity: 0.55;
  }
  .hero__layer--back {
    width: 48%;
    right: -10%;
    top: 74px;
    opacity: 0.38;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
  }
  .hero__layer--mid {
    width: 30%;
    right: 2%;
    top: 118px;
    opacity: 0.34;
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.38);
  }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.9) 30%, rgba(3, 3, 3, 0.55) 48%, transparent 66%),
      linear-gradient(90deg, var(--black) 0%, rgba(3, 3, 3, 0.96) 52%, transparent 78%);
  }
  .hero__body {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-top: clamp(214px, 30vh, 232px);
    padding-bottom: clamp(36px, 6vh, 48px);
    padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
    box-sizing: border-box;
  }
  .hero__body .mono {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin-bottom: 12px;
    text-shadow: 0 1px 14px rgba(3, 3, 3, 0.95);
  }
  .hero__lead { max-width: 100%; }
  .hero__title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.62rem, 8.2vw, 2.1rem);
    line-height: 0.9;
    margin: clamp(10px, 2.5vh, 20px) 0 16px;
  }
  .hero__lead { margin-bottom: 20px; font-size: 0.92rem; }
  .hero__acts {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero__acts .btn {
    width: 100%;
    min-width: 0;
    min-height: var(--tap);
    padding: 11px 12px;
    font-size: 0.78rem;
  }
  .build__link { min-height: 48px; padding: 12px 0 12px 8px; }
  .statement { padding: 44px 0; }
  .statement__in {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
    box-sizing: border-box;
    gap: 18px;
  }
  .statement__text { max-width: none; font-size: clamp(1.28rem, 5.4vw, 1.55rem); }
  .build__assembly { padding: 44px 0 36px; }
  .build__grid {
    width: 100%;
    max-width: 100%;
    padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
    box-sizing: border-box;
    gap: 22px;
  }
  .build__rail h2 { font-size: clamp(1.45rem, 6.8vw, 1.75rem); }
  .build__rail > p { max-width: none; }
  .build__nav { margin-top: 18px; }
  .build__link { padding: 11px 0 11px 8px; font-size: 0.82rem; }
  .build__panels { gap: 18px; }
  .build__panel,
  .build__panel:not(.is-active) { opacity: 1; }
  .build__panel:not(.is-active) {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.035);
  }
  .build__panel.is-active {
    border-color: rgba(61, 90, 254, 0.5);
    box-shadow: inset 3px 0 0 #3D5AFE, 0 12px 32px rgba(61, 90, 254, 0.1);
  }
  .build__panel img { max-height: 220px; aspect-ratio: 16/9; }
  .build__copy { padding: 14px 14px 16px; }
  .build__picker {
    width: 100%;
    max-width: 100%;
    padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
    box-sizing: border-box;
  }
  .build__picker .head { margin-bottom: 20px; }
  .picker__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: visible;
    mask-image: none;
  }
  .picker__tab {
    min-height: 54px;
    padding: 12px 14px;
    font-size: 0.7rem;
    line-height: 1.32;
    text-align: left;
  }
  .picker__tab.is-on { background: rgba(61, 90, 254, 0.1); }
  .picker__stage { min-height: 210px; }
  .picker__info { min-height: 228px; }
  .picker__desc {
    padding: 18px max(18px, env(safe-area-inset-left)) 6px max(18px, env(safe-area-inset-right));
    box-sizing: border-box;
  }
  .picker__title { font-size: 1.04rem; }
  .picker__meta { margin-bottom: 12px; gap: 6px 12px; }
  .picker__text { font-size: 0.88rem; padding-bottom: 18px; }
  .picker__cta {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.78rem;
    box-sizing: border-box;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__layer { will-change: auto; animation: none !important; }
}