/* =============================================================
   LOOKAHAD
   ============================================================= */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
}
body { overflow-x: hidden; }

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

/* contexts */
.dark  { background: var(--ink); color: var(--paper); --fg: var(--paper); --fg-muted: #B8B8B4; --border: var(--ink-3); }
.light { background: var(--paper); color: var(--ink); --fg: var(--ink); --fg-muted: var(--grey-500); --border: var(--paper-3); }

/* universal frame chrome (mirrors slide chrome) */
.frame {
  position: relative;
  padding: 64px 56px;
}
@media (max-width: 720px) { .frame { padding: 40px 24px; } }

.hero, .vision, .power, .problem, .solution, .how, .warp, .cta { position: relative; }
.frame-tl, .frame-tr, .frame-bl, .frame-br {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-400);
  z-index: 5;
}
.frame-tl { top: 32px; left: 56px; display: flex; align-items: center; gap: 12px; }
.frame-tr { top: 32px; right: 56px; text-align: right; line-height: 1.5; }
.frame-bl { bottom: 24px; left: 56px; }
.frame-br { bottom: 24px; right: 56px; text-align: right; line-height: 1.5; }
.frame-tl img { height: 22px; width: auto; }
.frame-tl .word { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--paper); }
.light .frame-tl .word { color: var(--ink); }
.light .frame-tl, .light .frame-tr, .light .frame-bl, .light .frame-br { color: var(--grey-500); }
@media (max-width: 720px) {
  .frame-tl { top: 16px; left: 24px; } .frame-tr { top: 16px; right: 24px; }
  .frame-bl { bottom: 12px; left: 24px; } .frame-br { bottom: 12px; right: 24px; }
}

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,11,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 200ms var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 48px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; border: 0; }
.nav-logo img { height: 18px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  border: 0;
  opacity: 0.7;
  transition: opacity 200ms var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--brand-red);
  padding: 9px 16px;
  border-radius: var(--radius);
  border: 0 !important;
  opacity: 1 !important;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--brand-red-hover); }
@media (max-width: 720px) {
  .nav-inner { padding: 0 24px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* =================== HERO (slide 1 — warp-drive) =================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/bg-warpdrive.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,11,0.4) 50%, var(--ink) 95%);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,11,0.5) 0%, transparent 30%, transparent 70%, rgba(10,10,11,0.95) 100%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1280px;
  padding: 0;
}

.hero-mark {
  width: 142px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 32px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(239,59,43,0.28), 0 0 0 2px rgba(255,255,255,0.10);
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  padding: 8px;
}
.hero-mark img {
  width: 100%;
  display: block;
}
.hero-mark::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(239,59,43,0.4);
  border-radius: 50%;
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.1); opacity: 0.2; }
}

.hero-wordmark {
  font-family: 'Exo 2', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 800;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin: 0;
  text-transform: uppercase;
}

.hero-wordblock {
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-align: left;
}

.hero-tagline {
  font-family: 'Exo 2', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.7vw, 24px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-red);
  padding: 0.18em 0.55em 0.22em;
  margin: 18px 0 0;
  display: inline-block;
  border-radius: 2px;
  line-height: 1.1;
}

@media (max-width: 570px) {
  .hero-mark {
    width: 110px;
    padding: 4px;
  }
  .hero-wordmark {
    font-size: clamp(52px, 13vw, 220px);
    line-height: 0.8;
  }
  .hero-tagline {
    font-size: clamp(14px, 3.2vw, 16px);
    letter-spacing: 0.1em;
  }
}

