/* ==========================================================================
   Air AQ — immersive product homepage
   Deep Air Blue #16324F · Glacier Blue #B9D9E1 (dominant)
   Turquoise #447F98 · Slate #629BB5 · Ice #D6EBF3 · Platinum #DADEE1 · White
   ========================================================================== */

:root {
    /* Air AQ palette — the long names are the canonical ones; the short
       aliases below them are what the rest of this sheet already uses. */
    --deep-air-blue: #16324F;
    --glacier-blue:  #B9D9E1;
    --turquoise-blue:#447F98;
    --slate-blue:    #629BB5;
    --ice-blue:      #D6EBF3;
    --platinum-grey: #DADEE1;
    --pure-white:    #FFFFFF;

    --deep:      var(--deep-air-blue);
    --deep-800:  #102640;
    --deep-900:  #0B1C2F;
    --glacier:   var(--glacier-blue);
    --turquoise: var(--turquoise-blue);
    --slate:     var(--slate-blue);
    --ice:       var(--ice-blue);
    --platinum:  var(--platinum-grey);
    --white:     var(--pure-white);

    --on-dark:    #FFFFFF;
    --on-dark-72: rgba(214, 235, 243, .76);
    --on-dark-52: rgba(185, 217, 225, 0.4);

    --ink-70: rgba(22, 50, 79, .70);
    --ink-50: rgba(22, 50, 79, .50);

    --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --shell: min(1300px, 100% - 4rem);
    --ease:  cubic-bezier(.22, .61, .36, 1);
    /* the softer, longer-tailed curve the hero buttons settle on */
    --ease-premium: cubic-bezier(.22, 1, .36, 1);

    --glass:    linear-gradient(150deg, rgba(255, 255, 255, .19) 0%, rgba(255, 255, 255, .07) 100%);
    --glass-br: 1px solid rgba(214, 235, 243, .30);
    --glass-sh: inset 0 1px 0 rgba(255, 255, 255, .26), 0 26px 50px -26px rgba(6, 20, 34, .85);
}

*, *::before, *::after { box-sizing: border-box; }

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

/* smooth scroll — the stylesheet Lenis asks for, and nothing more. Every rule
   here is gated on the class Lenis puts on <html> itself, so with the library
   absent or motion turned down none of it applies and the page scrolls the
   way it always did. The native smooth behaviour above is one of the things
   that gives way: the two would otherwise both animate the same number. */
html.lenis,
html.lenis body { height: auto; }

html.lenis { scroll-behavior: auto; }   /* Lenis is the smooth scroll now */

.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

/* a pane that scrolls itself keeps its own scrolling, and keeps it contained */
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

.lenis.lenis-smooth iframe { pointer-events: none; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--deep);
    background: var(--deep-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

svg { display: block; }

/* media never overflows its column, and never resizes the layout once loaded */
img, picture, video, canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   HERO SHELL  —  the room and the readings, on one screen and one surface

   The screen is asked for here rather than by the hero, and divided between
   the two: the room takes everything the readings do not need, and the
   readings close it. They are two boxes and not one only because the hero's
   floating cards are placed in percentages of the room they orbit — put the
   readings inside that box and the percentages start resolving against them
   too, and the lowest cards land on the figures. The boundary between the
   two is not a design element: the stack owns the colour, neither child
   paints a background at the join, and the hero's last stretch is already
   solid Deep Air Blue by the time it arrives there.
   ========================================================================== */

.herostack {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;

    color: var(--on-dark);
    /* the colour both halves stand on, and the colour the hero's photograph
       dissolves into — so the boundary is one tone meeting itself */
    background: var(--deep);
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* whatever the readings leave of the screen, and never less than what is
       inside it */
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(1rem, 2.2vw, 1.75rem);
    color: var(--on-dark);
    background: linear-gradient(168deg, #1E4368 0%, var(--deep) 40%, var(--deep-800) 74%, var(--deep-900) 100%);
}

/* The hero's landing.

   Whatever is behind it — the photograph, the vector room, or the fallback
   gradient when neither loads — the hero's last stretch comes to rest on
   exactly Deep Air Blue, which is the colour the readings below it stand on.
   That is the whole trick of the join: there is no transition to draw,
   because both sides are already the same tone before they meet. The ramp is
   long and starts at nothing, so it reads as the room receding rather than
   as a panel beginning. */
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;            /* over the room, under the composition */
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(200px, 32%, 460px);
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(22, 50, 79, 0)   0%,
        rgba(22, 50, 79, .14) 38%,
        rgba(22, 50, 79, .48) 66%,
        rgba(22, 50, 79, .86) 86%,
        var(--deep)          100%);
}

/* --------------------------------------------------------------------------
   THE ROOM
   -------------------------------------------------------------------------- */

.room {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.room > * { position: absolute; }

/* the photograph does not end — it sinks into Deep Air Blue over the hero's
   final third, so the section below begins in the colour the image became */
.room::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    pointer-events: none;
    /* reaches solid Deep Air Blue at 72% of this band, which is under the
       readings and above the hero's hem — so the photograph is gone before
       the hero ends, and the join below is one colour meeting itself rather
       than a photograph being cut off */
    background: linear-gradient(180deg,
        rgba(22, 50, 79, 0)   0%,
        rgba(22, 50, 79, .30) 30%,
        rgba(22, 50, 79, .72) 52%,
        var(--deep)           72%,
        var(--deep)          100%);
}

/* --------------------------------------------------------------------------
   Photographic backdrop (assets/image/baground.png).
   Present  -> the photo becomes the room, vector scenery steps aside.
   Missing  -> the <img> removes itself and the vector room renders as before.
   -------------------------------------------------------------------------- */

/* The photograph's box is the <picture>, not the <img>.

   `.room > *` is what makes the room's layers absolutely positioned, and the
   element it matches here is the wrapper — so the img's own `inset` and
   `height: 100%` were being handed to a static child of an auto-sized box and
   did nothing. The wrapper then collapsed to the file's natural aspect
   (1672x941), and the photograph covered a band that tall instead of the
   hero: at 1440px that is 810px against an 813px hero, which is why it looked
   right on the desktop it was drawn for. Every layout where the hero stacks
   and grows taller than 0.563 of its width — every tablet and every phone —
   left the picture stopping short of the section in a hard horizontal line,
   with the fade that is meant to dissolve it sitting far below, in the flat
   colour underneath.

   Giving the wrapper the inset makes it the full-height box the img's
   `object-fit: cover` was always written against, so the photograph fills the
   hero at every aspect and `.room::after` dissolves its real bottom edge. */
.room > picture {
    inset: 0;
    display: block;
}

.room__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* holds the family/product right of centre, keeps the left wall clear */
    object-position: 72% 50%;
}

.room.has-photo .room__wall,
.room.has-photo .room__window,
.room.has-photo .room__frame,
.room.has-photo .room__rays,
.room.has-photo .room__plant,
.room.has-photo .room__floor { display: none; }

/* the photo is graded into the palette: deep blue panel on the left,
   glacier/turquoise wash carrying through the room on the right */
.room__grade { display: none; }

.room.has-photo .room__grade {
    display: block;
    inset: 0;
    background: linear-gradient(102deg,
        rgba(22, 50, 79, .60) 0%,
        rgba(22, 50, 79, .34) 32%,
        rgba(98, 155, 181, .12) 56%,
        rgba(185, 217, 225, .16) 78%,
        rgba(68, 127, 152, .22) 100%);
    mix-blend-mode: soft-light;
}

.room.has-photo .room__photo {
    filter: saturate(.9) contrast(1.03) brightness(.99);
}

/* left-side scrim so the headline stays readable over a bright interior */
.room.has-photo .room__scrim {
    background: linear-gradient(100deg,
        rgba(9, 24, 40, .95) 0%,
        rgba(11, 28, 47, .91) 27%,
        rgba(11, 28, 47, .60) 42%,
        rgba(11, 28, 47, .22) 54%,
        rgba(11, 28, 47, .04) 66%,
        rgba(11, 28, 47, 0) 76%);
}

.room.has-photo .room__vignette {
    background: radial-gradient(120% 96% at 66% 44%, rgba(11, 28, 47, 0) 54%, rgba(7, 20, 34, .38) 100%);
}

.room.has-photo .room__grain { opacity: .08; }
.room.has-photo .room__air   { opacity: .8; }

/* over a bright interior the glass cards invert to a deep tint so they stay legible */
/* over the photograph the cards stay clear glass; the window behind CO₂ and
   Temperature is near-white, so the pane carries a faint Deep Air Blue cast —
   still see-through, just enough to hold light text */
.room.has-photo ~ .hero__inner .fcard {
    background: transparent;
}

.room.has-photo ~ .hero__inner .fcard__label {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 3px rgba(11, 28, 47, .55);
}

.room.has-photo ~ .hero__inner .fcard__value {
    text-shadow: 0 1px 4px rgba(11, 28, 47, .55);
}

@media (hover: hover) {
    .room.has-photo ~ .hero__inner .fcard:hover { background: transparent; }
}

/* wall: light pools where the window is */
.room__wall {
    inset: 0;
    background:
        radial-gradient(58% 62% at 72% 22%, rgba(214, 235, 243, .30) 0%, rgba(214, 235, 243, 0) 62%),
        radial-gradient(46% 50% at 22% 46%, rgba(98, 155, 181, .22) 0%, rgba(22, 50, 79, 0) 70%),
        linear-gradient(155deg, #22496E 0%, #1A3A5B 38%, #122C47 72%, #0C2138 100%);
}

/* the window: a soft luminous rectangle, far out of focus */
.room__window {
    top: -8%;
    right: 7%;
    width: 42%;
    height: 78%;
    border-radius: 48px;
    background: linear-gradient(190deg,
        rgba(255, 255, 255, .82) 0%,
        rgba(214, 235, 243, .60) 40%,
        rgba(185, 217, 225, .28) 76%,
        rgba(185, 217, 225, 0) 100%);
    filter: blur(24px);
}

/* mullions, barely readable through the blur */
.room__frame {
    top: -8%;
    right: 7%;
    width: 42%;
    height: 78%;
    background:
        linear-gradient(to right, transparent calc(50% - 4px), rgba(18, 44, 71, .55) calc(50% - 4px), rgba(18, 44, 71, .55) calc(50% + 4px), transparent calc(50% + 4px)),
        linear-gradient(to bottom, transparent calc(44% - 4px), rgba(18, 44, 71, .48) calc(44% - 4px), rgba(18, 44, 71, .48) calc(44% + 4px), transparent calc(44% + 4px));
    filter: blur(6px);
    opacity: .9;
}

.room__rays {
    inset: 0;
    width: 100%;
    height: 100%;
    filter: blur(26px);
    mix-blend-mode: screen;
    opacity: .85;
    animation: rayBreathe 16s ease-in-out infinite;
}

@keyframes rayBreathe {
    0%, 100% { opacity: .72; }
    50%      { opacity: .95; }
}

/* out-of-focus foliage in the near corner */
.room__plant {
    left: -6%;
    bottom: -8%;
    width: 30%;
    height: 52%;
    border-radius: 62% 38% 54% 46% / 48% 58% 42% 52%;
    background:
        radial-gradient(38% 34% at 74% 20%, rgba(185, 217, 225, .30) 0%, rgba(185, 217, 225, 0) 70%),
        radial-gradient(70% 70% at 40% 30%, rgba(46, 92, 108, .92) 0%, rgba(10, 28, 46, .98) 70%);
    filter: blur(16px);
}

.room__plant--b {
    left: 6%;
    bottom: 2%;
    width: 16%;
    height: 30%;
    border-radius: 48% 52% 40% 60% / 60% 44% 56% 40%;
    background:
        radial-gradient(40% 34% at 70% 18%, rgba(214, 235, 243, .34) 0%, rgba(214, 235, 243, 0) 72%),
        radial-gradient(60% 60% at 50% 30%, rgba(68, 127, 152, .78) 0%, rgba(11, 28, 47, .94) 72%);
    filter: blur(11px);
    opacity: .95;
}

.room__plant--c {
    right: -4%;
    bottom: -10%;
    width: 22%;
    height: 34%;
    border-radius: 54% 46% 60% 40% / 42% 56% 44% 58%;
    background: radial-gradient(60% 60% at 60% 30%, rgba(46, 92, 108, .55) 0%, rgba(11, 28, 47, .92) 74%);
    filter: blur(22px);
}

/* air moving through the room */
.room__air {
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
}

.ribbon {
    stroke-dasharray: 380 520;
    animation: flow 20s linear infinite;
}

.ribbon--2 { animation-duration: 26s; animation-delay: -5s;  }
.ribbon--3 { animation-duration: 23s; animation-delay: -11s; }
.ribbon--4 { animation-duration: 29s; animation-delay: -16s; opacity: .7; }

@keyframes flow {
    from { stroke-dashoffset: 900; }
    to   { stroke-dashoffset: 0; }
}

/* motes drifting in the light */
.room__dust { inset: 0; width: 100%; height: 100%; }

.speck {
    opacity: .3;
    animation: drift 15s ease-in-out infinite;
}

.s2 { animation-duration: 19s; animation-delay: -3s;  }
.s3 { animation-duration: 13s; animation-delay: -6s;  }
.s4 { animation-duration: 22s; animation-delay: -9s;  }
.s5 { animation-duration: 17s; animation-delay: -12s; }
.s6 { animation-duration: 24s; animation-delay: -2s;  }
.s7 { animation-duration: 16s; animation-delay: -7s;  }
.s8 { animation-duration: 20s; animation-delay: -14s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0);        opacity: .12; }
    50%      { transform: translate(22px, -34px); opacity: .55; }
}

.room__floor {
    left: 0;
    right: 0;
    bottom: 0;
    height: 34%;
    background: linear-gradient(to top,
        rgba(8, 22, 37, .92) 0%,
        rgba(9, 25, 41, .55) 46%,
        rgba(11, 28, 47, 0) 100%);
}

/* keeps the headline crisp over the scene */
.room__scrim {
    inset: 0;
    background: radial-gradient(74% 84% at 12% 42%,
        rgba(9, 24, 40, .72) 0%,
        rgba(9, 24, 40, .34) 44%,
        rgba(9, 24, 40, 0) 72%);
}

.room__grain {
    inset: 0;
    opacity: .22;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.room__vignette {
    inset: 0;
    background: radial-gradient(118% 92% at 50% 34%, rgba(11, 28, 47, 0) 42%, rgba(7, 20, 34, .62) 100%);
}

/* a section that has left the viewport parks its animations (set by script) */
.is-idle,
.is-idle *,
.is-idle *::before,
.is-idle *::after { animation-play-state: paused; }

/* ==========================================================================
   FLOATING NAVIGATION
   ========================================================================== */

.nav {
    position: sticky;
    top: clamp(.9rem, 2vw, 1.5rem);
    z-index: 40;
    width: var(--shell);
    margin: clamp(.9rem, 2vw, 1.5rem) auto 0;
}

.nav__bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: .55rem .55rem .55rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(185, 217, 225, .34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    color: var(--white);
}

.brand__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--deep);
    background: linear-gradient(140deg, var(--ice), var(--glacier));
}

.brand__mark svg { width: 20px; height: 20px; }

.brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.14rem;
    letter-spacing: -.015em;
}

.brand__name span { color: var(--glacier); font-weight: 600; }

.nav__links {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav__links a {
    padding: .6rem 1.1rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--on-dark-72);
    white-space: nowrap;
    transition: color .25s var(--ease), background .25s var(--ease);
}

.nav__links a:hover {
    color: var(--deep);
    background: var(--glacier);
}

.nav__cta {
    padding: .72rem 1.5rem;
    border-radius: 999px;
    font-size: .89rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    color: var(--deep);
    background: var(--glacier);
    box-shadow: 0 14px 30px -16px rgba(185, 217, 225, .8);
    transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.nav__cta:hover {
    background: var(--ice);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px -16px rgba(214, 235, 243, .85);
}

/* --- the small-screen menu button ------------------------------------------
   Not in the picture on the wide layout: the four links are in the bar there
   and this is `display: none`. It is switched on in the responsive layer at
   the same 1200px the links leave the bar, so the two can never both be off.

   It wears the ghost button's own surface — the same glass, hairline and Ice
   the hero's secondary action wears — so it is a member of the existing set
   rather than a new control.
   -------------------------------------------------------------------------- */

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: none;
    place-items: center;
    padding: 0;
    border-radius: 999px;
    color: var(--ice);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(185, 217, 225, .34);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}

.nav__toggle:hover {
    background: rgba(185, 217, 225, .16);
    border-color: rgba(214, 235, 243, .6);
}

/* three rules that fold into a cross. The bar itself is the middle one and
   the two pseudo-elements are the outer pair, so the whole control is one
   element and the fold is two transforms. */
.nav__burger,
.nav__burger::before,
.nav__burger::after {
    display: block;
    width: 17px;
    height: 1.7px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), background-color .2s var(--ease), top .3s var(--ease);
}

.nav__burger { position: relative; }

.nav__burger::before,
.nav__burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav__burger::before { top: -6px; }
.nav__burger::after  { top:  6px; }

.nav.is-open .nav__burger { background: transparent; }
.nav.is-open .nav__burger::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__burger::after  { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   HERO COMPOSITION
   ========================================================================== */

.hero__inner {
    flex: 1;
    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
    padding-top: clamp(2rem, 5vw, 4rem);
}

/* --- copy ----------------------------------------------------------------- */

.hero__copy { max-width: 38rem; }

/* the pulsing ring is a scaled pseudo-element, not an animated box-shadow:
   same look, but it runs on the compositor instead of repainting each frame */
.fcard__dot { position: relative; }

.fcard__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(185, 217, 225, .18);
    animation: breathe 3.4s var(--ease) infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1);   opacity: .85; }
    50%      { transform: scale(2.4); opacity: .18; }
}

.hero__title {
    margin: 0 0 1.35rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 3.8vw, 3.45rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    color: var(--white);
    text-wrap: balance;
    text-shadow: 0 2px 30px rgba(7, 20, 34, .5);
}

.hero__title-accent {
    display: block;
    background: linear-gradient(96deg, var(--glacier) 0%, var(--ice) 48%, var(--glacier) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__desc {
    margin: 0 0 2.25rem;
    max-width: 31rem;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.7;
    color: var(--on-dark-72);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem 1.85rem;
    border-radius: 999px;
    font-size: .96rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transform: translateY(0) scale(1);
    transform-origin: center;
    transition: transform .28s var(--ease-premium), box-shadow .28s var(--ease-premium),
                background .28s var(--ease-premium), border-color .28s var(--ease-premium),
                color .28s var(--ease-premium);
}

.btn--primary {
    color: var(--deep);
    background: linear-gradient(135deg, var(--white) 0%, var(--ice) 46%, var(--glacier) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 16px 34px -14px rgba(185, 217, 225, .6),
        0 6px 18px -8px rgba(7, 20, 34, .7);
}

.btn__arrow { width: 18px; height: 18px; transition: transform .28s var(--ease-premium); }

.btn--ghost {
    color: var(--ice);
    background: transparent;
    border: 1px solid rgba(214, 235, 243, .45);
}

.btn__play { width: 20px; height: 20px; transition: transform .28s var(--ease-premium); }

/* Hover — pointer devices only, so a tap on a phone never leaves a button
   stuck in its lifted state. The lift is small and the shadow does the rest
   of the work: the button reads as rising off the section, not glowing. */
@media (hover: hover) and (pointer: fine) {
    .btn--primary:hover {
        transform: translateY(-3px) scale(1.015);
        background: linear-gradient(135deg, var(--white) 0%, var(--white) 46%, var(--ice) 100%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .95),
            0 26px 48px -18px rgba(185, 217, 225, .68),
            0 10px 26px -10px rgba(7, 20, 34, .72);
    }

    .btn--primary:hover .btn__arrow { transform: translateX(3px); }

    .btn--ghost:hover {
        color: var(--white);
        transform: translateY(-3px) scale(1.015);
        background: rgba(214, 235, 243, .07);
        border-color: rgba(214, 235, 243, .78);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .14),
            0 22px 40px -20px rgba(7, 20, 34, .8),
            0 8px 20px -12px rgba(185, 217, 225, .35);
    }

    .btn--ghost:hover .btn__play { transform: translateX(3px); }

    /* press — settles back toward the resting plane, quicker on the way down
       than on the way up so the click feels answered rather than animated. */
    .btn--primary:active,
    .btn--ghost:active {
        transform: translateY(-1px) scale(1.004);
        transition-duration: .12s;
    }

    .btn--primary:active {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .9),
            0 14px 28px -16px rgba(185, 217, 225, .55),
            0 5px 14px -8px rgba(7, 20, 34, .7);
    }

    .btn--ghost:active {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .1),
            0 12px 24px -18px rgba(7, 20, 34, .75);
    }
}

/* motion turned down: keep the colour shift, drop the movement */
@media (prefers-reduced-motion: reduce) {
    .btn,
    .btn__arrow,
    .btn__play {
        transition: background .2s linear, border-color .2s linear, color .2s linear;
    }

    .btn--primary:hover,
    .btn--ghost:hover,
    .btn--primary:active,
    .btn--ghost:active {
        transform: none;
    }

    .btn--primary:hover .btn__arrow,
    .btn--ghost:hover .btn__play { transform: none; }
}

/* --- stage ---------------------------------------------------------------- */

.hero__stage {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stage {
    position: relative;
    width: auto;
    /* The stage is the tallest thing the hero asks for, so it is what decides
       whether the readings finish above the fold. It is also, under the
       photograph, invisible — the cards orbit the room rather than this box,
       and .hero__inner stretches to fill the hero whatever this says — so
       the number is a floor on the composition, not its size, and it can
       give way to the screen without anything moving.

       Hence the second term: 400px is everything else the screen is already
       committed to — the nav bar, the composition's own top padding, the
       readings and the two breaths around them — so `100svh - 400px` is
       literally what is left for the stage. It takes whichever is smaller,
       and the clamp keeps it sane at both extremes. */
    height: clamp(320px, min(62vh, calc(100vh - 400px)), 640px);
    height: clamp(320px, min(62vh, calc(100svh - 400px)), 640px);
    max-width: 100%;
    aspect-ratio: 5 / 6;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    place-items: center;
}


/* the surface the device rests on, running off into the room */


/* the console top receding into the room */

/* soft reflection of the device on the surface */


/* --- floating glass cards -------------------------------------------------- */

.fcard {
    --s: 1;
    --r: 0deg;
    position: absolute;
    z-index: 4;
    /* real frosted glass: a thin white tint, the room blurred through it, a
       hairline edge and one soft shadow — no solid fill anywhere */
    --fcard-sh: 0 8px 32px rgba(22, 50, 79, .14), inset 0 1px 0 rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .8rem;
    border-radius: 15px;
    overflow: hidden;              /* clips the highlight to the radius */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: var(--fcard-sh);
    transform: translateY(0) scale(var(--s)) rotate(var(--r));
    will-change: transform;
    animation: bob 9s ease-in-out infinite;
    /* `translate` composes with the bob's `transform`, so the hover lift
       never interrupts the drift */
    transition: translate .35s cubic-bezier(.2, .7, .2, 1),
                border-color .35s ease, box-shadow .35s ease, background .35s ease;
}

/* the sheen across the pane */
.fcard::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .03));
    pointer-events: none;
    transition: opacity .35s ease;
}

/* the reflection caught along the top edge */
.fcard::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
    pointer-events: none;
}

/* the content sits above the sheen so it stays crisp */
.fcard > * { position: relative; z-index: 1; }

@media (hover: hover) {
    .hero__stage .fcard:hover {
        translate: 0 -3px;
        background: transparent;
        border-color: rgba(255, 255, 255, .42);
        --fcard-sh: 0 12px 34px rgba(22, 50, 79, .18), inset 0 1px 0 rgba(255, 255, 255, .38);
    }
}

@keyframes bob {
    0%, 100% { transform: translateY(0)     scale(var(--s)) rotate(var(--r)); }
    50%      { transform: translateY(-11px) scale(var(--s)) rotate(var(--r)); }
}

.fcard__icon {
    width: 30px;
    height: 30px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--deep);
    background: linear-gradient(140deg, rgba(214, 235, 243, .92), rgba(185, 217, 225, .82));
    border: 1px solid rgba(255, 255, 255, .5);
}

.fcard__icon svg { width: 17px; height: 17px; }

.fcard__text {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    margin-right: auto;
    min-width: 0;              /* so the card can shrink with the stage */
}

.fcard__label {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(214, 235, 243, .9);
    text-shadow: 0 1px 2px rgba(11, 28, 47, .35);
}

.fcard__value {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(11, 28, 47, .4);
}

.fcard__dot {
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--glacier);
    box-shadow: 0 0 10px rgba(185, 217, 225, .9);
}

.fcard__spark {
    width: 46px;
    height: 20px;
    flex: none;
    color: var(--glacier);
}

.meter { display: flex; align-items: flex-end; gap: 3px; height: 20px; }

.meter i {
    width: 4px;
    height: 7px;
    border-radius: 2px;
    background: rgba(214, 235, 243, .26);
}

