/* =================================================================
   TERRYNN — Digital Twin for Property Insurance & Resilience
   Light-luxury design system. Warm ivory + metallic gold.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:        #F7F4EC;
  --bg-1:      #F1ECE0;
  --bg-2:      #EBE5D6;
  --surface:   #FDFBF6;
  --surface-2: #F6F2E8;

  --text:      #1A1B1E;
  --text-soft: #3C3D41;
  --muted:     #6E6A60;
  --faint:     #A39D8E;

  --line:      rgba(46, 38, 14, 0.13);
  --line-2:    rgba(46, 38, 14, 0.07);

  /* Metallic gold — deepened for legibility on light */
  --gold-1:    #A9781F;
  --gold-2:    #9A6B1A;
  --gold-3:    #7E5613;
  --gold:      #A9781F;
  /* rich gradient for text & accents on light backgrounds */
  --gold-grad: linear-gradient(120deg, #C49A38 0%, #A9781F 52%, #845B14 100%);
  /* brighter metallic gradient for filled buttons / bullets */
  --gold-fill: linear-gradient(135deg, #EBCB7C 0%, #CFA040 46%, #AE7C24 100%);

  --shadow-sm:   0 2px 10px rgba(72, 58, 22, 0.06);
  --shadow:      0 16px 44px -16px rgba(78, 62, 24, 0.22);
  --shadow-gold: 0 14px 40px -12px rgba(180, 134, 47, 0.45);

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Sora', 'Inter', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: rgba(201, 154, 59, 0.26); color: #1A1B1E; }

/* Subtle warm depth gradient over whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201, 154, 59, 0.10), transparent 60%),
    radial-gradient(100% 60% at 100% 110%, rgba(150, 132, 90, 0.07), transparent 60%);
}

main, .footer, .nav { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2.6rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
}
.section__head--center .eyebrow { padding-left: 0; }
.section__head--center .eyebrow::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }

h2 {
  font-size: clamp(1.85rem, 4vw, 3.05rem);
  font-weight: 400;
  color: var(--text);
}

.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.display-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--text);
  letter-spacing: 0.005em;
}

/* ---------- Buttons ---------- */
.btn {
  --b: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.72rem 1.5rem;
  border-radius: 100px;
  border: var(--b) solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 0.95rem 2rem; font-size: 0.95rem; }
.btn--block { display: flex; width: 100%; }

.btn--gold {
  background: linear-gradient(150deg, #2c2418 0%, #15120b 100%);
  color: #ECD9A8;
  border-color: rgba(201, 154, 59, 0.5);
  box-shadow: 0 12px 30px -14px rgba(28, 20, 6, 0.6);
}
.btn--gold:hover {
  background: linear-gradient(150deg, #38301f 0%, #1d1810 100%);
  color: #F8E8B8;
  border-color: rgba(216, 178, 94, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -14px rgba(28, 20, 6, 0.66);
}

.btn--outline {
  border-color: rgba(46, 38, 14, 0.28);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover { border-color: rgba(201, 154, 59, 0.7); color: var(--gold-1); background: rgba(201, 154, 59, 0.07); transform: translateY(-2px); }

.btn--ghost { color: var(--text-soft); border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: rgba(46, 38, 14, 0.28); background: rgba(46, 38, 14, 0.03); }

/* ============================ NAV ============================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), box-shadow 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(247, 244, 236, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(78, 62, 24, 0.4);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.05rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__wordmark {
  height: 27px; width: auto;
  transition: height 0.4s var(--ease);
  filter: contrast(1.04) drop-shadow(0 4px 9px rgba(0, 0, 0, 0.5)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.nav.is-scrolled .nav__wordmark { height: 24px; }
.nav__links { display: flex; gap: 2.1rem; }
.nav__links a {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-soft);
  position: relative;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold-grad);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--gold-1); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; gap: 0.7rem; align-items: center; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0 var(--pad) 1.5rem;
  background: rgba(247, 244, 236, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a {
  font-family: var(--font-head);
  padding: 0.85rem 0;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line-2);
}
.nav__mobile a.btn { margin-top: 0.8rem; color: #ECD9A8; }
.nav.is-mobile-open .nav__mobile { display: flex; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 6.5rem;
  padding-bottom: 2rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(169, 120, 31, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 120, 31, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(100% 75% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(100% 75% at 70% 30%, #000 0%, transparent 75%);
  opacity: 0.8;
}
.hero__grid-bg--soft { opacity: 0.5; -webkit-mask-image: radial-gradient(80% 60% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(80% 60% at 50% 40%, #000, transparent 80%); }
.hero__glow {
  position: absolute;
  z-index: -1;
  top: 8%; right: -5%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(201, 154, 59, 0.22), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.65; transform: scale(0.96); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: auto auto 0;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
}
.hero__wordmark {
  height: clamp(44px, 7vw, 76px);
  width: auto;
  max-width: 100%;
  margin-bottom: 1.5rem;
  filter: contrast(1.04) drop-shadow(0 4px 9px rgba(0, 0, 0, 0.5)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.hero__title {
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
  max-width: 26ch;
}
.hero__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--text-soft);
  line-height: 1.3;
  margin-bottom: 1.3rem;
}
.hero__sub {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 2.4rem;
}
.hero__keywords {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  width: 100%;
}
.hero__keywords li {
  flex: 1 1 auto; min-width: 120px;
  white-space: nowrap;
  text-align: center;
  padding: 0.95rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s, box-shadow 0.4s var(--ease);
}
.hero__keywords li:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 120, 31, 0.4);
  color: var(--gold-1);
  box-shadow: var(--shadow);
}
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero__mark { position: relative; display: grid; place-items: center; }
.hero__mark-stage {
  position: relative;
  width: min(100%, 560px);
  animation: floatHero 9s ease-in-out infinite;
}
.hero__mark-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 26px 50px rgba(78, 62, 24, 0.28));
}
@keyframes floatHero { 0%,100% { transform: translateY(-26px); } 50% { transform: translateY(26px); } }
.hero__mark-halo {
  position: absolute;
  z-index: 0;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 86%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 59, 0.26), transparent 65%);
  filter: blur(30px);
}
/* light radiating from the right wing */
.hero__wing-light {
  position: absolute;
  z-index: 0;
  top: 10%; left: 49%;
  width: 66%; height: 74%;
  background: radial-gradient(circle at 54% 44%, rgba(248, 250, 255, 0.95), rgba(206, 220, 240, 0.45) 38%, transparent 70%);
  filter: blur(13px);
  pointer-events: none;
  animation: wingGlow 5s ease-in-out infinite;
}
/* a brighter specular sheen catching the top of the wing */
.hero__wing-light::after {
  content: "";
  position: absolute;
  top: 26%; left: 34%;
  width: 38%; height: 26%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 240, 0.95), transparent 65%);
  filter: blur(5px);
  mix-blend-mode: screen;
}
@keyframes wingGlow {
  0%, 100% { opacity: 0.5; transform: translate(-3%, 1.5%) scale(0.96); }
  50%      { opacity: 1;   transform: translate(4%, -1.5%) scale(1.08); }
}
/* sparkling pixels */
.hero__sparkles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.spark {
  position: absolute;
  width: var(--s, 11px); height: var(--s, 11px);
  margin-left: calc(var(--s, 11px) / -2);
  margin-top: calc(var(--s, 11px) / -2);
  background: radial-gradient(circle, #ffffff 0%, #fff7dc 32%, rgba(255, 224, 150, 0) 68%);
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255, 247, 205, 1))
          drop-shadow(0 0 13px rgba(255, 218, 135, 0.9))
          drop-shadow(0 0 24px rgba(255, 198, 105, 0.55));
  animation: twinkle 3s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(90deg); }
}
/* scanning line sweeping over the emblem */
.hero__scan {
  position: absolute;
  z-index: 4;
  left: 8%; right: 8%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(244, 248, 255, 0.95), transparent);
  box-shadow: 0 0 16px 3px rgba(214, 226, 245, 0.65);
  top: 18%;
  opacity: 0;
  animation: scanSweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanSweep {
  0%   { top: 18%; opacity: 0; }
  12%  { opacity: 1; }
  50%  { top: 78%; opacity: 1; }
  62%  { opacity: 0; }
  100% { top: 18%; opacity: 0; }
}
@keyframes float { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }

.hero__foot {
  margin: auto auto 0;
  width: 100%;
  max-width: var(--maxw);
  padding-inline: var(--pad);
  padding-top: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.hero__scroll {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-2);
  transition: color 0.3s;
}
.hero__scroll:hover { color: var(--gold-1); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--gold-2), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: var(--gold-1); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { top: -50%; } 100% { top: 100%; } }

/* ============================ SECTIONS ============================ */
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section--intro { padding-top: 0; padding-bottom: 0; }
/* tighten the gap into and out of the pinned intro/scrolly section */
.section--techstack { padding-bottom: clamp(2rem, 5vw, 4rem); }
.section--why { padding-top: clamp(2rem, 5vw, 4rem); }

.section__head { max-width: 60rem; margin-bottom: 3.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__intro {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
}
.section__head--center .section__intro { margin-inline: auto; }

/* divider line above most sections */
.section--why, .section--twin, .section--insurance, .section--feature,
.section--record, .section--serve, .section--tech, .section--resilience, .section--horizon {
  border-top: 1px solid var(--line-2);
}

/* tinted alternating sections to add warmth & rhythm */
.section--why, .section--insurance, .section--record, .section--tech { background: var(--bg-1); }

/* ---- Intro ---- */
.section--intro .display-line { margin-bottom: 2.2rem; }
.intro__body { max-width: 52rem; display: grid; gap: 1.3rem; }
.intro__body p { color: var(--text-soft); font-size: 1.12rem; }
.intro__statement { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem) !important; color: var(--text) !important; line-height: 1.3; padding-top: 0.8rem; }

/* ---- Scrollytelling: pinned panels that swap in place ---- */
.scrolly {
  --seg: 82vh;                 /* scroll distance allotted to each step */
  position: relative;
  height: calc(var(--seg) * 4);
}
.scrolly__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 7vh, 6rem) 0 clamp(1rem, 3vh, 2.5rem);
}
.scrolly__head {
  flex: none;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.scrolly__head .display-line {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  margin-bottom: clamp(0.5rem, 1.4vh, 1rem);
}
.scrolly__head .intro__body { max-width: 44rem; }
.scrolly__head .intro__body p {
  color: var(--text-soft);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
}
.scrolly__panels {
  position: relative;
  flex: none;
  width: 100%;
  max-width: var(--maxw);
  height: min(46vh, 520px);
  margin: clamp(0.6rem, 1.8vh, 1.3rem) auto 0;
}
.scrolly__panel {
  position: absolute;
  inset: 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 100%;
  align-items: start;               /* text + image share the same top line */
  gap: clamp(2rem, 6vw, 5rem);
  opacity: 0;
  transform: translateY(54px);            /* upcoming steps wait just below */
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.scrolly__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
  pointer-events: auto;
}
.scrolly__panel.is-past {
  opacity: 0;
  transform: translateY(-54px);           /* finished steps roll up and out */
}
.scrolly__text { min-width: 0; align-self: start; padding-top: clamp(0.4rem, 2vh, 1.8rem); }
.scrolly__num {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  margin-bottom: 0.8rem;
}
.scrolly__text h3 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.7rem;
  line-height: 1.12;
}
.scrolly__text h3::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--gold-grad);
  margin-bottom: 0.9rem;
}
.scrolly__text p {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  max-width: 30rem;
}
.scrolly__visual {
  margin: 0;
  justify-self: center;
  align-self: start;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
}
.scrolly__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 50px rgba(120, 92, 28, 0.16));
}
.scrolly__dots {
  flex: none;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: clamp(0.8rem, 2vh, 1.5rem);
}
.scrolly__statement {
  flex: none;
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(0.9rem, 2.6vh, 1.8rem) auto 0;
  padding: 0 var(--pad) !important;
  font-size: clamp(1.15rem, 2.3vw, 1.7rem) !important;
  line-height: 1.28;
}
.scrolly__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.scrolly__dot.is-active { background: var(--gold-grad); transform: scale(1.35); }