/* fly-by stars — anchored to the logo mark, spiral outward clockwise */
.starfield {
  position: absolute;
  /* center on the .hero-mark — which sits above the wordmark in .hero-stage */
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.star-orbit {
  position: absolute;
  /* logo center, set as CSS vars by JS (ResizeObserver) */
  left: var(--star-cx, 50%);
  top: var(--star-cy, 50%);
  width: 0; height: 0;
  transform: rotate(var(--start));
  animation: orbit-spiral linear infinite;
  transform-origin: 0 0;
}
.star-orbit .star-dot {
  position: absolute;
  display: block;
  background: rgba(220, 220, 215, 0.85);
  border-radius: 50%;
  left: var(--r-start);
  top: 0;
  box-shadow: 0 0 2px rgba(220,220,215,0.35);
  /* outward motion accelerates → hyperspace feel; --dur set per-star inline */
  animation:
    orbit-out var(--dur, 7s) cubic-bezier(0.55, 0, 0.85, 0.4) infinite,
    star-twinkle 3s ease-in-out infinite;
  animation-delay: var(--delay, 0s), 0s;
}
@keyframes orbit-spiral {
  from { transform: rotate(var(--start)); }
  to   { transform: rotate(calc(var(--start) + var(--sweep, 90deg))); }
}
@keyframes orbit-out {
  0%   { left: var(--r-start); width: var(--dot-size, 2px); opacity: 0; }
  6%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: var(--r-end);   width: calc(var(--dot-size, 2px) * 2.4); opacity: 0; }
}
@keyframes star-twinkle {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.7; }
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bob 2.6s ease-in-out infinite;
}
.hero-scroll .line { width: 1px; height: 24px; background: var(--brand-red); }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* =================== VISION (slide 2) =================== */
.vision {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
}
.vision-stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 56px 120px;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  margin: 0 0 48px;
}
.vision-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  position: relative;
  padding-left: 56px;
  max-width: 22ch;
}
.vision-quote .qmark {
  position: absolute;
  left: 0; top: -12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 96px;
  color: var(--ink);
  line-height: 1;
}
.vision-quote .accent {
  background: var(--brand-red);
  color: #fff;
  padding: 0.04em 0.22em 0.08em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-family: 'Exo 2', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .vision-quote { padding-left: 36px; }
  .vision-quote .qmark { font-size: 64px; }
}

@media (max-width: 470px) {
  .vision-quote {
    padding: 24px;
    max-width: none;
  }
  .vision-quote .qmark {
    position: static;
    display: block;
    font-size: 56px;
    margin-bottom: 4px;
  }
  .vision-quote .accent {
    display: inline-block;
  }
  .vision-quote .accent::after {
    content: "\A";
    white-space: pre;
  }
}

/* =================== POWER STATEMENT (slide 3 — long manifesto) =================== */
.power {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.power::before {
  content: "";
  position: absolute;
  right: -200px; top: 50%;
  width: 1100px; height: 1100px;
  transform: translateY(-50%);
  background-image: url("assets/decoration-tech-circle.png");
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(1);
  opacity: 0.08;
  animation: tech-rotate 240s linear infinite;
  transform-origin: center;
}
@keyframes tech-rotate {
  0%   { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}
.power-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 130px 56px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.power-statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--paper);
  margin: 0;
  text-wrap: balance;
}
.power-statement em { color: var(--brand-red); font-style: normal; font-weight: 700; }
.power-statement b { color: var(--paper); font-weight: 700; }

.power-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.power-pill {
  border: 1px solid var(--ink-3);
  background: rgba(255,255,255,0.02);
  padding: 24px;
  border-radius: var(--radius);
  transition: all 200ms var(--ease);
}
.power-pill:hover {
  border-color: var(--brand-red);
  background: rgba(239,59,43,0.06);
  transform: translateY(-2px);
}
.power-pill .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-red);
  margin-bottom: 16px;
}
.power-pill h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.power-pill p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-400);
}
@media (max-width: 900px) {
  .power-stage { grid-template-columns: 1fr; gap: 48px; }
  .power-pills { grid-template-columns: 1fr; }
  .power-pill .num { font-size: 38px; }
}

