/* ─────────────────────────────────────────────────────
   HOLTERTECH — site
   Palette: black #060606 · red #d20000 · paper #f6f6f6
   Type:    Onest (display + body) · JetBrains Mono (labels)
   ──────────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #060606;
  --bg-dark-2: #0c0708;
  --bg-light: #f6f6f6;
  --paper: #ebebeb;
  --ink: #060606;
  --ink-soft: #2a2a2a;
  --muted: #737373;
  --muted-light: rgba(255,255,255,0.55);
  --line-light: rgba(6,6,6,0.12);
  --line-dark: rgba(255,255,255,0.14);
  --red: #d20000;
  --red-deep: #8b0000;
  --red-soft: #ff3a3a;
  --texture: url('assets/texture.png');
}

html { scroll-behavior: smooth; background: var(--bg-dark); }
body {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.06em; font-size: 12px; text-transform: uppercase; font-weight: 500; }
.dim { color: var(--muted); }
.light { color: rgba(255,255,255,0.6); }

/* ── NAV ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 40px;
  mix-blend-mode: difference;
  color: #fff;
  pointer-events: none;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1600px; margin: 0 auto;
  pointer-events: auto;
}
.brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em;
}
.nav-links {
  display: flex; gap: 32px;
  font-size: 14px;
}
.nav-links a { opacity: 0.7; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta .arr { transition: transform .25s; }
.nav-cta:hover .arr { transform: translateX(4px); }
@media (max-width: 800px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
}

/* ── HERO BG (shared) ─────────────────────────────── */
.hero-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-bg__beam {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 65%, #6b0000 0%, #2c0303 35%, #0a0303 70%, #060606 100%);
}
.hero-bg__beam.soft {
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, #5a0202 0%, #1f0202 45%, #060606 90%);
}
.hero-bg__noise {
  position: absolute; inset: 0;
  background-image: var(--texture);
  background-size: 320px 320px;
  opacity: 0.18;
  mix-blend-mode: overlay;
}
.hero-bg__lines {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient( 78deg,
      rgba(255,255,255,0.04) 0 1px,
      transparent 1px 220px),
    repeating-linear-gradient(-78deg,
      rgba(255,255,255,0.04) 0 1px,
      transparent 1px 220px);
  opacity: 0.6;
  mask: radial-gradient(ellipse 80% 90% at 50% 100%, #000 0%, transparent 80%);
  -webkit-mask: radial-gradient(ellipse 80% 90% at 50% 100%, #000 0%, transparent 80%);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  padding: 0 56px 64px;
  color: #fff;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-topbar {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between;
  padding: 90px 0 0;
  color: rgba(255,255,255,0.55);
}
.hero-main {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 80px 0 0;
  gap: 40px;
}
.hero-title h1 {
  font-family: 'Onest', sans-serif;
  font-weight: 300;
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  font-stretch: expanded;
}
.hero-title h1 .thin {
  font-weight: 300;
  font-style: normal;
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
}
.hero-tech-mark {
  width: clamp(180px, 18vw, 280px);
  margin-bottom: 80px;
  opacity: 0.85;
}
.hero-tech-mark svg { width: 100%; height: auto; }

.hero-meta {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
}
.meta-col { display: flex; flex-direction: column; gap: 10px; }
.meta-label { color: rgba(255,255,255,0.45); }
.meta-value { font-size: 16px; font-weight: 500; }

.hero-product {
  position: absolute;
  right: -8%; top: 14%;
  width: 56%; max-width: 1100px;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
  mask: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
}
.hero-product img {
  width: 100%;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.6));
}