/* Linearized fallback: stack steps normally, no pinning */
@media (max-width: 860px) {
  .scrolly { height: auto; margin-top: 1rem; }
  .scrolly__stage {
    position: static;
    height: auto;
    overflow: visible;
    justify-content: flex-start;
    padding: clamp(2rem, 7vw, 3.5rem) 0 0;
  }
  .scrolly__panels { height: auto; margin-top: 0; }
  .scrolly__panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: center;
    gap: 1.4rem;
    padding: clamp(2.5rem, 8vw, 4rem) 0;
  }
  .scrolly__text { padding-top: 0; }
  .scrolly__visual { order: -1; height: auto; max-width: 320px; margin: 0 auto; }
  .scrolly__dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scrolly { height: auto; }
  .scrolly__stage {
    position: static;
    height: auto;
    overflow: visible;
    justify-content: flex-start;
  }
  .scrolly__panels { height: auto; margin-top: 0; }
  .scrolly__panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    grid-template-rows: auto;
    align-items: center;
    padding: clamp(2rem, 6vw, 3.5rem) 0;
  }
  .scrolly__text { padding-top: 0; }
  .scrolly__visual { height: auto; }
  .scrolly__dots { display: none; }
}

/* ---- Why / Stats ---- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3.5rem; }
.stat {
  padding: 2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1rem;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat p { color: var(--muted); font-size: 0.98rem; }
.why__close {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  max-width: 50rem;
  color: var(--text-soft);
}
.why__close em { font-style: italic; color: var(--gold-1); }

/* ---- Digital Twin ---- */
.twin__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.twin__visual { display: grid; place-items: center; }
.twin__visual-frame {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.twin__emblem { width: 70%; z-index: 3; filter: drop-shadow(0 14px 26px rgba(78, 62, 24, 0.25)); animation: float 8s ease-in-out infinite; }
.twin__rings { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.twin__ring { position: absolute; aspect-ratio: 1; overflow: visible; }
.twin__ring circle { fill: none; vector-effect: non-scaling-stroke; }
.twin__ring--1 { width: 60%; animation: spin 24s linear infinite; }
.twin__ring--2 { width: 82%; }
.twin__ring--3 { width: 100%; animation: spin 40s linear infinite reverse; }
/* dashed rings: long dashes, wide gaps (1 unit ≈ same px across rings) */
.twin__ring--1 circle, .twin__ring--3 circle {
  stroke: rgba(169, 120, 31, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 7 11;
}
.twin__ring--3 circle { stroke: rgba(169, 120, 31, 0.42); }
.twin__ring--2 circle { stroke: rgba(46, 38, 14, 0.22); stroke-width: 1.5; }
@keyframes spin { to { transform: rotate(360deg); } }

/* waves propagating from the mark out to the surrounding radius */
.twin__waves { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }
.twin__waves span {
  position: absolute;
  width: 100%; aspect-ratio: 1;
  border-radius: 50%;
  /* thick soft wave band, faded on its inner and outer edges */
  background: radial-gradient(circle,
    rgba(201, 154, 59, 0) 50%,
    rgba(201, 154, 59, 0.14) 64%,
    rgba(201, 154, 59, 0.45) 75%,
    rgba(201, 154, 59, 0.14) 86%,
    rgba(201, 154, 59, 0) 97%);
  opacity: 0;
  animation: twinWave 4.5s ease-out infinite;
}
.twin__waves span:nth-child(2) { animation-delay: 1.5s; }
.twin__waves span:nth-child(3) { animation-delay: 3s; }
@keyframes twinWave {
  0%   { transform: scale(0.28); opacity: 0; }
  18%  { opacity: 0.55; }
  100% { transform: scale(1); opacity: 0; }
}

/* sparkles over the mark */
.twin__sparkles { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.twin__sparkles .spark { animation-duration: 3.4s; }

.twin__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.twin__list li {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--text-soft);
  padding: 1rem 0 1rem 1.7rem;
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.twin__list li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-fill);
  box-shadow: 0 0 8px rgba(201, 154, 59, 0.5);
}

/* ---- Feature rows ---- */
.feature__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature__row--media { grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.feature--reverse .feature__text { order: 2; }
.feature__figure { margin: 0; }
.feature__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 24px 50px rgba(120, 92, 28, 0.16));
}
.feature__title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 300; margin: 0.4rem 0 1.4rem; line-height: 1.08; }
.feature__text p { color: var(--muted); font-size: 1.08rem; max-width: 32rem; }

