/* =========================================================================
   Thermo Dynamic: homepage
   One responsive page. Desktop design above 760px, mobile design at 760px and below.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --font-display: Unbounded, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;

  --bg: #0B0F17;
  --panel: #111827;
  --panel-2: #141C2B;
  --line: #1F2A3C;
  --line-2: #263247;
  --line-3: #2A3650;
  --rule: #1E2635;

  --text: #EEF2F8;
  --text-2: #B4BFCF;
  --text-3: #C7D0DE;
  --text-dim: #93A3B8;

  --cool: #60A5FA;
  --cool-2: #3B82F6;
  --cool-3: #2563EB;
  --cool-light: #93C5FD;
  --cool-deep: #1D4ED8;
  --fresh: #5EEAD4;
  --fresh-2: #2DD4BF;
  --fresh-3: #14B8A6;
  --warm: #F97316;
  --warm-2: #FB923C;
  --warm-light: #FDBA74;
  --rapid: #F87171;

  --light-bg: #F2F5FA;
  --light-text: #0B0F17;
  --light-muted: #3C4656;
  --light-line: #CBD3DF;

  --on-orange: #1A0A00;
  --on-teal: #04201D;

  --r-btn: 12px;
  --r-pill: 999px;

  --container: 1240px;
  --gutter: 28px;

  --cycle: 7.5s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); }
img, svg { display: block; }
a { color: var(--cool-light); }
a:hover { color: #BFDBFE; }
input, textarea, button { font: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--warm-2);
  outline-offset: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--warm); color: var(--on-orange); padding: 12px 18px;
  border-radius: var(--r-btn); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.page { width: 100%; background: var(--bg); overflow-x: clip; }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { margin: 0; color: var(--text-2); line-height: 1.65; }

.only-mobile { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; border-radius: var(--r-btn); font-weight: 700; text-align: center;
}
.btn, button { transition: transform .18s ease, filter .18s ease; }
.btn:hover, button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn:active, button:active { transform: translateY(1px); }

.btn--orange { background: var(--warm); color: var(--on-orange); }
.btn--orange:hover { color: var(--on-orange); }
.btn--outline { border: 1px solid #334155; color: var(--text); font-weight: 600; }
.btn--outline:hover { color: var(--text); }
.btn--blue { background: var(--cool-3); color: #fff; }
.btn--blue:hover { color: #fff; }
.btn--teal { background: var(--fresh-3); color: var(--on-teal); }
.btn--teal:hover { color: var(--on-teal); }
.btn--white { background: #fff; color: var(--cool-deep); }
.btn--white:hover { color: var(--cool-deep); }
.btn--sm { padding: 12px 22px; }
.btn--lg { padding: 17px 30px; }
.btn--lg.btn--outline { padding: 16px 28px; }
.btn--xl { padding: 18px 30px; }
.btn--block { display: flex; width: 100%; padding: 16px 18px; }

.pause-btn {
  min-height: 44px; background: transparent; border: 0; color: var(--text-dim);
  padding: 10px 12px; font-size: 14px; text-decoration: underline; cursor: pointer;
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 3; }
.site-header__inner {
  padding-top: 10px; padding-bottom: 10px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__logo img { height: 92px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; font-size: 15px; font-weight: 500; }
.site-nav__link { text-decoration: none; color: var(--text-3); padding: 12px 0; }
.site-nav__link:hover { color: #fff; }

.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: var(--r-btn);
  border: 1px solid var(--line-3); background: var(--panel); color: var(--text);
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}

/* Tablet: nav links no longer fit on one line, so use the menu button */
@media (max-width: 960px) {
  .site-nav__link { display: none; }
  .menu-btn { display: inline-flex; }
  .site-nav { gap: 10px; flex-wrap: nowrap; }
  .site-header__inner { flex-wrap: nowrap; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50; background: var(--bg);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > .container { width: 100%; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.mobile-menu__logo { height: 64px; width: auto; }
.mobile-menu__nav { display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 16px; }
.mobile-menu__nav a {
  font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__nav a:hover { color: var(--cool-light); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; padding-bottom: 40px; }
.mobile-menu__foot .pause-btn { align-self: center; }
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ---------- Shared text styles ---------- */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.eyebrow { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow--cool { color: var(--cool); }
.eyebrow--cool-l { color: var(--cool-light); }
.eyebrow--fresh { color: var(--fresh); }
.eyebrow--deep { color: var(--cool-deep); }
.h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }

.c-cool { color: var(--cool); }
.c-cool-l { color: var(--cool-light); }
.c-warm { color: var(--warm-2); }
.c-warm-l { color: var(--warm-light); }
.c-fresh { color: var(--fresh); }

/* Cycling words: every item must be exactly 1.1em tall and never wrap */
.cycle { display: block; height: 1.1em; overflow: hidden; }
.cycle__track { display: flex; flex-direction: column; }
.cycle__track > span { display: block; height: 1.1em; line-height: 1.1em; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; right: -60px; top: -60px; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(59,130,246,.5), rgba(59,130,246,0) 66%);
}
.hero__glow--warm { background: radial-gradient(circle at 50% 50%, rgba(249,115,22,.5), rgba(249,115,22,0) 66%); }
.hero__glow--fresh { background: radial-gradient(circle at 50% 50%, rgba(45,212,191,.5), rgba(45,212,191,0) 66%); }
.hero__drop { left: 45%; top: 30%; }

.hero__inner {
  position: relative;
  padding-top: 88px; padding-bottom: 104px;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__head, .hero__cta { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; }
.hero__pill {
  align-self: flex-start; border: 1px solid var(--line-3); background: rgba(17,24,39,.6);
  border-radius: var(--r-pill); padding: 8px 16px; font-size: 14px; color: var(--text-3);
}
.hero__title { margin: 0; font-size: clamp(42px, 6vw, 84px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.hero__title-line { display: block; }
.hero__readout { display: none; }
.hero__intro { margin: 0; font-size: 19px; line-height: 1.65; color: var(--text-2); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--text-2); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks svg { flex: 0 0 auto; }
.hero__fade { display: none; }

/* Dial */
.hero__dial { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; padding: 40px 0; }
.dial { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; }
.dial__ping {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cool);
  animation: td-ping 3s cubic-bezier(.2,.6,.3,1) infinite;
}
.dial__ring { position: absolute; inset: 0; border-radius: 50%; border: 10px solid var(--cool-2); box-shadow: 0 0 60px rgba(59,130,246,.5); }
.dial__ring--warm { border-color: var(--warm); box-shadow: 0 0 60px rgba(249,115,22,.5); }
.dial__ring--fresh { border-color: var(--fresh-2); box-shadow: 0 0 60px rgba(45,212,191,.5); }
.dial__knob-track { position: absolute; inset: 0; animation-duration: var(--cycle); }
.dial__knob {
  position: absolute; left: 50%; top: -14px; width: 36px; height: 36px; margin-left: -18px;
  border-radius: 50%; background: #F8FAFC; box-shadow: 0 4px 18px rgba(0,0,0,.5);
}
.dial__fan { position: absolute; inset: 9%; width: 82%; height: 82%; }
.dial__blades { transform-origin: 200px 200px; animation-duration: 1.6s; }
.dial__readout {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(11,15,23,.9); border: 1px solid var(--line-3); border-radius: 18px;
  padding: 14px 22px; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.dial__temp { font-family: var(--font-display); font-weight: 700; font-size: 58px; line-height: 1.1em; }
.dial__mode { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.1em; margin-top: 4px; white-space: nowrap; }

/* ---------- Call / Text / Quote bars (mobile) ---------- */
.callbar {
  display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px 12px;
  background: var(--bg); border-top: 1px solid var(--rule); z-index: 4;
}
.callbar--static { position: relative; }
.callbar--sticky { position: sticky; bottom: 0; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.callbar__btn { padding: 14px 8px; }
.callbar__btn--call { background: var(--cool-3); color: #fff; }
.callbar__btn--call:hover { color: #fff; }
.callbar__btn--text { background: var(--panel); color: var(--text); }
.callbar__btn--text:hover { color: var(--text); }
.callbar__btn--quote { background: var(--warm); color: var(--on-orange); }
.callbar__btn--quote:hover { color: var(--on-orange); }

/* ---------- Marquee (desktop) ---------- */
.marquee { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.marquee__track {
  display: flex; width: max-content; padding: 26px 0;
  font-family: var(--font-display); font-size: 64px; font-weight: 800; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px #3B4A63;
}
.marquee__group { display: flex; align-items: center; padding-right: 40px; white-space: nowrap; }
.marquee__group img { height: 46px; width: auto; margin: 0 40px; opacity: .9; }

/* ---------- Parallax decoration layer ---------- */
.pxs { position: relative; overflow: hidden; }
.pxs > .container { position: relative; z-index: 1; }
.px-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.px { position: absolute; display: block; }
.px-sway { display: block; width: 100%; height: 100%; }
.px-snow .px-sway { animation: px-sway-s 5.5s ease-in-out infinite; }
.px-drop .px-sway { animation: px-sway-d 3.2s ease-in-out infinite; }
.px-layer > .px:nth-child(2n) .px-sway { animation-duration: 4.4s; animation-delay: -1.3s; }
.px-layer > .px:nth-child(3n) .px-sway { animation-duration: 6.6s; animation-delay: -2.7s; }

/* ---------- Airflow trail ---------- */
.trailwrap { position: relative; display: block; }
.px-trail {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 3; overflow: visible;
}
.px-line { fill: none; stroke-linecap: round; }
.px-line--glow { stroke-width: 12; opacity: .14; }
.px-line--core { stroke-width: 3; opacity: .9; }

/* ---------- Services ---------- */
.services__inner { padding-top: 120px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.services__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.services__lead { margin: 0; color: var(--text-2); max-width: 400px; line-height: 1.65; }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bento__big { grid-column: span 2; grid-row: span 2; }
.bento__wide { grid-column: 1 / -1; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { text-decoration: none; color: var(--text); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { color: var(--text); transform: translateY(-3px); border-color: var(--cool-2); box-shadow: 0 18px 50px rgba(59,130,246,.18); }
.card--hot:hover { border-color: var(--warm); box-shadow: 0 18px 50px rgba(249,115,22,.18); }
.card--fresh:hover { border-color: var(--fresh-2); box-shadow: 0 18px 50px rgba(45,212,191,.16); }

.card__photo { overflow: hidden; }
.card__photo > div { transition: transform .5s ease; }
.card__photo:hover > div, .card:hover .card__photo > div { transform: scale(1.03); }
.photo-ph {
  height: 100%; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: #23436E; font-weight: 600;
}
.photo-ph--room { min-height: 280px; background: #C9DCF3; }
.photo-ph--van { background: #D6E4F2; }

.bento__big { background: #0F1E38; border: 1px solid #1E3A66; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.bento__big .card__photo { flex: 1; min-height: 280px; }
.bento__big-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.bento__big-body h3 { margin: 0; font-size: 30px; }
.bento__big-body p { margin: 0; color: #C7D4E6; line-height: 1.6; }
.bento__tag { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; color: var(--cool); }

.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tile h3 { margin: 0; font-size: 21px; }
.tile p { margin: 0; color: var(--text-2); line-height: 1.6; flex: 1; }

.more { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c); }
.more--strong { font-weight: 700; }
.more svg { transition: transform .25s ease; }
.card:hover .more svg { transform: translateX(5px); }

.icon-circle {
  flex: 0 0 auto; width: 54px; height: 54px; align-self: flex-start; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--c);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.icon-circle::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 2px solid var(--c, var(--cool)); opacity: 0;
}
.card:hover .icon-circle::after { animation: td-iconping 1.2s ease-out infinite; }
.icon-circle--solid { background: var(--cool-3); border-color: var(--cool); align-self: center; }
.icon-circle--sm { width: 42px; height: 42px; }
.icon-circle--md { width: 46px; height: 46px; }

.bento__wide {
  color: #fff; background: #1A2C4E; border: 1px solid #3B5B92; border-radius: 24px;
  box-shadow: 0 10px 40px rgba(59,130,246,.18); padding: 28px 32px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.bento__wide-main { display: flex; gap: 20px; align-items: center; flex: 1 1 420px; }
.bento__wide-text { display: flex; flex-direction: column; gap: 6px; }
.bento__wide-text h3 { margin: 0; font-size: 22px; color: #fff; }
.bento__wide-text p { margin: 0; color: #DCE6F5; line-height: 1.6; }

/* Bright card: background and text brighten on hover */
.card--bright { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .3s ease, filter .3s ease; }
.card--bright:hover, .card--bright:focus-visible {
  color: #fff; background-color: #24407A; border-color: var(--cool-light); filter: brightness(1.1);
  box-shadow: 0 0 0 1px var(--cool-light), 0 20px 70px rgba(96,165,250,.45);
}
.card--bright .icon-circle { transition: background-color .3s ease, border-color .3s ease; }
.card--bright:hover .icon-circle, .card--bright:focus-visible .icon-circle { background-color: var(--cool-2); border-color: #BFDBFE; }
.card--bright h3, .card--bright p, .card--bright .more, .domcard__text > span { transition: color .3s ease; }
.card--bright:hover h3, .card--bright:hover p, .card--bright:hover .more,
.card--bright:focus-visible h3, .card--bright:focus-visible p, .card--bright:focus-visible .more,
.card--bright:hover .domcard__text > span { color: #fff; }

/* Mobile services: flip-card carousel */
.services__mobile { display: none; flex-direction: column; gap: 40px; }
.actypes { display: flex; flex-direction: column; gap: 18px; }
.acrow {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1) 0 0; padding: 4px var(--gutter) 10px 0;
  scrollbar-width: none; list-style: none;
}
.acrow::-webkit-scrollbar { display: none; }
.ac { flex: 0 0 258px; height: 290px; scroll-snap-align: start; perspective: 1000px; }
.ac__inner { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3,.9,.3,1); transform-style: preserve-3d; }
.ac.is-flipped .ac__inner { transform: rotateY(180deg); }
.ac__face {
  position: absolute; inset: 0; border-radius: 22px; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; font: inherit;
}
.ac__front {
  background: rgba(var(--c-rgb), .07); border: 1px solid rgba(var(--c-rgb), .55);
  color: #fff; cursor: pointer; text-align: left;
}
.ac__front > svg { color: var(--c); }
.ac__front:hover { filter: brightness(1.15); }
.ac__label { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; width: 100%; }
.ac__label strong { font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.ac__hint { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--c); }
.ac__back { transform: rotateY(180deg); justify-content: flex-start; background: var(--panel); border: 1px solid var(--c); }
.ac__back strong { font-family: var(--font-display); font-size: 17px; color: var(--c); }
.ac__back p { margin: 0; color: #D5DEEA; line-height: 1.6; font-size: 15px; }
.ac__quote { margin-top: auto; background: var(--c); color: var(--bg); padding: 13px 16px; }
.ac__quote:hover { color: var(--bg); }
.ac__backbtn {
  min-height: 44px; background: transparent; border: 0; color: var(--c); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.acflow { stroke-dasharray: 6 8; animation: td-acflow 1.4s linear infinite; }
.swipe-hint { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 13px; }

.other { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.other__title { margin: 0; font-size: 24px; line-height: 1.2; }
.other__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.minitile {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px; min-height: 128px;
}
.minitile strong { font-size: 16px; line-height: 1.25; }
.minitile__more { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--c); }
.domcard {
  color: #fff; background: #1A2C4E; border: 1px solid #3B5B92; border-radius: 22px; padding: 20px;
  display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 40px rgba(59,130,246,.18);
}
.domcard .icon-circle { flex-basis: 46px; }
.domcard__text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.domcard__text strong { font-family: var(--font-display); font-size: 17px; }
.domcard__text > span { color: #DCE6F5; font-size: 14px; line-height: 1.5; }
.domcard__arrow { flex: 0 0 auto; }

/* ---------- Why us ---------- */
.why__inner { padding-top: 80px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.why__photo { flex: 1 1 440px; height: 560px; border-radius: 28px; overflow: hidden; position: relative; }
.why__badge {
  position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px;
  background: rgba(11,15,23,.88); border: 1px solid var(--line-3); border-radius: 18px; padding: 14px 18px;
}
.why__badge img { height: 34px; width: auto; }
.why__badge > span { display: flex; flex-direction: column; }
.why__badge strong { font-size: 15px; }
.why__badge > span > span { font-size: 13px; color: var(--text-2); }

.vanframe { flex: 1 1 440px; position: relative; padding: 3px; border-radius: 27px; margin-top: 18px; }
.vanframe__glow { position: absolute; inset: 0; border-radius: 27px; background: var(--cool-2); box-shadow: 0 0 40px rgba(59,130,246,.55); }
.vanframe__glow--warm { background: var(--warm); box-shadow: 0 0 40px rgba(249,115,22,.55); }
.vanframe__glow--fresh { background: var(--fresh-2); box-shadow: 0 0 40px rgba(45,212,191,.5); }
.vanframe__img { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); }
.vanframe__img img { width: 100%; height: 100%; object-fit: cover; }
.vanframe__badge {
  position: absolute; right: 14px; top: -18px; display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line-3); border-radius: var(--r-pill); padding: 7px 14px 7px 8px;
}
.vanframe__badge img { height: 22px; width: auto; }
.vanframe__badge strong { font-size: 13px; }

.why__content { flex: 1 1 480px; display: flex; flex-direction: column; gap: 32px; }
.why__story { margin: 0; color: var(--text-2); line-height: 1.7; font-size: 17px; }

.timeline { position: relative; display: grid; grid-auto-rows: 1fr; gap: 14px; padding-left: 6px; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 22px; bottom: 22px; width: 2px;
  background: linear-gradient(180deg, #60A5FA 0%, #FB923C 25%, #5EEAD4 50%, #93C5FD 75%, #F87171 100%);
}
.timeline__item { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.timeline__dot {
  flex: 0 0 auto; width: 44px; height: 44px; align-self: flex-start; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--c); color: var(--c);
  display: flex; align-items: center; justify-content: center;
  animation: td-dotpulse 2.4s ease-in-out infinite;
}
.timeline__text { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.timeline__text h3 { margin: 0; font-size: 18px; }
.timeline__text span { color: var(--text-2); line-height: 1.5; font-size: 15px; }

/* ---------- Homes & businesses ---------- */
.comfort__inner { padding-top: 104px; padding-bottom: 104px; }
.comfort__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.comfort__title { margin: 0; }
.tabs { display: none; }
.comfort__panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 18px; }
.panel { border-radius: 28px; padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.panel--home { --c: var(--cool); background: #0F1E38; border: 1px solid #1E3A66; }
.panel--biz { --c: var(--fresh); background: #0B2A2A; border: 1px solid #155E57; }
.panel__top { display: flex; justify-content: space-between; align-items: center; color: var(--c); }
.panel__kicker { font-family: var(--font-display); font-size: 14px; }
.panel__title { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.panel__list { display: flex; flex-direction: column; gap: 12px; color: #D5DEEA; }
.panel--biz .panel__list { color: #D5EEEA; }
.panel__list li { display: flex; gap: 10px; align-items: center; }
.panel__list svg { flex: 0 0 auto; color: var(--c); }
.panel__btn { align-self: flex-start; padding: 15px 26px; margin-top: 8px; }

/* ---------- Word bands ---------- */
.band { overflow: hidden; padding: 30px 0; }
.band__row {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 10vw, 150px);
  line-height: 1.05; letter-spacing: -0.03em;
}
.band__row span { color: transparent; -webkit-text-stroke: 1.5px #334155; padding-right: 60px; }
.band__row .s-cool { -webkit-text-stroke-color: var(--cool-2); }
.band__row .s-warm { -webkit-text-stroke-color: var(--warm); }
.band__row .s-fresh { -webkit-text-stroke-color: var(--fresh-2); }

/* ---------- How it works (light) ---------- */
.process { background: var(--light-bg); color: var(--light-text); }
.process__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps__track { position: absolute; left: 28px; right: 28px; top: 27px; height: 3px; background: var(--light-line); border-radius: var(--r-pill); }
.steps__pulse {
  position: absolute; top: -7px; width: 17px; height: 17px; margin-left: -8px; border-radius: 50%;
  background: var(--warm); box-shadow: 0 0 0 6px rgba(249,115,22,.22);
  animation: td-travel 6s linear infinite;
}
.steps__vtrack { display: none; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step__text { display: flex; flex-direction: column; gap: 14px; }
.step__num {
  position: relative; z-index: 1; box-sizing: content-box;
  width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--light-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--cool-deep);
  animation: td-steplit 6s ease-in-out infinite;
}
.step h3 { margin: 0; font-size: 21px; }
.step p { margin: 0; color: var(--light-muted); line-height: 1.6; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps__track { display: none; }
}

/* ---------- Areas ---------- */
.areas__inner { padding-top: 60px; padding-bottom: 60px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.areas__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 10px 16px;
}
.chips li::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-7.5 7-13a7 7 0 0 0-14 0c0 5.5 7 13 7 13z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
}
.map-ph {
  flex: 1 1 420px; height: 380px; border-radius: 28px; border: 1px solid var(--line); background: var(--panel);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.map-ph__ping { position: absolute; border-radius: 50%; border: 2px solid var(--fresh-2); animation: td-ping2 3s ease-out infinite; }
.map-ph__dot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--fresh-2); box-shadow: 0 0 0 6px rgba(45,212,191,.25); }
.map-ph__label { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--text-dim); font-size: 13px; letter-spacing: 0.08em; }

/* ---------- FAQ ---------- */
.faq__inner { padding-top: 80px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 56px; }
.faq__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.faq__list { flex: 2 1 560px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.faq-item[open] { border-color: #2E4A7A; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; font-weight: 600; font-size: 17px; min-height: 44px; border-radius: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__plus {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: center; transition: transform .3s ease;
}
.faq-item[open] .faq-item__plus { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 26px 24px; color: var(--text-2); line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta__box {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--cool-deep); padding: 64px 56px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.cta__ping {
  position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5); animation: td-ping3 3.6s ease-out infinite;
}
.cta__text { position: relative; display: flex; flex-direction: column; gap: 14px; flex: 1 1 460px; }
.cta__text .h2 { color: #fff; }
.cta__text p { margin: 0; color: #DCE7FF; font-size: 18px; line-height: 1.6; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact__mark { position: absolute; right: -120px; bottom: -40px; width: 760px; height: auto; opacity: .07; pointer-events: none; z-index: 0; }
.contact__inner { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px; }
.contact__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.contact__title { margin: 0; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.02em; line-height: 1.15; }

.form { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  padding: 15px; border-radius: var(--r-btn); border: 1px solid var(--line-2);
  background: var(--panel); color: var(--text); font-size: inherit;
}
.field textarea { resize: vertical; }
.field input[aria-invalid="true"] { border-color: var(--rapid); }
.field__err { color: #FCA5A5; font-size: 13px; }
.field__err:empty { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { grid-column: 1 / -1; border: 0; padding: 17px; font-size: 16px; cursor: pointer; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--text-dim); }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--r-btn); line-height: 1.5; }
.form__status[data-state="success"] { background: rgba(45,212,191,.12); border: 1px solid var(--fresh-3); color: #CCFBF1; }
.form__status[data-state="error"] { background: rgba(248,113,113,.1); border: 1px solid var(--rapid); color: #FECACA; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer__inner {
  padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-dim);
}
.site-footer__inner img { height: 84px; width: auto; }

/* =========================================================================
   MOBILE (760px and below): the mobile design is the authority here
   ========================================================================= */
@media (max-width: 760px) {
  .only-desktop { display: none !important; }
  .only-mobile { display: block; }

  .site-header__logo img { height: 64px; }

  /* Hero */
  .hero__drop { left: 88%; top: 60%; }
  .hero__inner {
    height: 692px; padding-top: 24px; padding-bottom: 24px;
    flex-direction: column; flex-wrap: nowrap; justify-content: space-between; align-items: stretch; gap: 0;
  }
  .hero__text { display: contents; }
  .hero__head { max-width: 250px; gap: 0; }
  .hero__pill, .hero__intro, .hero__pause { display: none; }
  .hero__title { font-size: 52px; line-height: 1.0; letter-spacing: -0.045em; }
  .hero__readout { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
  .readout-temp { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.1em; }
  .readout-mode { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.1em; white-space: nowrap; }
  .hero__cta { gap: 14px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn--lg { padding: 15px 18px; font-size: 15px; }
  .hero__actions .btn--outline { padding: 14px 18px; }
  .hero__ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; font-size: 13px; }

  .hero__dial { position: absolute; right: -170px; top: 300px; width: 360px; height: 360px; padding: 0; display: block; }
  .dial { width: 270px; max-width: none; transform: scale(1.3333); transform-origin: 0 0; }
  .dial__readout { display: none; }
  .hero__fade {
    display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; pointer-events: none;
    background: linear-gradient(180deg, rgba(11,15,23,0) 0%, rgba(11,15,23,.92) 45%, #0B0F17 100%);
  }

  .callbar { display: grid; }
  .marquee { display: none; }

  .px-line--glow { stroke-width: 9; }
  .px-line--core { stroke-width: 2.5; }

  /* Services */
  .services__inner { padding-top: 96px; gap: 40px; }
  .services__head { flex-direction: column; align-items: stretch; gap: 14px; }
  .services__head .h2 { font-size: 32px; }
  .services__lead { max-width: none; }
  .services__mobile { display: flex; }
  .card:hover { transform: translateY(-2px); box-shadow: none; border-color: var(--cool-2); }
  .card--bright:hover { box-shadow: 0 0 0 1px var(--cool-light), 0 20px 70px rgba(96,165,250,.45); border-color: var(--cool-light); }

  /* Why */
  .timeline__text h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; }

  /* Homes & businesses: tabs */
  .comfort__inner { padding: 80px 20px; display: flex; flex-direction: column; gap: 20px; }
  .comfort__head { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: flex; flex-direction: column; gap: 10px; }
  .comfort__title { font-size: 28px; line-height: 1.12; letter-spacing: -0.02em; }
  .tabs {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px;
    border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  }
  .tabs__btn {
    min-height: 46px; border: 0; border-radius: var(--r-btn); font-weight: 700; font-size: 15px;
    cursor: pointer; background: transparent; color: var(--text-3);
  }
  .tabs__btn--home.is-active { background: var(--cool-3); color: #fff; }
  .tabs__btn--biz.is-active { background: var(--fresh-3); color: var(--on-teal); }
  /* Both panels share one grid cell, so the box is always as tall as the taller
     panel and the page never jumps when switching tabs. */
  .comfort__panels { grid-template-columns: minmax(0, 1fr); }
  .panel { grid-area: 1 / 1; visibility: hidden; min-height: 323px; border-radius: 24px; padding: 22px; gap: 16px; }
  .panel.is-active { visibility: visible; animation: td-pop .45s cubic-bezier(.2,.8,.2,1) both; }
  .panel__kicker { font-size: 12px; letter-spacing: 0.06em; }
  .panel__top svg { width: 24px; height: 24px; }
  .panel__title { font-size: 22px; line-height: 1.2; }
  .panel__list { gap: 10px; font-size: 14px; line-height: 1.45; }
  .panel__list li { gap: 9px; align-items: flex-start; }
  .panel__list svg { width: 15px; height: 15px; margin-top: 3px; }
  .panel__btn { align-self: stretch; padding: 14px 18px; font-size: 15px; margin-top: auto; }

  /* How it works: vertical timeline */
  .steps { grid-template-columns: none; grid-auto-rows: 1fr; gap: 28px; }
  .steps__vtrack {
    display: block; position: absolute; left: 26.5px; width: 3px; top: 28px;
    bottom: calc((100% - 84px) / 4 - 28px); background: var(--light-line); border-radius: var(--r-pill);
  }
  .steps__vfill {
    position: absolute; left: 0; top: 0; width: 100%; border-radius: var(--r-pill);
    background: linear-gradient(180deg, #60A5FA, #F97316); animation: td-vgrow 6s linear infinite;
  }
  .steps__vpulse {
    position: absolute; left: 50%; width: 17px; height: 17px; margin: -8px 0 0 -8.5px; border-radius: 50%;
    background: var(--warm); box-shadow: 0 0 0 6px rgba(249,115,22,.22); animation: td-vtravel 6s linear infinite;
  }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; }
  .step__num { box-sizing: border-box; }
  .step__text { gap: 6px; padding-top: 14px; }
  .step h3 { font-size: 20px; line-height: 1.2; }
  .step p { line-height: 1.55; }

  /* Stop iOS zooming into form fields */
  .field input, .field textarea { font-size: 16px; }
}

/* =========================================================================
   Keyframes
   ========================================================================= */
@keyframes td-words { 0%,24% { transform: translateY(0) } 33%,57% { transform: translateY(-1.1em) } 66%,90% { transform: translateY(-2.2em) } 100% { transform: translateY(-3.3em) } }
@keyframes td-o1 { 0%,24% { opacity: 1 } 33%,90% { opacity: 0 } 100% { opacity: 1 } }
@keyframes td-o2 { 0%,24% { opacity: 0 } 33%,57% { opacity: 1 } 66%,100% { opacity: 0 } }
@keyframes td-o3 { 0%,57% { opacity: 0 } 66%,90% { opacity: 1 } 100% { opacity: 0 } }
@keyframes td-spin { to { transform: rotate(360deg) } }
@keyframes td-marquee { to { transform: translateX(-50%) } }
@keyframes td-marqcol { 0%,24% { -webkit-text-stroke-color: #60A5FA } 33%,57% { -webkit-text-stroke-color: #FB923C } 66%,90% { -webkit-text-stroke-color: #5EEAD4 } 100% { -webkit-text-stroke-color: #60A5FA } }
@keyframes td-travel { 0% { left: 0% } 100% { left: 100% } }
@keyframes td-ping { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(1.55); opacity: 0 } }
@keyframes td-beat { 0%,100% { transform: scale(1) } 8% { transform: scale(1.03) } 16% { transform: scale(1) } 24% { transform: scale(1.02) } 32% { transform: scale(1) } }
@keyframes td-iconping { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.6); opacity: 0 } }
@keyframes td-dotpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0) } 50% { box-shadow: 0 0 0 7px rgba(96,165,250,.18) } }
@keyframes td-steplit { 0%,22% { border-color: #F97316; box-shadow: 0 0 0 8px rgba(249,115,22,.18); color: #C2410C } 30%,100% { border-color: #CBD3DF; box-shadow: none; color: #1D4ED8 } }
@keyframes td-vtravel { 0% { top: 0% } 75%,88% { top: 100% } 100% { top: 100%; opacity: 0 } }
@keyframes td-vgrow { 0% { height: 0% } 75%,88% { height: 100%; opacity: 1 } 100% { height: 100%; opacity: 0 } }
@keyframes td-ping2 { 0% { width: 20px; height: 20px; opacity: .7 } 100% { width: 340px; height: 340px; opacity: 0 } }
@keyframes td-ping3 { 0% { transform: scale(.4); opacity: .5 } 100% { transform: scale(1.6); opacity: 0 } }
@keyframes td-pop { 0% { opacity: 0; transform: translateY(10px) } 100% { opacity: 1; transform: none } }
@keyframes td-acflow { to { stroke-dashoffset: -28 } }
@keyframes px-sway-s { 0%,100% { transform: rotate(-12deg) translateX(-4px) } 50% { transform: rotate(12deg) translateX(4px) } }
@keyframes px-sway-d { 0%,100% { transform: translateY(0) rotate(-6deg) } 50% { transform: translateY(9px) rotate(6deg) } }

/* Time-based loops */
.td-words { animation: td-words var(--cycle) cubic-bezier(.7,0,.3,1) infinite; }
.td-o1 { animation: td-o1 var(--cycle) ease-in-out infinite; }
.td-o2 { animation: td-o2 var(--cycle) ease-in-out infinite; }
.td-o3 { animation: td-o3 var(--cycle) ease-in-out infinite; }
.td-o1.td-beat { animation: td-o1 var(--cycle) ease-in-out infinite, td-beat 2.5s ease-in-out infinite; }
.td-o2.td-beat { animation: td-o2 var(--cycle) ease-in-out infinite, td-beat 2.5s ease-in-out infinite; }
.td-o3.td-beat { animation: td-o3 var(--cycle) ease-in-out infinite, td-beat 2.5s ease-in-out infinite; }
.td-ring { animation-name: td-spin; animation-timing-function: linear; animation-iteration-count: infinite; }
.td-marquee { animation: td-marquee 40s linear infinite, td-marqcol var(--cycle) ease-in-out infinite; }

/* =========================================================================
   Scroll-driven motion. Only where supported and motion is welcome;
   everywhere else every element stays fully visible and static.
   ========================================================================= */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .px { animation: px-fade linear both, px-s linear both; animation-timeline: view(), view(); animation-range: entry 0% entry 80%, cover 0% cover 100%; }
    .px.px-m { animation-name: px-fade, px-m; }
    .px.px-f { animation-name: px-fade, px-f; }
    .px.px-s.px-r { animation-name: px-fade, px-sr; }
    .px.px-m.px-r { animation-name: px-fade, px-mr; }
    .px.px-f.px-r { animation-name: px-fade, px-fr; }
    .px.px-lined { animation-name: px-still, px-s; }
    .px.px-lined.px-m { animation-name: px-still, px-m; }
    .px.px-lined.px-f { animation-name: px-still, px-f; }
    .px.px-lined.px-s.px-r { animation-name: px-still, px-sr; }
    .px.px-lined.px-m.px-r { animation-name: px-still, px-mr; }
    .px.px-lined.px-f.px-r { animation-name: px-still, px-fr; }
    @keyframes px-fade { from { opacity: 0; scale: .6 } to { scale: 1 } }
    @keyframes px-still { to {} }
    @keyframes px-s { from { transform: translateY(90px) } to { transform: translateY(-90px) } }
    @keyframes px-m { from { transform: translateY(260px) } to { transform: translateY(-260px) } }
    @keyframes px-f { from { transform: translateY(380px) } to { transform: translateY(-380px) } }
    @keyframes px-sr { from { transform: translateY(90px) rotate(0deg) } to { transform: translateY(-90px) rotate(120deg) } }
    @keyframes px-mr { from { transform: translateY(260px) rotate(0deg) } to { transform: translateY(-260px) rotate(-220deg) } }
    @keyframes px-fr { from { transform: translateY(380px) rotate(0deg) } to { transform: translateY(-380px) rotate(300deg) } }

    /* Line-drawn decorations draw themselves */
    .px-ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: px-ln linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .px-fill { fill-opacity: 0; animation: px-ln linear both, px-fillin linear both; animation-timeline: view(), view(); animation-range: entry 0% cover 35%, cover 30% cover 45%; }
    @keyframes px-ln { to { stroke-dashoffset: 0 } }
    @keyframes px-fillin { to { fill-opacity: .35 } }

    /* Section headings rise in */
    .px-in { animation: px-up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes px-up { from { opacity: 0; transform: translateY(60px) } to { opacity: 1; transform: none } }

    /* Hero parallax on the way out */
    .hero__text, .hero__head { animation: px-hslow linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .hero__dial { animation: px-hfast linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes px-hslow { to { transform: translateY(120px); opacity: .2 } }
    @keyframes px-hfast { to { transform: translateY(-160px) scale(.85) rotate(-20deg); opacity: .3 } }

    /* Airflow trail draws as you scroll */
    .px-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: px-draw linear both; animation-timeline: scroll(root); animation-range: 0% 100%; }
    @keyframes px-draw { from { stroke-dashoffset: .985 } to { stroke-dashoffset: 0 } }

    /* Word bands slide */
    .px-band { animation-timeline: view(); animation-range: cover 0% cover 100%; animation-timing-function: linear; animation-fill-mode: both; }
    .px-band-l { animation-name: px-bl; }
    .px-band-r { animation-name: px-br; }
    @keyframes px-bl { from { transform: translateX(0) } to { transform: translateX(-35%) } }
    @keyframes px-br { from { transform: translateX(-35%) } to { transform: translateX(0) } }

    /* Cards and steps pop in */
    .bento > a { animation: px-pop linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .bento > a:nth-child(3n+2) { animation-range: entry 15% cover 30%; }
    .bento > a:nth-child(3n) { animation-range: entry 30% cover 40%; }
    .bento > a.bento__wide { animation-range: entry 0% entry 60%; }
    @keyframes px-pop { from { opacity: 0; transform: scale(.8) translateY(80px) } to { opacity: 1; transform: none } }
    .step__num { animation: td-steplit 6s ease-in-out infinite, px-pop linear both; animation-timeline: auto, view(); animation-range: normal, entry 0% entry 80%; }
  }
  /* Desktop hero text parallax only; on mobile only the headline block moves */
  @media (max-width: 760px) { .hero__text { animation: none; } }
  @media (min-width: 761px) { .hero__head { animation: none; } }
}

/* Pause button (and menu toggle) freeze every animation */
[data-paused="true"] * { animation-play-state: paused !important; }

/* Reduced motion: everything still, everything visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .td-o2, .td-o3 { opacity: 0; }
  .steps__vfill { height: 100%; }
  .steps__vpulse { display: none; }
}