.meter i.is-on { height: 15px; background: var(--glacier); }

/* depth tiers */
.is-near { --s: 1.02; z-index: 6; }
.is-mid  { --s: .94;  z-index: 5; opacity: .97; }

.is-far {
    --s: .84;
    z-index: 3;
    opacity: .9;
    --fcard-sh: 0 6px 24px rgba(22, 50, 79, .12), inset 0 1px 0 rgba(255, 255, 255, .22);
}

/* placement — orbiting the device, not gridded */
.fcard--aq  { top: calc(4% + 18px);  left: -9%;  --r: -1.4deg; animation-delay: 0s;    }
.fcard--co2 { top: 20%; right: -8%;  --r: 1.6deg;  animation-delay: -2.1s; }
.fcard--voc { top: 43%; right: 0%;   --r: -2deg;   animation-delay: -5.6s; }
.fcard--pm  { top: 54%; left: -13%;  --r: 1.1deg;  animation-delay: -4.2s; }
.fcard--gas { top: calc(69% - 30px); right: -6%;  --r: -1deg;   animation-delay: -6.4s; }
.fcard--temp { top: 29%; left: -4%;  --r: 1.3deg;  animation-delay: -7.8s; }

.insight {
    position: absolute;
    z-index: 7;
    top: 86%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: .75rem;
    width: min(390px, 104%);
    padding: .8rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(22, 50, 79, .82) 0%, rgba(16, 38, 64, .66) 100%);
    border: 1px solid rgba(185, 217, 225, .26);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 48px -24px rgba(6, 20, 34, .95);
}

.insight__spark {
    width: 28px;
    height: 28px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--deep);
    background: linear-gradient(135deg, var(--ice), var(--glacier));
}

.insight__spark svg { width: 17px; height: 17px; }

.insight__text {
    margin: 0;
    font-size: .81rem;
    line-height: 1.45;
    color: rgba(214, 235, 243, .84);
}

.insight__text strong { color: var(--white); font-weight: 600; }

/* focus */
:where(a, button):focus-visible {
    outline: 2px solid var(--turquoise);
    outline-offset: 3px;
}

.hero :where(a, button):focus-visible { outline-color: var(--ice); }

/* the vector device's own branding */
.pdevice .pd__brand {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: .01em;
    fill: #9AA4AD;
}

.device {
    position: relative;
    z-index: 2;
    width: 74%;
    height: auto;
    max-width: 100%;
    overflow: visible;
    animation: hover 9s ease-in-out infinite;
}

@keyframes hover {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

.device .pd__brand {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: .01em;
    fill: #97A2AB;
}

/* ==========================================================================
   THE AIR BAND  —  the product's surface
   The readings have moved up into the hero, so what this wrapper carries is
   the product alone. It keeps the job that made the join work: the ramp
   opens on the exact tone the hero dissolves into, and the product paints no
   background of its own, so there is one continuous surface from the hero's
   last pixel down to the trough.
   ========================================================================== */

.airband {
    position: relative;
    isolation: isolate;
    z-index: 2;
    /* the band is what asks for a screen now, not the product inside it —
       so the readings count toward that screen instead of being stacked on
       top of one, which is what used to open the gap between them */
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;

    /* the breath the band opens on, before the product copy. It lives on a
       single custom property, so the distance is one number at every width
       and the breakpoints below tune it in one place. */
    --band-gap: clamp(2.75rem, 5vw, 4rem);

    /* how far the band's light reaches back up over the readings. The join
       is not a place the light starts — it is a place it is already lit,
       and this is the distance that makes that true. */
    --join-rise: clamp(140px, 15vw, 230px);

    /* The ramp. It opens on the tone the hero's photograph dissolved into,
       lifts two shades under the readings, and then holds that lift flat
       across the join — the seam sits in the middle of a plateau, so there
       is no inflection anywhere near it to read as an edge. From there it is
       one long, uninterrupted descent to the trough. */
    background: linear-gradient(180deg,
        #16324F  0%,
        #1A3A5C 12%,
        #1A3A5B 26%,
        #173553 40%,
        #153049 54%,
        var(--deep-800) 70%,
        var(--deep-900) 88%,
        var(--deep-900) 100%);
}

/* the Glacier wash, laid across the top of the band and far wider than it —
   the same breath the hero closes on, carried a little further down, so the
   light does not stop where the hero does */
.airband::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    /* out of the band and up over the readings. Negative z-index inside the
       band's own stacking context puts this above the band's background but
       below everything in it, and the band sits above the stack — so this one
       layer is lit on both sides of the join at once. */
    top: calc(-1 * var(--join-rise));
    pointer-events: none;
    background:
        /* the join's own breath: a wide, low pool sitting on the seam itself,
           at nothing above the readings and at nothing below the opening of
           the product, so there is no stop in it anywhere near an edge */
        radial-gradient(160% calc(var(--join-rise) * 2) at 50% var(--join-rise),
            rgba(185, 217, 225, .065) 0%,
            rgba(185, 217, 225, .028) 46%,
            rgba(185, 217, 225, 0)    80%),
        /* and the band's own wash, unchanged, measured from the band's top */
        radial-gradient(125% 46% at 50% calc(var(--join-rise) + 26%),
            rgba(185, 217, 225, .085) 0%,
            rgba(185, 217, 225, .038) 40%,
            rgba(185, 217, 225, 0)   74%);
}

/* the rise out of the trough, in real pixels rather than a share of the band.
   The section below opens on a photograph of a lit room, and the dark handing
   straight over to it was the harshest join on the page — so the last stretch
   comes back up to Deep Air Blue and the two meet on one tone. Fixed length
   because the band's height varies and this landing must not. */
.airband::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 300px;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(11, 28, 47, 0)    0%,
        rgba(15, 41, 66, .72) 34%,
        #14304C               72%,
        var(--deep)          100%);
}


/* ==========================================================================
   LIVE AIR DATA  (the hero's closing line: the readings)
   ========================================================================== */

.airdata {
    position: relative;
    isolation: isolate;
    /* above the hero, so the light below can be thrown back up across it.
       No clipping here — the readings' own box must not be able to cut
       anything, because its top edge is the one edge that must not exist. */
    z-index: 1;
    /* the breath above the readings, and the hem below them, tuned in one
       place per breakpoint */
    --read-gap: clamp(2.75rem, 5vw, 4rem);
    --read-hem: clamp(2rem, 3.5vw, 3rem);
    padding: var(--read-gap) 0 var(--read-hem);
    color: var(--on-dark);
    /* Deep Air Blue, flat and full-bleed: the hero's last stretch lands on
       this exact value and the band below opens on it, so all three joins
       are one tone meeting itself with nothing to step across */
    background: #16324F;
}

/* The Glacier pool that used to sit across this section is gone: it lifted
   the middle of the readings a few shades off Deep Air Blue, which is the
   one thing the flat fill above cannot have. The join does not need it —
   the hero's last stop and the band's first stop are both #16324F, so the
   boundaries are already invisible without a light laid over them. */

/* ---- the air ------------------------------------------------------------- */

.airdata__field {
    position: absolute;
    z-index: -1;
    inset: 0;
    /* the readings' box no longer clips, so the air contains itself */
    overflow: hidden;
    pointer-events: none;
    /* The readings' box is short now and its edges are in the open, so this
       layer has to be gone long before it reaches either of them: a light
       that stops anywhere near the top of the readings would draw the line
       the whole arrangement exists to avoid. It fades in across the first
       third and back out across the last quarter, leaving only a soft rise
       of air under the figures themselves. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 76%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 38%, #000 76%, transparent 100%);
}

/* three slow currents. Pure radial gradients — soft by construction, so none
   of them needs a blur filter and none of them costs a frame on scroll */
.airwave {
    position: absolute;
    border-radius: 50%;
    animation: airDrift 26s var(--ease) infinite alternate;
}

.airwave--a {
    top: -30%; left: -8%;
    width: 62vw; height: 130%;
    max-width: 880px;
    background: radial-gradient(closest-side, rgba(185, 217, 225, .10) 0%, rgba(98, 155, 181, .05) 46%, rgba(22, 50, 79, 0) 100%);
}

.airwave--b {
    top: -20%; left: 34%;
    width: 54vw; height: 140%;
    max-width: 760px;
    background: radial-gradient(closest-side, rgba(214, 235, 243, .09) 0%, rgba(68, 127, 152, .06) 44%, rgba(22, 50, 79, 0) 100%);
    animation-duration: 34s;
    animation-delay: -12s;
}

.airwave--c {
    top: -26%; right: -10%;
    width: 58vw; height: 132%;
    max-width: 820px;
    background: radial-gradient(closest-side, rgba(68, 127, 152, .12) 0%, rgba(185, 217, 225, .04) 48%, rgba(22, 50, 79, 0) 100%);
    animation-duration: 30s;
    animation-delay: -19s;
}

@keyframes airDrift {
    from { transform: translate3d(-2.5%, 0, 0) scale(1);    opacity: .8; }
    to   { transform: translate3d( 2.5%, 0, 0) scale(1.08); opacity: 1;  }
}

/* the motes. Position comes from the inline custom properties, so the drift
   is one shared keyframe and fourteen cheap compositor layers */
.airdata__motes { position: absolute; inset: 0; }

.mote {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--sz);
    height: var(--sz);
    border-radius: 50%;
    background: var(--ice);
    opacity: 0;
    animation: moteRise var(--dur) linear var(--delay) infinite;
}

@keyframes moteRise {
    0%   { transform: translate3d(0, 0, 0);                          opacity: 0; }
    14%  {                                                           opacity: var(--o); }
    82%  {                                                           opacity: var(--o); }
    100% { transform: translate3d(var(--dx), var(--dy), 0);          opacity: 0; }
}

/* ---- the readings -------------------------------------------------------- */

.airdata__inner {
    width: var(--shell);
    margin: 0 auto;
}

.airdata__row {
    /* the two heights the whole composition is built on: every value box is
       the same height and every link row is the same height, so all four
       sensor pins land on one line no matter how long a value reads */
    --value-h: clamp(2.5rem, 5vw, 3.6rem);
    --pin-row: 2.5rem;
    --col-gap: clamp(1.5rem, 3.4vw, 3.25rem);

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--col-gap);
}

.anode {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    min-width: 0;
}

.anode__value {
    margin: 0;
    height: var(--value-h);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
    /* the hero title's accent, reused verbatim */
    background: linear-gradient(96deg, var(--glacier) 0%, var(--ice) 46%, var(--white) 72%, var(--glacier) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

/* digits must not shuffle the row's width as they climb */
.anode__num { font-variant-numeric: tabular-nums; }

/* the one reading that is a word rather than a count — a shade smaller so it
   carries the same optical weight as the numerals beside it */
.anode__word { font-size: .72em; letter-spacing: -.005em; }

/* the stream, one column's worth. Each reading owns the slice of hairline it
   sits on and half the gutter either side, so the four slices butt together
   into a single unbroken line — and still do when the grid folds to two
   columns or one, without a second element or a second animation. */
.anode__link {
    position: relative;
    display: block;
    height: var(--pin-row);
    width: calc(100% + var(--col-gap));
    margin-left: calc(var(--col-gap) / -2);
}

.anode__link::before,
.anode__beam {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    margin-top: -.5px;
}

/* the resting hairline: the stream before anything has travelled it */
.anode__link::before {
    content: "";
    background: rgba(185, 217, 225, .16);
}

/* and the lit length. --p is the only value the script writes per frame */
.anode__beam {
    transform: scaleX(var(--p, 0));
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(185, 217, 225, .55) 0%, var(--ice) 60%, var(--white) 100%);
    box-shadow: 0 0 6px rgba(214, 235, 243, .45);
}

/* the head of the travelling line */
.anode__spark {
    position: absolute;
    top: 50%;
    left: calc(var(--p, 0) * 100%);
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 10px rgba(214, 235, 243, .9), 0 0 20px rgba(185, 217, 225, .45);
    opacity: var(--spark, 0);
}

/* the outermost ends of the stream fade rather than stop */
.anode:first-child .anode__link::before,
.anode:first-child .anode__beam {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--col-gap));
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--col-gap));
}

.anode:last-child .anode__link::before,
.anode:last-child .anode__beam {
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 var(--col-gap));
            mask-image: linear-gradient(270deg, transparent 0, #000 var(--col-gap));
}

/* the hairline that hangs the reading off the stream */
.anode__stem {
    position: absolute;
    left: 50%;
    top: 0;
    height: 50%;
    width: 1px;
    margin-left: -.5px;
    background: linear-gradient(180deg, rgba(185, 217, 225, 0) 0%, rgba(185, 217, 225, .5) 100%);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .7s var(--ease);
}

/* the sensor itself */
.anode__pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: rgba(185, 217, 225, .3);
    transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}

/* the sensor pulse — one slow ring, kept faint on purpose */
.anode__pin::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--glacier);
    opacity: 0;
}

.anode__label {
    margin: 0;
    padding-top: .55rem;
    font-size: clamp(.7rem, .95vw, .78rem);
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--on-dark-72);
    text-wrap: balance;
}

/* ---- armed + activated ---------------------------------------------------
   .is-armed is written by the script, so with no JS the readings simply
   render finished and lit — the figures are already in the markup.
   -------------------------------------------------------------------------- */

.airdata.is-armed .anode__value,
.airdata.is-armed .anode__label {
    opacity: .22;
    transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}

.airdata.is-armed .anode__value {
    transform: translateY(10px);
    filter: blur(6px);
}

.airdata.is-armed .anode.is-live .anode__value {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.airdata.is-armed .anode.is-live .anode__label { opacity: 1; }

.anode.is-live .anode__stem { transform: scaleY(1); }

.anode.is-live .anode__pin {
    background: var(--ice);
    box-shadow: 0 0 10px rgba(214, 235, 243, .75);
}

.anode.is-live .anode__pin::after { animation: pinPulse 3.2s var(--ease) infinite; }

@keyframes pinPulse {
    0%   { transform: scale(1);   opacity: .38; }
    70%  { transform: scale(3.4); opacity: 0;   }
    100% { transform: scale(3.4); opacity: 0;   }
}

/* the word reading has no count to run, so it arrives on a single soft pulse:
   a halo that swells and clears behind it, and the letters drawing together.
   The glyphs themselves are transparent — the gradient behind them is what is
   seen — so the pulse has to be a box of its own rather than their opacity. */
.anode--word .anode__value { position: relative; }

.anode--word .anode__value::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 55%;
    width: 128%;
    height: 210%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(214, 235, 243, .20) 0%, rgba(185, 217, 225, .07) 52%, rgba(22, 50, 79, 0) 100%);
    opacity: 0;
    pointer-events: none;
}

.anode--word.is-live .anode__value::before { animation: wordHalo 1.9s var(--ease) both; }

@keyframes wordHalo {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
    38%  { opacity: 1; transform: translate(-50%, -50%) scale(1);   }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}

.anode--word.is-live .anode__word { animation: wordPulse 1.4s var(--ease) both; }

@keyframes wordPulse {
    from { letter-spacing: .1em; }
    to   { letter-spacing: -.005em; }
}

/* ---- responsive ---------------------------------------------------------- */

@media (max-width: 1080px) {
    /* Tablet and below stay four across on one line. The band is a set of
       four readings taken in at a glance, and folding it into a 2 x 2 turned
       one glance into two — so instead of dropping columns, everything in
       the column gets smaller: the gutter, the value box, the figure and the
       label. The stream keeps its single unbroken run and still fades out at
       the row's two outer ends, because there is still only one row. */
    .airdata__row {
        --value-h: clamp(2.1rem, 4.6vw, 2.9rem);
        --pin-row: 2.25rem;
        --col-gap: clamp(.9rem, 2.6vw, 2.25rem);
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 0;
    }

    .anode__value { font-size: clamp(1.5rem, 4vw, 2.4rem); }

    .anode__label {
        padding-top: .5rem;
        font-size: clamp(.58rem, 1.5vw, .72rem);
        letter-spacing: .1em;
    }
}

@media (max-width: 640px) {

    /* Still one row of four on a phone. Everything that takes width comes
       down together — gutter, value box, figure, label — so the four read as
       a single line of data rather than a grid, and the row never asks for
       more than the shell it sits in.

       Nothing about the composition changes: the value box and the pin row
       are still fixed heights, so the four sensor pins land on one line, and
       the stream is still one unbroken hairline fading at its two ends. */
    .airdata__row {
        --value-h: clamp(1.5rem, 6vw, 2rem);
        --pin-row: 1.6rem;
        --col-gap: clamp(.4rem, 2vw, .9rem);
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 0;
    }

    /* sized off the narrowest column rather than the screen: "Real-Time" is
       .72em of this and must still sit inside a quarter of a 320px shell
       without wrapping or touching its neighbour */
    .anode__value { font-size: clamp(1rem, 4.8vw, 1.6rem); }

    .anode__label {
        padding-top: .4rem;
        font-size: clamp(.5rem, 2.1vw, .62rem);
        letter-spacing: .05em;
        line-height: 1.25;
        text-wrap: pretty;
    }
}

@media (prefers-reduced-motion: reduce) {
    .airwave, .mote, .anode__pin::after,
    .anode--word.is-live .anode__word,
    .anode--word.is-live .anode__value::before { animation: none; }
    .mote { opacity: var(--o); }
    .airdata.is-armed .anode__value,
    .airdata.is-armed .anode__label { opacity: 1; transform: none; filter: none; transition: none; }
    .anode__stem { transform: scaleY(1); transition: none; }
}

/* ==========================================================================
   PRODUCT SECTION  (the band's second half — same surface, same shell)
   ========================================================================== */

.product {
    /* the band's frame, taken over from the band: a flex column whose centred
       inner fills the screen the band asks for. */
    position: relative;
    isolation: isolate;
    overflow: hidden;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    /* nothing marks the top but space: no rounding, no rule, no border, no
       background. The opening breath is the band's own one number. */
    margin-top: 0;
    border-radius: 0;
    padding: var(--band-gap) 0 clamp(4rem, 8vw, 7rem);
    /* the band behind it is the background. Painting one here is what used
       to make the join: its opening lift read as a section starting. */
    background: none;

    /* The cards on this section carry no fill at all — the band reads
       straight through them and a Glacier hairline is what gives each one
       its shape. Declared here so the sensor cards, the AI card and the
       phone are all defined by the same three values.
       No backdrop-filter anywhere: the backdrop is a smooth gradient, so a
       blur would move the pixels by ~1/255 and cost every frame of scroll. */
    --pcard-br: 1px solid rgba(185, 217, 225, .42);
    --pcard-sh:
        inset 0 1px 0 rgba(214, 235, 243, .16),
        0 20px 38px -30px rgba(4, 14, 25, .7);
}

/* the Glacier breath that used to be pinned to this section's top edge is now
   .airband::before, centred on the join and spanning both halves of the band.
   A glow anchored to an edge draws that edge; one laid across it hides it. */

.product__air {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* the blooms are clipped at this section's top, so a short ramp put their
       onset right on the join. A long one instead: by the time they are fully
       lit the join is far behind, and the fade reads as depth, not an edge */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 150px, #000 340px, #000 calc(100% - 230px), transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 150px, #000 340px, #000 calc(100% - 230px), transparent 100%);
}

.product__bloom { position: absolute; border-radius: 50%; }

.product__bloom--a {
    top: 6%;
    right: -12%;
    width: 54vw;
    height: 54vw;
    max-width: 780px;
    max-height: 780px;
    background: radial-gradient(circle at 50% 50%, rgba(185, 217, 225, .30) 0%, rgba(98, 155, 181, .18) 42%, rgba(11, 28, 47, 0) 70%);
    filter: blur(14px);
}

.product__bloom--b {
    top: 34%;
    left: -14%;
    width: 46vw;
    height: 46vw;
    max-width: 640px;
    max-height: 640px;
    background: radial-gradient(circle at 50% 50%, rgba(68, 127, 152, .34) 0%, rgba(98, 155, 181, .14) 46%, rgba(11, 28, 47, 0) 72%);
    filter: blur(20px);
}

.product__bloom--c {
    bottom: -10%;
    left: 32%;
    width: 44vw;
    height: 44vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle at 50% 50%, rgba(185, 217, 225, .20) 0%, rgba(11, 28, 47, 0) 68%);
    filter: blur(18px);
}

/* --- reveal system -------------------------------------------------------- */

.product [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(9px);
    transition:
        opacity 1.1s var(--ease) var(--d, 0ms),
        transform 1.1s var(--ease) var(--d, 0ms),
        filter 1.1s var(--ease) var(--d, 0ms),
        translate .7s var(--ease);
}

.product [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* --- the inner, mirroring .hero__inner -------------------------------------
   Same shell, same centred grid, same column gap and the same padding-top the
   hero gives its own composition. The only difference is the ratio: the copy
   here is shorter than the hero's, so the stage takes the wider share.
   -------------------------------------------------------------------------- */

.product__inner {
    flex: 1;
    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
    padding-top: 0;              /* .product's own padding is the whole gap */
}

/* --- header (the copy column, mirroring .hero__copy) ---------------------- */

.phead {
    max-width: 38rem;
}

.phead__grid { display: block; }

/* the hero's headline metrics, to the character */
.phead__title {
    margin: 0 0 1.35rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 3.8vw, 3.45rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    color: var(--white);
    text-wrap: balance;
}

/* and the hero's paragraph metrics */
.phead__lead {
    margin: 0 0 1.9rem;
    max-width: 31rem;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.7;
    color: var(--on-dark-72);
}

/* --- the stage, mirroring .stage ------------------------------------------
   The hero's stage is a fixed-height box with the device centred and its
   readings floating around it. This is the same box, on the same height rule,
   holding the same kind of furniture at the same scale — so the two devices
   are presented identically rather than at two different sizes.
   -------------------------------------------------------------------------- */

.showcase {
    position: relative;
    width: 100%;
    height: clamp(420px, 66vh, 640px);          /* the hero's stage height */
    margin: 0 auto;
}

.showcase__glow {
    position: absolute;
    left: 26%;
    top: 8%;
    width: 48%;
    height: 66%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 46%,
        rgba(214, 235, 243, .34) 0%,
        rgba(185, 217, 225, .18) 40%,
        rgba(11, 28, 47, 0) 72%);
    filter: blur(10px);
    animation: halo 11s ease-in-out infinite;
}

.showcase__flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.pflow {
    fill: none;
    stroke-dasharray: 300 520;
    animation: flow 22s linear infinite;
    opacity: .75;
}

.pflow--2 { animation-duration: 27s; animation-delay: -7s;  opacity: .55; }
.pflow--3 { animation-duration: 24s; animation-delay: -13s; opacity: .6;  }

/* --- the product ---------------------------------------------------------- */

.showcase__device {
    position: absolute;
    left: 50%;
    top: 40%;
    width: 36%;
    z-index: 5;
    translate: -50% calc(-50% + var(--drift, 0px));
}

/* --- the product's flight, product -> trust -------------------------------
   The device is one element for the whole page: it never duplicates and never
   unmounts. Two empty boxes describe where it belongs — .showcase__slot here,
   .reel__dock in the story — and the script lifts the device out of the flow
   (`position: fixed`, so neither section's clipping can cut it) and lerps it
   between whatever those two boxes measure right now.

   Position and size are carried by the standalone `translate` and `scale`
   properties rather than `transform`, which stays free for the reveal that
   already owns it. Nothing here changes the device's look — only where it is.
   Both boxes only exist on the wide layout, which is the only place the two
   sections keep the geometry the flight is drawn between.
   -------------------------------------------------------------------------- */

.showcase__slot,
.reel__mark,
.reel__left { display: none; }

@media (min-width: 1201px) {
    /* the resting place: the exact box the device used to occupy on the stage */
    .showcase__slot {
        display: block;
        position: absolute;
        left: 50%;
        top: 40%;
        width: 36%;
        aspect-ratio: 530 / 525;          /* the vector device's own box */
        translate: -50% -50%;
        visibility: hidden;
        pointer-events: none;
    }

    .showcase__device.is-flying {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 30;                      /* under the nav's 40 */
        transform-origin: 0 0;
        /* --fx/--fy/--fs are written once per frame by the script; --rest fades
           the hover settle out as the device leaves its stage */
        translate: var(--fx, 0px) calc(var(--fy, 0px) + var(--drift, 0px) * var(--rest, 1));
        scale: var(--fs, 1);
        /* the reveal's own transitions, minus the one on `translate`: a scrubbed
           position must land on the frame it is given, not ease toward it */
        transition:
            opacity 1.1s var(--ease) var(--d, 0ms),
            transform 1.1s var(--ease) var(--d, 0ms),
            filter 1.1s var(--ease) var(--d, 0ms);
        will-change: translate, scale;
    }
}

/* the photographic render, when assets/image/product.png is present */
.pdevice__photo {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 34px 50px rgba(5, 16, 28, .75));
}

/* photo present -> it is the product; photo missing -> the vector takes over */
.showcase__device.has-photo .pdevice { display: none; }
.showcase__device:not(.has-photo) .pdevice__photo { display: none; }

