/* ПОТОК-6 — industrial static CSS (no Next.js / Tailwind runtime) */

:root {
  --font-industrial: "Geologica", system-ui, sans-serif;
  --font-industrial-mono: "Geologica", ui-monospace, monospace;
  --radius: 0.375rem;
  --background: #0b0d0e;
  --foreground: #f5f5f2;
  --card: #101314;
  --muted: #16191b;
  --muted-foreground: #9ba1a6;
  --border: rgba(245, 245, 242, 0.09);
  --input: rgba(245, 245, 242, 0.14);
  --ring: rgba(255, 74, 26, 0.55);
  --destructive: #e5484d;
  --signal: #ff4a1a;
  --signal-dim: #c73611;
  --wood: #b87943;
  --steel: #73787c;
  --near-black: #050607;
  --paper: #f5f5f2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-industrial);
  font-feature-settings: "ss01", "cv11", "tnum";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--signal);
  color: var(--near-black);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus,
.focus\:not-sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Layout shell */
.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #0b0d0e;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .site-shell {
    padding-bottom: 0;
  }
}

.container-industrial {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container-industrial {
    padding-inline: 2.5rem;
  }
}
@media (min-width: 1280px) {
  .container-industrial {
    padding-inline: 4rem;
  }
}

.tech-label {
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 500;
}

.section-index {
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--signal);
  font-weight: 600;
}

.display-xl {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}

.blueprint-grid {
  background-image:
    linear-gradient(rgba(245, 245, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 242, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.blueprint-grid-fine {
  background-image:
    linear-gradient(rgba(245, 245, 242, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 242, 0.025) 1px, transparent 1px);
  background-size: 12px 12px;
}

.hazard-stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    #ff4a1a 0px,
    #ff4a1a 10px,
    transparent 10px,
    transparent 20px
  );
}

.signal-glow {
  text-shadow: 0 0 24px rgba(255, 74, 26, 0.45);
}

.btn-industrial {
  position: relative;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-industrial-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  user-select: none;
  min-height: 48px;
}
.btn-industrial:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--signal);
  color: var(--near-black);
}
.btn-primary:hover {
  background: #ff5f35;
  box-shadow: 0 0 32px rgba(255, 74, 26, 0.35);
}
.btn-ghost {
  border: 1px solid rgba(245, 245, 242, 0.18);
  color: var(--foreground);
  background: rgba(5, 6, 7, 0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.btn-dark {
  background: #141719;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-dark:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.panel-notch {
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.rule-tick {
  position: relative;
  height: 1px;
  background: var(--border);
}
.rule-tick::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 56px;
  height: 3px;
  background: var(--signal);
}

.hazard-tape {
  height: 8px;
  background-image: repeating-linear-gradient(
    -45deg,
    #ff4a1a 0px,
    #ff4a1a 12px,
    #0b0d0e 12px,
    #0b0d0e 24px
  );
  border-top: 1px solid rgba(245, 245, 242, 0.08);
  border-bottom: 1px solid rgba(245, 245, 242, 0.08);
}

.panel-hover {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.panel-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 74, 26, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 74, 26, 0.25);
}

.scan-lines {
  position: relative;
}
.scan-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(245, 245, 242, 0.022) 0px,
    rgba(245, 245, 242, 0.022) 1px,
    transparent 1px,
    transparent 4px
  );
}

.hud-chip {
  border: 1px solid rgba(245, 245, 242, 0.14);
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(6px);
  font-family: var(--font-industrial-mono);
  letter-spacing: 0.22em;
}

.grain-overlay {
  position: fixed;
  inset: -50%;
  z-index: 30;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ticker-mask {
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 36s linear infinite;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.animate-blink {
  animation: blink-dot 1.6s ease-in-out infinite;
}

.section-frame {
  position: relative;
}
.section-frame::before,
.section-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 5;
}
.section-frame::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid rgba(255, 74, 26, 0.75);
  border-left: 2px solid rgba(255, 74, 26, 0.75);
}
.section-frame::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid rgba(255, 74, 26, 0.75);
  border-right: 2px solid rgba(255, 74, 26, 0.75);
}