/* =================== PROBLEM (slide 4) =================== */
.problem {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink-3);
}
.problem-bg {
  position: absolute;
  right: -10%; top: 50%;
  transform: translateY(-50%);
  width: 60%;
  opacity: 0.12;
  z-index: 0;
}
.problem-bg svg, .problem-bg img { width: 100%; height: auto; }
.problem-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
}
.problem-head { max-width: 1100px; }
.problem-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--brand-red);
  margin: 0 0 32px;
}
.problem-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0;
}
.problem-h-strike {
  position: relative;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  font-weight: 600;
}
.problem-h-strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 56%;
  height: 5px;
  background: var(--brand-red);
  transform: rotate(-2deg);
}
.problem-h-red { color: var(--brand-red); }
.problem-lede {
  font-family: var(--font-body-dense), 'Fira Sans', sans-serif;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 720px;
  margin: 32px 0 0;
}
.problem-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.problem-card {
  background: var(--ink);
  padding: 36px 28px 32px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  position: relative;
  transition: background 200ms ease;
}
.problem-card:hover { background: #14141a; }
.problem-card--span { grid-column: span 4; }
.problem-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  color: var(--brand-red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.problem-card-tag {
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.problem-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
  text-wrap: pretty;
}
.problem-card--span h4 {
  font-size: clamp(22px, 1.8vw, 28px);
  max-width: 720px;
}

@media (max-width: 720px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card--span { grid-column: span 2; }
}
@media (max-width: 600px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card--span { grid-column: span 1; }
}

/* =================== SOLUTION (slide 5) =================== */
.solution {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
}
.solution-stage {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.solution-stage > .benefit-grid { grid-column: 1; grid-row: 1; }
.solution-stage > div:not(.benefit-grid) { grid-column: 2; grid-row: 1; }
.solution-stage .eyebrow { color: var(--brand-red); }
.solution h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 32px;
  text-wrap: balance;
}
.solution h2 .red { color: var(--brand-red); }
.solution p.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--grey-600);
  margin: 0 0 32px;
  max-width: 50ch;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--paper-3);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 1260px) {
  .benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
.benefit {
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 200ms var(--ease);
}
.benefit:hover { background: var(--paper-2); }
.benefit .top {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.benefit .top .plus { color: var(--brand-red); font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.benefit h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.benefit p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-600);
  margin: 0;
}
@media (max-width: 900px) {
  .solution-stage { grid-template-columns: 1fr; gap: 48px; }
  .solution-stage > .benefit-grid { grid-column: 1; grid-row: 2; }
  .solution-stage > div:not(.benefit-grid) { grid-column: 1; grid-row: 1; }
}

@media (max-width: 500px) {
  .pillar-art { border: none; padding: 0; }
  .vision-stage { padding: 120px 40px 120px; }
  .power-stage { padding: 130px 40px 100px; }
  .solution-stage { padding: 100px 32px; }
}

/* =================== HOW IT WORKS (slide 6 — the diagram) =================== */
.how {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  border-top: 1px solid var(--paper-3);
}
.how-stage {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 56px 140px;
}
.how-header {
  max-width: 880px;
  margin-bottom: 80px;
}
.how-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 14px 0 28px;
  color: var(--ink);
}
.how-title .red { color: var(--brand-red); }
.how-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--grey-600);
  max-width: 64ch;
  text-wrap: pretty;
  margin: 0;
}

/* ===== DIAGRAM STYLE — three-group composition (Industry / Cloud / Core) ===== */
.hd2-stage {
  --hd-blue: #7BA7CC;
  --hd-green: #A5C28C;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
  font-family: var(--font-display);
  color: var(--ink);
}

/* group container */
.hd2-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hd2-group--industry { order: 1; justify-self: start; width: 95%; }
.hd2-group--cloud    { order: 2; justify-self: center; width: 95%; }
.hd2-group--core     { order: 3; justify-self: end; width: 95%; }


/* =================== Group 1 — Industries =================== */
.hd2-cap-top,
.hd2-cap-bottom {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  text-align: center;
  max-width: 30ch;
}
.hd2-cap-top    { margin-bottom: 18px; color: var(--grey-600); }
.hd2-cap-bottom { margin-top: 14px; color: var(--grey-600); }