/* the render is a landscape three-quarter view, so it needs a wider box than
   the upright vector to read at the same size */
.showcase__device.has-photo { width: 42%; }

.product .device {
    height: auto;
    width: 100%;
    filter: drop-shadow(0 34px 50px rgba(5, 16, 28, .75));
}

.pdevice__shadow {
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: -6%;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(4, 14, 25, .68) 0%, rgba(4, 14, 25, 0) 100%);
    filter: blur(6px);
}

.pdevice__reflect {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -16%;
    height: 18%;
    background: radial-gradient(60% 100% at 50% 0%,
        rgba(214, 235, 243, .28) 0%,
        rgba(185, 217, 225, .10) 42%,
        rgba(11, 28, 47, 0) 78%);
    filter: blur(10px);
}

/* --- sensor cards ---------------------------------------------------------
   Set to the hero's .fcard metrics — same padding, same 34px icon, same
   radius — so a card in this section is the same object as a card in the
   hero, and float on the stage the way the hero's readings do.
   -------------------------------------------------------------------------- */

.scard {
    --depth: 18px;
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .72rem .95rem;
    border-radius: 18px;
    background: transparent;
    border: var(--pcard-br);
    box-shadow: var(--pcard-sh);
    translate: calc(var(--px, 0) * var(--depth)) calc(var(--py, 0) * var(--depth));
    /* no backdrop-filter here on purpose: the backdrop is a smooth gradient,
       so blurring it changed the pixels by ~1/255 while costing every frame
       of scroll performance across the whole page. Measured, not guessed. */
}

.scard__icon {
    width: 34px;
    height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--deep);
    background: linear-gradient(140deg, var(--ice), var(--glacier));
}

.scard__icon svg { width: 18px; height: 18px; }

.scard__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }

.scard__name {
    font-family: var(--font-display);
    font-size: clamp(.84rem, .95vw, .94rem);
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.2;
    color: var(--white);
}

.scard__desc {
    font-size: clamp(.62rem, .72vw, .68rem);
    line-height: 1.3;
    color: var(--on-dark-72);
}

/* Three down the left of the stage, two down the right — the same balance the
   section already had, now expressed against the stage box. Every left card
   ends where the device begins and every right card starts where it ends, so
   nothing is ever drawn over the product itself. */
/* The columns spill a little past the stage into the gutter — the same trick
   the hero plays with its own readings — which buys the device a wider centre
   without any card ever crossing it: left cards run -6%..29%, the device sits
   32%..68%, the right cards 71%..106%. */
/* tops chosen so the columns still clear the AI card and the phone at the
   stage's shortest (its 420px floor), where the cards run two lines deep */
.scard--co2 { left:  -6%; top:  4%; width: 35%; --depth: 22px; }
.scard--pm  { left:  -6%; top: 24%; width: 35%; --depth: 16px; }
.scard--voc { left:  -6%; top: 44%; width: 35%; --depth: 18px; }
.scard--gas { right: -6%; top:  2%; width: 35%; --depth: 20px; }
.scard--th  { right: -6%; top: 21%; width: 35%; --depth: 24px; }

/* --- AI card -------------------------------------------------------------- */

.aicard {
    --depth: 12px;
    position: absolute;
    left: -6%;
    bottom: 0;
    width: 50%;
    z-index: 6;
    padding: 1rem 1.15rem 1.1rem;
    border-radius: 24px;
    /* no fill: the band reads through the card and the Glacier hairline is
       what defines it — the same treatment the sensor cards carry */
    color: var(--on-dark);
    background: transparent;
    border: var(--pcard-br);
    box-shadow: var(--pcard-sh);
    translate: calc(var(--px, 0) * var(--depth)) calc(var(--py, 0) * var(--depth));
}

.aicard__head {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .7rem;
}

.aicard__spark {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--ice);
    background: linear-gradient(135deg, var(--turquoise), var(--slate));
}

.aicard__spark svg { width: 16px; height: 16px; }

.aicard__label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--glacier);
}

.aicard__state {
    margin: 0 0 .35rem;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.025em;
}

.aicard__note {
    margin: 0 0 .85rem;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--on-dark-72);
}

.aicard__meter {
    height: 5px;
    border-radius: 3px;
    background: rgba(214, 235, 243, .16);
    overflow: hidden;
}

.aicard__meter span {
    display: block;
    height: 100%;
    width: 68%;
    border-radius: 3px;
    background: linear-gradient(to right, var(--turquoise), var(--slate));
    transform-origin: left center;
    animation: fill 2.6s var(--ease) .8s both;
}

@keyframes fill { from { transform: scaleX(.088); } to { transform: scaleX(1); } }

/* --- phone ----------------------------------------------------------------
   The screen is a fixed 9/16.4 box, so anything sized in rem inside it stops
   fitting once the phone shrinks — which is what put a hard floor under the
   phone and made it crowd the cards on a short stage. Everything inside is
   therefore sized in cqi (1% of the phone's own width), so the content scales
   with the frame and the screen fits at every size it is ever drawn at.
   -------------------------------------------------------------------------- */

.phone {
    --depth: 10px;
    container-type: inline-size;
    position: absolute;
    right: 1%;
    bottom: 0;
    /* narrowed by ~9% against the old card: the display is a 9/19 modern
       handset now, so this keeps the device occupying the same height on the
       stage while reading as a slim phone rather than a phone-shaped card */
    width: clamp(120px, min(23.6%, 20vh), 186px);
    z-index: 3;
    translate: calc(var(--px, 0) * var(--depth)) calc(var(--py, 0) * var(--depth));
}

.phone__frame {
    position: relative;
    /* the rail: one thin band around the display, the thickness a real
       handset has. Nothing is painted behind it, so the band's only body is
       its own hairline and the light caught along its top edge. */
    padding: 1.7cqi;
    border-radius: 15.5cqi;
    background: transparent;
    border: var(--pcard-br);
    box-shadow:
        /* the rail's top highlight and the dark inner lip beneath it — the
           two edges that make a thin frame read as a physical object */
        inset 0 .5cqi 0 -.35cqi rgba(255, 255, 255, .34),
        inset 0 0 0 1px rgba(255, 255, 255, .07),
        inset 0 -.5cqi 0 -.35cqi rgba(7, 20, 34, .35),
        /* weight on the stage only — an outer shadow never falls inside the
           border box, so the display stays clear */
        0 26px 44px -30px rgba(4, 14, 25, .8);
}

/* the side buttons, as a real device carries them: two short raised slivers
   on the rail, drawn off the frame so no markup changes */
.phone__frame::before,
.phone__frame::after {
    content: "";
    position: absolute;
    left: -1px;
    width: .75cqi;
    border-radius: 1px 0 0 1px;
    background: rgba(214, 235, 243, .38);
    pointer-events: none;
}

.phone__frame::before { top: 26%; height: 5.5%; }
.phone__frame::after  { top: 34%; height: 9%; }

.phone__notch {
    position: absolute;
    top: 5.6cqi;
    left: 50%;
    transform: translateX(-50%);
    /* the camera cutout — an opaque pill is the one solid thing on the
       display, which is exactly how it reads on a real screen */
    width: 26%;
    height: 5.4cqi;
    border-radius: 999px;
    background: rgba(6, 17, 29, .82);
    box-shadow: inset 0 0 0 1px rgba(214, 235, 243, .14);
    z-index: 2;
}

.phone__screen {
    aspect-ratio: 9 / 19;
    padding: 14cqi 6.6cqi 9cqi;
    border-radius: 13.8cqi;
    /* nothing at all behind the display: the band reads straight through it,
       and the inner bezel line is where the rail ends and the screen begins */
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(6, 17, 29, .4);
    display: flex;
    flex-direction: column;
    gap: 4cqi;
    overflow: hidden;
    position: relative;
}

/* the home indicator, the last thing that says "screen" rather than "panel" */
.phone__screen::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3.4cqi;
    transform: translateX(-50%);
    width: 32%;
    height: 1.1cqi;
    border-radius: 999px;
    background: rgba(214, 235, 243, .5);
}

.phone__room {
    margin: 0;
    font-family: var(--font-display);
    font-size: 7.2cqi;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--on-dark);
}

.phone__status {
    display: flex;
    align-items: center;
    gap: 4.3cqi;
    padding: 5.5cqi 5.9cqi;
    border-radius: 7.8cqi;
    /* its own tile still, but drawn the way the cards are: no fill, one
       Glacier hairline. An inset ring rather than a border, so the tile's
       box stays exactly the size it was. */
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(185, 217, 225, .38);
}

.phone__ring {
    width: 12.7cqi;
    height: 12.7cqi;
    flex: none;
    border-radius: 50%;
    border: 1.5cqi solid var(--glacier);
    border-right-color: rgba(185, 217, 225, .28);
    animation: spin 9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.phone__statusText { display: flex; flex-direction: column; gap: .05rem; min-width: 0; }

.phone__statusLabel {
    font-size: 4.4cqi;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(214, 235, 243, .68);
}

.phone__statusValue {
    font-family: var(--font-display);
    font-size: 7.2cqi;
    font-weight: 700;
    color: var(--white);
}

.phone__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.phone__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3cqi 0;
    border-top: 1px solid rgba(185, 217, 225, .2);
    font-size: 5.3cqi;
    color: var(--on-dark-72);
}

.phone__list li:first-child { border-top: 0; }

.phone__list strong {
    font-family: var(--font-display);
    font-size: 5.9cqi;
    font-weight: 700;
    color: var(--on-dark);
}

/* --- stay connected ------------------------------------------------------- */

/* the note sits with the rest of the copy, under the lead */
.connect { margin: 0 0 1.9rem; max-width: 31rem; }

.connect__label {
    margin: 0 0 .5rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--glacier);
}

.connect__note {
    margin: 0;
    font-size: .88rem;
    line-height: 1.6;
    color: var(--on-dark-72);
}

/* --- sensors detect / AI understands / Air AQ alerts ---------------------- */

.chain {
    width: var(--shell);
    margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 0;
}

.chain__step {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
}

.chain__step + .chain__step::before {
    content: "";
    width: clamp(40px, 7vw, 110px);
    height: 1px;
    margin: 0 1.2rem;
    background: linear-gradient(to right, rgba(185, 217, 225, .25), var(--glacier));
}

.chain__icon {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--ice);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(214, 235, 243, .24);
    /* no backdrop-filter here on purpose: the backdrop is a smooth gradient,
       so blurring it changed the pixels by ~1/255 while costing every frame
       of scroll performance across the whole page. Measured, not guessed. */
}

.chain__icon--ai {
    color: var(--deep);
    background: linear-gradient(140deg, var(--ice), var(--glacier));
    border-color: transparent;
}

.chain__icon svg { width: 22px; height: 22px; }

.chain__text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--white);
}

.btn--solid {
    color: var(--deep);
    background: linear-gradient(135deg, var(--white) 0%, var(--ice) 46%, var(--glacier) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 14px 30px -16px rgba(185, 217, 225, .38),
        0 6px 18px -8px rgba(4, 14, 25, .7);
}

.btn--solid:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 24px 46px -16px rgba(185, 217, 225, .7),
        0 8px 22px -8px rgba(4, 14, 25, .75);
}

.btn--solid:hover .btn__arrow { transform: translateX(3px); }

.btn--outline {
    color: var(--ice);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(185, 217, 225, .34);
    /* no backdrop-filter here on purpose: the backdrop is a smooth gradient,
       so blurring it changed the pixels by ~1/255 while costing every frame
       of scroll performance across the whole page. Measured, not guessed. */
}

.btn--outline:hover {
    color: var(--white);
    background: rgba(185, 217, 225, .16);
    border-color: rgba(214, 235, 243, .6);
}


/* ==========================================================================
   RESPONSIVE  —  every breakpoint gathered here, widest first, so an override
   always lands after the rule it is overriding.
   ========================================================================== */

@media (min-width: 1201px) {
    /* cards leave the stage box and orbit the room itself */
    .room.has-photo ~ .hero__inner .stage { position: static; }

    .room.has-photo ~ .hero__inner .fcard--aq  { top: calc(12% + 18px); left: 49%;  right: auto; }
    .room.has-photo ~ .hero__inner .fcard--voc { top: 39%; left: 46.5%; right: auto; }
    .room.has-photo ~ .hero__inner .fcard--co2 { top: 15%; right: 6%;  left: auto;  }
    .room.has-photo ~ .hero__inner .fcard--pm  { top: 66%; left: 44%;  right: auto; }
    .room.has-photo ~ .hero__inner .fcard--gas { top: calc(80% - 30px); right: 5%;  left: auto;  }
    .room.has-photo ~ .hero__inner .fcard--temp { top: 42%; right: 3%; left: auto;  }

    .room.has-photo ~ .hero__inner .insight {
        top: auto;
        bottom: 6%;
        left: 47%;
        transform: none;
    }
    .room.has-photo ~ .hero__inner .device,
    .room.has-photo ~ .hero__inner .stage__halo,
    .room.has-photo ~ .hero__inner .stage__surface,
    .room.has-photo ~ .hero__inner .stage__reflection { display: none; }
}

@media (max-width: 1240px) {
    /* --- the readings, as a grid ------------------------------------------
       On the wide layout these five are placed one by one over the room, at
       depths, and that is what they are drawn for. It does not survive the
       stack: the cards are positioned against the stage box while the product
       they are reading is in the photograph, and a covered photograph moves
       with the hero's aspect where the stage does not — so wherever they were
       put, some width existed at which one of them sat on the product's face.

       So below 1200px the stage stops being a positioning box and becomes an
       ordinary grid, and the cards stop being placed at all. `auto-fit` with
       a floor of 11.5rem is what makes it answer to the width rather than to
       a list of breakpoints: three across the capped 42rem the grid holds at
       tablet, two once the column is under ~380px of usable width, and one
       when even two will not fit without squeezing. `min(11.5rem, 100%)`
       rather than a bare 11.5rem so the track can still shrink below its
       floor on a very narrow screen instead of overflowing it.

       Selectors are `.hero__stage`-scoped on purpose: the placement they have
       to beat is spread over the base rules, the depth tiers and two narrower
       tiers further down this sheet, and one extra class outranks all of them
       without depending on where it sits in the file.
       ---------------------------------------------------------------------- */
    /* The stage is a grid item of .hero__inner, and a grid item defaults to
       `min-width: auto` — it refuses to shrink below its content. With a
       42rem cap on the grid inside it that made a 672px floor for the 1fr
       track, so the track grew to 672px, the whole hero overflowed its shell,
       and .hero__copy took its full 38rem and cut the headline off at the
       screen edge. The cap is only ever meant to stop the row spreading on a
       wide tablet; this is what keeps it from also being a demand. */
    .hero__stage { min-width: 0; }

    .hero__stage .stage {
        width: 100%;
        min-width: 0;
        max-width: 42rem;          /* 3 + 3 at tablet, rather than six in one row at 1200px */
        margin-inline: auto;
        height: auto;
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(11.5rem, 100%), 1fr));
        align-items: stretch;
        justify-items: stretch;
        gap: .75rem;
    }

    .hero__stage .fcard {
        /* out of the positioned world, and out of the depth illusion with it:
           the scale, the tilt, the drift and the lighter far-card shadow are
           all depth cues, and in a flat grid they read as cards that are
           different sizes and not quite straight */
        position: relative;
        inset: auto;
        --s: 1;
        --r: 0deg;
        width: auto;
        min-width: 0;
        opacity: 1;
        transform: none;
        animation: none;
        will-change: auto;
        --fcard-sh: 0 8px 32px rgba(22, 50, 79, .14), inset 0 1px 0 rgba(255, 255, 255, .25);
    }

    /* "AIR QUALITY" is the one label long enough to wrap in a grid track, and
       it did — onto two lines, which made its whole row 13px taller than the
       row beneath it and left the set looking like two different card sizes.
       One line each, and the rows come out level on their own. */
    .hero__stage .fcard__label,
    .hero__stage .fcard__value { white-space: nowrap; }

    /* Air Quality, CO2, VOC, PM2.5, Gas — the markup has PM2.5 ahead of VOC,
       so the reading order is set here rather than by moving the markup */
    .hero__stage .fcard--aq  { order: 1; }
    .hero__stage .fcard--co2 { order: 2; }
    .hero__stage .fcard--voc { order: 3; }
    .hero__stage .fcard--pm  { order: 4; }
    /* lifted 30px; `top` on a relative box, so the grid track and the
       hover `translate` are untouched */
    .hero__stage .fcard--gas { order: 5; top: -30px; }
    .hero__stage .fcard--temp { order: 6; }

    /* the AI line closes the grid rather than floating over it */
    .hero__stage .insight {
        order: 7;
        grid-column: 1 / -1;
        position: relative;
        inset: auto;
        width: auto;
        transform: none;
    }
}

@media (max-width: 1200px) {
    /* bgrespons is in play from here down, so the framing is its own. In
       that file the product sits at 63-86% across and 61-77% down, the family
       across 36-61%, and the whole of the frame worth seeing is the band
       between 36% and 77% — there is empty ceiling above it and empty floor
       below, which is exactly what makes it the right shot for a tall hero.

       70% across keeps the product whole *with room to spare* where a tall
       hero crops the sides. Measured at 500px: only 68% of the width survives,
       and at 56% the product's right edge landed on 499.5px of a 500px
       viewport — flush against the screen. 70% moves that window to 22-90%
       and the product's edge to 467px, so it sits inside the frame instead of
       against it. The value costs nothing above ~700px, where the hero is
       wide enough that cover crops height rather than width and the
       horizontal position has no overflow left to distribute.

       48% down centres the band worth seeing where a wider hero crops top and
       bottom instead — at 1200px that is a 36% vertical crop, and it lands on
       18-82%, holding both the family and the product.

       It is also the background here rather than atmosphere behind a drawing.
       The old .55 belonged to the wide shot, which was being asked to fill a
       tall hero and lost most of its frame doing it, so it was dimmed to a
       texture and a vector device was drawn over it. The portrait file needs
       none of that: the composition arrives whole, the readings orbit the
       product that is actually in the photograph, and at .55 under the old
       scrim the whole of it was about a stop and a half too dark to read. */
    .room.has-photo .room__photo { opacity: .92; object-position: 70% 48%; }

    /* The copy stacks above the stage here, so the scrim is a vertical one:
       heavy across the top third, where the headline, the paragraph and the
       two buttons all have to hold against a bright interior; releasing
       through the middle as the copy ends; lightest across the band the
       product and the family actually occupy; and deepening again over the
       last stretch, so the hero still arrives at the fade below it on the
       tone that fade opens with. It used to be .72 at its most open, which
       was darker than this is anywhere below the buttons. */
    .room.has-photo .room__scrim {
        background: linear-gradient(180deg,
            rgba(9, 24, 40, .92)  0%,
            rgba(9, 24, 40, .88)  26%,
            rgba(11, 28, 47, .74) 40%,
            rgba(11, 28, 47, .46) 52%,
            rgba(11, 28, 47, .30) 64%,
            rgba(11, 28, 47, .34) 82%,
            rgba(11, 28, 47, .52) 100%);
    }
    :root { --shell: min(1300px, 100% - 2.5rem); }

    /* the links leave the bar and become a panel under it. `visibility`
       rather than `display` so the open and close are both animated, and so
       the panel is properly out of the tab order while it is shut. */
    .nav__toggle { display: grid; }
    .nav__cta { margin-left: auto; }

    .nav__links {
        position: absolute;
        top: calc(100% + .55rem);
        left: 0;
        right: 0;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: .15rem;
        padding: .5rem;
        border-radius: 22px;
        /* --deep-800, and opaque enough to carry the panel on its own. The
           blur is an enhancement, not what makes this readable: with
           `backdrop-filter` unsupported or switched off, .88 left the hero's
           headline plainly legible through the panel and crossing the links.
           The glass is handed back below, where the blur is real. */
        background: rgba(16, 38, 64, .97);
        border: 1px solid rgba(185, 217, 225, .30);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 26px 50px -26px rgba(6, 20, 34, .9);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .28s var(--ease),
                    transform .28s var(--ease),
                    visibility .28s var(--ease);
    }

    .nav.is-open .nav__links {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* where the blur composites, the panel can be glass again: 14px of it
       turns the headline behind into a wash rather than words, which is the
       surface the rest of the page's chrome is made of. Browsers without it
       keep the near-opaque floor above. */
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .nav__links { background: rgba(16, 38, 64, .86); }
    }

    /* a full-width row, at a size that is comfortable to hit */
    .nav__links a {
        padding: .85rem 1rem;
        border-radius: 15px;
        font-size: .95rem;
        color: var(--ice);
    }

    /* below the two-column range the composition stacks and grows past one
       screen on its own, so the stack stops asking for one — and the two
       boxes go back to being ordinary blocks in flow */
    .herostack {
        min-height: 0;
        display: block;
    }

    .airdata {
        --read-gap: clamp(2.25rem, 6vw, 3.25rem);
        --read-hem: clamp(2rem, 5.5vw, 3rem);
    }

    .hero {
        min-height: 0;
        padding-bottom: clamp(1rem, 3vw, 1.75rem);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: clamp(2.5rem, 6vw, 4rem);
        padding-top: clamp(2.5rem, 7vw, 4rem);
    }

    .hero__copy { max-width: 38rem; }

    .stage {
        width: min(470px, 100%);
        height: auto;
        aspect-ratio: 1 / 1.06;
        margin: 0 auto;
    }
    .device { width: 78%; }
    /* below the two-column range the section stops being a fixed stage and
       becomes ordinary flow again, so it may grow past one screen. The band
       stops asking for one too, and opens on its own one gap. */
    .airband { min-height: 0; display: block; }

    .product {
        display: block;
        padding: var(--band-gap) 0 clamp(4rem, 8vw, 7rem);
    }

    .product__inner {
        display: block;
        padding-top: 0;
    }

    .phead {
        max-width: none;
        margin-bottom: clamp(2rem, 5vw, 3.25rem);
    }

    /* --- the sensor cards, 3 + 2 -------------------------------------------
       Six tracks rather than three, because three cards and two cards both
       divide into six: the first row takes two tracks each, and the second
       row's two cards take two each starting at track 2, which leaves one
       empty track at either end and centres them under the row above.

       Six also costs nothing for the rest of the showcase — the device, the
       AI card and the phone already span `1 / -1`, so they stay full-width
       members whatever the track count is.
       ---------------------------------------------------------------------- */
    .showcase {
        height: auto;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        column-gap: .6rem;
        row-gap: .75rem;
        align-items: start;
    }

    /* the markup runs CO2, PM2.5, VOC, Gas, Temperature & Humidity, so the
       reading order is set here rather than by moving the markup */
    .showcase__device { order: 1; }
    /* `align-self` because the showcase grid is `align-items: start` for the
       device and the phone: without it a card whose name wraps to two lines
       is taller than the one beside it, and the row reads as two card sizes.
       "Temperature & Humidity" is the one that wraps, at the narrow end. */
    .showcase .scard { grid-column: span 2; align-self: stretch; }
    .showcase .scard--co2 { order: 2; }
    .showcase .scard--voc { order: 3; }
    .showcase .scard--pm  { order: 4; }

    /* tracks 2-3 and 4-5: one empty track at either end, so the pair sits
       centred under the three above. These have to be `.showcase`-scoped too —
       as bare `.scard--th` they lose to the blanket `span 2` rule above on
       specificity, and both rows start at track 1. */
    .showcase .scard--th  { order: 5; grid-column: 2 / span 2; }
    .showcase .scard--gas { order: 6; grid-column: 4 / span 2; }
}

/* --- the sensor card, as a tile --------------------------------------------
   A two-track card in the 3 + 2 grid is 322px at 1023px and gets narrower
   from there — 238px at 768, 199px at 640, 152px at 500. The icon-beside-text
   row needs about 221px to hold a description on one line and ~180px to hold
   it on two, so from here down it stops fitting: at 500px it left ~70px for
   the description, which is three or four broken lines, and the longest of
   them pushed its own card out of shape.

   So the card turns the same parts through 90 degrees — icon over the name
   over the description, centred — which is what keeps three in a row legible
   rather than merely present, and gives "Temperature & Humidity" a full track
   width to wrap across instead of a 70px column. One presentation for the
   whole 3 + 2 range rather than tiles at one width and rows at another.

   Nothing else about the card changes: the glass, the hairline, the radius,
   the shadow and the reveal are its own and are untouched.
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
    .showcase .scard {
        flex-direction: column;
        align-items: center;
        gap: .42rem;
        padding: .72rem .5rem .8rem;
        text-align: center;
    }

    .showcase .scard__body { align-items: center; gap: .15rem; }
    .showcase .scard__name { font-size: .78rem; }
    .showcase .scard__desc { font-size: .58rem; line-height: 1.25; }
    .showcase .scard__icon { width: 30px; height: 30px; border-radius: 10px; }
    .showcase .scard__icon svg { width: 16px; height: 16px; }

    .showcase { column-gap: .45rem; row-gap: .6rem; }
}

@media (max-width: 1200px) {
    .showcase .aicard { order: 7; }

    .showcase > * {
        position: static;
        width: auto;
        translate: none;
    }

    .showcase__glow,
    .showcase__flow { display: none; }

    .showcase__device {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(230px, 54%);
        margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    }

    .aicard { grid-column: 1 / -1; }

    /* The phone is a desktop-only element. Below 1200px the stage stops
       floating and becomes a grid, and the handset was the one item in it
       that only ever repeated what the cards already say — so it is taken
       out of the flow entirely rather than scaled down. `display: none`
       removes it from the grid, so it claims no track, no row and no gap,
       and the device, the sensor cards and the AI card close up behind it
       with their own sizes and order untouched. */
    .phone { display: none; }

    .connect { max-width: none; }
    .chain { margin-top: clamp(2rem, 5vw, 3.25rem); }
}