.feature__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
}
.feature__panel-label {
  font-family: var(--font-head); font-size: 0.74rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.2rem;
}
.qa-list li, .line-list li {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--text-soft);
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: baseline; gap: 0.85rem;
}
.qa-list li:last-child, .line-list li:last-child { border-bottom: none; padding-bottom: 0; }
.qa-list li:first-child, .line-list li:first-child { padding-top: 0; }
.qa-list li::before {
  content: "—"; color: var(--gold-2); font-weight: 400;
}
.line-list li::before {
  content: ""; width: 7px; height: 7px; flex: none; margin-top: 0.55rem;
  background: var(--gold-fill); transform: rotate(45deg);
}

.pillrow { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.pill {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 1.1rem; border-radius: 100px;
  border: 1px solid rgba(169, 120, 31, 0.4); color: var(--gold-1);
  background: rgba(201, 154, 59, 0.05);
}

/* ---- Card grids ---- */
.card-grid { display: grid; gap: 1.2rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(201, 154, 59, 0.10), transparent 55%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(169, 120, 31, 0.4); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card__bullet { display: block; width: 22px; height: 2px; background: var(--gold-fill); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.16rem; font-weight: 500; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card--future { padding-top: 1.4rem; }
.card--future h3 { margin: 0; font-weight: 400; font-size: 1.18rem; }
.card__tag {
  display: inline-block;
  font-family: var(--font-head); font-size: 0.64rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-2);
  border: 1px solid rgba(169, 120, 31, 0.35); border-radius: 100px;
  padding: 0.2rem 0.7rem; margin-bottom: 1rem;
}

/* ---- Resilience ---- */
.section--resilience { overflow: hidden; }
.resilience__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(150, 132, 90, 0.10), transparent 55%),
              radial-gradient(60% 90% at 0% 100%, rgba(201, 154, 59, 0.10), transparent 55%);
}
.section--resilience .container { position: relative; z-index: 1; }
.resilience__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.resilience__copy .section__head { margin-bottom: 2.4rem; }
.resilience__visual { margin: 0; }
.resilience__visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 54px rgba(120, 92, 28, 0.18));
}
@media (max-width: 860px) {
  .resilience__layout { grid-template-columns: 1fr; gap: clamp(1.5rem, 6vw, 2.5rem); }
  .resilience__visual { order: -1; max-width: 460px; margin: 0 auto; }
}
.chip-grid { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.chip {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(0.78rem, 1.3vw, 0.9rem);
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s var(--ease), color 0.4s, transform 0.4s var(--ease);
}
.chip:hover { border-color: rgba(169, 120, 31, 0.55); color: var(--gold-1); transform: translateY(-3px); }

/* ---- Timeline / record ---- */
.record__visual { margin: 0 auto; max-width: 960px; }
.record__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 26px 54px rgba(120, 92, 28, 0.16));
}
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.timeline__item {
  font-family: var(--font-head); font-weight: 300;
  color: var(--text-soft);
  padding: 1.6rem 1.2rem 1.6rem 0;
  border-bottom: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 0.85rem;
}
.timeline__item span { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--gold-2); flex: none; }