.hd2-box {
  position: relative;
  width: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
}
.hd2-box--paper {
  background: var(--paper-2, #F2F2EE);
  border: 1px solid var(--paper-3, #E5E5DF);
  min-height: 220px;
  flex-direction: column;
  gap: 16px;
  padding: 22px 22px 24px;
}
.hd2-box--paper .hd2-cap-top {
  margin: 0;
  max-width: 100%;
}
.hd2-icons-inner {
  background: #fff;
  border-radius: 6px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hd2-icons {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 14px 24px;
  align-items: center;
  justify-items: center;
  color: var(--ink);
}
.hd2-icon { display: block; height: auto; }
.hd2-icon--factory  { width: 64px; grid-column: 1; grid-row: 1; }
.hd2-icon--helix    { width: 30px; height: auto; grid-column: 2; grid-row: 1; align-self: center; justify-self: center; }
.hd2-icon--branches { width: 96px; grid-column: 1 / 3; grid-row: 2; justify-self: center; }

/* arch (downward arrow shape pointing to caption below) */
.hd2-arch {
  width: 92px;
  height: 22px;
  margin-top: -1px;
  display: block;
}
.hd2-arch svg { width: 100%; height: 100%; display: block; }
.hd2-arch--paper svg path { fill: var(--paper-2, #F2F2EE); }

/* =================== Group 2 — LOOKAHAD core box =================== */
.hd2-box--core {
  background: #0B0B0E;
  border: 2px solid var(--brand-red);
  border-radius: 10px;
  padding: 28px 24px 32px;
  min-height: 280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.hd2-core-head {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.hd2-core-head img { width: 28px; height: 28px; flex-shrink: 0; }
.hd2-core-head span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #fff;
}
.hd2-core-desc,
.hd2-core-meta {
  margin: 0;
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
}
.hd2-core-meta { font-weight: 600; }

.hd2-arch--core {
  width: 92px;
  height: 22px;
  margin-top: -2px;
}
.hd2-arch--core svg path { fill: var(--brand-red); }

.hd2-benefits {
  list-style: none;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-red);
  align-self: stretch;
  align-items: flex-start;
  padding: 0 0 0 30%;
}
.hd2-benefits li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.hd2-benefits li span { color: var(--brand-red); font-weight: 800; }

/* =================== Group 3 — Cloud Service (tunnel) =================== */
.hd2-cloud-stage {
  position: relative;
  width: 95%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* tunnel background — slow rotation + faint pulse */
.hd2-tunnel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  animation: hd2TunnelRot 80s linear infinite, hd2TunnelPulse 6s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.06));
}
@keyframes hd2TunnelRot {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(360deg) scale(1); }
}
@keyframes hd2TunnelPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 0.95; }
}

/* =================== ANIMATION PAUSE / REDUCE-MOTION =================== */
/* Utility: pause every animation under a section that's offscreen */
.anim-paused,
.anim-paused *,
.anim-paused *::before,
.anim-paused *::after {
  animation-play-state: paused !important;
}

/* Reduced-motion: disable aggressive loops, keep subtle ambient star drift */
@media (prefers-reduced-motion: reduce) {
  .hd2-tunnel,
  .hero-mark::before,
  .hero-scroll,
  .power::before,
  .warp-bg {
    animation: none !important;
  }
}

/* arrows — sit above & below the centered badge */
.hd2-arrow {
  position: absolute;
  height: 64px;
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.hd2-arrow svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hd2-arrow--forward svg path { fill-opacity: 0.65; }
.hd2-arrow--return svg path  { fill-opacity: 0.65; }
.hd2-arrow span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.hd2-arrow--forward {
  top: calc(50% - 110px);
  left: -20px;
}
.hd2-arrow--return {
  top: calc(50% + 55px);
  right: -20px;
}

/* centered badge — LOOKAHAD logo + CLOUD SERVICE tag (asymmetric) */
.hd2-badge {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
}
.hd2-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.hd2-badge-row img { height: 36px; width: auto; display: block; }
.hd2-badge-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.hd2-badge-tag {
  background: var(--brand-red);
  color: #fff;
  font-family: 'Exo 2', var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 4px;
  margin-top: 4px;
  margin-right: -25px;
  align-self: end;
  text-align: center;
  width: 70%;
}

/* === Responsive === */
/* on standard wide: G1 left, G3 center, G2 right (already default order) */

/* narrow: re-layout per spec — G1 top-left, G3 bottom-right, G2 centered */
@media (max-width: 900px) {
  .hd2-stage {
    grid-template-columns: 1fr;
    gap: 32px 24px;
    padding: 32px 16px;
  }
  .hd2-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    grid-row: 0;
    grid-column: 1;
    max-width: 400px;
    width: 80%;
  }
  .hd2-group--industry {
    justify-self: center;
  }
  .hd2-cloud-stage {
    max-width: 380px;
    margin: 10px 0 20px;
  }
  .hd2-group--cloud {
    justify-self: center;
    width: 100%;
  }
  .hd2-group--core {
    justify-self: center;
  }
  .hd2-cap-bottom {
    display: none;
  }
  .hd2-cap-top, .hd2-cap-bottom { font-size: 13.5px; }
  .hd2-arrow span { font-size: 13px; }
}
@media (max-width: 570px) {
  .hd2-cloud-stage {
    max-width: 320px;
    margin: 10px 0 20px;
  }
}