@media (max-width: 640px) {
    :root { --shell: min(1300px, 100% - 1.5rem); }

    .nav__bar { padding: .5rem .5rem .5rem .9rem; }
    .brand__name { font-size: 1rem; }
    .nav__cta { padding: .65rem 1.15rem; font-size: .84rem; }

    .hero__title { font-size: clamp(2.15rem, 8.6vw, 3rem); }
    .btn { flex: 1 1 100%; }

    .stage { aspect-ratio: 1 / 1.14; }

    .fcard {
        gap: .5rem;
        padding: .52rem .66rem;
        border-radius: 13px;
    }

    .fcard__icon { width: 26px; height: 26px; border-radius: 8px; }
    .fcard__icon svg { width: 15px; height: 15px; }
    .fcard__label { font-size: .56rem; }
    .fcard__value { font-size: .84rem; }
    .fcard__spark { width: 38px; height: 18px; }
    .meter { display: none; }

    .insight { top: 88%; }

    /* the cards are a grid from 1200px down, so there is nothing to place
       here any more — only the sizes the grid carries */
    .insight { padding: .7rem .85rem; }
    .insight__text { font-size: .76rem; }
    .device { width: 82%; }
    /* the 3 + 2 grid holds at this width — it is the card that gets smaller,
       below, not the number of them in a row */
    .scard { padding: .8rem .9rem; border-radius: 17px; }
    .scard__icon { width: 34px; height: 34px; border-radius: 11px; }
    .aicard { padding: 1.15rem 1.2rem 1.3rem; }
    .chain__step + .chain__step::before { display: none; }
    .chain { gap: 1rem 1.4rem; }
    .btn--solid, .btn--outline { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0ms !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   TRUST — ONE DEVICE, EVERY SPACE

   The page's third dark section, and deliberately so: the product section
   closes on --deep-900 and this one opens on the very same value, and the
   render is veiled up out of it so there is no edge across the join at all.

   It is one screen, held, with a long scroll behind it. The screen is the
   stage; the scroll is the second act. The script turns that scroll into one
   number and shapes it into the handful below — nothing in here animates on
   its own, and nothing is timed.
   ========================================================================== */

.assure {
    /* the ramp under the render, named because the wide layout hands it to a
       pinned layer to hold still while the stage is held still — same value,
       painted by whichever layer is holding. The photograph is opaque and
       sized `cover`, so this shows only if the image fails to load. */
    --assure-ground: linear-gradient(180deg,
        var(--deep)      0%,        /* the product's closing tone, continued */
        #14304C          8%,
        #102A46         22%,
        #163150         52%,
        #1B3E60         78%,
        #4E7E9E         94%,
        #93B6CB        100%);       /* toward the render's pale floor */
    position: relative;
    isolation: isolate;
    /* clip, never hidden: `overflow: hidden` makes this section a scrollport,
       and a scrollport ancestor silently kills the `position: sticky` pin the
       reel inside depends on. `clip` trims a picture that is still outside the
       screen exactly the same way without creating a scroll container, which
       is also what keeps that from becoming horizontal scroll. */
    overflow: hidden;
    overflow: clip;
    z-index: 1;
    margin-top: 0;
    border-radius: 0;                              /* straight join, as above */
    /* ordinary flow here; on the wide layout further down this becomes a
       one-screen stage that is pinned while its second act plays out */
    padding: clamp(3rem, 7vw, 4.5rem) 0;
    color: var(--white);
    background: var(--assure-ground);
}

/* Only ever used where the stage is pinned; everywhere else the section's own
   background is the whole story and this is not in the picture at all. */
.assure__ground { display: none; }

/* --- the room render -------------------------------------------------------
   bg.png, in both of the places the section's ground gets painted: the section
   itself, and the pinned layer that holds it still on the wide layout.

   The photograph is the ground here, shown as shot — full opacity, no blend
   mode, and nothing of the palette stacked over it, so its own colour,
   brightness and detail are what reach the screen. It is opaque and sized
   `cover`, so the ramp underneath it is simply not in the picture.

   Nothing may be layered on top of this: a tint, a scrim or a blend mode is
   exactly what this section had before and what made the render unreadable.
   -------------------------------------------------------------------------- */

.assure::after,
.assure__ground::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("assets/image/bg.png") center / cover no-repeat;
}

/* on the section it sits with the ramp, under the seam glow */
.assure::after { z-index: -2; }

/* --- the same render, the other way up -------------------------------------
   bg.png is 1555x1012 and was shot for a wide screen. On a handset the box it
   has to fill is the other way up — the held stage is one screen, so roughly
   390x844 — and `cover` on a landscape photograph in a portrait box keeps
   about a third of its width and throws the rest away: the pedestal the whole
   render is built around ends up cropped off the side of it.

   trustportrait.png is the same room shot in portrait, 1024x1536, and it
   carries the product already standing on the pedestal. That is what this
   layout needs rather than a nicety: the flight that delivers the device on
   the wide layout does not run here, and the column that would hold it is
   `display: none`, so without the product in the photograph the render is a
   picture of an empty plinth.

   Only the file changes. Same two layers, same `cover`, same `center`, so the
   picture fills the section at every handset size the way it always did — the
   box crops it, it is never scaled unevenly, and there is no edge for a white
   gap to appear at.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .assure::after,
    .assure__ground::after {
        background-image: url("assets/image/trustportrait.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    /* the content this render needs moving off it is repositioned with the
       rest of the stacked story, below — it has to land after the
       `.js-hstory` rules it overrides, not here. */
}

/* The two atmosphere blooms used to sit here, above the render on z-index -1:
   Ice and Glacier washes that tinted the picture. The photograph is the ground
   now and is to be seen as shot, so they are not painted. The markup for them
   is left in place — it is decorative and aria-hidden.

   What this layer carries instead is the join. The render is a photograph and
   photographs have edges, so its first pixels would otherwise cut a hard line
   across the product section's closing --deep-900. This is that colour, opaque
   at the very top and gone by ~170px, so the picture rises out of the section
   above it rather than starting at a border.

   It belongs to the top of the section's box, not to the pinned layer: it
   travels up and off the screen exactly as the pin engages, so it veils the
   join on the way in and is nowhere near the held stage afterwards. */
.assure::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    z-index: -1;                       /* over the render, under the content */
    height: 260px;
    pointer-events: none;
    /* Deep Air Blue, not --deep-900: the section above now closes on this
       exact value, so the veil starts as that colour continuing and simply
       thins out of the way. Eased in five stops rather than dropped in one —
       a two-stop fade over a photograph shows its own edge. */
    background: linear-gradient(180deg,
        var(--deep)             0px,
        rgba(22, 50, 79, .94)  34px,
        rgba(22, 50, 79, .74)  86px,
        rgba(22, 50, 79, .46) 146px,
        rgba(22, 50, 79, .20) 202px,
        rgba(22, 50, 79, .06) 238px,
        rgba(22, 50, 79, 0)   260px);
}

.assure__air { display: none; }

.assure__bloom { position: absolute; border-radius: 50%; }

.assure__bloom--a {
    top: 4%;
    left: -16%;
    width: 52vw;
    height: 52vw;
    max-width: 740px;
    max-height: 740px;
    background: radial-gradient(circle at 50% 50%, rgba(185, 217, 225, .26) 0%, rgba(68, 127, 152, .15) 44%, rgba(11, 28, 47, 0) 70%);
    filter: blur(16px);
}

.assure__bloom--b {
    bottom: -6%;
    right: -12%;
    width: 46vw;
    height: 46vw;
    max-width: 660px;
    max-height: 660px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 155, 181, .30) 0%, rgba(185, 217, 225, .12) 46%, rgba(11, 28, 47, 0) 72%);
    filter: blur(20px);
}

/* the section's reveal, gated on the class the script adds: if the script
   never runs, everything here is simply visible rather than blank */
.js-reveal .assure [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(9px);
    transition:
        opacity 1.1s var(--ease) var(--d, 0ms),
        transform 1.1s var(--ease) var(--d, 0ms),
        filter 1.1s var(--ease) var(--d, 0ms);
}

.js-reveal .assure [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* --- one screen, two columns ----------------------------------------------
   The product on the left with its words under it, one statement on the right
   that the photographs take over from. The left column is deliberately empty
   in the markup — .reel__dock is the invisible box the flying device settles
   into, so the product itself is the picture that column shows.
   -------------------------------------------------------------------------- */

.reel {
    --gutter: clamp(2rem, 5vw, 5.5rem);
    --dock-w: 372px;
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

/* the stage carries the height, so the whitespace falls evenly above and
   below the one row inside it */
.reel__stage {
    display: flex;
    align-items: center;
    min-height: min(56svh, 540px);
}

.reel__grid {
    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--gutter);
    align-items: center;
}

/* --- left: where the product lands ---------------------------------------- */

/* the dock holds the left column open — it is the space the product occupies
   in the grid, which is what puts .reel__under's words under it. The flight
   itself is drawn to .reel__mark instead, further down: the landing is a fixed
   rect on the held screen rather than whatever the grid works out to, so the
   product ends at one exact place and size on every viewport. */
.reel__dock {
    position: relative;
    width: min(100%, var(--dock-w));
    margin-inline: auto;
    aspect-ratio: 530 / 525;
    visibility: hidden;
    pointer-events: none;
}

/* --- left: the words under the product -------------------------------------
   One box, every text in it, all of them starting at the same top edge — so
   what replaces what is a crossfade in one place, not blocks taking turns in
   several. `align-items: start` is what makes "the same place" literal.
   -------------------------------------------------------------------------- */

.reel__under {
    width: min(100%, var(--dock-w));
    margin: clamp(1.25rem, 2vw, 1.75rem) auto 0;
    text-align: center;
}

.js-reveal .reel__under {
    display: grid;
    align-items: start;
}

.js-reveal .reel__caption,
.js-reveal .reel__note { grid-area: 1 / 1; }

.reel__caption-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.25vw, 1.2rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.012em;
    color: var(--on-dark-72);
}

.reel__caption-line {
    margin: .5rem 0 0;
    font-size: clamp(.86rem, .92vw, .95rem);
    line-height: 1.62;
    color: var(--on-dark-52);
}

/* the caption arrives when the product actually lands — the flight adds
   .is-landed to the reel at the end of its journey, and that is what releases
   this. Gated on .js-reveal so a page without the script simply shows it. */
.js-reveal .reel__caption {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity .9s var(--ease) .12s,
        transform .9s var(--ease) .12s;
}

.js-reveal .reel.is-landed .reel__caption {
    opacity: 1;
    transform: none;
}

/* and it leaves on the scroll, as the first picture starts across — the same
   --out every text in the sequence leaves on. The fade-out is carried by the
   two lines rather than the block, so it stays a scrubbed position: the
   block's own transition above belongs to the landing and would otherwise lag
   every frame of the scrub behind the scroll. */
.js-reveal .reel__caption-title,
.js-reveal .reel__caption-line { opacity: calc(1 - var(--out, 0)); }

/* --- the photographs' own words ---------------------------------------------
   One per picture, every one of them in the caption's exact place, and they
   are the larger voice: this is what the section is saying by the time a
   picture has arrived, so the heading is display weight in white and the line
   under it is a full reading size rather than a whisper.

   Each reads two numbers the script writes on it and nobody else: --in as its
   own picture lands, --out as the next picture starts across.
   -------------------------------------------------------------------------- */

.reel__note { margin: clamp(.9rem, 1.5vw, 1.25rem) 0 0; }

.js-reveal .reel__note {
    margin: 0;
    opacity: calc(var(--in, 0) * (1 - var(--out, 0)));
    transform: translateY(calc((1 - var(--in, 0)) * 18px));
}

.reel__note-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.9vw, 1.75rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.022em;
    color: var(--white);
    text-wrap: balance;
}

.reel__note-line {
    margin: .6rem 0 0;
    font-size: clamp(.92rem, 1.02vw, 1.05rem);
    line-height: 1.66;
    color: var(--on-dark-72);
}

/* --- right: the statement, and everything that takes its place -------------- */

.reel__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.024em;
    color: var(--white);
    text-wrap: balance;
}

.reel__line {
    margin: clamp(1.15rem, 2.2vw, 1.6rem) 0 0;
    max-width: 33rem;
    font-size: clamp(1.02rem, 1.15vw, 1.15rem);
    line-height: 1.72;
    color: var(--on-dark-72);
}

.reel__cta { margin-top: clamp(1.5rem, 2.8vw, 2.1rem); }

.reel__shot {
    margin: 0;
    /* one value, read by all six pictures, so the corner is identical on every
       one of them by construction rather than by six rules agreeing */
    --shot-radius: 18px;
}

.reel__shot picture { display: block; }

/* the picture is never cropped and never stretched: it is given a ceiling in
   both directions and keeps its own ratio inside them.

   The corner and the shadow live here, on the <img>, not on the <picture>
   around it: the picture is a block and takes the column's full width, while
   the image inside is auto-width and usually narrower, so a shadow on the
   wrapper would be cast by a box the photograph does not fill. An <img> clips
   its own content to its border-radius, so nothing needs `overflow: hidden`.

   The merge into the section is the shadow, in three layers of Deep Air Blue:
   a contact edge, a mid lift and a wide ambient. The background behind the
   pictures is a photograph of a lit room averaging about #457EA6 and ranging
   from near-black to near-white, so the shadow is dark rather than tinted —
   it reads as depth against every part of it. Nothing is laid over the
   photograph itself, so none of its clarity is given up. */
.reel__shot img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(44svh, 400px);
    border-radius: var(--shot-radius);
    box-shadow:
        0  2px  4px rgba(8, 22, 37, .18),
        0  8px 20px rgba(8, 22, 37, .20),
        0 22px 48px rgba(8, 22, 37, .22);
}

/* --- the words under each photograph ---------------------------------------
   Every picture carries its own heading and line inside its own <figure>, so
   they arrive, rest and leave on exactly that picture's numbers — there is no
   second clock to keep in step with, and nothing to re-point when a picture is
   added or taken away.

   The heading is what the section is saying once a picture has landed, so it
   is display weight in white; the line under it is held to a couple of lines
   at a reading measure, so the block stays a caption rather than a paragraph.
   -------------------------------------------------------------------------- */

.reel__shot-words {
    margin: clamp(1rem, 1.8vw, 1.5rem) 0 0;
    max-width: 30rem;
}

.reel__shot-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.15vw, 2rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.024em;
    color: var(--white);
    text-wrap: balance;
}

.reel__shot-line {
    margin: .55rem 0 0;
    font-size: clamp(.95rem, 1.05vw, 1.08rem);
    line-height: 1.62;
    color: var(--on-dark-72);
    text-wrap: pretty;
}

/* --- the second act, on the wide layout ------------------------------------
   Below 1201px the device never leaves the product section and none of this
   applies. Here the section stops being one screen and becomes a screen plus
   a length of scroll: the stage is pinned to the top of the viewport for that
   whole length, and the length is the only clock the second act has. The
   script turns it into --p2 and --p2c here, and into an --in and an --out on
   each picture and each text, and everything above reads nothing else.
   -------------------------------------------------------------------------- */

@media (min-width: 1201px) {
    .assure {
        /* the scrub, after the screen: the first act, and then one stretch
           per picture that follows it. A screen and a half apiece — a picture
           that crosses in one screen or less reads as a slide changing rather
           than as something arriving, and the extra half is what lets the
           travel be unhurried and still leave the picture standing still for a
           while at the end of it. The script splits the same shares; if a
           picture is added here, add it there too. */
        --act2: calc(180svh + 5 * 150svh);
        height: calc(100svh + var(--act2));
        padding: 0;
    }

    /* the stage, held: sticky rather than fixed, so the pin engages and lets
       go on the section's own box and there is nothing to jump between */
    .reel {
        position: sticky;
        top: 0;
        height: 100svh;
        display: flex;
        align-items: center;
        padding: 0;
        /* how far the product settles in the second act: nowhere, and not at
           all. Where it lands is where it stays — it used to rise 34px and
           give up .16 of its width over the scroll, which read as the product
           lifting off the pedestal and retreating just as the photographs
           arrive. The whole second act now happens around a product that does
           not move. */
        --p2-lift: 0px;
        --p2-shrink: 0;
        /* where each photograph rests, off the centre the grid would give it:
           left, which widens the gap between it and the product, and up, which
           is the clean space the words underneath sit in */
        --shot-x: clamp(1.25rem, 3vw, 3.25rem);
        --shot-y: clamp(1.5rem, 4.5vh, 3.5rem);
    }

    .reel__stage { flex: 1; min-height: 0; }
    .reel__left { display: block; }

    /* --- the background is pinned too -------------------------------------
       The scroll the second act runs on is length the section carries past one
       screen, so anything painted across the whole section — the ramp, the two
       blooms — would drift upward while the stage is held still. Both are put
       on the same pin instead: one screen tall, stuck to the top of the
       viewport for as long as the stage is, so the ground and the air are
       exactly as still as the picture in front of them.

       Each takes no room in the flow (a negative bottom margin cancels its own
       height), so the stage still begins at the section's first pixel and the
       pin engages and releases on precisely the geometry it did before.
       ---------------------------------------------------------------------- */
    .assure__ground,
    .assure__air {
        position: sticky;
        inset: 0 auto auto;
        height: 100svh;
        margin-bottom: -100svh;
    }

    .assure__ground {
        display: block;
        z-index: -2;                      /* under the air and its blooms */
        background: var(--assure-ground);
        /* flush with the section's first pixel — there is no hairline left to
           dodge, and the one-pixel offset it used to need would itself show as
           a line along the top of the held screen */
        top: 0;
    }

    /* the render moves onto the pinned layer with everything else — the same
       paint, painted once, by whichever layer is holding it still. The seam's
       light used to be carried here too, on a layer above the render; it is
       gone for the same reason it is gone off the section: nothing of the
       palette goes over the photograph. */
    .assure::after { display: none; }

    /* --- where the flight lands -------------------------------------------
       The script measures this box every frame and puts the device on its top
       left at its width, so this rule is the landing, exactly: 14.2% across
       and 34.5% down the held screen, 24.5% of its width. .reel is one screen
       tall and stuck to the top of the viewport for as long as the stage is
       held, so these percentages are the viewport's — at 2047 x 1331 that is
       x 291px, y 459px, w 502px, and the product's own aspect gives the
       height.

       The top was 31.5%, which sat the product a shade high on the held
       screen; 34.5% is three points of viewport height lower — about 40px at
       1331 tall, 32px at 1080 — which is the whole of the change. `left` and
       `width` are untouched, so the horizontal alignment and the size are
       exactly what they were, and because the landing is measured rather than
       remembered the flight simply arrives at the new rect.

       The device reaches it while the section is still settling into the pin
       and then simply stays on it: --p2 is 0 until the pin engages, so nothing
       here moves between the end of the flight and the start of act two.
       ---------------------------------------------------------------------- */
    .reel__mark {
        display: block;
        position: absolute;
        left: 14.2%;
        top: 34.5%;
        width: 24.5%;
        aspect-ratio: 530 / 525;          /* the vector device's own box */
        visibility: hidden;
        pointer-events: none;

        /* the product settles: the mark is what moves, and the device is put
           on the mark's measured rect every frame, so this one transform
           carries the product with it. The origin is the top edge, which is
           what makes the height it gives up all come off the bottom. */
        transform-origin: 50% 0;
        transform:
            translateY(calc(-1 * var(--p2, 0) * var(--p2-lift)))
            scale(calc(1 - var(--p2, 0) * var(--p2-shrink)));
    }

    /* and the words stay glued to it: the device's visual bottom rises by its
       lift plus the height it gives up (its height is its width x 525/530),
       and this is that number */
    .reel__under {
        translate: 0 calc(-1 * var(--p2, 0) * (var(--p2-lift) + var(--dock-w) * .99057 * var(--p2-shrink)));
    }

    /* the right column: the statement and every picture in one cell, so a
       picture lands exactly where the words were and every one after it lands
       on exactly the same spot */
    .reel__right {
        display: grid;
        align-items: center;
    }

    .reel__right > * { grid-area: 1 / 1; }

    /* the statement leaves first, and only the scroll moves it */
    .js-reveal .reel__copy {
        opacity: calc(1 - var(--p2c, 0));
        transform: translateY(calc(var(--p2c, 0) * -26px));
    }

    /* once it is on its way out it stops being something you can click */
    .reel.is-shift .reel__copy { pointer-events: none; }

    /* Every picture makes the same journey to the same place. At --in 0 it is
       parked past the right edge of the screen (the section's `overflow: clip`
       is what keeps that from ever becoming horizontal scroll) and it slides in
       along the right side to the one spot they all rest in. 58vw clears the
       edge at every width this layout runs at; the column's left edge is about
       48vw from it. The fade is over inside the first half of the travel, so
       what reads is an entrance and not a dissolve — and because the travel is
       eased at both ends (smootherstep, in the script), the picture leaves the
       edge from a standstill and comes to rest without a check at the end.

       --out is the picture leaving as the next one comes across: a fade with a
       short drift the way it came, which never carries it over the product on
       the left. The one still on screen is always the newest, because a later
       picture is later in the markup. */
    /* The resting place is carried by `translate` and the journey by
       `transform`, which the browser composes in that order — so the two never
       have to be written as one sum, and the travel below is still the same
       plain slide it was. */
    .reel__shot {
        translate: calc(-1 * var(--shot-x)) calc(-1 * var(--shot-y));
    }

    .js-reveal .reel__shot {
        opacity: calc(min(1, var(--in, 0) * 2.2) * (1 - var(--out, 0)));
        transform: translateX(calc((1 - var(--in, 0)) * 58vw - var(--out, 0) * 8vw));
        will-change: transform, opacity;
        pointer-events: none;
    }

    /* the words come after their picture, never with it: --txt does not begin
       until --in has reached 1 and the travel is over, so the picture is
       standing still by the time anything is written under it. A short rise
       into a fade is the whole of it.

       They leave ahead of the picture rather than with it — --out fades them
       out faster than the figure's own fade above, so the words are gone and
       the frame is clean before the next photograph crosses it. */
    .js-reveal .reel__shot-words {
        opacity: calc(var(--txt, 0) * (1 - min(1, var(--out, 0) * 1.6)));
        transform: translateY(calc((1 - var(--txt, 0)) * 26px));
    }
}