/* ---- Horizon ---- */
.section--horizon { overflow: hidden; }
.horizon__quote {
  margin: 3.5rem auto 0;
  max-width: 48rem; text-align: center;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  line-height: 1.4; color: var(--text-soft);
  position: relative; padding-top: 2.5rem;
}
.horizon__quote::before {
  content: "“"; position: absolute; top: -0.5rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 4rem; color: var(--gold-2); line-height: 1;
}

/* ---- Who we serve ---- */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.serve {
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
.serve::before {
  content: ""; position: absolute; left: 1.8rem; top: 0;
  width: 36px; height: 2px; background: var(--gold-fill);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.serve:hover { transform: translateY(-4px); border-color: rgba(169, 120, 31, 0.35); box-shadow: var(--shadow); }
.serve:hover::before { transform: scaleX(1); }
.serve h3 { font-size: 1.28rem; font-weight: 500; margin-bottom: 0.6rem; }
.serve p { color: var(--muted); font-size: 0.98rem; }

/* ---- Dandii pipeline / flow ---- */
.section--dandii { border-top: 1px solid var(--line-2); }
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 0;
  margin-top: 1rem;
  counter-reset: flow;
}
.flow__node {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 0.6rem;
}
/* connector line between nodes */
.flow__node::after {
  content: "";
  position: absolute;
  top: 33px; left: 50%; width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-2), rgba(201,154,59,0.25));
  z-index: 0;
}
.flow__node:last-child::after { display: none; }
/* animated pulse travelling along the connector */
.flow__node::before {
  content: "";
  position: absolute;
  top: 30px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 10px 2px rgba(201,154,59,0.6);
  z-index: 1;
  opacity: 0;
  animation: flowPulse 3.4s ease-in-out infinite;
}
.flow__node:nth-child(1)::before { animation-delay: 0s; }
.flow__node:nth-child(2)::before { animation-delay: 0.5s; }
.flow__node:nth-child(3)::before { animation-delay: 1s; }
.flow__node:nth-child(4)::before { animation-delay: 1.5s; }
.flow__node:last-child::before { display: none; }
@keyframes flowPulse {
  0%   { left: 50%;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}
.flow__icon {
  position: relative; z-index: 2;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--gold-1);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.1rem;
}
.flow__icon svg { width: 32px; height: 32px; }
.flow__brand {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--text); margin-bottom: 0.25rem;
}
.flow__label { font-size: 0.86rem; color: var(--muted); max-width: 13ch; }