.tap-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  border: 1px solid rgba(245, 245, 242, 0.16);
  background: rgba(5, 6, 7, 0.55);
  backdrop-filter: blur(6px);
  color: var(--foreground);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  touch-action: manipulation;
}
.tap-zone:hover:not(:disabled) {
  border-color: rgba(255, 74, 26, 0.65);
  color: var(--signal);
  background: rgba(5, 6, 7, 0.75);
}
.tap-zone:disabled {
  opacity: 0.25;
  cursor: default;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-on {
  opacity: 1;
  transform: none;
}

/* Utilities used across sections */
.text-signal { color: var(--signal); }
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-wood { color: var(--wood); }
.text-steel { color: var(--steel); }
.text-destructive { color: var(--destructive); }
.bg-signal { background: var(--signal); }
.bg-card { background: var(--card); }
.bg-near { background: var(--near-black); }
.border-border { border-color: var(--border); }
.border-signal { border-color: var(--signal); }

.font-mono {
  font-family: var(--font-industrial-mono);
}

.section-pad {
  padding-block: 5rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .section-pad {
    padding-block: 7rem;
  }
}

.scroll-mt {
  scroll-margin-top: 4rem;
}
@media (min-width: 768px) {
  .scroll-mt {
    scroll-margin-top: 5rem;
  }
}

.section-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-header-row .tick {
  height: 1px;
  width: 2.5rem;
  background: rgba(255, 74, 26, 0.6);
}

.section-title {
  margin-top: 1.5rem;
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}
@media (min-width: 1280px) {
  .section-title {
    font-size: 3.75rem;
  }
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.7), transparent);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 6, 7, 0.85);
  backdrop-filter: blur(10px);
}
.header-progress {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
}
.header-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--signal);
  transition: width 75ms linear;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  transition: height 0.3s;
}
@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}
.site-header.is-scrolled .header-inner {
  height: 3.5rem;
}
.logo-mark {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  background: var(--signal);
  font-family: var(--font-industrial-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--near-black);
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}
.nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--foreground);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  height: 1px;
  width: 0;
  background: var(--signal);
  transition: width 0.2s;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}
.menu-toggle {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  border-bottom: 0;
  background: rgba(5, 6, 7, 0.95);
  backdrop-filter: blur(10px);
  transition: max-height 0.3s;
}
.mobile-menu.is-open {
  max-height: 420px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* Section rail */
.section-rail {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  z-index: 40;
  display: none;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}
.section-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1280px) {
  .section-rail {
    display: block;
  }
}
.section-rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
}
.rail-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
}
.rail-label {
  background: rgba(5, 6, 7, 0.85);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-industrial-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted-foreground);
  opacity: 0;
  transition: opacity 0.3s;
}
.rail-item:hover .rail-label,
.rail-item.is-active .rail-label {
  opacity: 1;
}
.rail-item.is-active .rail-label {
  color: var(--signal);
}
.rail-dot {
  display: block;
  height: 3px;
  width: 1rem;
  background: rgba(245, 245, 242, 0.25);
  transition: width 0.3s, background 0.3s;
}
.rail-item:hover .rail-dot {
  width: 1.5rem;
  background: rgba(245, 245, 242, 0.6);
}
.rail-item.is-active .rail-dot {
  width: 1.75rem;
  background: var(--signal);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
}
.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(5, 6, 7, 0.8) 100%);
}
.hero-fade-b {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 14rem;
  background: linear-gradient(to top, #050607, transparent);
}
.hero-fade-t {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 8rem;
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.65), transparent);
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 6rem;
  padding-bottom: 1.25rem;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-content {
    padding-top: 7rem;
  }
}
.hero-content .pointer {
  pointer-events: auto;
}
.hero-h1 {
  font-size: clamp(2rem, 4.6vw, 3.95rem);
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hero-stats > div {
  background: rgba(5, 6, 7, 0.8);
  padding: 1rem;
  backdrop-filter: blur(4px);
}

/* Equipment */
.equip {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .equip {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 1.75rem;
  }
}
.equip-stage {
  position: relative;
  background: #07090a;
  border: 1px solid var(--border);
  overflow: hidden;
}
.equip-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 6, 7, 0.18);
}
.equip-stage.is-playing .equip-play {
  opacity: 0;
  pointer-events: none;
}
.equip-stage video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 574;
  object-fit: cover;
  background: #07090a;
}
.equip-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.equip-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  background: #101314;
  color: var(--muted-foreground);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.equip-step .idx {
  flex: 0 0 auto;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.equip-step.is-active {
  border-color: var(--signal);
  color: var(--foreground);
  background: rgba(255, 74, 26, 0.1);
}
.equip-step.is-active .idx {
  color: var(--signal);
}

/* Viewer */
.viewer-stage {
  position: relative;
  margin-top: 2.5rem;
  height: 72vh;
  min-height: 480px;
  border-block: 1px solid var(--border);
  background: #07090a;
  overflow: hidden;
}
@media (min-width: 768px) {
  .viewer-stage {
    height: 82vh;
  }
}
.viewer-stage video,
.viewer-stage .viewer-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zone-chips {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: flex;
  max-width: calc(100% - 2.5rem);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.zone-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(245, 245, 242, 0.15);
  background: rgba(5, 6, 7, 0.7);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-industrial-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
  backdrop-filter: blur(4px);
  min-height: 40px;
}
.zone-chip.is-active {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--near-black);
}
.zone-chip .idx {
  font-weight: 700;
  color: var(--signal);
}
.zone-chip.is-active .idx {
  color: var(--near-black);
}