/* --- responsive -----------------------------------------------------------
   Below 1201px the device never leaves the product section (the flight and the
   dock are both gated on that width), so the left column has nothing to hold:
   the statement takes the full shell on its own and the photographs become an
   ordinary sequence underneath it.
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .reel__grid { grid-template-columns: minmax(0, 1fr); }
    .reel__stage { min-height: 0; }
    .reel__line { max-width: 38rem; }

    .reel__shot {
        margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
        opacity: 1;
        transform: none;
        will-change: auto;
    }

    .reel__shot img { max-height: none; }
}


/* --- the trust story, pinned and scrubbed sideways -------------------------
   The wide layout already tells this story horizontally: every picture starts
   parked off the right edge and slides to one resting place, on an --in the
   script writes from the scroll. All of that is gated on `min-width: 1201px`,
   and below it the three photographs become an ordinary vertical sequence.

   This is the same story for the stacked layout, with the geometry it needs:
   one slide on the screen at a time, a full screen of travel instead of 58vw,
   and the heading and line riding inside the <figure> so a slide is one thing
   that moves rather than three that have to stay in step.

   Every rule is gated on `.js-hstory`, which the script adds only while it is
   actually driving this — so with the script absent, or motion turned down, or
   the viewport back above 1200px, the section is the plain vertical sequence
   above and nothing here applies.
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    /* the scroll the pin runs on: one screen to hold, and a stretch for each
       slide to arrive and be read in */
    .js-hstory .assure {
        height: calc(100svh + 4 * 78svh);
        padding: 0;
    }

    /* the ground and the air are held with the stage, for the reason the wide
       layout gives: anything painted across the whole section would drift
       upward while the slides are standing still. The render moves onto the
       pinned layer with them — `.assure__ground::after` already carries it. */
    .js-hstory .assure__ground,
    .js-hstory .assure__air {
        position: sticky;
        inset: 0 auto auto;
        height: 100svh;
        margin-bottom: -100svh;
    }

    .js-hstory .assure__ground {
        display: block;
        z-index: -2;
        top: 0;
        background: var(--assure-ground);
    }

    .js-hstory .assure::after { display: none; }

    /* the stage, held. `.assure` carries `overflow: clip` already, which is
       what keeps a slide parked off the right edge from ever becoming
       horizontal scroll — and `clip` rather than `hidden` is also why this
       sticky still works inside it. */
    .js-hstory .reel {
        position: sticky;
        top: 0;
        height: 100svh;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .js-hstory .reel__stage { flex: 1; min-height: 0; }

    /* every slide in one cell, so each starts from the same place */
    .js-hstory .reel__right { display: grid; align-items: center; }
    .js-hstory .reel__right > * { grid-area: 1 / 1; }

    /* The statement rides the same line as the pictures, as its own slide at
       index 0, and that is deliberate: it and the first picture share one grid
       cell, so any arrangement where both are on screen at once has the
       paragraph sitting on top of the photograph. On the line they cannot
       overlap by construction — the section opens on its own title, and the
       title leaves to the left exactly as img1 arrives from the right. */
    .js-hstory .reel__copy {
        --i: 0;
        width: 100%;
        max-width: min(88vw, 520px);
        margin: 0 auto;
        text-align: center;
        transform: translateX(calc((var(--i, 0) - var(--sp, 0)) * 104vw));
        will-change: transform;
    }

    .js-hstory .reel__line { max-width: none; }
    .js-hstory .reel__cta  { margin-top: clamp(1.1rem, 4vw, 1.6rem); }

    /* --- the slides ------------------------------------------------------
       One line of three, placed by index and moved as one number: --sp is
       where that line sits, measured in screens, so slide n rests at
       (n - --sp) screens from the centre. Two of them cannot overlap and a
       gap cannot open between them, because they are not three animations
       that have to agree — they are one number and three offsets. 104vw
       rather than 100 so a slide is clear of the edge before the next one
       is centred, and no seam between two pictures is ever on screen.
       --------------------------------------------------------------------- */
    .js-hstory .reel__shot {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        opacity: 1;
        transform: translateX(calc((var(--i, 0) - var(--sp, 0)) * 104vw));
        will-change: transform;
    }

    /* 1, 2, 3 — the statement is 0 */
    .js-hstory .reel__shot:nth-of-type(1) { --i: 1; }
    .js-hstory .reel__shot:nth-of-type(2) { --i: 2; }
    .js-hstory .reel__shot:nth-of-type(3) { --i: 3; }

    /* a ceiling in both directions and its own ratio inside them: `width` and
       `height` stay `auto`, so the picture is scaled to fit and never cropped,
       stretched or letterboxed. The width ceiling is what it reads at — about
       88vw — until the height ceiling takes over on a short screen. */
    .js-hstory .reel__shot img {
        width: auto;
        height: auto;
        max-width: min(88vw, 520px);
        max-height: 46svh;
    }

    .js-hstory .reel__shot-words {
        margin: clamp(.9rem, 3.5vw, 1.4rem) auto 0;
        max-width: min(88vw, 520px);
        opacity: 1;
        transform: none;
    }

    .js-hstory .reel__shot-title { font-size: clamp(1.3rem, 5.4vw, 1.85rem); }

    .js-hstory .reel__shot-line {
        margin-top: .5rem;
        font-size: clamp(.86rem, 3.4vw, 1rem);
        line-height: 1.55;
    }
}

/* --- the stacked story, over the portrait render ---------------------------
   The held stage centres its slide on the screen, which on the wide render is
   empty room. On the portrait render it is the product: centred on a handset,
   the words land across the device and the plinth and the photograph shows
   through them.

   The portrait frame divides cleanly — plain lit wall down to about 45% of
   it, then the product, then the plinth — so the slide goes in the wall and
   the product is left standing on its own underneath. These rules have to sit
   after the `.js-hstory` block above, which they override at equal weight.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
    .js-hstory .reel {
        align-items: flex-start;
        padding-top: clamp(1.25rem, 4vh, 2.25rem);
    }

    /* the stage's own floor would otherwise hold the slide back down into the
       product — the screen is the frame here, not this box */
    .js-hstory .reel__stage {
        flex: 0 0 auto;
        min-height: 0;
    }

    /* 31svh, which is where a picture plus its heading and its line still
       finish above the device: about 260px of picture and 90px of words on an
       844px screen, against a device whose top edge is at 395px */
    .js-hstory .reel__shot img { max-height: 31svh; }
}

@media (max-width: 640px) {
    .reel__title { font-size: clamp(1.75rem, 7.2vw, 2.3rem); }
}

/* ==========================================================================
   WHY CHOOSE AIR AQ

   The page's first light section. Everything above it is Deep Air Blue, so
   the only thing that matters at the top edge is that there is no edge: the
   trust render closes on a pale blue floor and this opens on that same
   Glacier, walking to white over its first third. No hairline, no rule, no
   change of width — the join is a colour continuing.

   The composition is an orbit rather than a grid. One coordinate space,
   1200 × 780, is shared by the SVG that draws the air and by the six cards,
   which are placed in percentages of it — so a line that starts on the
   device's shell ends exactly where its benefit sits, at every width the
   stage is given, because the stage keeps that one aspect ratio.

   Nothing here is scrubbed and nothing is timed against a clock: the page's
   own reveal observer arms each element as the section arrives, and the six
   benefits — and the six lines under them — come in one after another on
   their own --d.
   ========================================================================== */

.whyaq {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    overflow: clip;
    /* over the trust render, not after it. The section is pulled up into the
       last of the photograph and its ground opens transparent, so the picture
       is veiled into the light over ~170px instead of stopping at a line. The
       pull is added back as padding, so nothing in the section actually moves
       up — only the ground reaches higher.

       z-index 1, the same as .assure: a tie is broken by document order and
       this comes after, so the ground still covers the last of the render. It
       must not go higher than that — the flying device paints inside .product's
       stacking context, which is a 2, and anything here at 2 or above would
       come down the page in front of the product instead of behind it. */
    z-index: 1;
    /* how far this section reaches up into the last of the render. One value,
       used three times — the pull, the padding that cancels it, and every stop
       in the veil below — because the veil has to be fully opaque at exactly
       the photograph's bottom edge, and that edge is this far down. When these
       were written out separately the veil was still at ~.78 when the picture
       ended on narrow layouts, and the photograph's dark left corner showed
       through as a step. */
    --whyaq-pull: clamp(120px, 13vw, 190px);
    margin-top: calc(var(--whyaq-pull) * -1);
    padding: calc(clamp(4.5rem, 9vw, 8.5rem) + var(--whyaq-pull)) 0 clamp(4.5rem, 9vw, 8rem);
    color: var(--deep);
    background: transparent;
}

/* the ground. On its own layer because the veil at the top has to be measured
   in pixels — it has to match the length of the pull above, which is pixels —
   while the ramp to white underneath it wants the room the section has. The
   last stop's colour carries on past it, so the bottom of the section is white
   however tall it ends up being.

   Glacier, at the value the render's floor actually is, going to Pure White
   across the section's first third and staying there. */
.whyaq::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* Two layers, and the order matters: the veil paints over the ground.

       The veil used to reach full opacity 40px *past* the photograph's bottom
       edge rather than before it, which left it about 97.7% opaque exactly
       where the picture ended. Two things came through that 2.3%: the last row
       of the image above the edge, and — because this section's own background
       is transparent so the overlap cannot cover the render — the body's
       --deep-900 below it. A pale render over a near-black ground, three or
       four levels apart, on a dead-straight full-width line: that was the
       edge, and no amount of softening the fade could remove it while the fade
       was still finishing on the wrong side of the join.

       So the veil is opaque well before the picture ends, and the ground
       underneath it is the same Glacier from that point down — belt and
       braces. Even if a stop resolves onto a fractional device row, what is
       behind the veil there is the colour the veil already is, so there is
       nothing left for a seam to be made of. */
    background-image:
        /* --- the veil, over the last of the render ------------------------
           Alpha on a smoothstep, so its slope arrives at zero exactly as it
           lands on 1: a ramp that hits opacity on a straight line leaves a
           corner in the slope, and the eye finds a corner. The colour eases
           along the same curve onto #CBE1EC, so the flat stretch below opens
           on the tone the fade closed on. Opaque at .86 of the pull — the
           picture's edge is at 1.0, so the last stretch of it is covered
           outright and cannot show at all. */
        linear-gradient(180deg,
            rgba(160, 193, 214, 0)     0,
            rgba(161, 194, 215, .028)  calc(var(--whyaq-pull) * .086),
            rgba(164, 196, 216, .104)  calc(var(--whyaq-pull) * .172),
            rgba(169, 200, 219, .216)  calc(var(--whyaq-pull) * .258),
            rgba(175, 204, 222, .352)  calc(var(--whyaq-pull) * .344),
            rgba(182, 209, 225, .5)    calc(var(--whyaq-pull) * .43),
            rgba(188, 214, 228, .648)  calc(var(--whyaq-pull) * .516),
            rgba(194, 218, 231, .784)  calc(var(--whyaq-pull) * .602),
            rgba(199, 222, 234, .896)  calc(var(--whyaq-pull) * .688),
            rgba(202, 224, 235, .972)  calc(var(--whyaq-pull) * .774),
            #CBE1EC                    calc(var(--whyaq-pull) * .86),
            /* opaque from here on: the picture's edge passes under this and
               then the walk up to white, exactly as before */
            #CBE1EC  calc(var(--whyaq-pull) + 40px),
            #DFEFF6  calc(var(--whyaq-pull) + 140px),
            #F1F8FC  calc(var(--whyaq-pull) + 285px),
            var(--pure-white) calc(var(--whyaq-pull) + 450px)),

        /* --- the ground, from the same point down -------------------------
           Nothing above .86 of the pull, so the overlap still lets the render
           through to be dissolved; opaque Glacier from there, so the veil
           never has the body's dark behind it. Written as one colour at zero
           alpha rather than `transparent`, which interpolates through
           transparent *black* and would haze the hand-off. */
        linear-gradient(180deg,
            rgba(203, 225, 236, 0)  0,
            rgba(203, 225, 236, 0)  calc(var(--whyaq-pull) * .86),
            #CBE1EC                 calc(var(--whyaq-pull) * .86));
}

/* --- the air ---------------------------------------------------------------
   Two Glacier washes, wide and very faint. They are the only decoration in
   the section besides the lines: everything else is type and white.
   -------------------------------------------------------------------------- */

.whyaq__air {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    /* the washes reach past this section at both ends and `overflow` cut them
       off square on each join. They come and go inside the section instead, so
       what the joins carry is the ground alone — one colour, continuing. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.whyaq__bloom { position: absolute; border-radius: 50%; }

.whyaq__bloom--a {
    top: 26%;
    left: -18%;
    width: 54vw;
    height: 54vw;
    max-width: 780px;
    max-height: 780px;
    background: radial-gradient(circle at 50% 50%, rgba(185, 217, 225, .34) 0%, rgba(214, 235, 243, .16) 46%, rgba(255, 255, 255, 0) 72%);
    filter: blur(18px);
}

.whyaq__bloom--b {
    bottom: -8%;
    right: -14%;
    width: 48vw;
    height: 48vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle at 50% 50%, rgba(98, 155, 181, .18) 0%, rgba(185, 217, 225, .12) 48%, rgba(255, 255, 255, 0) 74%);
    filter: blur(22px);
}

/* --- reveal ----------------------------------------------------------------
   The product section's transition, to the millisecond, so a thing arriving
   here moves exactly like a thing arriving there. Gated on the class the
   script adds: with the script absent the whole section is simply visible.
   -------------------------------------------------------------------------- */

.js-reveal .whyaq [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    transition:
        opacity 1.1s var(--ease) var(--d, 0ms),
        transform 1.1s var(--ease) var(--d, 0ms),
        filter 1.1s var(--ease) var(--d, 0ms);
}

.js-reveal .whyaq [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* the lines are drawn rather than faded: pathLength="1" makes the dash the
   whole path whatever its real length is, so all six draw at one speed and
   each starts at the device and reaches out to its benefit. They are held
   back a beat longer than the cards, so the card is there first and the line
   arrives to connect it. */
.js-reveal .whyaq .oflow {
    opacity: 1;
    transform: none;
    filter: none;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.5s var(--ease) var(--d, 0ms);
}

.js-reveal .whyaq .oflow.is-in { stroke-dashoffset: 0; }

/* --- the six wait for the product -----------------------------------------
   The section's edge crosses the fold long before the device has finished
   coming down, and the benefits are meant to arrive around a product that is
   already there. While the flight is running they are held at their start
   however early the observer armed them; .is-settled — written by the script
   when the device reaches the middle — lets them go, and they come in one
   after another on the --d they always had.

   Only ever while .js-fly is on the page, which is to say only where the
   flight itself runs. Everywhere else the observer is the whole story.
   -------------------------------------------------------------------------- */
.js-fly .whyaq:not(.is-settled) .wcard.is-in {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
}

.js-fly .whyaq:not(.is-settled) .oflow.is-in { stroke-dashoffset: 1; }

/* --- the introduction ------------------------------------------------------
   Centred, narrow and given room. The metrics are the product header's, so
   this is the page's headline at the page's headline size — only the colour
   changes, because the ground did.
   -------------------------------------------------------------------------- */

.whyaq__inner {
    width: var(--shell);
    margin: 0 auto;
}

.whyaq__head {
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
}

.whyaq__eyebrow {
    margin: 0 0 1.15rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--turquoise);
}

.whyaq__title {
    margin: 0 0 1.35rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 3.5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--deep);
    text-wrap: balance;
}

.whyaq__lead {
    margin: 0 auto;
    max-width: 40rem;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.75;
    color: var(--ink-70);
    text-wrap: pretty;
}

/* --- the orbit -------------------------------------------------------------
   One box on a fixed ratio, so the coordinate space the paths are drawn in
   and the percentages the cards are placed in describe the same picture.
   -------------------------------------------------------------------------- */

.orbit {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: clamp(3rem, 6vw, 5.5rem) auto 0;
    aspect-ratio: 1200 / 780;
}

.orbit__flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

/* the rings breathe, once every twelve seconds — slow enough to read as the
   device sensing rather than as something animating */
.orbit__rings { transform-origin: 600px 392px; animation: orbitBreath 12s ease-in-out infinite; }

@keyframes orbitBreath {
    0%, 100% { transform: scale(1);     opacity: .9; }
    50%      { transform: scale(1.035); opacity: .55; }
}

/* nothing runs while the section is off-screen (part 2 of the script) */
.whyaq.is-idle .orbit__rings { animation-play-state: paused; }
.whyaq.is-idle .worb__device { animation-play-state: paused; }

/* --- the middle ------------------------------------------------------------
   Deliberately not large: a fifth of the stage, with the rest of the middle
   left as air. The device is the page's own vector, at the page's own size
   rule, with a light-ground shadow in place of the dark one it wears above.
   -------------------------------------------------------------------------- */

.orbit__core {
    position: absolute;
    left: 50%;
    top: 50.3%;
    z-index: 2;
    /* a shade wider than the middle strictly needs. The device arrives here off
       the trust dock, which is 24.5% of the screen; landing at 24% of the stage
       means the whole journey down carries barely any change of size. */
    width: 24%;
    translate: -50% -50%;
}

/* the landing. An empty box on the device's own 530 x 525, so it holds exactly
   the space the product will occupy and the script has a live rect to draw to.
   Only in the flow while the flight is running — otherwise the vector below it
   is the product and this is not in the picture. */
.orbit__mark {
    display: none;
    width: 100%;
    aspect-ratio: 530 / 525;
}

.js-fly .orbit__mark { display: block; }
.js-fly .worb__device { display: none; }

.orbit__halo {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 250%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 255, 255, .95) 0%,
        rgba(214, 235, 243, .55) 38%,
        rgba(185, 217, 225, .18) 62%,
        rgba(185, 217, 225, 0) 78%);
}

.orbit__core .worb__device {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 26px 34px rgba(22, 50, 79, .20));
}

/* --- the device's own shadows, coming into the light ----------------------
   The product has been over Deep Air Blue since the hero, so it wears a shadow
   built for it. --lit is the script's act three, 0 on the dark sections and 1
   once the device is on the orbit's middle: the dark cast and the Ice reflect
   go out over the journey, and .orbit__cast — which belongs to this section and
   is built for white — is what is left holding it up.
   -------------------------------------------------------------------------- */

.showcase__device.is-flying .device {
    filter: drop-shadow(0 34px 50px rgba(5, 16, 28, calc(.75 - .60 * var(--lit, 0))));
}

.showcase__device.is-flying .pdevice__shadow,
.showcase__device.is-flying .pdevice__reflect { opacity: calc(1 - var(--lit, 0)); }

.orbit__cast {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -9%;
    height: 42px;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(22, 50, 79, .22) 0%, rgba(22, 50, 79, 0) 100%);
    filter: blur(7px);
}

/* --- the six ---------------------------------------------------------------
   Each is anchored to the point its line ends at, and centred on it. The
   anchor carries the position so the card itself is free to carry the
   reveal's transform — the two never fight over one property.
   -------------------------------------------------------------------------- */

.worb {
    position: absolute;
    z-index: 3;
    width: 25.5%;
    translate: 0 -50%;
}

/* the left three: text runs to the line, so it is right-aligned and the
   number leads from the right */
.worb--1, .worb--2, .worb--3 { text-align: right; }
.worb--1 .wcard__head,
.worb--2 .wcard__head,
.worb--3 .wcard__head { justify-content: flex-end; flex-direction: row-reverse; }

/* 384 / 334 / 399 on the left, mirrored on the right — an arc, not a column */
.worb--1 { right: 68%;   top: 15.4%; }
.worb--2 { right: 72.2%; top: 50.3%; }
.worb--3 { right: 66.8%; top: 85.1%; }
.worb--4 { left:  68%;   top: 15.4%; }
.worb--5 { left:  72.2%; top: 50.3%; }
.worb--6 { left:  66.8%; top: 85.1%; }

.wcard { margin: 0; }

.wcard__head {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .85rem;
}

/* the chain's icon chip, in the light: same 44px, same 14px radius, same
   22px glyph — an Ice surface and a hairline of Deep Air Blue instead of
   the glass it wears on the dark sections */
.wcard__icon {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--turquoise);
    background: linear-gradient(140deg, var(--pure-white) 0%, var(--ice-blue) 100%);
    border: 1px solid rgba(22, 50, 79, .09);
    box-shadow: 0 8px 18px -10px rgba(22, 50, 79, .30);
}

.wcard__icon svg { width: 22px; height: 22px; }

.wcard__no {
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: rgba(22, 50, 79, .38);
    font-variant-numeric: tabular-nums;
}

.wcard__title {
    margin: 0 0 .5rem;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.25vw, 1.2rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.02em;
    color: var(--deep);
    text-wrap: balance;
}

.wcard__line {
    margin: 0;
    font-size: .9rem;
    line-height: 1.68;
    color: var(--ink-70);
    text-wrap: pretty;
}

/* --- narrower: the orbit unfolds ------------------------------------------
   Below the width the arc needs, the stage stops being a stage: the device
   goes back into the flow, the lines are not drawn at all — they would have
   nothing to connect — and the six become one honest column of two, still
   arriving one after another.
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .orbit {
        aspect-ratio: auto;
        max-width: 46rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(2.2rem, 5vw, 3.2rem) clamp(2rem, 5vw, 3.4rem);
    }

    .orbit__flow { display: none; }

    .orbit__core {
        position: relative;
        left: auto;
        top: auto;
        translate: none;
        grid-column: 1 / -1;
        justify-self: center;
        width: min(230px, 46vw);
        margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    }

    /* the halo is the air around the device on the stage; stacked, the cards
       sit where that air was, so it is pulled in to stay behind the product */
    .orbit__halo { width: 175%; }

    .worb {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: auto;
        translate: none;
        text-align: left;
    }

    .worb .wcard__head {
        justify-content: flex-start;
        flex-direction: row;
    }
}

@media (max-width: 640px) {
    /* the pull into the render is still there, so it is still added back */
    .whyaq { padding: calc(clamp(3.5rem, 12vw, 5rem) + var(--whyaq-pull)) 0 clamp(3.5rem, 12vw, 5rem); }
    .whyaq__title { font-size: clamp(1.75rem, 7.2vw, 2.3rem); }
    .orbit { grid-template-columns: minmax(0, 1fr); }
    .orbit__core { width: min(200px, 54vw); }
}


/* --- the orbit, held to one screen ----------------------------------------
   The stage only exists above 1080px, so this is where the section can be
   asked to fit a viewport — below it the orbit is a stacked grid and the
   height stays auto, growing with whatever the content needs.

   The section used to run about 1.5 screens on a desktop: ~260px of padding,
   ~250px of header, an 88px gap and then a stage that was 780px tall because
   its width said so. The fix is not to compress anything — it is to stop
   sizing the stage from the width alone. The stage keeps its 1200 x 780 ratio
   exactly (the SVG's coordinate space and the cards' percentages both depend
   on it); what changes is that its width is now taken from the height left
   over once the header and the padding have had theirs.
   -------------------------------------------------------------------------- */

@media (min-width: 1081px) {
    .whyaq {
        /* the breath at both ends, in viewport height rather than width — it
           is the screen's height this section now has to live inside */
        --whyaq-pad: clamp(2.25rem, 4.2vh, 3.75rem);

        /* everything above the stage: the two paddings, the header and the
           gap under it. The stage gets the rest. */
        --whyaq-chrome: clamp(21rem, 17rem + 8vh, 27rem);

        /* the pull is overlap with the render above, not height of its own,
           so it is added back here the same way the padding adds it back */
        min-height: calc(100svh + var(--whyaq-pull));
        padding: calc(var(--whyaq-pad) + var(--whyaq-pull)) 0 var(--whyaq-pad);

        /* and if a very tall screen leaves more room than the stage can use,
           the composition sits in the middle of it rather than at the top */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* the header gives back what it can without losing its voice: the title
       comes down about half a step and the lead reads at its body size */
    .whyaq__eyebrow { margin-bottom: .85rem; }

    .whyaq__title {
        margin-bottom: 1rem;
        font-size: clamp(2rem, 2.9vw, 2.65rem);
    }

    .whyaq__lead {
        max-width: 38rem;
        font-size: clamp(.94rem, 1vw, 1.02rem);
        line-height: 1.68;
    }

    .orbit {
        /* the height the screen actually has for the stage, floored so it can
           never collapse and capped at the 780px it was drawn at */
        --orbit-h: clamp(400px, calc(100svh - var(--whyaq-chrome)), 780px);
        /* width follows from that height at the stage's own ratio, so the
           aspect-ratio above still governs and nothing in the picture moves
           relative to anything else */
        width: min(100%, calc(var(--orbit-h) * 1200 / 780));
        margin: clamp(1rem, 2.4vh, 2.25rem) auto 0;
    }

    /* the six come down with the stage. Their type is in rem, so it would not
       have scaled with it — these are the same cards, one size smaller, which
       keeps the gap between the three rows honest at the shorter stage. */
    .wcard__head { gap: .6rem; margin-bottom: .62rem; }

    .wcard__icon { width: 38px; height: 38px; border-radius: 12px; }
    .wcard__icon svg { width: 19px; height: 19px; }
    .wcard__no { font-size: .72rem; }

    .wcard__title {
        margin-bottom: .38rem;
        font-size: clamp(.98rem, 1.05vw, 1.1rem);
        line-height: 1.25;
    }

    .wcard__line { font-size: .84rem; line-height: 1.6; }
}


/* ==========================================================================
   HOW AIR AQ WORKS
   Light section, opening on the Pure White the section above closes on.
   ========================================================================== */

/* the one value the whole sequence is written against: how far the line has
   travelled through a given stage. Registered so it can be interpolated —
   scrubbed by scroll where the section pins, transitioned where it does not,
   the same declarations reading it either way. */
@property --sp {
    syntax: "<number>";
    initial-value: 0;
    inherits: true;
}

.howto {
    position: relative;
    isolation: isolate;
    z-index: 1;
    /* no overflow property here on purpose: `hidden` would make this a
       scrollport and silently kill the sticky pin inside. The atmosphere is
       clipped by its own layer instead. */
    color: var(--deep);
    /* opens on the exact Pure White the section above ends on and settles to
       the faintest Ice, so there is no edge at the join and none at the foot */
    background: linear-gradient(180deg,
        var(--pure-white)  0%,
        #FBFDFE           18%,
        #F5FAFD           52%,
        #EFF7FB           82%,
        #EAF4F9          100%);
}

/* the box carries the scroll the pin runs on; the story inside is one screen */
.howto__box { position: relative; }

.howto__story {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5.5rem);
}

/* --- the air ---------------------------------------------------------------
   Two Glacier washes, wide and very faint — the same atmosphere the sections
   above carry, and the only decoration here besides the line.
   -------------------------------------------------------------------------- */

/* --- the background film ---------------------------------------------------
   Cover-fit, centred, and clipped by this layer alone: the section must never
   carry an `overflow` of its own, because that would turn it into a scrollport
   and the sticky pin inside it would stop working.

   It sits at -2, under the Glacier washes at -1 and under everything in the
   flow, so not one line of the existing content moves or changes order.

   Nothing is laid over it: no veil, no tint, no opacity. The film plays at
   full strength and the section's own ground gradient stays where it always
   was — behind it, as the fallback for when the video has not loaded.
   -------------------------------------------------------------------------- */

.howto__film {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: clip;
    pointer-events: none;
}

.howto__filmEl {
    display: block;
    width: 100%;
    height: 100%;
    /* cover: the film fills the box at its own aspect ratio, cropped rather
       than stretched, and stays centred at every width */
    object-fit: cover;
    object-position: center;
}

.howto__air {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: clip;
    pointer-events: none;
    /* wash a starts above this section and wash b runs out below it, so the
       clip was leaving a straight edge of Glacier on the join at each end —
       the one thing on an otherwise white surface that marks a boundary. Both
       are eased in and out well inside the section now. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.howto__wash {
    position: absolute;
    border-radius: 50%;
    animation: howDrift 30s var(--ease) infinite alternate;
}

.howto__wash--a {
    top: -22%; left: -14%;
    width: 56vw; height: 120%;
    max-width: 900px;
    background: radial-gradient(closest-side, rgba(185, 217, 225, .38) 0%, rgba(214, 235, 243, .16) 48%, rgba(255, 255, 255, 0) 100%);
}

.howto__wash--b {
    bottom: -28%; right: -12%;
    width: 52vw; height: 118%;
    max-width: 840px;
    background: radial-gradient(closest-side, rgba(214, 235, 243, .42) 0%, rgba(98, 155, 181, .10) 50%, rgba(255, 255, 255, 0) 100%);
    animation-duration: 38s;
    animation-delay: -15s;
}

@keyframes howDrift {
    from { transform: translate3d(-2%, 0, 0) scale(1);    opacity: .75; }
    to   { transform: translate3d( 2%, 0, 0) scale(1.07); opacity: 1;   }
}

/* --- heading -------------------------------------------------------------- */

.howto__head {
    width: var(--shell);
    max-width: 46rem;
    margin: 0 auto clamp(2rem, 4.5vw, 3.75rem);
    text-align: center;
}

.howto__title {
    margin: 0 0 1.15rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 3.5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--deep);
    text-wrap: balance;
}

.howto__lead {
    margin: 0 auto;
    max-width: 34rem;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.7;
    color: var(--ink-70);
    text-wrap: pretty;
}

/* --- the four stages ------------------------------------------------------ */

.howto__track {
    --col-gap:  clamp(1.5rem, 3vw, 3rem);
    --stage-h:  clamp(158px, 19vh, 226px);
    --rail-h:   2.6rem;

    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--col-gap);
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

/* every stage is the same height, so all four nodes land on one line */
.step__stage {
    position: relative;
    width: 100%;
    height: var(--stage-h);
    display: grid;
    place-items: center;
}

/* --- the line the story travels on ----------------------------------------
   Each stage owns its own length of it plus half a gutter either side, so the
   four lengths butt together into one unbroken run — and still do when the
   grid folds to a single column, with no second element and no second
   animation. Exactly the arrangement the live-air band above already uses.
   -------------------------------------------------------------------------- */

.step__rail {
    position: relative;
    display: block;
    height: var(--rail-h);
    width: calc(100% + var(--col-gap));
    margin-left: calc(var(--col-gap) / -2);
}

.step__rail::before,
.step__beam {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    margin-top: -.5px;
}

.step__rail::before {
    content: "";
    background: rgba(22, 50, 79, .13);
}

.step__beam {
    transform: scaleX(var(--sp));
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(98, 155, 181, .5) 0%, var(--turquoise) 55%, var(--deep) 100%);
}