/* ---- Process showcase ---- */
.section__head--kicker { margin-bottom: 1.8rem; }
.process {
  margin: 0 auto;
  max-width: 1100px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  line-height: 0;
}
.process img { width: 100%; height: auto; display: block; }
.techstack__sub { margin-top: clamp(2.2rem, 4.5vw, 3.6rem); }

/* ---- Technology icon grid ---- */
.section--techstack { background: var(--bg-1); }
.techgrid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
.techgrid__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem;
  padding: 1.1rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.techgrid__item span:last-child {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 500; color: var(--text-soft);
  letter-spacing: 0.01em;
}
.techgrid__item:hover { transform: translateY(-4px); border-color: rgba(169,120,31,0.4); box-shadow: var(--shadow); }
.techgrid__icon { color: var(--gold-1); }
.techgrid__icon svg { width: 30px; height: 30px; }

/* ---- Horizon roadmap ---- */
.horizon {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: 1rem; position: relative;
}
.horizon__step {
  position: relative;
  padding: 2.6rem 1rem 0;
  text-align: center;
}
.horizon__step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line);
}
.horizon__step::after {
  content: "";
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--gold-2);
}
.horizon__step--last::after { background: var(--gold-fill); border-color: transparent; box-shadow: 0 0 12px rgba(201,154,59,0.6); }
.horizon__step:first-child::before { left: 50%; }
.horizon__step:last-child::before { right: 50%; }
.horizon__when {
  display: block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 0.6rem;
}
.horizon__what {
  display: block; font-family: var(--font-head); font-weight: 300;
  font-size: 1.12rem; color: var(--text); line-height: 1.25;
}