@media (max-width: 720px) {
  .how-stage { padding: 80px 32px 100px; }
  .how-header { margin-bottom: 56px; }
}

/* =================== PROOF / NUMBERS =================== */
.proof {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  border-top: 1px solid var(--ink-3);
}
.proof-stage {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 56px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
}
.proof-cell {
  padding: 40px 24px;
  border-right: 1px solid var(--ink-3);
}
.proof-cell:last-child { border-right: 0; }
.proof-cell .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.proof-cell .num .unit { color: var(--brand-red); font-weight: 700; }
.proof-cell .label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-400);
}
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-cell:nth-child(2) { border-right: 0; }
  .proof-cell:nth-child(1), .proof-cell:nth-child(2) { border-bottom: 1px solid var(--ink-3); }
}

/* =================== WARP-DRIVE (slide 7 — conviction) =================== */
.warp {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.warp-bg {
  position: absolute; inset: 0;
  background-image: url("assets/decoration-tech-circle.png");
  background-size: 120% auto;
  background-position: 70% center;
  background-repeat: no-repeat;
  filter: invert(1);
  opacity: 0.18;
  animation: tech-rotate 300s linear infinite;
  transform-origin: 70% 50%;
}
.warp-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 56px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.warp-mark {
  width: 240px; height: 240px;
  background: var(--paper);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 80px rgba(239,59,43,0.3);
}
.warp-mark img { width: 60%; }
.warp-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 9vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--paper);
}
.warp-text h2 .red { color: var(--brand-red); }
.warp-text p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--grey-300);
  margin: 24px 0 0;
  max-width: 32ch;
}
@media (max-width: 900px) {
  .warp-stage { grid-template-columns: 1fr; gap: 32px; }
  .warp-mark { width: 160px; height: 160px; }
}

/* =================== CTA / CONTACT =================== */
.cta {
  background: var(--paper);
  color: var(--ink);
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.cta-stage {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 5.4vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.cta h2 .red { color: var(--brand-red); }
.cta p.lede {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.5;
  color: var(--grey-600);
  margin: 0 0 32px;
}

.cta-form {
  background: #fff;
  border-radius: 14px;
  padding: 40px 48px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid rgba(11,11,14,0.08);
  box-shadow: 0 2px 6px rgba(11,11,14,0.04);
  width: 100%;
}
.cta-form label {
  text-align: left;
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(11,11,14,0.55);
}
.cta-form input,
.cta-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(11,11,14,0.18);
  border-radius: 0;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  text-align: left;
  outline: 0;
  transition: border-color 200ms var(--ease);
  resize: none;
}
.cta-form input:focus,
.cta-form textarea:focus { border-bottom-color: var(--brand-red); }
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(11,11,14,0.35); }
.cta-form-rule { display: none; }
.cta-form-meta {
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11,11,14,0.55);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.cta-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-form .field { display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: left; }

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 200ms var(--ease);
  text-decoration: none !important;
  border-bottom: 0 !important;
  margin-top: 16px;
}
.btn-primary { background: var(--brand-red); color: #fff !important; border-color: var(--brand-red); }
.btn-primary:hover { background: var(--brand-red-hover); }
.btn-primary:active { background: var(--brand-red-press); transform: translateY(1px); }
.btn .arrow { transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.cta-success {
  background: var(--ink);
  color: var(--paper);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--brand-red);
}
.cta-success .h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--paper);
}
.cta-success p { color: var(--grey-300); margin: 0; }