/* the head of the travelling line — a light trail, not a glow */
.step__spark {
    position: absolute;
    top: 50%;
    left: calc(var(--sp) * 100%);
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: var(--deep);
    box-shadow: 0 0 0 4px rgba(185, 217, 225, .45);
    opacity: var(--spark, 0);
}

/* the outer ends of the run fade rather than stop */
.step:first-child .step__rail::before,
.step:first-child .step__beam {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--col-gap));
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--col-gap));
}

.step:last-child .step__rail::before,
.step:last-child .step__beam {
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 var(--col-gap));
            mask-image: linear-gradient(270deg, transparent 0, #000 var(--col-gap));
}

/* the hairline hanging the stage off the line */
.step__stem {
    position: absolute;
    left: 50%;
    top: 0;
    height: 50%;
    width: 1px;
    margin-left: -.5px;
    background: linear-gradient(180deg, rgba(22, 50, 79, 0) 0%, rgba(22, 50, 79, .3) 100%);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .8s var(--ease);
}

.step__node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--pure-white);
    border: 1px solid rgba(22, 50, 79, .22);
    transition: background .55s var(--ease), border-color .55s var(--ease);
}

/* one slow ring, kept faint: the stage is reading, not announcing */
.step__node::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--slate);
    opacity: 0;
}

.step.is-live .step__stem { transform: scaleY(1); }

.step.is-live .step__node {
    background: var(--deep);
    border-color: var(--deep);
}

.step.is-live .step__node::after { animation: howNode 3.4s var(--ease) infinite; }

@keyframes howNode {
    0%   { transform: scale(1);   opacity: .4; }
    70%  { transform: scale(3.6); opacity: 0;  }
    100% { transform: scale(3.6); opacity: 0;  }
}

/* --- the words ------------------------------------------------------------ */

.step__no {
    margin: 1.1rem 0 .5rem;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--ink-50);
    transition: color .6s var(--ease);
}

.step.is-live .step__no { color: var(--turquoise); }

.step__title {
    margin: 0 0 .6rem;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--deep);
}

.step__copy {
    margin: 0;
    max-width: 22rem;
    font-size: clamp(.82rem, .95vw, .9rem);
    line-height: 1.65;
    color: var(--ink-70);
    text-wrap: pretty;
}

/* the stage and its words wait for the line to reach them. Armed by the
   script, so with no JS the four stages simply read as finished. */
.howto.is-armed .step__stage,
.howto.is-armed .step__no,
.howto.is-armed .step__title,
.howto.is-armed .step__copy {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .95s var(--ease), transform .95s var(--ease), color .6s var(--ease);
}

.howto.is-armed .step__title { transition-delay: .07s; }
.howto.is-armed .step__copy  { transition-delay: .13s; }

.howto.is-armed .step.is-live .step__stage,
.howto.is-armed .step.is-live .step__no,
.howto.is-armed .step.is-live .step__title,
.howto.is-armed .step.is-live .step__copy {
    opacity: 1;
    transform: none;
}

/* where the section is not pinned, the line draws itself on the same cue */
.howto:not(.is-scrub) .step { transition: --sp 1.1s var(--ease); }
.howto:not(.is-scrub) .step.is-live { --sp: 1; }

/* --- shared: the soft field each stage sits on ----------------------------
   Not a card. A single Ice wash with no edge, so the stage reads as air with
   something in it rather than as a panel.
   -------------------------------------------------------------------------- */

.sense__halo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86%;
    height: 86%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(214, 235, 243, .75) 0%, rgba(185, 217, 225, .28) 52%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* ── 01 · SENSE ─────────────────────────────────────────────────────────── */

.sense__air { position: absolute; inset: 0; pointer-events: none; }

/* each mote starts out at its own offset and drifts in to the device, so the
   stage reads as air arriving at something that is reading it */
.sp {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: var(--slate);
    opacity: 0;
    animation: senseIn 6.5s var(--ease) var(--sd) infinite;
}

@keyframes senseIn {
    0%   { transform: translate3d(var(--sx), var(--sy), 0) scale(1); opacity: 0;   }
    18%  {                                                           opacity: .55; }
    72%  {                                                           opacity: .3;  }
    100% { transform: translate3d(0, 0, 0) scale(.4);                opacity: 0;   }
}

.hdev {
    position: relative;
    width: 54%;
    max-width: 168px;
    height: auto;
    filter: drop-shadow(0 16px 24px rgba(22, 50, 79, .18));
}

/* the device breathing as it reads — one cycle every eight seconds */
.hdev__read {
    transform-origin: 239px 262px;
    animation: hdevRead 8s ease-in-out infinite;
}

.hdev__read--b { animation-duration: 8s; animation-delay: -1.4s; }

@keyframes hdevRead {
    0%, 100% { transform: scale(.92); opacity: .35; }
    50%      { transform: scale(1.06); opacity: .9; }
}

.hdev__led { animation: hdevLed 4.5s ease-in-out infinite; }

@keyframes hdevLed {
    0%, 100% { opacity: .6; }
    50%      { opacity: 1;  }
}

/* ── 02 · ANALYZE ───────────────────────────────────────────────────────── */

.mind { position: relative; width: 62%; max-width: 172px; height: auto; }

.mind__rings {
    transform-origin: 70px 70px;
    animation: mindBreath 9s ease-in-out infinite;
}

@keyframes mindBreath {
    0%, 100% { transform: scale(1);     opacity: .95; }
    50%      { transform: scale(1.035); opacity: .6;  }
}

/* the sweep: one short arc going round, which is the whole of the processing.
   No brain, no robot — just something continuously coming round again. */
.mind__sweep {
    transform-origin: 70px 70px;
    animation: mindSweep 6s linear infinite;
    opacity: .8;
}

@keyframes mindSweep {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

.mind__pins circle { animation: mindPin 4.5s ease-in-out infinite; }
.mind__pins circle:nth-child(2) { animation-delay: -.75s; }
.mind__pins circle:nth-child(3) { animation-delay: -1.5s; }
.mind__pins circle:nth-child(4) { animation-delay: -2.25s; }
.mind__pins circle:nth-child(5) { animation-delay: -3s; }
.mind__pins circle:nth-child(6) { animation-delay: -3.75s; }

@keyframes mindPin {
    0%, 100% { opacity: .35; }
    50%      { opacity: 1;   }
}

.mind__core { animation: mindCore 4.5s ease-in-out infinite; }

@keyframes mindCore {
    0%, 100% { opacity: .85; }
    50%      { opacity: 1;   }
}

/* the readings floating around it. They arrive on opacity and blur, and bob
   on transform — two properties that never collide, so one element can carry
   both its entrance and its drift. */
.chip {
    position: absolute;
    z-index: 1;
    padding: .26rem .55rem;
    border-radius: 999px;
    font-size: clamp(.56rem, .66vw, .63rem);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--deep);
    background: var(--pure-white);
    border: 1px solid rgba(22, 50, 79, .12);
    box-shadow: 0 6px 14px -8px rgba(22, 50, 79, .4);
    opacity: 0;
    animation: chipBob 7s ease-in-out infinite;
}

.chip--1 { left:  -2%; top:  10%; }
.chip--2 { left:  -4%; top:  60%; }
.chip--3 { left:  50%; top:  -2%; margin-left: -2.4rem; }
.chip--4 { right: -2%; top:  20%; }
.chip--5 { right:  2%; top:  68%; }

.chip--2 { animation-delay: -1.4s; }
.chip--3 { animation-delay: -2.8s; }
.chip--4 { animation-delay: -4.2s; }
.chip--5 { animation-delay: -5.6s; }

@keyframes chipBob {
    0%, 100% { transform: translate3d(0, -3px, 0); }
    50%      { transform: translate3d(0,  3px, 0); }
}

.step.is-live .chip { animation: chipIn .9s var(--ease) both, chipBob 7s ease-in-out infinite; }

.step.is-live .chip--1 { animation-delay: .05s, 0s;    }
.step.is-live .chip--2 { animation-delay: .17s, -1.4s; }
.step.is-live .chip--3 { animation-delay: .29s, -2.8s; }
.step.is-live .chip--4 { animation-delay: .41s, -4.2s; }
.step.is-live .chip--5 { animation-delay: .53s, -5.6s; }

@keyframes chipIn {
    from { opacity: 0; filter: blur(6px); }
    to   { opacity: 1; filter: blur(0);   }
}

/* ── 03 · UNDERSTAND ────────────────────────────────────────────────────── */

/* the two live in the same cell: the readings clear as the sentence they mean
   settles in over them, which is the whole point of the stage */
.raw,
.icard { grid-area: 1 / 1; position: relative; z-index: 1; }

.raw {
    display: flex;
    flex-direction: column;
    gap: .42rem;
    width: 84%;
    max-width: 210px;
}

.raw__row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding-bottom: .34rem;
    border-bottom: 1px solid rgba(22, 50, 79, .1);
    font-size: clamp(.6rem, .72vw, .68rem);
    font-variant-numeric: tabular-nums;
}

.raw__k { font-weight: 700; letter-spacing: .08em; color: var(--ink-50); }
.raw__v { font-weight: 600; color: var(--deep); }

.icard {
    width: 96%;
    max-width: 250px;
    padding: .85rem .95rem;
    text-align: left;
    border-radius: 14px;
    background: var(--pure-white);
    border: 1px solid rgba(22, 50, 79, .1);
    box-shadow: 0 20px 34px -24px rgba(22, 50, 79, .55);
    opacity: 0;
}

.icard__head {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .35rem;
    font-family: var(--font-display);
    font-size: clamp(.74rem, .88vw, .82rem);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.25;
    color: var(--deep);
}

.icard__dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(68, 127, 152, .16);
}

.icard__line {
    margin: 0 0 .6rem;
    padding-left: 1.15rem;
    font-size: clamp(.66rem, .8vw, .74rem);
    line-height: 1.45;
    color: var(--ink-70);
}

.icard__act {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
    padding-top: .55rem;
    border-top: 1px solid rgba(22, 50, 79, .09);
    font-size: clamp(.62rem, .76vw, .7rem);
    font-weight: 600;
    color: var(--turquoise);
}

.icard__act svg { width: 13px; height: 13px; flex: none; }

/* the numbers clearing, and the sentence arriving through them */
.step.is-live .raw   { animation: rawOut 1.05s var(--ease) .1s both; }
.step.is-live .icard { animation: cardIn 1.15s var(--ease) .6s both; }

@keyframes rawOut {
    from { opacity: 1; transform: translateY(0)     scale(1);   filter: blur(0);   }
    to   { opacity: 0; transform: translateY(-14px) scale(.96); filter: blur(5px); }
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(16px) scale(.965); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0);   }
}

/* ── 04 · ACT ───────────────────────────────────────────────────────────── */

.hphone {
    position: relative;
    z-index: 1;
    width: 63%;
    max-width: 132px;
    aspect-ratio: 132 / 214;
    padding: 5px;
    border-radius: 24px;
    background: linear-gradient(155deg, #2A567C 0%, var(--deep) 42%, var(--deep-900) 100%);
    box-shadow: 0 22px 34px -22px rgba(11, 28, 47, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.hphone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    padding: .5rem .38rem;
    overflow: hidden;
    border-radius: 19px;
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF6FA 100%);
}

/* the speaker slot, and nothing else on the screen but the alert */
.hphone__bar {
    display: block;
    width: 30%;
    height: 3px;
    margin: 0 auto .55rem;
    border-radius: 2px;
    background: rgba(22, 50, 79, .16);
}

.hnote {
    display: flex;
    align-items: flex-start;
    gap: .3rem;
    padding: .34rem .32rem;
    border-radius: 9px;
    text-align: left;
    background: var(--pure-white);
    border: 1px solid rgba(22, 50, 79, .1);
    box-shadow: 0 8px 16px -12px rgba(22, 50, 79, .6);
    opacity: 0;
}

.hnote__mark {
    width: 15px;
    height: 15px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 5px;
    color: var(--deep);
    background: linear-gradient(140deg, var(--ice), var(--glacier));
}

.hnote__mark svg { width: 10px; height: 10px; }

.hnote__body { display: flex; flex-direction: column; gap: .08rem; min-width: 0; }

.hnote__top { display: flex; align-items: baseline; justify-content: space-between; gap: .3rem; }

.hnote__app {
    font-family: var(--font-display);
    font-size: .48rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--deep);
}

.hnote__now { font-size: .42rem; color: var(--ink-50); }

.hnote__text {
    font-size: .48rem;
    line-height: 1.35;
    color: var(--ink-70);
}

/* the alert arriving: down into the screen, and settling */
.step.is-live .hnote { animation: noteIn 1.05s var(--ease) .45s both; }

@keyframes noteIn {
    from { opacity: 0; transform: translateY(-22px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0);     filter: blur(0);   }
}

/* and the screen lighting for it, once */
.step.is-live .hphone__screen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 60% at 50% 0%, rgba(185, 217, 225, .8) 0%, rgba(255, 255, 255, 0) 70%);
    animation: noteGlow 2.2s var(--ease) .35s both;
}

@keyframes noteGlow {
    0%   { opacity: 0; }
    30%  { opacity: 1; }
    100% { opacity: 0; }
}

/* --- the pin --------------------------------------------------------------
   Only on the wide layout, and only where the browser has the room to hold a
   screen still. The box carries the run; the story is the screen that is held.
   -------------------------------------------------------------------------- */

@media (min-width: 1201px) {
    .howto__box {
        /* four stages, and a little at each end so the section arrives and
           leaves without the line still moving */
        --how-run: 250svh;
        height: calc(100svh + var(--how-run));
    }

    .howto__story {
        position: sticky;
        top: 0;
        min-height: 100svh;
    }
}

/* --- tablet and below: the same journey, read downward --------------------
   No pin, no horizontal run — the four stages stack, and the line becomes the
   short rule each stage hangs from with a connector down to the next.
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .howto__track {
        grid-template-columns: minmax(0, 1fr);
        row-gap: clamp(3rem, 7vw, 4.5rem);
        max-width: 34rem;
    }

    .step__rail {
        width: min(100%, 15rem);
        margin-left: 0;
    }

    /* every stage's rule now ends on itself */
    .step .step__rail::before,
    .step .step__beam {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
                mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%);
    }

    /* and the run carries on down the page between them */
    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        width: 1px;
        height: clamp(3rem, 7vw, 4.5rem);
        background: linear-gradient(180deg, rgba(22, 50, 79, .22) 0%, rgba(22, 50, 79, 0) 100%);
    }

    .step__copy { max-width: 27rem; }
}

@media (max-width: 640px) {
    .howto__track {
        --stage-h: clamp(168px, 44vw, 210px);
        --rail-h: 2.2rem;
    }
    .hdev  { max-width: 148px; }
    .mind  { max-width: 152px; }
    .icard { max-width: 226px; }
    .hphone { max-width: 122px; }
    .step__copy { font-size: .88rem; }
}

/* --- motion turned down ---------------------------------------------------
   Nothing loops, nothing travels, and every stage reads as finished.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .howto__wash,
    .sp, .hdev__read, .hdev__led,
    .mind__rings, .mind__sweep, .mind__pins circle, .mind__core,
    .chip, .step.is-live .chip,
    .step.is-live .raw, .step.is-live .icard,
    .step.is-live .hnote, .step.is-live .hphone__screen::after,
    .step.is-live .step__node::after { animation: none; }

    .sp    { opacity: 0; }
    .chip  { opacity: 1; }
    .raw   { opacity: 0; }
    .icard { opacity: 1; }
    .hnote { opacity: 1; }

    .step__stem { transform: scaleY(1); transition: none; }
    .step { --sp: 1; transition: none; }

    .howto.is-armed .step__stage,
    .howto.is-armed .step__no,
    .howto.is-armed .step__title,
    .howto.is-armed .step__copy { opacity: 1; transform: none; transition: none; }
}


/* ==========================================================================
   CONTACT

   The page's last section, and its way back into the dark. Everything since
   Why Choose Air AQ has been light; this opens on the exact value How Air AQ
   Works closes on (#EAF4F9) and walks down to Deep Air Blue over a fixed
   distance, so the join is one colour continuing rather than a line — the
   same move .whyaq makes in the other direction, and named the same way so
   the ramp and the padding that clears it can never drift apart.

   Nothing here is a new component. The button is the hero's own primary
   action, the icon chips are the ones the six benefits wear on the light
   sections inverted for the dark, the motes are the live-air band's own, and
   the arrival is the page's [data-reveal] observer with the --d it already
   staggers on.
   ========================================================================== */

.contact {
    /* how far the light above takes to become Deep Air Blue. One value, used
       twice — every stop in the ramp and the top padding that clears it — so
       the first line of type is always below the last of the light. */
    --contact-fade: clamp(240px, 26vw, 400px);

    position: relative;
    isolation: isolate;
    /* clip rather than hidden: nothing in here is sticky, but the section is
       the page's last and `clip` is the cheaper of the two */
    overflow: hidden;
    overflow: clip;
    z-index: 1;
    padding: calc(clamp(3.5rem, 7vw, 6rem) + var(--contact-fade)) 0 clamp(4.5rem, 9vw, 8rem);
    color: var(--on-dark);
    /* --- the long throw ---------------------------------------------------
       Two ramps, one element, and a handoff you cannot find.

       A fade this long — a near-white to a deep navy, and then that navy to a
       navy barely distinguishable from it — is where a hand-written gradient
       falls apart. Two problems, and they need different answers.

       The first is the path. Interpolating #EAF4F9 to #16324F runs the
       midtones through a dead grey — in sRGB because its numbers are not
       evenly spaced to the eye, and even on a straight line in Oklab because
       the shortest route between an almost-white and a navy simply does not
       pass near a blue. So ramp one is not a straight line: it is bent through
       Slate Blue #629BB5, the palette's own middle tone, and the light comes
       down through Ice, Glacier and Slate before it reaches Deep Air Blue.

       A quadratic curve rather than two joined segments, with its control
       point placed so the path passes through Slate at exactly the halfway
       stop — two straight lines meeting there would put a corner in the slope,
       and the eye finds a corner. Sampled off that curve in Oklab, where the
       steps are perceptually even, and written back out as ordinary hex: no
       colour-space keyword to support and nothing to fall back from.

       The third — and the one that was actually showing as a line here — is
       the *shape*. The section above arrives at this join essentially flat:
       its own ramp moves about five levels across its final fifth, which on
       the pinned wide layout is some 600px, so it reaches the join at roughly
       0.000018 L per pixel. Ramp one used to leave the join on a straight
       line, which at a 240px fade is 151 times that rate and at the mobile
       fade was over 300. The two colours either side of the join matched to
       the byte, and it still read as an edge — because what the eye finds is
       not a step in colour but a crease in the slope, and a 150x crease is a
       Mach band whatever the colours do.

       So the curve is eased rather than travelled at a constant rate: the
       parameter runs through a smoothstep, whose slope is zero at both ends.
       It leaves the join at about 6x the rate above it instead of 151x — flat
       meeting flat — accelerates through the middle where there is nothing to
       compare it against, and arrives at #16324F decelerating, which is what
       ramp two continues at. The fade is longer than it was to give that ease
       somewhere to happen; the padding between the end of the fade and the
       first line of type is unchanged, so nothing moved.

       The second is banding, which is not really about the number of colours:
       it is about the *derivative*. A ramp with six stops is six straight
       segments, and the eye finds every corner between them as a Mach band,
       however smooth each segment is. Sampling densely — one stop per 8-9
       device pixels here — makes the slope continuous, and the corners have
       nowhere to be.

       Ramp two is still a straight Oklab line: #16324F to #102640 is one tone
       settling, and there is nothing for a curve to route around.

       The two ramps are laid out rather than concatenated: each is given its
       own band by `background-size` and `background-position`, so ramp one
       owns exactly --contact-fade and ramp two owns everything under it. They
       meet on #16324F on both sides — the same three bytes, not two values
       that round to the same place — so the handoff is invisible by
       construction rather than by tuning. It also means each ramp's stops are
       percentages of its own band, so the whole thing re-scales on its own
       when --contact-fade changes at a breakpoint.
       ---------------------------------------------------------------------- */
    background-color: var(--deep-800);         /* what ramp two ends on */
    background-image:
        /* ramp one — out of the light, over --contact-fade exactly */
        linear-gradient(180deg,
            #EAF4F9 0%,
            #E9F4F9 2.56%,
            #E8F3F8 5.13%,
            #E5F1F7 7.69%,
            #E1F0F6 10.26%,
            #DCEDF5 12.82%,
            #D6EAF3 15.38%,
            #D0E7F0 17.95%,
            #C9E3EE 20.51%,
            #C1DFEB 23.08%,
            #B9DAE7 25.64%,
            #B0D5E4 28.21%,
            #A7CFE0 30.77%,
            #9EC9DB 33.33%,
            #95C3D6 35.9%,
            #8BBCD1 38.46%,
            #82B5CB 41.03%,
            #78AEC5 43.59%,
            #6FA6BF 46.15%,
            #669FB8 48.72%,
            #5E97B2 51.28%,
            #568FAB 53.85%,
            #4E88A4 56.41%,
            #46809C 58.97%,
            #407895 61.54%,
            #39718E 64.1%,
            #346987 66.67%,
            #2F6280 69.23%,
            #2A5B79 71.79%,
            #265573 74.36%,
            #234F6D 76.92%,
            #204967 79.49%,
            #1D4462 82.05%,
            #1B405D 84.62%,
            #1A3C59 87.18%,
            #183856 89.74%,
            #173653 92.31%,
            #173451 94.87%,
            #16324F 97.44%,
            #16324F 100%),
        /* ramp two — Deep Air Blue settling toward the footer's opening tone */
        linear-gradient(180deg,
            #16324F 0%,
            #16314E 4.76%,
            #15314E 9.52%,
            #15304D 14.29%,
            #15304C 19.05%,
            #152F4B 23.81%,
            #142F4B 28.57%,
            #142E4A 33.33%,
            #142D49 38.1%,
            #132D49 42.86%,
            #132C48 47.62%,
            #132C47 52.38%,
            #132B46 57.14%,
            #122B46 61.9%,
            #122A45 66.67%,
            #122944 71.43%,
            #112944 76.19%,
            #112843 80.95%,
            #112842 85.71%,
            #112741 90.48%,
            #102741 95.24%,
            #102640 100%);
    background-repeat: no-repeat;
    /* The two bands overlap by a pixel. Abutted exactly, the boundary falls on
       a fractional device row whenever --contact-fade resolves to one — the
       band's own edge is then antialiased, and the background-color underneath
       shows through that row as a single darker line. The first layer paints
       over the second, so running ramp two a pixel higher puts opaque, identical
       colour under ramp one's soft edge and there is nothing left to show. */
    background-size:
        100% var(--contact-fade),
        100% calc(100% - var(--contact-fade) + 1px);
    background-position:
        0 0,
        0 calc(var(--contact-fade) - 1px);
}

/* --- the air ---------------------------------------------------------------
   Three washes, two rings and three flow lines, all of them held below the
   ramp so nothing brightens on the join. Every one is a gradient or a
   hairline — there is no blur filter in this section at all.
   -------------------------------------------------------------------------- */

.contact__air {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* the atmosphere begins where the light ends — and goes out before the
       footer, so the join below carries only the ramp */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--contact-fade), #000 calc(100% - 200px), transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 var(--contact-fade), #000 calc(100% - 200px), transparent 100%);
}

.contact__bloom {
    position: absolute;
    border-radius: 50%;
    animation: cDrift 32s var(--ease) infinite alternate;
}

.contact__bloom--a {
    top: 2%;
    left: -16%;
    width: 54vw;
    height: 54vw;
    max-width: 780px;
    max-height: 780px;
    background: radial-gradient(circle at 50% 50%, rgba(185, 217, 225, .16) 0%, rgba(98, 155, 181, .07) 46%, rgba(22, 50, 79, 0) 72%);
}

.contact__bloom--b {
    bottom: -14%;
    right: -14%;
    width: 50vw;
    height: 50vw;
    max-width: 720px;
    max-height: 720px;
    background: radial-gradient(circle at 50% 50%, rgba(214, 235, 243, .13) 0%, rgba(68, 127, 152, .08) 44%, rgba(22, 50, 79, 0) 74%);
    animation-duration: 40s;
    animation-delay: -14s;
}

.contact__bloom--c {
    top: 34%;
    left: 42%;
    width: 40vw;
    height: 40vw;
    max-width: 560px;
    max-height: 560px;
    background: radial-gradient(circle at 50% 50%, rgba(185, 217, 225, .10) 0%, rgba(22, 50, 79, 0) 68%);
    animation-duration: 36s;
    animation-delay: -22s;
}

@keyframes cDrift {
    from { transform: translate3d(-2%, 0, 0) scale(1);    opacity: .8; }
    to   { transform: translate3d( 2%, 0, 0) scale(1.06); opacity: 1;  }
}

/* two hairline circles, barely there — the device's own rings, at the scale
   of the section rather than of the product */
.contact__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(185, 217, 225, .10);
    animation: cRing 24s ease-in-out infinite;
}