/* Story */
.story-stage {
  position: relative;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  background: #07090a;
  min-height: 70vh;
  overflow: hidden;
}
.story-stage video,
.story-stage .story-poster {
  width: 100%;
  height: min(70vh, 720px);
  object-fit: cover;
  background: #07090a;
}
.story-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.story-step-btn {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  font-family: var(--font-industrial-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  min-height: 44px;
}
.story-step-btn.is-active {
  border-color: var(--signal);
  color: var(--signal);
}

/* Numbers */
.numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 768px) {
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1280px) {
  .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.numbers-grid > div {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .numbers-grid > div {
    padding: 2.5rem;
  }
}
.numbers-grid .big {
  font-size: 3.75rem;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .numbers-grid .big {
    font-size: 6rem;
  }
}

/* Problem */
.problem-grid {
  display: grid;
  gap: 1px;
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1fr auto 1fr;
  }
}
.problem-photo {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

/* Videos */
.videos-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 900px) {
  .videos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}
.film {
  border: 1px solid var(--border);
  background: #101314;
  min-width: 0;
}
.film-copy {
  padding: 0.9rem 1rem 1.05rem;
}
.film-copy h3 {
  margin: 0;
  font-size: 1.15rem;
}
.film-copy p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
.player {
  position: relative;
  background: #07090a;
  outline: none;
}
.player:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 574;
  object-fit: cover;
  background: #07090a;
}
.player-cover {
  position: absolute;
  inset: 0 0 3rem 0;
  display: grid;
  place-items: center;
  background: transparent;
}
.player:not(.is-paused) .player-cover {
  opacity: 0;
}
.player.is-paused .player-cover {
  background: rgba(5, 6, 7, 0.18);
}
.player-play,
.player-glyph,
.player-vol,
.player-full {
  display: block;
}
.player-play {
  width: 64px;
  height: 64px;
  border: 1px solid var(--signal);
  background: rgba(5, 6, 7, 0.72);
  position: relative;
}
.player-play::before,
.player-glyph::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--signal);
}
.player:not(.is-paused) .player-glyph::before {
  left: 50%;
  width: 11px;
  height: 12px;
  border: 0;
  background: linear-gradient(var(--signal), var(--signal)) left / 3px 100% no-repeat,
    linear-gradient(var(--signal), var(--signal)) right / 3px 100% no-repeat;
  transform: translate(-50%, -50%);
}
.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem 0.5rem;
  background: linear-gradient(to top, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.2) 70%, transparent);
}
.player-btn {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--paper);
}
.player-glyph,
.player-vol,
.player-full {
  position: absolute;
  inset: 0;
}
.player-vol::before,
.player-vol::after,
.player-full::before,
.player-full::after {
  content: "";
  position: absolute;
}
.player-vol::before {
  left: 10px;
  top: 13px;
  width: 5px;
  height: 10px;
  background: var(--paper);
}
.player-vol::after {
  left: 16px;
  top: 11px;
  width: 8px;
  height: 14px;
  border: 2px solid var(--paper);
  border-left: 0;
  border-radius: 0 10px 10px 0;
}
.player.is-muted .player-vol::after {
  border-color: var(--muted-foreground);
}
.player-full::before {
  inset: 11px;
  border: 1.5px solid var(--paper);
}
.player-time {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.player-seek {
  flex: 1 1 auto;
  min-width: 0;
  height: 18px;
  margin: 0;
  accent-color: var(--signal);
  cursor: pointer;
}
.player-kicker {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(245, 245, 242, 0.2);
  background: rgba(5, 6, 7, 0.72);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}
.player:fullscreen,
.player:-webkit-full-screen {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #000;
}
.player:fullscreen::backdrop,
.player:-webkit-full-screen::backdrop {
  background: #000;
}
.player:fullscreen video,
.player:-webkit-full-screen video {
  width: min(100%, calc(100vh * 1280 / 574));
  height: auto;
  max-height: 100%;
  aspect-ratio: 1280 / 574;
  margin: 0;
  justify-self: center;
  align-self: center;
  object-fit: contain;
  object-position: center center;
}

/* Calculator */
.calc-grid {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1.35fr 1fr;
  }
}
.choice-cell {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-industrial-mono);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.choice-cell.is-active {
  border-color: var(--signal);
  background: rgba(255, 74, 26, 0.08);
  color: var(--foreground);
}
.choice-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.choice-grid-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .choice-grid-formats {
    grid-template-columns: repeat(5, 1fr);
  }
}
.range-input {
  margin-top: 1rem;
  width: 100%;
  height: 6px;
  appearance: none;
  background: var(--border);
  accent-color: var(--signal);
  cursor: pointer;
}