/* ---- Waitlist form ---- */
.waitlist {
  display: flex; gap: 0.6rem; max-width: 32rem; margin: 0 auto 1.4rem;
  flex-wrap: nowrap;
}
.waitlist__input {
  flex: 1 1 14rem;
  font-family: var(--font-body); font-size: 0.98rem;
  padding: 0.95rem 1.3rem;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.waitlist__input::placeholder { color: var(--faint); }
.waitlist__input:focus { outline: none; border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(201,154,59,0.18); }
.waitlist .btn { flex: 0 0 auto; }
.waitlist__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.waitlist__msg {
  max-width: 32rem; margin: -0.4rem auto 1.4rem; min-height: 1.2em;
  font-size: 0.96rem; font-weight: 500; text-align: center;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.waitlist__msg.is-shown { opacity: 1; }
.waitlist__msg.is-ok { color: var(--gold-1); }
.waitlist__msg.is-err { color: #b4452f; }
.cta__fine { font-size: 0.9rem; color: var(--muted); }
.cta__fine a { color: var(--gold-1); font-weight: 500; transition: color 0.3s; }
.cta__fine a:hover { color: var(--gold-2); text-decoration: underline; }

/* ---- Final CTA ---- */
.section--cta { text-align: center; padding: clamp(6rem, 14vw, 11rem) 0; position: relative; overflow: hidden; border-top: 1px solid var(--line-2); }
.hero__glow--cta { top: auto; bottom: -20%; right: 50%; transform: translateX(50%); opacity: 0.9; }
.cta__inner { max-width: 50rem; margin-inline: auto; position: relative; z-index: 1; }
.cta__statement {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.25; letter-spacing: -0.01em;
  margin: 0.5rem 0 1.5rem;
}
.cta__wordmark {
  display: inline-block;
  height: 1.23em;
  width: auto;
  vertical-align: -0.22em;
  margin-left: 0.12em;
  filter: contrast(1.04) drop-shadow(0 4px 9px rgba(0, 0, 0, 0.5)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.cta__sub { color: var(--muted); font-size: 1.1rem; max-width: 34rem; margin: 0 auto 2.6rem; }
.cta__buttons { justify-content: center; }

/* ============================ FOOTER ============================ */
.footer { border-top: 1px solid var(--line); padding: 4.5rem 0 2.5rem; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-2); }
.footer__wordmark {
  height: 30px; width: auto; margin-bottom: 1.3rem;
  filter: contrast(1.04) drop-shadow(0 4px 9px rgba(0, 0, 0, 0.5)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.footer__brand p { color: var(--muted); max-width: 22rem; font-size: 0.96rem; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__nav h4 { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 1.1rem; }
.footer__nav a { display: block; color: var(--text-soft); font-size: 0.94rem; padding: 0.35rem 0; transition: color 0.3s; }
.footer__nav a:hover { color: var(--gold-1); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; padding-top: 2rem; color: var(--faint); font-size: 0.84rem; }
.footer__tag { font-family: var(--font-head); }

/* ============================ REVEAL ANIMATION ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__mark { order: -1; }
  .hero__mark-stage { width: min(80%, 380px); }
  .hero { padding-top: 7rem; min-height: auto; padding-bottom: 4rem; }
  .feature__row, .twin__layout { grid-template-columns: 1fr; }
  .feature--reverse .feature__text { order: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .techgrid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .why__grid, .card-grid--3, .serve-grid { grid-template-columns: 1fr; }
  .twin__list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .br-desktop { display: none; }
  .hero__cta .btn { flex: 1; }
  .footer__nav { grid-template-columns: 1fr 1fr; }

  /* pipeline → vertical */
  .flow { grid-template-columns: 1fr; gap: 2.2rem; max-width: 22rem; margin-inline: auto; }
  .flow__node { flex-direction: row; text-align: left; gap: 1.1rem; padding: 0; align-items: center; }
  .flow__node::after { top: 68px; left: 33px; width: 2px; height: 2.2rem; transform: none;
    background: linear-gradient(180deg, var(--gold-2), rgba(201,154,59,0.3)); }
  .flow__node::before { display: none; }
  .flow__icon { margin-bottom: 0; flex: none; }
  .flow__label { max-width: none; }

  /* horizon → vertical */
  .horizon { grid-template-columns: 1fr; gap: 0; max-width: 24rem; margin-inline: auto; }
  .horizon__step { padding: 0 0 2.2rem 2rem; text-align: left; }
  .horizon__step::before { top: 0; bottom: 0; left: 5px; right: auto; width: 2px; height: 100%; }
  .horizon__step:first-child::before { left: 5px; }
  .horizon__step:last-child::before { right: auto; bottom: auto; height: 14px; }
  .horizon__step::after { top: 2px; left: 0; transform: none; }
}

@media (max-width: 600px) {
  .techgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .waitlist { flex-direction: column; }
  .waitlist .btn { width: 100%; }
}

@media (max-width: 440px) {
  .timeline { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
}