.contact__ring--a {
    top: 12%;
    right: 6%;
    width: clamp(220px, 24vw, 380px);
    aspect-ratio: 1;
}

.contact__ring--b {
    bottom: 6%;
    left: 4%;
    width: clamp(160px, 17vw, 270px);
    aspect-ratio: 1;
    border-color: rgba(214, 235, 243, .08);
    animation-duration: 30s;
    animation-delay: -11s;
}

@keyframes cRing {
    0%, 100% { transform: scale(1);    opacity: .8; }
    50%      { transform: scale(1.05); opacity: .4; }
}

/* the flow lines, on the ribbon's own keyframe */
.contact__flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .8;
}

.cflow {
    fill: none;
    stroke-dasharray: 320 560;
    animation: flow 26s linear infinite;
}

.cflow--2 { animation-duration: 33s; animation-delay: -9s;  opacity: .7; }
.cflow--3 { animation-duration: 29s; animation-delay: -17s; opacity: .55; }

.contact__motes { position: absolute; inset: 0; }

/* --- the reveal ------------------------------------------------------------
   The product section's transition, to the millisecond, gated on the class
   the script adds — so with no script the whole section is simply there.
   -------------------------------------------------------------------------- */

.js-reveal .contact [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    transition:
        opacity 1.1s var(--ease) var(--d, 0ms),
        transform 1.1s var(--ease) var(--d, 0ms),
        filter 1.1s var(--ease) var(--d, 0ms);
}

.js-reveal .contact [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* --- the two columns -------------------------------------------------------
   The hero's grid and the hero's gap. The form takes the slightly wider share
   because it holds two fields across; the words take the narrower one because
   they are a reading measure either way.
   -------------------------------------------------------------------------- */

.contact__inner {
    width: var(--shell);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 4.5rem);
}

/* --- left: the introduction ----------------------------------------------- */

.contact__intro { max-width: 34rem; }

/* the eyebrow the light sections wear, in the colour the dark ones use */
.contact__eyebrow {
    margin: 0 0 1.15rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--glacier);
}

/* the page's own section-heading metrics */
.contact__title {
    margin: 0 0 1.35rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 3.5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--white);
    text-wrap: balance;
}

.contact__lead {
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    max-width: 31rem;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.7;
    color: var(--on-dark-72);
    text-wrap: pretty;
}

/* --- the three ways in -----------------------------------------------------
   Not cards: a hairline between each and nothing around them, so the left
   column reads as one list rather than as three panels beside a fourth.
   -------------------------------------------------------------------------- */

.contact__ways {
    margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.cway {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: clamp(1rem, 1.8vw, 1.35rem) 0;
    border-top: 1px solid rgba(185, 217, 225, .14);
}

.cway:first-child { border-top: 0; padding-top: 0; }

/* the benefit chip, inverted for the dark: the glass and hairline the chain's
   icons wear, at the same 44px on the same 14px radius */
.cway__icon {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--ice);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(214, 235, 243, .22);
}

.cway__icon svg { width: 22px; height: 22px; }

.cway__body {
    display: flex;
    flex-direction: column;
    gap: .22rem;
    min-width: 0;
}

.cway__name {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    font-weight: 700;
    letter-spacing: -.018em;
    line-height: 1.25;
    color: var(--white);
}

.cway__line {
    font-size: .89rem;
    line-height: 1.6;
    color: var(--on-dark-72);
    text-wrap: pretty;
}

.cway__link {
    align-self: flex-start;
    margin-top: .18rem;
    font-size: .89rem;
    font-weight: 600;
    color: var(--glacier);
    text-decoration: none;
    /* an underline that is part of the type rather than a rule under it */
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 0 1px;
    background-position: 0 100%;
    transition: color .28s var(--ease), background-size .35s var(--ease);
    overflow-wrap: anywhere;
}

.cway__link:hover {
    color: var(--ice);
    background-size: 100% 1px;
}

/* --- the trust line ------------------------------------------------------- */

.contact__trust {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin: 0;
    padding: clamp(.9rem, 1.6vw, 1.15rem) clamp(1rem, 1.8vw, 1.25rem);
    border-radius: 16px;
    font-size: .89rem;
    line-height: 1.6;
    color: var(--on-dark-72);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(185, 217, 225, .16);
}

.contact__trust-mark {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: .06rem;
    color: var(--glacier);
}

.contact__trust-mark svg { width: 100%; height: 100%; }

/* --- right: the form -------------------------------------------------------
   A single soft panel, and no backdrop-filter on it: the backdrop here is a
   smooth gradient, so blurring it changes the pixels by about 1/255 while
   costing every frame of scroll on the page — the same measurement the
   sensor cards and the chain's icons are built on. What reads as glass is the
   translucent fill, the hairline and the inset highlight along the top.
   -------------------------------------------------------------------------- */

.contact__panel {
    padding: clamp(1.5rem, 2.6vw, 2.35rem);
    border-radius: 26px;
    background: linear-gradient(158deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .035) 100%);
    border: 1px solid rgba(185, 217, 225, .20);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 34px 64px -34px rgba(4, 14, 25, .9);
}

.cform {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.6vw, 1.3rem);
}

.cform__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 1.6vw, 1.3rem);
}

.cfield {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin: 0;
    min-width: 0;
}

/* the label the readings wear, at reading weight */
.cfield__label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(214, 235, 243, .72);
}

.cfield__input {
    width: 100%;
    padding: .85rem 1rem;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: .95rem;
    line-height: 1.5;
    color: var(--ice);
    background: rgba(11, 28, 47, .42);
    border: 1px solid rgba(185, 217, 225, .22);
    -webkit-tap-highlight-color: transparent;
    transition: border-color .28s var(--ease),
                background-color .28s var(--ease),
                box-shadow .28s var(--ease);
}

.cfield__input::placeholder { color: rgba(185, 217, 225, .42); }

.cfield__input:hover { border-color: rgba(185, 217, 225, .34); }

.cfield__input:focus {
    outline: 0;
    color: var(--white);
    border-color: rgba(185, 217, 225, .62);
    background: rgba(11, 28, 47, .56);
    /* a breath of Glacier around the field, not a shadow under it */
    box-shadow: 0 0 0 3px rgba(185, 217, 225, .13);
}

.cfield__input--area {
    min-height: clamp(140px, 18vh, 190px);
    resize: vertical;
}

/* the browser paints its own near-white over an autofilled field, which would
   put a white box in the middle of the panel — this is the only way to say no */
.cfield__input:-webkit-autofill,
.cfield__input:-webkit-autofill:hover,
.cfield__input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ice);
    -webkit-box-shadow: 0 0 0 100px #14304C inset;
    caret-color: var(--ice);
}

/* the hero's primary action, on a <button> — which needs the three things an
   <a> already had */
.cform__send {
    margin-top: .35rem;
    border: 0;
    font-family: var(--font-body);
    cursor: pointer;
}

/* Turquoise is the focus ring the light sections use; on Deep Air Blue it is
   the hero's Ice, exactly as the hero already says for itself */
.contact :where(a, button):focus-visible { outline-color: var(--ice); }

/* --- responsive ------------------------------------------------------------
   One column at the page's own 1200px threshold, the field pairs unstacking
   at 640 with everything else, and the action going full width with the rest
   of the page's buttons.
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .contact__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(2.25rem, 6vw, 3.25rem);
    }

    /* the words are a reading measure; the panel is not, so it takes the
       column and the two stay the same width as each other */
    .contact__intro { max-width: none; }
    .contact__lead  { max-width: 38rem; }
    .contact__ways,
    .contact__trust { max-width: 44rem; }
}

@media (max-width: 767px) {
    .contact {
        --contact-fade: clamp(190px, 34vw, 280px);
        padding-bottom: clamp(3.5rem, 10vw, 5rem);
    }

    .contact__lead { margin-bottom: clamp(1.5rem, 6vw, 2.25rem); }
    .contact__panel { border-radius: 22px; }
    .cway { gap: .85rem; }
}

@media (max-width: 640px) {
    /* two fields across is not two fields across on a phone */
    .cform__row { grid-template-columns: minmax(0, 1fr); }

    /* the same full-width action every other button on the page becomes */
    .cform__send { width: 100%; }

    .contact__panel { padding: clamp(1.15rem, 5vw, 1.5rem); }
    .cfield__input--area { min-height: 150px; }
}

@media (max-width: 480px) {
    .contact__title { font-size: clamp(1.6rem, 8vw, 2.05rem); }
    .contact__eyebrow { font-size: .76rem; letter-spacing: .14em; }

    .cway__icon { width: 40px; height: 40px; border-radius: 12px; }
    .cway__icon svg { width: 20px; height: 20px; }
    .cway { gap: .75rem; padding: .9rem 0; }

    .cfield__input { padding: .8rem .9rem; border-radius: 12px; }
    .contact__trust { padding: .85rem .95rem; font-size: .85rem; }
}

/* --- motion turned down ----------------------------------------------------
   The global rule at the top of this sheet already stops every animation and
   transition on the page. What is left is the two things whose resting state
   is a value the animation was going to arrive at rather than leave from.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .contact__bloom,
    .contact__ring,
    .cflow { animation: none; }

    /* the flow lines are drawn as one continuous stroke rather than parked
       mid-dash by an animation that never runs */
    .cflow { stroke-dasharray: none; }
}


/* ==========================================================================
   FOOTER

   The page's ending, and the last of one continuous surface. The contact
   section closes on --deep-800 and this opens on that exact value, so there
   is nothing at the join to see: no rule, no gap, no change of width, no
   curved edge. It simply keeps going down to --deep-900 and a shade past it.

   Almost nothing here is new. The mark is the navigation's own .brand, the
   field is the contact form's own .cfield__input, the action is the hero's
   .btn--primary at a compact size, the particles are the live-air band's
   .mote, and the arrival is the page's [data-reveal] observer on the --d it
   already staggers on. What this block adds is the grid, the link hover and
   the bottom bar.
   ========================================================================== */

.foot {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    overflow: clip;
    z-index: 1;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(1.75rem, 3vw, 2.5rem);
    color: var(--on-dark);
    /* The same long-throw ramp as the contact section, for the same reason.
       This one barely moves — #102640 to #081729 is eight levels of blue over
       most of a screen — which is exactly the case that bands worst: a slope
       that shallow crosses an 8-bit boundary every fifty pixels or so, and
       every crossing is a visible edge. Densely sampled from a straight line
       in Oklab, in two bands that meet on #0B1C2F on both sides. */
    background-color: #081729;                 /* what ramp two ends on */
    background-image:
        /* ramp one — the contact section's closing tone, descending */
        linear-gradient(180deg,
            #102640 0%,
            #10263F 4%,
            #10253F 8%,
            #0F253E 12%,
            #0F243D 16%,
            #0F243D 20%,
            #0F243C 24%,
            #0F233B 28%,
            #0E233A 32%,
            #0E223A 36%,
            #0E2239 40%,
            #0E2238 44%,
            #0E2138 48%,
            #0D2137 52%,
            #0D2036 56%,
            #0D2036 60%,
            #0D2035 64%,
            #0D1F34 68%,
            #0C1F34 72%,
            #0C1E33 76%,
            #0C1E32 80%,
            #0C1E32 84%,
            #0C1D31 88%,
            #0B1D30 92%,
            #0B1C30 96%,
            #0B1C2F 100%),
        /* ramp two — and the last of the light going out of the page */
        linear-gradient(180deg,
            #0B1C2F 0%,
            #0B1C2F 5.26%,
            #0B1B2E 10.53%,
            #0A1B2E 15.79%,
            #0A1B2E 21.05%,
            #0A1B2D 26.32%,
            #0A1A2D 31.58%,
            #0A1A2D 36.84%,
            #0A1A2C 42.11%,
            #0A1A2C 47.37%,
            #09192C 52.63%,
            #09192C 57.89%,
            #09192B 63.16%,
            #09192B 68.42%,
            #09182B 73.68%,
            #09182A 78.95%,
            #08182A 84.21%,
            #08182A 89.47%,
            #081729 94.74%,
            #081729 100%);
    background-repeat: no-repeat;
    /* the overlapping pixel, for the reason the contact section gives above */
    background-size:
        100% 68%,
        100% calc(32% + 1px);
    /* `bottom`, not `68%`: a percentage background-position resolves against
       the container *minus the image*, so `0 68%` would have put this band's
       top at 46% of the footer and broken the handoff. Bottom-aligning an
       image that is 32% tall lands its top on 68% exactly. */
    background-position:
        0 0,
        0 bottom;
}

/* --- the air ---------------------------------------------------------------
   One glow, two curves and six motes. Every one of them is a gradient or a
   hairline stroke — there is no blur filter in the footer at all, and the
   whole layer is held at an opacity where it reads as depth rather than as
   decoration competing with the type.
   -------------------------------------------------------------------------- */

.foot__air {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* the glow is anchored above the footer's top edge, so the section's clip
       sliced it off along that edge — the footer's one giveaway that it was a
       separate block. It rises into view instead. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 190px);
            mask-image: linear-gradient(180deg, transparent 0, #000 190px);
}

.foot__glow {
    position: absolute;
    top: -32%;
    left: 50%;
    width: min(1100px, 92vw);
    aspect-ratio: 2 / 1;
    translate: -50% 0;
    border-radius: 50%;
    background: radial-gradient(closest-side,
        rgba(185, 217, 225, .11) 0%,
        rgba(98, 155, 181, .05) 48%,
        rgba(11, 28, 47, 0) 100%);
    animation: footGlow 30s var(--ease) infinite alternate;
}

@keyframes footGlow {
    from { opacity: .7; transform: scale(1);    }
    to   { opacity: 1;  transform: scale(1.05); }
}

.foot__flow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .7;
}

.fflow {
    fill: none;
    stroke-dasharray: 300 620;
    animation: flow 34s linear infinite;      /* the hero's ribbon keyframe */
}

.fflow--2 { animation-duration: 41s; animation-delay: -15s; opacity: .7; }

.foot__motes { position: absolute; inset: 0; }

/* --- the arrival -----------------------------------------------------------
   The page's own reveal, at the page's own timing, gated on the class the
   script adds — so with no script the footer is simply there.
   -------------------------------------------------------------------------- */

.js-reveal .foot [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 1s var(--ease) var(--d, 0ms),
        transform 1s var(--ease) var(--d, 0ms);
}

.js-reveal .foot [data-reveal].is-in { opacity: 1; transform: none; }

/* --- the grid --------------------------------------------------------------
   Four columns, the brand taking the widest share because it carries a
   paragraph and the two link columns the narrowest because they carry a word
   each. Same shell and the same gap language as every section above.
   -------------------------------------------------------------------------- */

.foot__inner {
    width: var(--shell);
    margin: 0 auto;
}

.foot__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(0, .85fr)
        minmax(0, .85fr)
        minmax(0, 1.15fr);
    gap: clamp(2rem, 3.5vw, 3.75rem);
    align-items: start;
}

/* --- 1 · the brand -------------------------------------------------------- */

.foot__brand { max-width: 24rem; }

/* the navigation's mark, with room under it */
.foot__brand .brand { margin-bottom: 1.35rem; }

.foot__statement {
    margin: 0 0 .85rem;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.02em;
    color: var(--white);
    text-wrap: balance;
}

.foot__note {
    margin: 0 0 1.6rem;
    font-size: .89rem;
    line-height: 1.68;
    color: var(--on-dark-72);
    text-wrap: pretty;
}

.fsocial {
    display: flex;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fsocial a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--glacier);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(185, 217, 225, .16);
    transition: color .28s var(--ease),
                background-color .28s var(--ease),
                border-color .28s var(--ease),
                transform .28s var(--ease);
}

.fsocial svg { width: 19px; height: 19px; }

.fsocial a:hover {
    color: var(--white);
    background: rgba(185, 217, 225, .14);
    border-color: rgba(214, 235, 243, .38);
    transform: translateY(-2px);
}

/* --- 2 & 3 · the link columns --------------------------------------------- */

.fcol__title {
    margin: 0 0 1.15rem;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--glacier);
}

.fcol__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .72rem;
}

/* the hover: a step to the right and a walk toward Ice, and nothing else.
   `inline-block` is what gives the anchor a box to move, and it keeps the
   moved box the width of its own text rather than the width of the column,
   so the pointer never leaves it mid-step. */
.fcol__list a {
    display: inline-block;
    font-size: .92rem;
    line-height: 1.4;
    color: var(--on-dark-72);
    text-decoration: none;
    transition: color .28s var(--ease), transform .28s var(--ease);
}

.fcol__list a:hover {
    color: var(--ice);
    transform: translateX(3px);
}

/* --- 4 · stay connected --------------------------------------------------- */

.foot__news-line {
    margin: 0 0 1.15rem;
    font-size: .89rem;
    line-height: 1.68;
    color: var(--on-dark-72);
    text-wrap: pretty;
}

/* the label is for the screen reader and for the field's own name; the
   placeholder is what is read on screen, which is what keeps this compact */
.fnews__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* one row that becomes two when there is no room for one */
.fnews__field {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

/* the contact form's field, at the smaller size a single row asks for */
.fnews__input {
    flex: 1 1 11rem;
    min-width: 0;
    padding: .72rem .9rem;
    border-radius: 13px;
    font-size: .9rem;
}

/* the hero's primary action, compact — and the three things a <button>
   needs that an <a> already had */
.fnews__send {
    flex: 0 0 auto;
    gap: .45rem;
    padding: .72rem 1.15rem;
    border: 0;
    font-family: var(--font-body);
    font-size: .88rem;
    cursor: pointer;
}

.fnews__send .btn__arrow { width: 16px; height: 16px; }
.fnews__send:hover .btn__arrow { transform: translateX(3px); }

/* --- the bottom bar --------------------------------------------------------
   One hairline of Glacier at the opacity the rest of the page uses for a
   division inside a dark section, and a row under it.
   -------------------------------------------------------------------------- */

.foot__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
    border-top: 1px solid rgba(185, 217, 225, .12);
}

.foot__copy,
.foot__legal {
    margin: 0;
    font-size: .84rem;
    line-height: 1.5;
    color: var(--on-dark-52);
}

.foot__legal {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}

.foot__legal a {
    color: var(--on-dark-72);
    text-decoration: none;
    transition: color .28s var(--ease);
}

.foot__legal a:hover { color: var(--ice); }

/* Turquoise is the focus ring the light sections use; on Deep Air Blue it is
   Ice, exactly as the hero and the contact section already say */
.foot :where(a, button):focus-visible { outline-color: var(--ice); }

/* --- responsive ------------------------------------------------------------
   Four across, then two, then one — on the page's own tablet and phone
   thresholds, so the footer folds on the same lines everything above it does.
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
    /* two columns: the brand takes the first row on its own, because it is
       the one thing here that is a paragraph rather than a list */
    .foot__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(2rem, 5vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
    }

    .foot__brand,
    .foot__news { grid-column: 1 / -1; }

    .foot__brand { max-width: 34rem; }
    .foot__news-line { max-width: 30rem; }
    .fnews__field { max-width: 30rem; }
}

@media (max-width: 640px) {
    .foot { padding-top: clamp(3rem, 10vw, 4rem); }

    /* everything in one column, the brand still first */
    .foot__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(2.25rem, 8vw, 3rem);
    }

    .foot__brand,
    .foot__news { grid-column: auto; }

    /* the field takes the width and the action goes under it, full width —
       the same thing every other button on the page does at this size */
    .fnews__input { flex: 1 1 100%; }
    .fnews__send  { flex: 1 1 100%; width: 100%; }

    /* the two halves of the bar stack rather than crowd */
    .foot__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: .85rem;
    }
}

@media (max-width: 480px) {
    .foot__statement { font-size: 1rem; }
    .foot__note,
    .foot__news-line { font-size: .86rem; }
    .fcol__list { gap: .65rem; }
    .fsocial a { width: 36px; height: 36px; border-radius: 11px; }
    .fsocial svg { width: 18px; height: 18px; }
    .foot__copy, .foot__legal { font-size: .8rem; }
}

/* --- motion turned down ----------------------------------------------------
   The global rule at the top of this sheet already stops every animation and
   transition on the page. What is left is the curves, whose resting state is
   a dash pattern the animation was going to walk rather than arrive at.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .foot__glow,
    .fflow { animation: none; }
    .fflow { stroke-dasharray: none; }
    .fsocial a:hover { transform: none; }
    .fcol__list a:hover { transform: none; }
}


/* ==========================================================================
   PRELOADER
   Ice-blue field, the mark breathing at its centre, five motes drifting in
   toward it, one hairline of progress underneath. Everything that moves is
   a transform or an opacity, so the whole thing runs on the compositor.
   ========================================================================== */

/* the overlay is inert markup until the boot script says JS is alive — with
   no script there is nothing to cover the page and nothing to remove it */
.pre { display: none; }

html.pre-on .pre { display: grid; }
html.pre-on, html.pre-on body { overflow: hidden; }

.pre {
    position: fixed;
    inset: 0;
    z-index: 999;
    place-content: center;
    justify-items: center;
    gap: clamp(1.5rem, 3vw, 2.1rem);
    background: var(--ice);
    --pre-ease: cubic-bezier(.22, 1, .36, 1);
}