.hero-scroll {
  position: absolute;
  right: 56px; bottom: 32px;
  color: rgba(255,255,255,0.4);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
}
.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.4s infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero { padding: 0 24px 40px; }
  .hero-topbar { padding-top: 80px; }
  .hero-main { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-tech-mark { margin-bottom: 24px; width: 160px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-product { width: 90%; right: -10%; top: 8%; opacity: 0.35; }
  .hero-scroll { display: none; }
}

/* ── SECTION HEAD ─────────────────────────────────── */
.section-head {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 56px;
}
.section-head .kicker {
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 28px;
  min-width: 220px;
}
.section-head.dark .kicker {
  border-bottom-color: rgba(255,255,255,0.18);
}
.section-head h2 {
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}
.section-head.dark h2 { color: #fff; }
@media (max-width: 800px) {
  .section-head { padding: 0 24px; margin-bottom: 48px; }
}

.kicker.dim { opacity: 0.5; }

/* ── PROBLEM ──────────────────────────────────────── */
.problem {
  position: relative;
  background: var(--bg-light);
  padding: 140px 0 140px;
  overflow: hidden;
}
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(6,6,6,0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  mask: radial-gradient(ellipse 60% 60% at 100% 0%, #000 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 0% 100%, #000 0%, transparent 60%);
  -webkit-mask: radial-gradient(ellipse 60% 60% at 100% 0%, #000 0%, transparent 60%),
                radial-gradient(ellipse 60% 60% at 0% 100%, #000 0%, transparent 60%);
  -webkit-mask-composite: source-over;
  pointer-events: none;
  opacity: 0.6;
}

.problem-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  position: relative;
}
.problem-grid .big { grid-row: span 2; }

.stat-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 28px;
  padding: 40px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.stat-card.in { opacity: 1; transform: none; }
.stat-card.big {
  display: flex; flex-direction: column;
  gap: 32px;
  padding: 56px 56px 48px;
  background: linear-gradient(160deg, #fff 0%, #fff 60%, #fdebeb 100%);
}
.stat-card__num {
  display: flex; align-items: baseline; gap: 8px;
}
.stat-card__num .num {
  font-family: 'Onest', sans-serif;
  font-size: clamp(120px, 14vw, 220px);
  line-height: 0.85;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--red);
}
.stat-card__num.small .num {
  font-size: clamp(72px, 8vw, 120px);
  color: var(--ink);
}
.stat-card__num .num i {
  font-style: normal;
  font-size: 0.55em;
  margin-left: 2px;
  font-weight: 400;
  vertical-align: top;
  color: inherit;
  opacity: 0.85;
}
.stat-card h3 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 20ch;
}
.stat-card.big h3 { font-size: clamp(28px, 2.4vw, 40px); }
.stat-card p {
  color: var(--muted);
  font-size: 15px; margin-top: 12px;
  max-width: 50ch;
}
.stat-card .muted { color: var(--muted); }
.stat-card.sm {
  display: flex; flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

/* horizontal bars */
.bars {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 8px;
}
.bars li {
  display: grid;
  grid-template-columns: 200px 1fr 56px;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.bars .bar-l { color: var(--ink-soft); }
.bars .bar-bar {
  position: relative; height: 8px; background: rgba(6,6,6,0.08); border-radius: 99px; overflow: hidden;
}
.bars .bar-bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--red); border-radius: 99px;
  animation: barIn 1s ease forwards;
}
.bars li:nth-child(2) .bar-bar i { background: #1a1a1a; }
.bars li:nth-child(3) .bar-bar i { background: #2a2a2a; }
.bars li:nth-child(4) .bar-bar i { background: #3a3a3a; }
.bars .bar-v { font-family: 'JetBrains Mono', monospace; font-weight: 500; }
@keyframes barIn { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); } }

/* ── TIMELINE ─────────────────────────────────────── */
.timeline-block {
  max-width: 1280px;
  margin: 120px auto 0;
  padding: 0 56px;
}
.timeline-head {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 56px;
  max-width: 720px;
}
.timeline-head .kicker { color: var(--muted); }
.timeline-head h3 {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; right: 14px; top: 14px;
  height: 2px;
  background: linear-gradient(90deg, #fbd5d5, #d20000);
}
.timeline li {
  position: relative;
  padding: 40px 14px 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.timeline li.in { opacity: 1; transform: none; }
.timeline li:nth-child(1).in { transition-delay: 0.0s; }
.timeline li:nth-child(2).in { transition-delay: 0.1s; }
.timeline li:nth-child(3).in { transition-delay: 0.2s; }
.timeline li:nth-child(4).in { transition-delay: 0.3s; }
.timeline li:nth-child(5).in { transition-delay: 0.4s; }
.timeline .dot {
  position: absolute; top: 0; left: 14px;
  width: 28px; height: 28px;
  background: #fbd5d5; border-radius: 50%;
  transform: translateY(0);
}
.timeline li:nth-child(2) .dot { background: #f5a0a0; }
.timeline li:nth-child(3) .dot { background: #e65555; }
.timeline li:nth-child(4) .dot { background: #d20000; }
.timeline li:nth-child(5) .dot { background: #8b0000; }
.timeline h4 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.timeline li.end h4 { color: var(--red); }
.timeline p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

@media (max-width: 1000px) {
  .problem-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .problem-grid .big { grid-row: auto; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .timeline-block { padding: 0 24px; }
  .bars li { grid-template-columns: 140px 1fr 48px; font-size: 13px; }
}

/* ── MISSION ──────────────────────────────────────── */
.mission {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 200px 56px;
  overflow: hidden;
}
.mission-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 56px;
}
.mission-quote {
  font-size: clamp(34px, 5vw, 78px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}
.mission-quote .hl {
  color: var(--red-soft);
  display: block;
  font-style: italic;
  font-weight: 300;
  font-family: 'Onest', serif;
  margin: 8px 0 24px;
}
.mission-tail {
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.35;
  color: rgba(255,255,255,0.8);
  max-width: 60ch;
  font-weight: 400;
}
.mission-tail u {
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  color: #fff;
}
@media (max-width: 800px) {
  .mission { padding: 100px 24px; }
}

/* ── PRODUCT ──────────────────────────────────────── */
.product {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 140px 0 100px;
  overflow: hidden;
}
.product .hero-bg__beam {
  background:
    radial-gradient(ellipse 80% 70% at 30% 70%, #4a0000 0%, #1a0101 50%, #060606 100%);
}
.product .section-head { position: relative; z-index: 2; }

.product-layout {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product-shot {
  position: relative;
}
.product-shot img {
  width: 100%;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.shot-caption {
  margin-top: 24px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.product-scenario {
  display: flex; flex-direction: column; gap: 24px;
}
.product-scenario .kicker { letter-spacing: 0.1em; }
.scenario {
  list-style: none;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.scenario li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .5s ease, transform .5s ease;
}
.scenario li.in { opacity: 1; transform: none; }
.scenario .s-num {
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  align-self: center;
}

/* spec strip */
.spec-strip {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 80px auto 0;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}
.spec-strip > div {
  background: var(--bg-dark);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.spec-strip > div.in { opacity: 1; transform: none; }
.spec-strip > div span { color: rgba(255,255,255,0.45); font-size: 11px; }
.spec-strip > div strong { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }

/* econ strip */
.econ-strip {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 60px auto 0;
  padding: 40px 56px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.econ-cell {
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.econ-cell.in { opacity: 1; transform: none; }
.econ-cell.hl .econ-num { color: var(--red); }
/* two-cell layout: centred, with breathing room instead of stretching to 4 cols */
.econ-strip--2 {
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: clamp(48px, 8vw, 120px);
}
.econ-num {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.econ-num i { font-style: normal; font-size: 0.55em; font-weight: 400; opacity: 0.7; margin-left: 4px; }
.econ-label { color: rgba(255,255,255,0.55); }

@media (max-width: 1000px) {
  .product-layout { grid-template-columns: 1fr; padding: 0 24px; gap: 56px; }
  .spec-strip, .econ-strip { padding-left: 24px; padding-right: 24px; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .econ-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ── TEAM ─────────────────────────────────────────── */
.team {
  position: relative;
  background: var(--bg-light);
  padding: 140px 0 140px;
  overflow: hidden;
}
.team-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.member {
  display: flex; flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  padding: 24px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
.member.in { opacity: 1; transform: none; }
.member:nth-child(1) { transition-delay: 0.0s; }
.member:nth-child(2) { transition-delay: 0.08s; }
.member:nth-child(3) { transition-delay: 0.16s; }
.member:nth-child(4) { transition-delay: 0.24s; }
.member:nth-child(5) { transition-delay: 0.32s; }

.member .ph {
  aspect-ratio: 1 / 1.1;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 8px),
    #f0eded;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}
.member .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.member h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.member .role {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.member .edu {
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  margin-top: 4px;
}
.member p {
  font-size: 13.5px;
  color: var(--muted-light, var(--muted));
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 100px 56px 32px;
  position: relative;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-brand { display: flex; flex-direction: column; gap: 8px; }
.brand-big {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: 0.18em;
  font-weight: 500;
}
.brand-sub { color: rgba(255,255,255,0.5); font-size: 12px; }
.foot-cols {
  display: contents;
}
.foot-cols > div {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
.foot-cols span.dim { color: rgba(255,255,255,0.4); }
.foot-cols a { transition: color .2s; }
.foot-cols a:hover { color: var(--red-soft); }
.foot-line {
  max-width: 1280px; margin: 24px auto 0;
  color: rgba(255,255,255,0.4);
  display: flex; justify-content: space-between;
}
@media (max-width: 900px) {
  .footer { padding: 60px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 48px; }
}

/* ════════════════════════════════════════════════════
   MOBILE — comprehensive overrides
   ════════════════════════════════════════════════════ */

/* —— hide scrollbars on horizontal carousels —— */
.scroll-hint {
  display: none;
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  /* ── NAV ── */
  .nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .brand { font-size: 11px; }
  .nav-cta { font-size: 13px; }

  /* ── HERO ── */
  .hero {
    padding: 0 20px 56px;
    min-height: auto;
  }
  .hero-topbar {
    padding-top: 72px;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
  }
  .hero-topbar .mono { font-size: 11px; }

  .hero-main {
    grid-template-columns: 1fr;
    padding-top: 24px;
    gap: 24px;
  }
  .hero-title h1 {
    font-size: 72px;
    line-height: 0.92;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
  }
  .hero-title h1 .thin { font-weight: 300; }
  .hero-sub {
    font-size: 16px;
    max-width: 100%;
  }
  .hero-sub br { display: none; }

  /* Product becomes inline below title */
  .hero-product {
    position: relative;
    right: auto; top: auto;
    width: calc(100% + 40px);
    max-width: none;
    margin: 16px -20px -16px;
    mask: none; -webkit-mask: none;
    opacity: 1;
    z-index: 2;
  }
  .hero-product img {
    width: 100%;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding-top: 32px;
    margin-top: 24px;
  }
  .meta-label { font-size: 10px; }
  .meta-value { font-size: 14px; }

  .hero-scroll { display: none; }

  /* ── SECTION HEADS ── */
  .section-head {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .section-head .kicker {
    min-width: 0;
    font-size: 11px;
    margin-bottom: 20px;
  }
  .section-head h2 {
    font-size: 36px;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }

  /* ── PROBLEM ── */
  .problem { padding: 80px 0 80px; }
  .problem-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
  }
  .problem-grid .big { grid-row: auto; }

  .stat-card {
    border-radius: 20px;
    padding: 28px 24px;
  }
  .stat-card.big {
    padding: 32px 24px;
    gap: 20px;
  }
  .stat-card__num .num {
    font-size: 120px;
    line-height: 0.85;
  }
  .stat-card__num.small .num { font-size: 64px; }
  .stat-card h3 { font-size: 22px; }
  .stat-card.big h3 { font-size: 26px; }
  .stat-card p { font-size: 14px; }

  .bars li {
    grid-template-columns: 1fr 48px;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    font-size: 13px;
  }
  .bars .bar-l { grid-column: 1 / 2; grid-row: 1; }
  .bars .bar-v { grid-column: 2 / 3; grid-row: 1; text-align: right; }
  .bars .bar-bar { grid-column: 1 / -1; grid-row: 2; }

  /* ── TIMELINE — horizontal snap scroll ── */
  .timeline-block {
    margin-top: 72px;
    padding: 0;
  }
  .timeline-head {
    padding: 0 20px;
    margin-bottom: 32px;
  }
  .timeline-head h3 { font-size: 30px; }
  .timeline {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    padding: 20px 20px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline::before { display: none; }
  .timeline li {
    flex: 0 0 72%;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line-light);
    border-radius: 18px;
    padding: 20px 20px 24px;
    position: relative;
  }
  .timeline .dot {
    position: static;
    width: 20px; height: 20px;
    margin-bottom: 16px;
  }
  .timeline h4 {
    margin-top: 0;
    font-size: 18px;
  }
  .timeline p { font-size: 13px; }
  .timeline li br { display: none; }

  /* ── MISSION ── */
  .mission { padding: 80px 20px; }
  .mission-inner { gap: 32px; }
  .mission-quote {
    font-size: 32px;
    line-height: 1.1;
  }
  .mission-quote br { display: none; }
  .mission-tail {
    font-size: 17px;
  }
  .mission-tail br { display: none; }

  /* ── PRODUCT ── */
  .product { padding: 80px 0 72px; }
  .product-layout {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 40px;
  }
  .shot-caption { font-size: 11px; margin-top: 16px; }
  .scenario li {
    font-size: 16px;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 16px 4px;
  }
  .scenario .s-num { font-size: 11px; }

  .spec-strip {
    margin-top: 56px;
    padding-left: 20px; padding-right: 20px;
    grid-template-columns: 1fr 1fr;
  }
  .spec-strip > div {
    padding: 18px 16px;
  }
  .spec-strip > div strong { font-size: 15px; }

  .econ-strip {
    margin-top: 40px;
    padding: 32px 20px 0;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .econ-num { font-size: 36px; }
  .econ-label { font-size: 10px; }

  /* ── TEAM — horizontal snap scroll ── */
  .team { padding: 80px 0 80px; }
  .team-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    padding: 0 20px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .member {
    flex: 0 0 75%;
    scroll-snap-align: start;
    padding: 20px;
    border-radius: 20px;
  }
  .member .ph { aspect-ratio: 1 / 1.05; }
  .member h4 { font-size: 19px; }
  .member .role { font-size: 14px; }
  .member p { font-size: 13px; }

  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
  }
  .scroll-hint .hint-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--line-light), transparent);
  }

  /* ── FOOTER ── */
  .footer { padding: 56px 20px 24px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .brand-big { font-size: 26px; }
  .foot-line {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    font-size: 11px;
  }
}

/* phones 380 and under: a touch tighter */
@media (max-width: 380px) {
  .hero-title h1 { font-size: 60px; }
  .stat-card__num .num { font-size: 96px; }
  .section-head h2 { font-size: 30px; }
  .mission-quote { font-size: 28px; }
  .member { flex-basis: 82%; }
  .timeline li { flex-basis: 78%; }
}

/* ─────────────────────────────────────────────────────
   TELEGRAM CHANNEL — subtle in-footer inline + popup modal
   ──────────────────────────────────────────────────── */

body.no-scroll { overflow: hidden; }

/* ── Footer: subtle channel row inside "Связь" ──────── */
.foot-contact { display: flex; flex-direction: column; gap: 8px; }
.foot-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
}
.foot-channel__link {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  transition: color .2s;
}
.foot-channel__link:hover { color: var(--red-soft); }
.foot-channel__sub {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.foot-channel__qr {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  padding: 4px;
  border-radius: 8px;
  background: var(--bg-light);
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.foot-channel__qr img {
  width: 100%; height: 100%;
  display: block;
}
.foot-channel__qr:hover {
  border-color: rgba(210,0,0,0.55);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(210,0,0,0.55);
}
.foot-channel__qr:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ── Modal — minimal, reliable display:none/flex toggle ── */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qr-modal.is-open {
  display: flex;
  animation: qrFadeIn .3s ease forwards;
}
@keyframes qrFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(210,0,0,0.28) 0%, rgba(6,6,6,0.85) 55%, rgba(6,6,6,0.96) 100%),
    rgba(6,6,6,0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.qr-modal__card {
  position: relative;
  width: min(420px, 100%);
  padding: 36px 28px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, #141012 0%, #0a0707 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 50px 100px -36px rgba(210,0,0,0.45),
    0 30px 60px -30px rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  animation: qrCardIn .45s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes qrCardIn {
  from { transform: translateY(14px) scale(.985); }
  to   { transform: translateY(0) scale(1); }
}

/* subtle red corner accents */
.qr-modal__card::before,
.qr-modal__card::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--red);
  opacity: 0.55;
  pointer-events: none;
}
.qr-modal__card::before {
  top: 14px; left: 14px;
  border-right: none; border-bottom: none;
  border-top-left-radius: 8px;
}
.qr-modal__card::after {
  bottom: 14px; right: 14px;
  border-left: none; border-top: none;
  border-bottom-right-radius: 8px;
}

.qr-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.78);
  cursor: pointer;
  transition: background .2s, color .2s, transform .25s, border-color .2s;
}
.qr-modal__close:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: rotate(90deg);
}
.qr-modal__close:focus-visible {
  outline: 2px solid var(--red-soft);
  outline-offset: 2px;
}

.qr-modal__kicker {
  display: inline-block;
  color: var(--red-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border: 1px solid rgba(210,0,0,0.45);
  border-radius: 999px;
  margin-bottom: 16px;
}

.qr-modal__title {
  font-family: 'Onest', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 22px;
  color: #fff;
}
.qr-modal__title-hl {
  color: var(--red-soft);
}

.qr-modal__qr {
  margin: 0 auto 20px;
  width: 260px;
  max-width: 100%;
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 18px;
  background: var(--bg-light);
}
.qr-modal__qr img { width: 100%; height: 100%; display: block; }

.qr-modal__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background .2s, transform .2s;
}
.qr-modal__link:hover {
  background: #ec0e0e;
  transform: translateY(-1px);
}
.qr-modal__arrow { transition: transform .25s; }
.qr-modal__link:hover .qr-modal__arrow { transform: translateX(4px); }

.qr-modal__hint {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 0.06em;
}

@media (max-width: 760px) {
  .qr-modal__card { padding: 30px 22px 22px; }
  .qr-modal__title { font-size: 18px; margin-bottom: 18px; }
  .qr-modal__qr { width: 220px; padding: 12px; }
}

@media (max-width: 380px) {
  .qr-modal__qr { width: 200px; }
}