@media (max-width: 900px) {
  .cta-stage { grid-template-columns: 1fr; gap: 40px; padding: 96px 32px; }
  .cta-form .row { grid-template-columns: 1fr; }
}

/* =================== FOOTER =================== */
.footer {
  background: var(--ink);
  color: var(--grey-400);
  padding: 72px 56px 32px;
  border-top: 1px solid var(--ink-3);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-3);
}
.footer-brand img { height: 33px; margin-bottom: 10px; display: block; }
.footer-stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-top: 0;
  display: inline-block;
}
.footer-brand p {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.5;
  max-width: 36ch;
}
.footer-col h6 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-red);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--paper);
  font-size: 14px;
  font-family: var(--font-body);
  border: 0;
  opacity: 0.8;
  transition: opacity 200ms var(--ease);
}
.footer-col a:hover { opacity: 1; color: var(--brand-red); }
.footer-col h6.footer-col-h6-stack { margin-top: 32px; }
.footer-tagline { color: var(--brand-red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
}
@media (max-width: 900px) {
  .footer { padding: 48px 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* =================== UTIL =================== */
.red-text { color: var(--brand-red); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* =================== ARCHITECTURE / PILLARS =================== */
.arch {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  border-top: 1px solid var(--paper-3);
}
.arch-stage {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 56px 0px;
}
.arch-header {
  max-width: 880px;
  margin-bottom: 96px;
}
.arch-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 28px;
}
.arch-title .red {
  color: var(--brand-red);
}
.arch-lede {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--grey-600);
  max-width: 64ch;
  text-wrap: pretty;
  margin: 0;
}

.pillar {
  display: grid;
  grid-template-columns: 120px 1fr 360px;
  gap: 48px;
  padding: 72px 0;
  align-items: start;
}
.pillar--alt .pillar-art {
  order: -1;
}
.pillar--alt {
  grid-template-columns: 444px 1fr 60px;
  column-gap: 100px;
}
.pillar--alt .pillar-meta {
  order: 1;
  text-align: right;
}

.pillar-meta {
  position: sticky;
  top: 96px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand-red);
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--brand-red);
  margin-bottom: 14px;
}
.pillar-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.pillar-body {
  max-width: 60ch;
}
.pillar-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.pillar-head em {
  font-style: italic;
  color: var(--brand-red);
  font-weight: 700;
}
.pillar-deck {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 28px;
  padding-left: 14px;
  border-left: 2px solid var(--brand-red);
}
.pillar-body p {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--grey-700);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.pillar-body p b {
  color: var(--ink);
  font-weight: 600;
}
.pillar-stamp {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-red);
  display: inline-block;
  padding-right: 32px;
}

@media (max-width: 720px) {
  .pillar-stamp {
    padding-right: 0;
    display: block;
    text-align: center;
  }
}

.pillar-art {
  background: #FAFAF7;
  border: none;
  padding: 0;
  position: sticky;
  top: 96px;
}
.pillar-art .diagram,
.pillar-art .dgm {
  width: 100%;
  display: block;
}

/* ============================================================
   PILLAR DIAGRAMS — HTML/CSS, designed (no console-font feel)
   ============================================================ */