/* a soft lift of white behind the mark — a gradient, not a blur */
.pre::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(58% 52% at 50% 46%,
                rgba(255, 255, 255, .95) 0%,
                rgba(255, 255, 255, .55) 40%,
                rgba(255, 255, 255, 0)   74%);
}

/* above the wash, and out of the motes' way */
.pre__core, .pre__bar { position: relative; }

/* --- the air ------------------------------------------------------------- */

.pre__air {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.pre__mote {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--s);
    height: var(--s);
    margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    border-radius: 50%;
    background: var(--slate);
    opacity: 0;
    animation: preMote var(--t) var(--pre-ease) var(--d) infinite;
}

/* drawn in from the edges and given up at the centre, never quite arriving */
@keyframes preMote {
    0%   { transform: translate3d(var(--x), var(--y), 0) scale(1);   opacity: 0; }
    18%  { opacity: .5; }
    72%  { opacity: .34; }
    100% { transform: translate3d(calc(var(--x) * .06), calc(var(--y) * .06), 0) scale(.3); opacity: 0; }
}

/* --- the mark ------------------------------------------------------------ */

.pre__core {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--deep);
    animation: preIn .9s var(--pre-ease) both,
               preBreathe 3.6s ease-in-out .9s infinite;
}

.pre__mark {
    width: 2.15rem;
    height: 2.15rem;
    color: var(--turquoise);
}

.pre__mark svg { width: 100%; height: 100%; }

.pre__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    letter-spacing: -.03em;
}

.pre__name span { color: var(--turquoise); }

/* --- the line ------------------------------------------------------------ */

.pre__bar {
    width: clamp(150px, 20vw, 210px);
    height: 2px;
    border-radius: 2px;
    background: rgba(22, 50, 79, .11);
    overflow: hidden;
    animation: preIn .9s var(--pre-ease) .12s both;
}

.pre__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--slate) 0%, var(--deep) 100%);
    transform: scaleX(0);        /* the script drives this, frame by frame */
    transform-origin: 0 50%;
}

@keyframes preIn {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to   { opacity: 1; transform: none; }
}

/* the breath starts only once the fade-in has landed: it sits later in the
   animation list, so it takes the transform over at exactly that moment */
@keyframes preBreathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.028); }
}

/* --- the exit ------------------------------------------------------------ */

.pre.is-out {
    opacity: 0;
    transform: scale(1.035);
    pointer-events: none;
    transition: opacity .62s var(--pre-ease), transform .72s var(--pre-ease);
}

/* the cover has to stay displayed while it fades: .pre-on comes off the
   moment the exit begins, so this is what holds the overlay on screen */
.pre.is-out { display: grid; }

/* the hero is already standing behind the overlay; this is the last of the
   distance it travels, so nothing shifts as the cover comes off */
/* `backwards`, not `both`: an opacity animation left filling forwards stays
   in effect, and Chrome then treats the stage as a backdrop root — the cards'
   backdrop-filter could only blur the empty stage, never the room behind it,
   so the glass rendered as a flat tint. The end values are the defaults, so
   letting the fill drop changes nothing on screen. */
body.is-loaded .hero__copy,
body.is-loaded .hero__stage {
    animation: preHero .95s var(--pre-ease) backwards;
}

body.is-loaded .hero__stage { animation-delay: .1s; }

@keyframes preHero {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pre__mote  { animation: none; opacity: .3; transform: translate3d(var(--x), var(--y), 0); }
    .pre__core,
    .pre__bar   { animation: none; }
    .pre.is-out { transform: none; transition: opacity .3s linear; }

    body.is-loaded .hero__copy,
    body.is-loaded .hero__stage { animation: none; }
}


/* ==========================================================================
   RESPONSIVE LAYER
   ==========================================================================
   Everything above this point is the design. Everything below it is the same
   design at other sizes — no new components, no new colours, no new type
   scale. The sheet already carries most of the work in `clamp()`, in
   `minmax(0, 1fr)` and in the two custom properties the layout is written
   against, so what follows is deliberately short: it moves those values, it
   does not restate the rules that read them.

   The ladder, and why it is the one it is:

     >= 1441px   large desktop   the composition, with the hero's readings
                                 held to the content band rather than to the
                                 far edges of very wide screens
     1201-1440   laptop          the composition as designed. 1201 is not a
                                 chosen number: it is where the flight, both
                                 sticky pins and the two-column hero already
                                 live, in the CSS and in script.js alike, and
                                 moving it would move all three
     1024-1200   small laptop /  the stacked layout — a 1024-wide window
                 tablet          cannot hold the two-column stage and the
                                 pinned acts at their designed size
      768-1023   tablet          stacked, with the hero's stage and readings
                                 taken down a step
      481- 767   large phone     one column throughout
      320- 480   small phone     one column, tightened

   Only three of these carry structural change (1200, 1080, 640) and all three
   were already in the sheet. The rest move spacing and scale, which is why
   they are ranges of a few declarations rather than blocks of layout.
   ========================================================================== */


/* --- 1. large desktop: >= 1441px ------------------------------------------
   Nothing here changes the composition. The one thing that does not survive
   an unbounded screen is the hero's readings: they are placed in percentages
   of the room, which is the full viewport, while the copy is held to the
   1300px shell — so past a point they drift away from the page and out to the
   glass. `max()` puts a floor under that: the percentage while it is the
   larger number, and a fixed distance from the centre once it is not, which
   keeps them in the same relationship to the column they belong to.
   -------------------------------------------------------------------------- */

@media (min-width: 1441px) {
    .room.has-photo ~ .hero__inner .fcard--co2 { right: max(6%, calc(50% - 660px)); }
    .room.has-photo ~ .hero__inner .fcard--gas { right: max(5%, calc(50% - 680px)); }
    .room.has-photo ~ .hero__inner .fcard--temp { right: max(3%, calc(50% - 700px)); }
}


/* --- 2. laptop: 1201px - 1440px -------------------------------------------
   The designed composition, at the width it was drawn for. The only pressure
   here is vertical: the hero, both pinned stages and the orbit are all sized
   against the viewport's height, and a 1280x720 or 1440x800 laptop has a
   third less of it than the desktop they were laid out on. Those cases are
   handled by height, below, not by width.
   -------------------------------------------------------------------------- */

@media (min-width: 1201px) and (max-width: 1440px) {
    /* the readings crowd the headline before the room gets narrow enough for
       the layout to change, so they give up a step of scale first */
    .room.has-photo ~ .hero__inner .fcard { padding: .54rem .72rem; gap: .52rem; }
    .room.has-photo ~ .hero__inner .fcard__value { font-size: .9rem; }
    .room.has-photo ~ .hero__inner .fcard__spark { width: 40px; }
    .room.has-photo ~ .hero__inner .meter { display: none; }
}

/* short laptop screens. The hero and both pins are written in svh and so are
   already the right height; what does not fit is what sits inside them, so
   the stages inside come down and the padding around them with it. */
@media (min-width: 1201px) and (max-height: 820px) {
    /* the stage already yields to the screen on its own, so only the
       product's showcase — which shares no screen with anything — needs
       telling here */
    .showcase { height: clamp(360px, 62vh, 640px); }

    /* the readings share this screen, so on a short one they are the thing
       that still has to fit: the breath above them, the hem below them and
       the hero's own hem all come down with the stage */
    .airdata {
        --read-gap: clamp(2rem, 4vh, 3rem);
        --read-hem: clamp(1.75rem, 3.5vh, 2.75rem);
    }

    .hero { padding-bottom: clamp(.75rem, 2vh, 1.5rem); }

    /* on a short screen the run between the nav and the headline is the
       cheapest 40px on the page, and it is what buys the readings their
       place above the fold on a 1366x768 laptop */
    .hero__inner { padding-top: clamp(1.25rem, 3.5vh, 2.5rem); }

    /* the four stages plus their words have to clear one held screen */
    .howto__story { padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(1.75rem, 4vh, 3.25rem); }
    .howto__head  { margin-bottom: clamp(1.25rem, 3vh, 2.5rem); }
    .howto__track { --stage-h: clamp(130px, 17vh, 200px); --rail-h: 2.2rem; }

    /* and the trust reel's picture keeps its share of a shorter screen */
    .reel__shot img { max-height: min(42svh, 340px); }
}


/* --- 3. tablet landscape: 768px - 1023px ----------------------------------
   Stacked, from the 1200px rules above. What is left is scale: the hero's
   stage is the full column here rather than half of one, so the readings that
   orbit it are proportionally larger than they were on the wide layout, and
   they come back down to the size they read at there.
   -------------------------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1023px) {
    .stage { width: min(430px, 100%); }

    .fcard { padding: .56rem .74rem; gap: .54rem; }
    .fcard__value { font-size: .9rem; }
    .fcard__spark { width: 40px; }

    /* the airflow band is one row of four here as well; what it needs at
       this width is a little more room between the columns than the phone
       tier gives it, not a second row */
    .airdata__row { --col-gap: clamp(1rem, 2.4vw, 1.6rem); }

    /* the sensor cards are a two-column grid at this width, so the gap is
       what stops them reading as one block */
    .showcase { gap: 1.15rem; }

    /* stacked, the four stages are a long way down the page; the run between
       them is what makes it longer than it needs to be */
    .howto__track { row-gap: clamp(2.5rem, 5vw, 3.5rem); }
    .step:not(:last-child)::after { height: clamp(2.5rem, 5vw, 3.5rem); }

    .reel__shot img { max-height: 58vh; }
}


/* --- 4. large phone: 481px - 767px ----------------------------------------
   The 640px rules already turn this into one column. This tier is the space
   around it: sections that were given desktop whitespace give some of it
   back, so the page is shorter to scroll without anything being cramped.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
    /* stacked on a phone, the readings sit right under the insight card
       rather than across a wide empty stretch, so the breath above them is
       measured against that card and not against the room */
    .airdata {
        --read-gap: clamp(2.25rem, 8vw, 3rem);
        --read-hem: clamp(1.75rem, 6vw, 2.5rem);
    }
    .hero { padding-bottom: clamp(.75rem, 3vw, 1.5rem); }

    /* --- the two hero actions, side by side -------------------------------
       They used to stack: the 640px tier gives every .btn on the page
       `flex: 1 1 100%`, which is right for the product section's buttons but
       made each of these take a full row of its own. These are scoped to the
       hero so that rule keeps working where it belongs, and they are more
       specific than it, so the cascade does not depend on file order.

       `nowrap` on the row is what actually holds the line; the sizes below
       are what make holding it comfortable rather than a squeeze. `min-width:
       0` matters on a nowrap row — without it a flex item refuses to shrink
       below its content and pushes the row wider than the shell.
       ---------------------------------------------------------------------- */
    .hero__actions {
        flex-wrap: nowrap;
        justify-content: center;
        gap: .6rem;
    }

    .hero__actions .btn {
        flex: 0 1 auto;
        min-width: 0;
        gap: .45rem;
        padding: .8rem 1.15rem;
        font-size: .88rem;
    }

    /* the icons come down with the type, or they end up the widest thing in
       a button whose label has just been reduced */
    .hero__actions .btn__arrow { width: 16px; height: 16px; }
    .hero__actions .btn__play  { width: 17px; height: 17px; }

    /* equal height, which they were not: .btn--ghost carries a 1px hairline
       and .btn--primary carries none, and with no height set on either the
       ghost came out 2px taller. A transparent border of the same width gives
       the two the same box. Scoped to this tier so the desktop pair keeps the
       exact metrics it was drawn with. */
    .hero__actions .btn--primary { border: 1px solid transparent; }
    .hero__inner { gap: clamp(2rem, 7vw, 3rem); padding-top: clamp(2rem, 6vw, 3rem); }
    .hero__desc { margin-bottom: 1.75rem; }

    /* stacked, the product copy is the first thing in the band, so the
       breath it opens on needs less than it does on the wide layout */
    /* stacked, the readings' hem and this breath are the only thing between
       the counters and the product headline, so the two are tuned as one
       run rather than as two separate paddings meeting */
    .airband {
        --band-gap: clamp(2.25rem, 8vw, 3rem);
        --join-rise: clamp(110px, 26vw, 170px);
    }
    .product { padding: var(--band-gap) 0 clamp(3.25rem, 9vw, 5rem); }
    .phead { margin-bottom: clamp(1.75rem, 6vw, 2.5rem); }

    .assure { padding: clamp(2.25rem, 7vw, 3.5rem) 0; }
    .reel { padding: clamp(1rem, 3vw, 1.75rem) 0; }
    .reel__shot { margin-top: clamp(1.25rem, 5vw, 1.75rem); }
    .reel__shot-words { margin-top: clamp(.85rem, 3.5vw, 1.15rem); }

    .howto__story { padding: clamp(2rem, 8vw, 3.25rem) 0 clamp(2.25rem, 8vw, 3.5rem); }
    .howto__head { margin-bottom: clamp(1.5rem, 6vw, 2.5rem); }

    /* a picture is the tallest thing on the page here, and four of them in a
       row is what makes the section feel endless on a phone */
    .reel__shot img { max-height: 56vh; }

    /* the two lines under a picture are a caption, not a column of text */
    .reel__shot-words { max-width: 34rem; }
}


/* --- 5. the hero on one column: <= 640px ----------------------------------
   The stage is the full width of the shell here, which is the one place the
   readings' overhang stops being a flourish: `left: -4%` of a full-width
   stage is off the side of the screen. The stage is inset from the shell by
   a little more than the deepest overhang instead, so every reading keeps the
   overhang it was drawn with and all of them stay on the screen.
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
    .stage { width: min(470px, 100% - 2.75rem); }

    /* over-constrained otherwise — `top` and `bottom` together were stretching
       the insight to whatever was left of the stage */
    .insight { bottom: auto; }

    /* a tap target, and a line that does not wrap mid-word */
    .nav__toggle { width: 40px; height: 40px; }
    .btn { padding: .95rem 1.5rem; }

    /* the headline is the one piece of type that has to be told where not to
       break: `balance` alone will still put "Breathe." on a line of its own */
    .hero__title { letter-spacing: -.03em; }
    .hero__desc { font-size: 1rem; }

    .chain { margin-top: clamp(1.75rem, 7vw, 2.5rem); }
    .connect { margin-bottom: 1.5rem; }
}


/* --- 6. small phone: <= 480px ---------------------------------------------
   320px is the floor. Everything here is a size coming down one more step so
   that nothing has to wrap that was not meant to — the bar in particular,
   which has to hold the mark, the call to action and the menu button on one
   line at 320px with no horizontal scroll.
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
    /* the two actions, at the width they are tightest. Measured against the
       320px floor: the shell is 296px there, and the pair needs to fit inside
       it with the gap. */
    .hero__actions { gap: .45rem; }

    .hero__actions .btn {
        gap: .35rem;
        padding: .72rem .85rem;
        font-size: .8rem;
    }

    .hero__actions .btn__arrow { width: 14px; height: 14px; }
    .hero__actions .btn__play  { width: 15px; height: 15px; }

    /* the bar, at the width it is tightest */
    .nav__bar { gap: .5rem; padding: .45rem .45rem .45rem .8rem; }
    .brand__mark { width: 30px; height: 30px; border-radius: 10px; }
    .brand__mark svg { width: 18px; height: 18px; }
    .brand__name { font-size: .95rem; }
    .nav__cta { padding: .6rem .95rem; font-size: .79rem; }
    .nav__toggle { width: 36px; height: 36px; }
    .nav__burger, .nav__burger::before, .nav__burger::after { width: 15px; }

    .hero__title { font-size: clamp(1.95rem, 9vw, 2.4rem); }
    .stage { aspect-ratio: 1 / 1.2; }

    /* the readings are content-sized, so this is what keeps two of them from
       meeting in the middle of a 320px stage */
    .fcard { padding: .46rem .58rem; gap: .45rem; border-radius: 12px; }
    .fcard__icon { width: 24px; height: 24px; border-radius: 7px; }
    .fcard__icon svg { width: 14px; height: 14px; }
    .fcard__value { font-size: .8rem; }
    .fcard__label { font-size: .55rem; letter-spacing: .1em; }
    .fcard__spark { width: 30px; height: 15px; }

    .insight { padding: .62rem .72rem; gap: .6rem; }
    .insight__spark { width: 24px; height: 24px; }
    .insight__text { font-size: .72rem; }

    /* the live-air readings, at the width the row is tightest: four columns
       inside a 296px shell, so the gutter and the figure both come down
       again and "Real-Time" still fits its column on one line */
    .airdata__row {
        --value-h: clamp(1.35rem, 7vw, 1.75rem);
        --pin-row: 1.45rem;
        --col-gap: .35rem;
    }
    .anode__value { font-size: clamp(.92rem, 4.4vw, 1.2rem); }
    .anode__label { font-size: clamp(.46rem, 2vw, .56rem); letter-spacing: .04em; }

    /* the product and everything around it */
    .showcase__device { width: min(190px, 62%); }
    .scard { padding: .7rem .78rem; }
    .scard__icon { width: 30px; height: 30px; border-radius: 10px; }
    .aicard { padding: 1rem 1.05rem 1.15rem; }

    .whyaq__title,
    .howto__title { font-size: clamp(1.6rem, 8vw, 2.05rem); }
    .reel__title  { font-size: clamp(1.6rem, 8vw, 2.05rem); }

    .orbit__core { width: min(180px, 58vw); }
    .howto__track { --stage-h: clamp(150px, 46vw, 190px); }

    .chain { gap: .9rem 1rem; }
    .chain__icon { width: 40px; height: 40px; border-radius: 12px; }
    .chain__text { font-size: .92rem; }
}


/* --- 7. a phone on its side, and anything else that is short ---------------
   The hero is the only section that asks for a whole screen below the wide
   layout, and on a landscape phone a whole screen is 375px tall. It stops
   asking, and the stage inside it comes down to something that leaves room
   for the headline it sits beside.
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) and (max-height: 520px) and (orientation: landscape) {
    .airdata {
        --read-gap: clamp(1.5rem, 5vh, 2.25rem);
        --read-hem: clamp(1.25rem, 4vh, 2rem);
    }
    .hero { padding-bottom: clamp(.75rem, 2.5vh, 1.25rem); }
    .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: clamp(1.5rem, 4vw, 2.5rem);
        padding-top: clamp(1.25rem, 4vh, 2.5rem);
    }
    .hero__title { font-size: clamp(1.6rem, 4.4vw, 2.2rem); margin-bottom: .9rem; }
    .hero__desc  { font-size: .92rem; margin-bottom: 1.25rem; }
    .btn { flex: 0 1 auto; padding: .8rem 1.35rem; font-size: .88rem; }
    .stage { width: min(300px, 100%); aspect-ratio: 1 / 1; }

    /* the panel would otherwise reach past the bottom of the screen */
    .nav__links { max-height: 62svh; overflow-y: auto; }

    .airband { --band-gap: clamp(2rem, 7vh, 3rem); }
    .howto__track { --stage-h: clamp(130px, 30vh, 180px); }
}


/* --- 8. the overflow guards ------------------------------------------------
   Not `overflow-x: hidden` on the body — that hides the problem and takes the
   sticky pins with it. These are the specific elements that are drawn wider
   than their column on purpose, each given the containment it needs where it
   needs it.
   -------------------------------------------------------------------------- */

/* The airflow line and the how-it-works rail each run half a gutter past
   their column so the four lengths butt together into one line. Measured at
   every width the page is built for, that overhang is always narrower than
   the shell's own margin, so neither needs clipping — and `.howto` in
   particular must not be given any, because a scrollport ancestor silently
   kills the `position: sticky` pin inside it.

   A flex child with nothing to shrink to */
.chain__step,
.scard__body,
.phone__statusText,
.insight__text { min-width: 0; }

/* the hero's readings are content-sized boxes over a picture; a long value
   should shorten the card, not push it off the stage */
.fcard__value,
.fcard__label { overflow-wrap: anywhere; }


/* --- 9. what the small screens do not pay for ------------------------------
   Same picture, less work. Each of these is a compositor cost that buys
   nothing at these sizes: the blooms are radial gradients that are already
   soft at their edges, so the blur on top of them is a full-layer composite
   for a difference that cannot be seen; the glass behind the hero's readings
   is over a photograph rather than over text, where the difference between
   20px and 12px of blur is not one either; and three stacked shadows under a
   picture are one shadow's worth of depth paid for three times.
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
    .product__bloom,
    .assure__bloom,
    .whyaq__bloom,
    .room__plant,
    .room__plant--b,
    .room__plant--c { filter: none; }

    .insight {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

@media (max-width: 767px) {
    .showcase__glow,
    .orbit__halo,
    .sense__halo { filter: none; }

    .reel__shot img { box-shadow: 0 12px 28px rgba(8, 22, 37, .26); }

    /* the readings are still bobbing, so this stays; nothing else on a phone
       is promoted, which is the point of naming it here */
    .scard,
    .aicard,
    .phone { will-change: auto; }

    /* the grain is a repeating noise bitmap composited in `overlay` across the
       whole hero — the most expensive pixel on the page, for a texture that is
       below the threshold of a phone screen */
    .room__grain { display: none; }
}


/* ==========================================================================
   BACK TO TOP
   A glass disc in the bottom-right corner, in the same materials as the rest
   of the page's floating chrome. It is taken out of the layout entirely until
   the script un-hides it, and `is-up` is what fades and lifts it in — so the
   resting state is off-screen and unclickable rather than merely transparent.
   ========================================================================== */

.totop {
    position: fixed;
    right: clamp(1rem, 3vw, 2.25rem);
    bottom: clamp(1rem, 3vw, 2.25rem);
    z-index: 35;                          /* under the nav's 40 */
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border-radius: 999px;
    border: var(--glass-br);
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    box-shadow: var(--glass-sh);
    color: var(--on-dark);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px) scale(.92);
    pointer-events: none;
    transition: opacity .34s var(--ease), transform .34s var(--ease),
                background .28s var(--ease), border-color .28s var(--ease);
}

.totop.is-up {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.totop:hover {
    background: linear-gradient(150deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .12) 100%);
    border-color: rgba(214, 235, 243, .48);
}

.totop:hover .totop__arrow { transform: translateY(-2px); }

.totop:focus-visible {
    outline: 2px solid var(--ice);
    outline-offset: 3px;
}

.totop__arrow {
    width: 20px;
    height: 20px;
    transition: transform .28s var(--ease);
}

@media (max-width: 640px) {
    .totop { width: 2.9rem; height: 2.9rem; }
    .totop__arrow { width: 18px; height: 18px; }
}


/* --- 10. motion turned down ------------------------------------------------
   The global rule near the top of this sheet already stops every animation
   and every transition on the page, and script.js reads the same preference:
   Lenis is not started, the flight never runs, and the two scrubbed sections
   hand their stages to an observer that simply marks them finished. What is
   left is the handful of things whose resting state is defined by a transform
   the animation was going to remove.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    /* the panel opens and closes; with the transition gone it must still be
       able to be seen and to be hidden, which `visibility` alone does */
    .nav__links { transition: none; }

    /* the hero's readings rest where they were drawn, not mid-bob */
    .fcard { animation: none; transform: translateY(0) scale(var(--s)) rotate(var(--r)); transition: none; translate: none; }
    .device { animation: none; transform: none; }

    /* the pictures in the trust reel are parked off-screen by the scrub that
       is no longer running */
    .reel__shot { opacity: 1; transform: none; translate: none; }
    .reel__shot-words { opacity: 1; transform: none; }
    .reel__copy { opacity: 1; transform: none; }
    .reel__mark { transform: none; }
    .reel__under { translate: none; }

    /* a looping film is motion too: it goes, and the section falls back to
       the ground gradient it has always had */
    .howto__film { display: none; }

    /* and the six benefits are drawn rather than faded in */
    .js-reveal .whyaq .oflow,
    .js-fly .whyaq:not(.is-settled) .oflow.is-in { stroke-dashoffset: 0; }
    .js-fly .whyaq:not(.is-settled) .wcard.is-in {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Hero cards: all text in Ice Blue */
.hero__inner .fcard .fcard__text,
.hero__inner .fcard .fcard__label,
.hero__inner .fcard .fcard__value,
.room.has-photo ~ .hero__inner .fcard .fcard__label,
.room.has-photo ~ .hero__inner .fcard .fcard__value {
    color: #D6EBF3;
}

/* Hero cards: fixed 3 + 3 at tablet, 2 + 2 + 2 on phones (desktop untouched) */
@media (max-width: 1240px) {
    .hero__stage .stage {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: .75rem;
        justify-content: center;
    }

    /* level rows: no per-card lift in the grid */
    .hero__stage .fcard--gas { top: 0; }
}

@media (max-width: 640px) {
    .hero__stage .stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 28rem;
        gap: .6rem;
    }

    .hero__stage .fcard { padding: .5rem .6rem; gap: .45rem; }
}

/* Hero cards: fully transparent at every size — no fill, no sheen, no blur */
.hero__stage .fcard,
.hero__stage .fcard:hover,
.room.has-photo ~ .hero__inner .fcard,
.room.has-photo ~ .hero__inner .fcard:hover {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero__stage .fcard::before {
    background: none !important;
}