/* Price */
.price-grid {
  display: grid;
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 1024px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.price-value {
  font-size: clamp(2rem, 11vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Delivery */
.delivery-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) {
  .delivery-grid {
    grid-template-columns: 1fr 460px;
    gap: 3.5rem;
  }
}
.delivery-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  background: var(--border);
}
@media (min-width: 640px) {
  .delivery-list {
    grid-template-columns: 1fr 1fr;
  }
}
.delivery-item {
  position: relative;
  background: #0e1011;
  padding: 1.5rem;
  outline: none;
  cursor: pointer;
}
.delivery-item.is-active {
  background: #14100d;
}
.delivery-item .n {
  display: block;
  font-size: 1.875rem;
  color: rgba(245, 245, 242, 0.25);
}
.delivery-item.is-active .n {
  color: var(--signal);
}

/* Floor plan */
.floor-canvas {
  position: relative;
  margin-top: 2.5rem;
  height: 420px;
  cursor: grab;
  touch-action: none;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c0d;
}
.floor-canvas:active {
  cursor: grabbing;
}
@media (min-width: 768px) {
  .floor-canvas {
    height: 520px;
  }
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
  }
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-trigger {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--foreground);
  min-height: 48px;
}
.faq-trigger:hover {
  color: var(--signal);
}
.faq-panel {
  display: none;
  padding: 0 0 1.5rem 2rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.faq-item.is-open .faq-panel {
  display: block;
}
.faq-search {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--near-black);
  padding: 0.75rem 2.5rem 0.75rem 2.5rem;
  font-family: var(--font-industrial-mono);
  font-size: 13px;
}
.faq-search:focus {
  border-color: var(--signal);
  outline: none;
}

/* Final CTA */
.final-cta {
  position: relative;
  display: flex;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.final-bg {
  position: absolute;
  inset: 0;
}
.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-dim {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 7, 0.72);
}
.final-radial {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(5, 6, 7, 0.85) 100%);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid var(--border);
  background: rgba(5, 6, 7, 0.93);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* Lead modal */
.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(4px);
}
.lead-overlay.is-open {
  display: flex;
}
.lead-dialog {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  background: #0b0d0e;
}
.lead-steps {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.lead-steps span {
  flex: 1;
  border-right: 1px solid var(--border);
  padding: 0.625rem 0.5rem;
  font-family: var(--font-industrial-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(155, 161, 166, 0.6);
}
.lead-steps span:last-child {
  border-right: 0;
}
.lead-steps span.is-current {
  background: var(--signal);
  color: var(--near-black);
}
.lead-steps span.is-done {
  color: var(--foreground);
}
.lead-body {
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .lead-body {
    padding: 2rem;
  }
}
.lead-field {
  margin-top: 0.5rem;
  width: 100%;
  height: 3rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0 0.75rem;
}
.lead-field:focus {
  border-color: var(--signal);
  outline: none;
}
.lead-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  background: var(--near-black);
  padding: 1rem 1.5rem;
}
.interest-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  min-height: 48px;
}
.interest-btn.is-active {
  border-color: var(--signal);
  background: rgba(255, 74, 26, 0.08);
  color: var(--foreground);
}

/* Forms & misc */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #050607;
}
::-webkit-scrollbar-thumb {
  background: #2a2f32;
  border: 2px solid #050607;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff4a1a;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .grain-overlay {
    display: none;
  }
  .animate-marquee,
  .animate-blink {
    animation: none;
  }
  .animate-blink {
    opacity: 1;
  }
  .panel-hover,
  .panel-hover:hover {
    transform: none;
    transition: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