.dgm {
  --dgm-ink: #0B0B0E;
  --dgm-red: #EF3B2B;
  --dgm-paper: #FAFAF7;
  --dgm-rule: rgba(11,11,14,0.12);
  --dgm-muted: rgba(11,11,14,0.62);
  position: relative;
  background:
    linear-gradient(rgba(11,11,14,0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(11,11,14,0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--dgm-paper);
  border: 1px solid var(--paper-3);
  border-radius: 14px;
  padding: 28px 26px 22px;
  font-family: 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--dgm-ink);
  font-size: 13px;
  line-height: 1.45;
}
.dgm-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.4px solid var(--dgm-ink);
  pointer-events: none;
}
.dgm-c-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.dgm-c-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.dgm-c-bl { bottom: 30px; left: 8px; border-right: none; border-top: none; }
.dgm-c-br { bottom: 30px; right: 8px; border-left: none; border-top: none; }
.dgm-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dgm-axis-bar {
  position: relative;
  margin-top: 14px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-family: 'Fira Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11,11,14,0.45);
  border-top: 1px solid var(--dgm-rule);
}

/* shared list */
.dgm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--dgm-muted);
}
.dgm-list li {
  position: relative;
  padding-left: 14px;
}
.dgm-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(11,11,14,0.4);
}
.dgm-list-plus li::before { content: "+"; color: var(--dgm-red); font-weight: 700; }
.dgm-list-strike li { text-decoration: line-through; text-decoration-color: rgba(11,11,14,0.55); color: rgba(11,11,14,0.45); }
.dgm-list-light { color: rgba(255,255,255,0.7); }
.dgm-list-light li::before { color: rgba(255,255,255,0.6); }
.dgm-list-red { color: var(--dgm-red); }
.dgm-list-red li::before { color: var(--dgm-red); }

/* section heads */
.dgm-section-head {
  font-family: var(--font-display, 'Helvetica Neue'), sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--dgm-ink);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dgm-rule);
}

/* Pillar 01 (data separation) — match the wider diagram↔text gap of pillar 03 */
.architecture .pillar.pillar--alt:first-of-type {
}
.dgm-cols {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 6px;
  align-items: stretch;
}
.dgm-col {
  border: 1.2px solid var(--dgm-ink);
  border-radius: 10px;
  background: rgba(255,255,255,0.5);
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dgm-col-back { border-color: var(--dgm-red); background: rgba(255,255,255,0.5); }
.dgm-col-head {
  font-family: 'Fira Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dgm-ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dgm-rule);
}
.dgm-col-head-red { color: var(--dgm-red); border-bottom-color: rgba(239,59,43,0.4); }
.dgm-col-head-light { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }

.dgm-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dgm-chip {
  font-family: var(--font-display, 'Helvetica Neue'), sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 7px 10px;
  border: 1px solid var(--dgm-ink);
  border-radius: 6px;
  background: #fff;
  color: var(--dgm-ink);
}
.dgm-chip-dark {
  background: var(--dgm-ink);
  color: #fff;
  border-color: var(--dgm-ink);
}

.dgm-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(11,11,14,0.55);
}
.dgm-meta .dgm-dots {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(11,11,14,0.25) 0 2px, transparent 2px 5px);
}
.dgm-foot-line {
  font-family: 'Fira Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dgm-ink);
  margin-top: auto;
  padding-top: 6px;
}

.dgm-core-tag {
  background: var(--dgm-red);
  color: #fff;
  font-family: var(--font-display, 'Helvetica Neue'), sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 10px;
  border-radius: 6px;
}

.dgm-mid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 14px 0;
}
.dgm-arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dgm-ink);
}
.dgm-arrow svg { flex: 1; height: 8px; }
.dgm-arrow-out { justify-content: flex-end; }
.dgm-arrow-out span { order: -1; }
.dgm-arrow-in { justify-content: flex-start; }

.dgm-caption {
  text-align: center;
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dgm-muted);
  padding-top: 4px;
}
.dgm-red { color: var(--dgm-red) !important; }

/* DGM.02 — hourly rental */
.dgm-day {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
  margin-top: 4px;
}
.dgm-slot {
  height: 30px;
  border: 1px solid var(--dgm-ink);
  border-radius: 3px;
  background: transparent;
}
.dgm-slot.is-booked {
  background: var(--dgm-red);
  border-color: var(--dgm-red);
  position: relative;
}
.dgm-slot.is-booked::after {
  content: "";
  position: absolute;
  left: 3px; right: 3px;
  top: 4px;
  height: 1px;
  background: rgba(255,255,255,0.55);
}
.dgm-day-axis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(11,11,14,0.55);
  letter-spacing: 0.04em;
}
.dgm-day-axis span { text-align: left; }
.dgm-day-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dgm-ink);
}

.dgm-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}
.dgm-compare-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--dgm-rule);
}
.dgm-compare-col-red { border-top-color: var(--dgm-red); }
.dgm-compare-head {
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dgm-spark {
  width: 100%;
  height: 30px;
  margin-top: 6px;
}
.dgm-tag-line {
  font-family: var(--font-display, 'Helvetica Neue'), sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* DGM.03 — minute zero */
.dgm-cols-zero {
  grid-template-columns: 1fr 64px 1fr;
}
.dgm-zero-card {
  border-radius: 10px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dgm-zero-card-dark {
  background: var(--dgm-ink);
  color: #fff;
}
.dgm-zero-card-dashed {
  border: 1.2px dashed var(--dgm-red);
  background: rgba(255,255,255,0.4);
}
.dgm-skip {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dgm-skip-head {
  font-family: 'Fira Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dgm-ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--dgm-rule);
}
.dgm-skip-rule {
  height: 1px;
  background: rgba(239,59,43,0.4);
  margin: 4px 0 2px;
}

@media (max-width: 1100px) {
  .pillar,
  .pillar--alt {
    grid-template-columns: 80px 1fr;
    gap: 32px;
  }
  .pillar--alt .pillar-meta { order: 0; text-align: left; }
  .pillar--alt .pillar-art,
  .pillar .pillar-art {
    grid-column: 1 / -1;
    order: 99;
    position: static;
    margin-top: 24px;
  }
  .pillar-meta { position: static; }
}
@media (max-width: 720px) {
  .arch-stage { padding: 80px 32px 0px; }
  .arch-header { margin-bottom: 56px; }
  .pillar,
  .pillar--alt {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
  }
}

/* ============================================================
   ULTRA-NARROW (≤ 470px)
   ============================================================ */
@media (max-width: 470px) {
  .hero-stage,
  .vision-stage,
  .power-stage,
  .problem-stage,
  .solution-stage,
  .how-stage,
  .arch-stage,
  .cta-stage {
    padding-left: 8px;
    padding-right: 8px;
  }

  .solution-stage > div:not(.benefit-grid) { padding: 0 8px; }
  .power-statement { padding: 0 8px; }
  .how-header { padding: 0 8px; }
  .arch-header { padding: 0 8px; }
  .pillar-meta { padding: 0 8px; }
  .pillar-body { padding: 0 8px; }
  .cta-body { padding: 0 8px; }

  .eyebrow { padding: 0 8px; }

  .benefit-grid { grid-template-columns: 1fr; }

  .pillar-art {
    background: #FAFAF7;
    border: none;
    padding: 0;
  }

  /* H2 — section titles */
  .solution h2,
  .cta h2,
  .warp-text h2,
  .how-title,
  .arch-title,
  .problem-h {
    font-size: clamp(40px, 11vw, 56px);
  }

  /* H3 — pillar heads */
  .pillar-head {
    font-size: clamp(26px, 7.4vw, 34px);
  }

  /* Pillar internals — shrink to fit narrow viewport */
  .pillar-body { max-width: 100%; }
  .pillar-body p { font-size: 15px; }
  .pillar-deck { font-size: 16px; padding-left: 12px; }

  /* Diagram — compact for ≤470 */
  .dgm { padding: 18px 14px 16px; font-size: 12px; }
  .dgm-cols,
  .dgm-cols-zero { grid-template-columns: 1fr 36px 1fr; gap: 8px; }
  .dgm-col { padding: 14px 10px; }
  .dgm-chip { font-size: 11px; padding: 6px 8px; }
  .dgm-list { font-size: 11px; }
  .dgm-mid { font-size: 10px; }
  .dgm-foot-line,
  .dgm-caption,
  .dgm-section-head { font-size: 10px; }
  .dgm-core-tag { font-size: 11px; padding: 8px 6px; }

  .cta-form { padding: 32px 28px; }

  .footer { padding: 32px 8px 16px; }
}
