/* ============================================================================
   WebSimple - aero.css
   Frutiger Aero x 2026 mesh-gradient design system.

   Palette source: measured pixel-by-pixel from the owner's reference image
   (474x474, glossy aqua browser chrome). Dominant colours, by area:
     #00b0f0 aqua 5.4% | #f0f0f0 white 4.6% | #e0f0f0 sky 3.8%
     #20c0f0 aqua 3.7% | #003080 navy 1.7% | #0050d0 blue 1.3%
     #70a000 grass 1.3%
   Mesh anchor stops (violet #6b5ce0, magenta #e0568c) come from the owner's
   second reference. Both are the owner's stated brand identity, not model
   defaults: full-page glass and the blue/violet/magenta mesh are an explicit
   recorded override of antislop R-10 (glass dose cap) and R-01 (gradient
   family). Dial: ENERGY 3 / RHYTHM 3 / MOTION 3.
   ========================================================================= */

/* ===== 1. TOKENS ========================================================= */
:root {
  /* measured aqua family */
  --aqua:      #00b0f0;
  --aqua-lt:   #6fd8ff;
  --aqua-pale: #d6f2ff;
  --aqua-dk:   #0050d0;

  /* ink: the navy that the reference uses for chrome and text */
  --ink:    #062338;
  --ink-2:  #1d4a68;
  --ink-3:  #5b7f97;

  /* accents */
  --violet:  #6b5ce0;
  --magenta: #e0568c;
  --grass:   #6b972f;
  --grass-lt:#a4d455;

  /* surfaces: flat by default, glass reserved for the nav and the section
     panel (two elements, per the dose cap). */
  --surface:  #ffffff;
  --hair:     rgba(6, 35, 56, .09);
  --frost:    rgba(255, 255, 255, .68);
  --frost-2:  rgba(255, 255, 255, .34);
  --hairline: rgba(255, 255, 255, .75);

  /* radius scale, four values only, used deliberately (R-11) */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --nav-h: 68px;
  --wrap: 1180px;

  --font: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* elevation: exactly two steps, both earning their place (R-12) */
  --lift-1: 0 10px 30px rgba(6, 35, 56, .12);
  --lift-2: 0 30px 70px rgba(6, 35, 56, .28);
}

/* ===== 2. RESET + BACKDROP =============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  background: #2f9fe0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* The mesh. Fixed layer so it never scrolls on mobile (attachment:fixed
   repaints badly there).
   Composition follows the owner's reference: one bright corner, a deep violet
   pool, magenta and grass zones. The bright corner sits top-RIGHT and the
   violet pool sits behind the hero copy, because that is the region the light
   text has to stay legible against (R-25).
   Layer order: mesh (-4) -> WebGL bubbles (-3) -> rising bubbles (-2) ->
   grain (-1) -> content. Bubbles stay behind the content so they can never
   eat into the measured text contrast. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  /* The grain is the top background layer here rather than a separate fixed
     layer with mix-blend-mode. A blended fullscreen layer forces the compositor
     to blend two fullscreen textures every frame, on top of the WebGL canvas;
     as a background layer it costs nothing extra. */
  background:
    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='.05'/%3E%3C/svg%3E"),
    radial-gradient(1100px 780px at 96% 6%,   #ffffff 0%, rgba(255,255,255,0) 55%),
    radial-gradient(1250px 950px at 6% 34%,   #4a3fb0 0%, rgba(74,63,176,0) 64%),
    radial-gradient(1000px 900px at 88% 80%,  #e0568c 0%, rgba(224,86,140,0) 60%),
    radial-gradient(1100px 900px at 14% 96%,  #6b5ce0 0%, rgba(107,92,224,0) 62%),
    linear-gradient(158deg, #2f9fe0 0%, #5f7fe0 38%, #9a5cd0 68%, #d94f88 100%);
  /* Deliberately NOT animated. This is a fullscreen layer, and the WebGL
     gradient plane above it already provides moving background colour. */
}

/* WebGL layer: full page, behind everything, on every page */
#aero-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
#aero-canvas canvas { display: block; }

/* Rising aero bubbles: the Frutiger Aero motif, always in motion */
.bubbles {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bubble {
  position: absolute;
  bottom: -20vh;
  border-radius: 50%;
  opacity: .26;
  background: radial-gradient(circle at 32% 28%,
    rgba(255, 255, 255, .92), rgba(255, 255, 255, .16) 46%, rgba(0, 176, 240, .28) 100%);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, .8), 0 8px 30px rgba(6, 35, 56, .12);
  animation: bubbleRise linear infinite;
}
.bubble--1 { width: 108px; height: 108px; left: 6%;  animation-duration: 30s; animation-delay: -2s; }
.bubble--2 { width: 54px;  height: 54px;  left: 22%; animation-duration: 22s; animation-delay: -11s; }
.bubble--3 { width: 148px; height: 148px; left: 41%; animation-duration: 38s; animation-delay: -19s; opacity: .18; }
.bubble--4 { width: 72px;  height: 72px;  left: 58%; animation-duration: 26s; animation-delay: -6s; }
.bubble--5 { width: 40px;  height: 40px;  left: 74%; animation-duration: 19s; animation-delay: -15s; }
.bubble--6 { width: 96px;  height: 96px;  left: 87%; animation-duration: 33s; animation-delay: -24s; opacity: .2; }
.bubble--7 { width: 62px;  height: 62px;  left: 33%; animation-duration: 24s; animation-delay: -4s; opacity: .18; }
@keyframes bubbleRise {
  0%   { transform: translate3d(0, 0, 0) scale(.85); opacity: 0; }
  8%   { opacity: .26; }
  85%  { opacity: .24; }
  100% { transform: translate3d(38px, -135vh, 0) scale(1.12); opacity: 0; }
}

/* grain now lives inside body::before, so there is no separate blended layer */

/* flowing white ribbons, the reference's connective tissue */
.ribbons {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .5;
}
.ribbons path {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .85;
  /* No drop-shadow: a filtered layer cannot hold a compositor fast path, and
     this sheet drifts continuously. A slightly thicker stroke reads the same
     for free. */
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
}
.ribbons.on path {
  transition: stroke-dashoffset .5s cubic-bezier(.22, .68, 0, 1);
  stroke-dashoffset: 0;
}
/* the draw-in runs once; the sheet then stays put. Drifting a second fullscreen
   layer cost frames for motion the WebGL plane already provides. */
.ribbons path:nth-child(2) { transition-delay: .12s; }
.ribbons path:nth-child(3) { transition-delay: .24s; }
.ribbons path:nth-child(4) { transition-delay: .36s; }

/* scroll progress: drives transform, not width, so it stays on the compositor */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 950;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #00b0f0, #6b5ce0 55%, #e0568c);
  transition: transform .1s linear;
}

/* keyword ticker: continuous visible motion between sections.
   No backdrop-filter here on purpose: the track moves every frame and a blur
   would have to be re-sampled every frame behind it. */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .5);
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  background: rgba(16, 44, 92, .28);
  padding: .85rem 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: tickerMove 32s linear infinite;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(6, 35, 56, .45);
}
.ticker__track span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
}
@keyframes tickerMove {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 5%; position: relative; }

/* ===== 3. GRADIENT TEXT ==================================================
   Technique lifted from the owner's reference (gradient-text-interaction):
   background-size 400%, background-position animates 100% -> 0% over 2500ms,
   flipped by an IntersectionObserver at 80% visibility. See js/aero.js.
   ======================================================================== */
.grad {
  background-image: linear-gradient(100deg,
    #ffffff 0%, #a9e8ff 18%, #ffffff 34%,
    #ffe1f0 52%, #ffd9ea 62%, #ffffff 78%, #bff0ff 100%);
  background-size: 500% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 2500ms ease;
}
.grad.in { background-position: 0% 50%; }
/* 2500ms is the value from the reference the owner supplied
   (gradient-text-interaction.webflow.io), and it is a background colour sweep
   rather than a response to input, so the 200-500ms interface rule does not
   govern it. */

/* cursor-following highlight, second layer on the hero headline */
.grad-follow {
  position: relative;
  display: inline-block;
}
.grad-follow::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background-image: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .45) 22%, rgba(255, 255, 255, 0) 55%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.grad-follow:hover::after { opacity: 1; }

/* ===== 4. NAV ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 5%;
  /* No backdrop-filter. This bar is fixed, so it is on screen for every frame
     of every scroll and its blur would be re-sampled continuously. A near
     opaque fill reads the same over this mesh. The frosted glass is kept where
     it matters: the three hero windows. */
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 4px 24px rgba(6, 35, 56, .10);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  flex-shrink: 0;
}
.nav__logo b { color: var(--aqua-dk); font-weight: 800; }
.nav__list { display: flex; align-items: center; gap: 1.7rem; }
.nav__list a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--aqua-dk);
  border-bottom-color: var(--aqua-dk);
}
/* the nav CTA is a .btn: the link colour above must not repaint its label */
.nav__list a.btn {
  color: var(--aqua-dk);
  text-shadow: none;
  border-bottom: 0;
}
.nav__list a.btn:hover { color: var(--aqua-dk); }
.nav__burger {
  display: none;
  background: rgba(255, 255, 255, .3);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  width: 44px; height: 44px;
  cursor: pointer;
}
/* the toggle is an SVG now, not a text glyph: it morphs into a cross when the
   panel is open. Transform + opacity only, driven by the aria-expanded the
   script already maintains. */
.nav__burger svg {
  width: 22px; height: 22px;
  margin: 0 auto;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav__burger svg line {
  transform-origin: 12px 12px;
  transition: transform .32s cubic-bezier(.22, .68, 0, 1), opacity .2s ease;
}
.nav__burger[aria-expanded="true"] svg line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] svg line:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] svg line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav__panel { display: none; }

/* ===== 5. BUTTONS =======================================================
   Flat split buttons after the owner's reference: rectangular, a 2px
   coloured border, uppercase Geist label, and a chevron block on the right.
   Three variants, one accent family. No gloss, no glow, no 3D insets: the
   split block IS the decoration, so it does not need any.
   The chevron block is a pseudo-element, so no extra markup is needed.
   ======================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .95rem 3.6rem .95rem 1.35rem;
  min-height: 52px;
  border: 2px solid var(--btn-line);
  border-radius: 6px;
  background: #fff;
  color: var(--btn-ink);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.15;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  --btn-line:  var(--aqua-dk);
  --btn-ink:   var(--aqua-dk);
  --btn-block: var(--violet);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E");
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 2.85rem;
  background-color: var(--btn-block);
  background-image: var(--chev);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
}

/* ghost: outline only, chevron drawn in the line colour, no block */
.btn--ghost {
  background: transparent;
  --btn-block: transparent;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230050d0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E");
}

/* solid: the brand mesh as a flat fill, no border, no block */
.btn--solid {
  background: linear-gradient(100deg, #0050d0 0%, #6b5ce0 52%, #e0568c 100%);
  border-color: transparent;
  color: #fff;
  --btn-block: transparent;
}
.btn--grass {
  --btn-line:  #4d7016;
  --btn-ink:   #4d7016;
  --btn-block: var(--grass);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E");
}
.btn--sm {
  padding: .6rem 2.9rem .6rem 1rem;
  min-height: 44px;
  font-size: .76rem;
}
.btn--sm::after { width: 2.3rem; background-size: 13px 13px; }
.btn--lg { min-height: 58px; padding: 1.1rem 4rem 1.1rem 1.6rem; font-size: .88rem; }

.btn:hover { background-color: var(--aqua-pale); }
.btn--solid:hover { filter: brightness(1.08); }
.btn--ghost:hover { background-color: rgba(255, 255, 255, .55); }

/* quiz options are a list of choices, not CTAs: no chevron, no caps */
.qopt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.05rem 1.2rem;
  min-height: 52px;
  border: 2px solid rgba(6, 35, 56, .14);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.qopt:hover { border-color: var(--aqua-dk); background: #f4fbff; }

/* ===== 6. HERO =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  /* clips the decorative scrim and orbs so they cannot create a
     horizontal scrollbar on narrow viewports */
  overflow: hidden;
}
/* WebGL bubbles are a fixed body-level layer now (see the top of this file) */
/* scrim: guarantees the white headline keeps >=4.5:1 wherever the mesh is
   pale. Not decoration, it is the contrast control (R-25). */
.hero__scrim {
  position: absolute;
  inset: -10% 0 0 -30%;
  z-index: 1;
  pointer-events: none;
  /* Covers the whole copy block, kicker through trust row, and is sized so the
     white text keeps >=4.5:1 even with a rising bubble passing behind it. */
  background: radial-gradient(1000px 820px at 30% 50%,
    rgba(8, 32, 86, .62) 0%, rgba(8, 32, 86, .42) 52%, rgba(8, 32, 86, .12) 76%, rgba(8, 32, 86, 0) 88%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  opacity: .88;
  margin-bottom: .9rem;
  text-shadow: 0 1px 8px rgba(6, 35, 56, .5);
}
/* on a frosted panel the kicker sits on near-white, so it flips to ink */
.strip--frost .kicker { color: var(--aqua-dk); opacity: 1; text-shadow: none; }
.kicker--center, .sec--center { text-align: center; }
.sub--center { margin-left: auto; margin-right: auto; text-align: center; }
.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 30px rgba(6, 35, 56, .3);
}
.lead {
  font-size: 1.13rem;
  color: #fff;
  max-width: 34rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(6, 35, 56, .45);
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.trust { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .87rem; font-weight: 600; color: #fff; }
.trust span { display: flex; align-items: center; gap: .45rem; text-shadow: 0 1px 8px rgba(6, 35, 56, .5); }
.trust s {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
  background: var(--aqua-dk);
}

/* ===== 7. GLASS WINDOW STACK ============================================= */
.stack {
  position: relative;
  perspective: 1400px;
  min-height: 430px;
}
.win {
  position: absolute;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .3));
  /* Blur cost scales with radius, and these windows float, so the blur is
     re-sampled every frame. 10px without saturate() is much cheaper than
     20px with it and reads the same. */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), var(--lift-2);
  transform-style: preserve-3d;
  will-change: transform;
}
/* one soft top highlight, the only gloss left on the page */
.win::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
}
/* Rotation lives in the `rotate` property and the idle float in `transform`,
   so the cursor parallax (which drives `translate`) can run at the same time
   without any of the three fighting. */
.win--back  { top: 0;    left: 22%; width: 78%; height: 190px; rotate: -2deg;
              animation: winFloat 11s ease-in-out infinite; }
.win--mid   { top: 96px; left: 10%; width: 84%; height: 210px; rotate: 1.2deg;
              animation: winFloat 9s ease-in-out .6s infinite; }
.win--front { top: 210px; left: 0;  width: 80%; height: 220px; rotate: -1deg;
              animation: winFloat 7.5s ease-in-out .3s infinite;
              -webkit-box-reflect: below 16px linear-gradient(transparent 58%, rgba(255, 255, 255, .3)); }
@keyframes winFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -16px, 0); }
}
.win__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .28));
}
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .18), inset 0 1px 1px rgba(255, 255, 255, .8);
}
.dot--r { background: radial-gradient(circle at 35% 30%, #ffb3ab, #e5484d 70%); }
.dot--y { background: radial-gradient(circle at 35% 30%, #ffe9a8, #f5a524 70%); }
.dot--g { background: radial-gradient(circle at 35% 30%, #d3f9b0, #46a758 70%); }
.win__url {
  flex: 1;
  margin-left: .5rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-pill);
  padding: .2rem .8rem;
  box-shadow: inset 0 2px 5px rgba(0, 60, 110, .1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win__body { padding: 1rem 1.15rem; display: grid; gap: .7rem; }
.bar-line { height: 30px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .7);
            background: linear-gradient(180deg, rgba(0, 176, 240, .34), rgba(0, 176, 240, .12)); }
.block-hero {
  position: relative;
  height: 78px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  background: linear-gradient(120deg, #8adcff, #3dbdf5 45%, #6b972f 130%);
}
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.block-sm {
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .85);
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .38));
  box-shadow: inset 0 1px 0 #fff;
}
/* aero orbs floating beside the stack */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .98), rgba(255, 255, 255, .2) 52%, rgba(0, 176, 240, .3) 100%);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, .9), 0 6px 16px rgba(6, 35, 56, .16);
  animation: floaty 7s ease-in-out infinite;
}
.orb--1 { width: 84px; height: 84px; top: -26px; right: 4%; }
.orb--2 { width: 52px; height: 52px; bottom: 4%; left: -20px; animation-delay: -2.4s; }
.orb--3 { width: 34px; height: 34px; top: 44%; right: -12px; animation-delay: -4.8s; }
/* translate, not margin-top: margin animation forces layout every frame */
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -16px, 0); }
}

/* ===== 8. SECTIONS ======================================================= */
.strip { padding: 96px 0; position: relative; }
/* frosted content panel: the a11y surface that lets navy text sit on the mesh */
.strip--frost > .wrap {
  /* No backdrop-filter here. This panel is over 1000px wide and sits under the
     viewport while scrolling, so a blur would be re-sampled every scroll tick
     for the whole area. A slightly more opaque fill reads the same and costs
     nothing. (Measured: this and the animating scale() were the two dominant
     scroll-frame costs.) */
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 #fff, var(--lift-1);
  padding: 3rem 3rem 3.2rem;
}
.strip--bare > .wrap { padding: 0 5%; }
h2.sec {
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: .9rem;
}
.sub { color: var(--ink-2); max-width: 60ch; margin-bottom: 3rem; font-size: 1.04rem; }
.sub a { color: var(--aqua-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* headings and ledes that sit straight on the mesh instead of a frosted panel */
.sec--on-mesh { color: #fff; text-shadow: 0 2px 24px rgba(6, 35, 56, .35); }
.sub--on-mesh { color: #fff; text-shadow: 0 1px 12px rgba(6, 35, 56, .45); }

/* ===== 9. SERVICE CARDS ================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.15rem; }
/* Five identical cards was the most generic layout on the page. The first
   service now spans two columns and carries a tint, so the grid has a
   hierarchy instead of five equal boxes. */
@media (min-width: 901px) {
  .card:first-child {
    grid-column: span 2;
    background: linear-gradient(150deg, rgba(0, 176, 240, .12), rgba(255, 255, 255, 1) 62%);
  }
  .card:first-child h3 { font-size: 1.3rem; }
  .card:first-child p { font-size: .95rem; }
}
.card {
  position: relative;
  border-radius: var(--r-md);
  padding: 1.7rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(6, 35, 56, .09);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(0, 80, 208, .35); transform: translateY(-3px); }
.card h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.02em; margin: .9rem 0 .5rem; }
.card p { font-size: .9rem; color: var(--ink-2); }
.ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--aqua-dk);
}
.ico svg { width: 24px; height: 24px; }
/* One accent. Two of the five icons used to be green for no reason, which read
   as arbitrary rather than designed. Every icon is the brand accent now; the
   single deliberate secondary colour is the care-plan button. */
.ico--grass { background: var(--aqua-dk); }

/* ===== 10. PROCESS ======================================================
   Borderless on purpose. Four identical white cards made elevation mean
   nothing and matched the most generic AI layout there is; the number carries
   the structure instead, and it breaks the card rhythm between sections.
   ====================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem 1.6rem; counter-reset: st; }
.step {
  position: relative;
  padding: 0;
  padding-top: 1.1rem;
  background: none;
  border: 0;
  border-top: 2px solid rgba(6, 35, 56, .14);
}
.step::before {
  counter-increment: st;
  content: "0" counter(st);
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .6rem;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #4cc9fb, #0050d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--ink-2); }

/* ===== 11. PORTFOLIO TILES ==============================================
   Four saturated hues (blue, lime, cyan, magenta) read as a rainbow, which is
   the loudest AI tell there is, and the grid left an orphan tile on row two.
   Now: a 2x2 grid, and one brand ramp sequenced across the four tiles instead
   of four unrelated colours. Each tile carries a bottom scrim so the white text
   never sits directly on a saturated fill.
   ====================================================================== */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; align-items: stretch; }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  transition: transform .22s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 78%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 35, 56, 0) 0%, rgba(6, 35, 56, .58) 78%);
}
/* one ramp, four steps: aqua -> violet -> magenta */
.tile--1 { background: linear-gradient(140deg, #0a7fc4 0%, #00b0f0 100%); }
.tile--2 { background: linear-gradient(140deg, #00b0f0 0%, #6b5ce0 100%); }
.tile--3 { background: linear-gradient(140deg, #6b5ce0 0%, #d1508f 100%); }
.tile--4 { background: linear-gradient(140deg, #d1508f 0%, #8e2f5f 100%); }
.tile__txt { position: relative; padding: 1.4rem; color: #fff; z-index: 1; }
.tile__txt h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(6, 35, 56, .45); }
.tile__txt p { font-size: .89rem; opacity: .96; }
/* the industry label is plain letterspaced text now, not a white pill: pills
   are a listed AI tell, and white-on-tint was barely readable */
.tag {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: .5rem;
  text-shadow: 0 1px 6px rgba(6, 35, 56, .5);
}
.tweak { margin-top: 1.4rem; font-size: .92rem; color: var(--ink-2); }
.tweak a { color: var(--aqua-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ===== 12. PRICING ======================================================
   Deliberately asymmetric (RHYTHM 3): the featured plan is a wide banner,
   the other two sit side by side beneath it. No three equal columns (R-05).
   ======================================================================= */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.plan {
  position: relative;
  border-radius: var(--r-lg);
  padding: 2.1rem 1.9rem;
  background: var(--surface);
  border: 1px solid var(--hair);
  transition: border-color .2s ease, transform .2s ease;
}
.plan:hover { border-color: rgba(0, 80, 208, .35); transform: translateY(-3px); }
.plan--hot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  border: 2px solid var(--aqua-dk);
  /* the one card on the page allowed to sit above the surface */
  box-shadow: var(--lift-1);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  padding: .28rem .8rem;
  border-radius: var(--r-sm);
  background: var(--aqua-dk);
}
.plan__name { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .3rem; }
.plan__desc { font-size: .88rem; color: var(--ink-3); margin-bottom: 1rem; }
.price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink);
}
.price small { font-size: .95rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan__feat { display: grid; gap: .55rem; margin: 1.3rem 0 1.7rem; font-size: .91rem; color: var(--ink-2); }
.plan__feat li { display: flex; gap: .55rem; align-items: flex-start; }
.plan__feat b { color: var(--aqua-dk); flex-shrink: 0; }
.plan__feat svg { margin-top: .18rem; }

.care {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  border-radius: var(--r-md);
  padding: 1.4rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.care .t { font-weight: 700; font-size: 1.03rem; }
.care .t small { display: block; font-weight: 500; color: var(--ink-2); font-size: .87rem; }
.plans__cta { display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.9rem; }
.plans__cta .note { font-size: .9rem; color: var(--ink-2); }

/* ===== 13. QUIZ ========================================================= */
.quiz {
  max-width: 660px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.qq { font-size: 1.12rem; font-weight: 700; margin-bottom: 1.2rem; }
.qopts { display: grid; gap: .75rem; }
.qprog { margin-top: 1.2rem; font-size: .8rem; color: var(--ink-3); }
.qresult h3 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; margin: .5rem 0; }
.qresult p { color: var(--ink-2); max-width: 27rem; margin: 0 auto 1.4rem; font-size: .95rem; }
.qlink {
  background: none;
  border: none;
  color: var(--aqua-dk);
  font-family: var(--font);
  font-weight: 700;
  font-size: .88rem;
  margin-top: 1rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qstep[hidden] { display: none; }

/* ===== 14. PAYMENT PANEL ================================================ */
.panel {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  border-radius: var(--r-lg);
  padding: 2.8rem 2.2rem;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.panel .sub { margin-left: auto; margin-right: auto; max-width: 29rem; }
.dep-main { margin: 1.2rem 0 .5rem; }
.bankline { margin-top: 1rem; font-size: .91rem; color: var(--ink-2); }
.bankline a, .dep-note a { color: var(--aqua-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dep-note { margin: 1.1rem 0; font-size: .93rem; color: var(--ink-2); }
.secure { margin-top: 1.1rem; font-size: .82rem; color: var(--ink-3); }

/* ===== 15. FAQ ========================================================== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: .85rem; }
.faq details {
  border-radius: var(--r-md);
  padding: 1.05rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--hair);
}
.faq summary {
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--aqua-dk);
  background: #eef7ff;
  border: 1px solid rgba(0, 80, 208, .16);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: .8rem; font-size: .93rem; color: var(--ink-2); }

/* FAQ page: category blocks */
.faq-cat { max-width: 820px; margin: 0 auto 2.6rem; }
.faq-cat__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 2px solid rgba(255, 255, 255, .7); }
.faq-item { padding: 1.15rem 0; border-bottom: 1px solid rgba(255, 255, 255, .55); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  padding: .2rem 0;
}
.faq-q__chev { font-size: 1.1rem; color: var(--ink-3); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-q__chev { transform: rotate(180deg); color: var(--aqua-dk); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; color: var(--ink-2); font-size: .95rem; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 32rem; padding-top: .7rem; }

/* ===== 16. CTA BAND + FOOTER ============================================ */
.band {
  position: relative;
  border-radius: var(--r-lg);
  padding: 3rem 2rem;
  /* Left-aligned on purpose: the artwork sits on the right, and centered copy
     would run straight over the bright spheres. Asymmetric also breaks the
     centered-everything rhythm. */
  text-align: left;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #0050d0, #6b5ce0 55%, #e0568c 100%);
  box-shadow: 0 16px 40px rgba(6, 35, 56, .2);
}
.band h2 { position: relative; max-width: 60%; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .65rem; }
.band p { position: relative; max-width: 56%; opacity: .95; margin-bottom: 1.5rem; }
/* OpenDesign motion pack artwork behind the CTA copy. The artwork is 900x720
   (near-square) and the band is wide and short, so it is contained and pinned
   to the right edge rather than cover-cropped to a sliver. Opacity is kept low
   and checked against the heading contrast. */
.band-art {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  height: 100%;
  width: auto;
  max-width: 46%;
  object-fit: contain;
  object-position: right center;
  opacity: .55;
  pointer-events: none;
}
@media (max-width: 720px) {
  .band-art { opacity: .3; max-width: 60%; }
}

.foot {
  padding: 2.6rem 0 2rem;
  text-align: center;
  font-size: .86rem;
  color: #fff;
  text-shadow: 0 1px 10px rgba(6, 35, 56, .5);
}
.foot a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.foot__meta { margin-top: .35rem; }
.foot__fine { margin-top: .35rem; opacity: .85; }
.foot__links { display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; margin-top: .9rem; }

/* ===== 17. PAGE HEADER (inner pages) ==================================== */
.page-head { padding: calc(var(--nav-h) + 76px) 0 56px; position: relative; }
/* same contrast control as the hero scrim, for the inner-page titles.
   Sized to cover the kicker, headline and lede together. */
.page-head::before {
  content: "";
  position: absolute;
  top: 0; left: -20%;
  width: 120%; height: 100%;
  pointer-events: none;
  background: radial-gradient(1050px 660px at 26% 58%,
    rgba(8, 32, 86, .62) 0%, rgba(8, 32, 86, .44) 52%, rgba(8, 32, 86, .12) 76%, rgba(8, 32, 86, 0) 88%);
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(6, 35, 56, .32);
  margin-bottom: 1rem;
  max-width: 22ch;
}
.page-head p { color: #fff; font-size: 1.08rem; max-width: 34rem; text-shadow: 0 1px 12px rgba(6, 35, 56, .45); }

/* ===== 18. REVEAL + MOTION ============================================== */
.reveal { transition: opacity .45s cubic-bezier(.22, .68, 0, 1.1), transform .45s cubic-bezier(.22, .68, 0, 1.1); }
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.visible) { opacity: 0; transform: translateY(42px); }
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* animated gradient accent on the featured plan. Deliberately a 3px strip
   rather than a full animated border ring: background-position is a paint, and
   a ring would repaint the whole card every frame where this repaints 1000px2. */
.plan--hot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, #00b0f0, #6b5ce0, #e0568c, #00b0f0);
  background-size: 300% 100%;
  animation: planEdge 9s linear infinite;
  pointer-events: none;
}
@keyframes planEdge { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .plan--hot::before { animation: none; } }

/* ===== 19. HOVER MOTION ================================================
   All hover effects move transform / opacity only, so they stay on the
   compositor. The two exceptions are the button chevron nudge and the solid
   button's gradient shift, which repaint a ~45px block on hover only.
   ====================================================================== */

/* text links: an underline bar slides in from the left. The static
   text-decoration stays, so the affordance never depends on the animation. */
.sub a, .tweak a, .bankline a, .dep-note a, .foot a, .page-head p a, .work-info p a { position: relative; }
.sub a::after, .tweak a::after, .bankline a::after, .dep-note a::after,
.foot a::after, .page-head p a::after, .work-info p a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.18em;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.22, .68, 0, 1);
  pointer-events: none;
}
.sub a:hover::after, .tweak a:hover::after, .bankline a:hover::after,
.dep-note a:hover::after, .foot a:hover::after, .page-head p a:hover::after,
.work-info p a:hover::after,
.sub a:focus-visible::after, .tweak a:focus-visible::after,
.bankline a:focus-visible::after, .dep-note a:focus-visible::after,
.foot a:focus-visible::after, .page-head p a:focus-visible::after,
.work-info p a:focus-visible::after { transform: scaleX(1); }

/* buttons: lift on hover, and the chevron block nudges right */
.btn {
  transition: transform .2s ease, background-color .2s ease,
              color .2s ease, border-color .2s ease, background-position .5s ease;
}
.btn:hover { transform: translate3d(0, -2px, 0); }
.btn:active { transform: translate3d(0, 1px, 0) scale(.99); }
.btn::after {
  background-position: center;
  transition: background-position .28s cubic-bezier(.22, .68, 0, 1);
}
.btn:hover::after { background-position: calc(50% + 3px) center; }

/* the solid button's gradient slides across on hover */
.btn--solid { background-size: 200% 100%; background-position: 0% 50%; }
.btn--solid:hover { background-position: 100% 50%; }

/* ===== 20. HERO ENTRANCE ===============================================
   Choreographed slide-in on load. Pure CSS with `both` fill, so there is no
   JS dependency: if the script fails the headline still renders. Disabled
   under reduced motion, where the elements simply appear in place.
   ====================================================================== */
@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .kicker        { animation: riseIn .40s cubic-bezier(.22, .68, 0, 1) both; }
  .hero h1 .grad       { animation: riseIn .50s cubic-bezier(.22, .68, 0, 1) both .06s; }
  .hero h1 .grad:nth-of-type(2) { animation-delay: .14s; }
  .hero .lead          { animation: riseIn .45s cubic-bezier(.22, .68, 0, 1) both .20s; }
  .hero__btns          { animation: riseIn .45s cubic-bezier(.22, .68, 0, 1) both .28s; }
  .hero .trust         { animation: riseIn .45s cubic-bezier(.22, .68, 0, 1) both .36s; }
  .stack               { animation: riseIn .50s cubic-bezier(.22, .68, 0, 1) both .18s; }
}

/* sheen that sweeps the gradient text on hover. Kept off the idle state so
   there is no permanent repaint on the headline. */
.grad-follow::before {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  background-image: linear-gradient(105deg,
    transparent 34%, rgba(255, 255, 255, .85) 50%, transparent 66%);
  background-size: 240% 100%;
  background-position: 135% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  pointer-events: none;
}
.grad-follow:hover::before {
  opacity: 1;
  animation: sheen 1.1s cubic-bezier(.22, .68, 0, 1);
}
@keyframes sheen {
  from { background-position: 135% 50%; }
  to   { background-position: -35% 50%; }
}

/* ===== 20b. TEXT SLIDE-IN, SPOTLIGHT ===================================
   Word-by-word heading reveal. The mask is a small inline-block with
   overflow hidden, so each word is a transform-only animation on a tiny
   element: this is the visible "text slides in" effect without the cost of
   animating a fullscreen layer.
   ====================================================================== */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* room for descenders that overflow:hidden would otherwise clip */
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
/* Words are VISIBLE by default and only hidden while their heading is a
   .reveal that has not revealed yet. Fail-visible: if the reveal never fires
   the text still shows, instead of being stuck behind a mask. */
.w__i {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  transition: transform .45s cubic-bezier(.22, .68, 0, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .sec.reveal:not(.visible) .w__i { transform: translate3d(0, 110%, 0); }
}
.w:nth-child(2)  .w__i { transition-delay: .055s; }
.w:nth-child(3)  .w__i { transition-delay: .11s; }
.w:nth-child(4)  .w__i { transition-delay: .165s; }
.w:nth-child(5)  .w__i { transition-delay: .22s; }
.w:nth-child(6)  .w__i { transition-delay: .275s; }
.w:nth-child(7)  .w__i { transition-delay: .33s; }
.w:nth-child(8)  .w__i { transition-delay: .385s; }
.w:nth-child(9)  .w__i { transition-delay: .44s; }
.w:nth-child(10) .w__i { transition-delay: .495s; }
.w:nth-child(11) .w__i { transition-delay: .55s; }
.w:nth-child(12) .w__i { transition-delay: .605s; }

/* pointer light. Sits behind the content (above the WebGL layer) so it can
   never eat into measured text contrast. */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background: radial-gradient(circle, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 62%);
  will-change: transform;
}

/* ===== 20c. SVG MOTION =================================================
   Rules taken from the research, and they matter here because this page
   already runs a WebGL layer:
   - stroke-dashoffset is a REPAINT, not compositor-only, so every draw-on
     below is one-shot and on an element under 30px. Nothing loops.
   - the big dash number (120) avoids needing pathLength on each child.
   - gradient motion uses SMIL, because CSS cannot animate a stop offset.
   - no filter, blend or backdrop-filter anywhere near these.
   All of it lives inside the no-preference block, so under reduced motion the
   strokes are simply never dashed and always visible.
   ====================================================================== */
@keyframes drawStroke {
  from { stroke-dashoffset: 120; }
  to   { stroke-dashoffset: 0; }
}
@keyframes popIn {
  0%   { transform: scale(.55); opacity: 0; }
  62%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
/* opacity only: safe under reduced motion, and it gives the page a heartbeat */
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}

@media (prefers-reduced-motion: no-preference) {
  /* service card icons: draw in, staggered, when the card reveals */
  .ico svg *,
  .plan__feat b svg * {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    transition: stroke-dashoffset .5s cubic-bezier(.22, .68, 0, 1);
  }
  .card.visible .ico svg *,
  .plan.visible .plan__feat b svg * { stroke-dashoffset: 0; }
  .card.visible .ico svg *:nth-child(2),
  .plan.visible .plan__feat b svg *:nth-child(2) { transition-delay: .13s; }
  .card.visible .ico svg *:nth-child(3),
  .plan.visible .plan__feat b svg *:nth-child(3) { transition-delay: .26s; }

  /* the icon tile itself pops, which is what makes the card feel alive */
  .card.visible .ico { animation: popIn .6s cubic-bezier(.34, 1.56, .64, 1) both; }

  /* hero trust checkmarks draw on load, since there is no reveal to wait for */
  .hero .trust s svg * { animation: drawStroke .5s cubic-bezier(.22, .68, 0, 1) both .4s; }
  .hero .trust span:nth-child(2) s svg * { animation-delay: .85s; }
  .hero .trust span:nth-child(3) s svg * { animation-delay: 1s; }
  .hero .trust s { animation: popIn .5s cubic-bezier(.34, 1.56, .64, 1) both .65s; }

  /* process connector: draws across, then the gradient keeps travelling */
  .steps-line line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset .5s cubic-bezier(.22, .68, 0, 1);
  }
  .steps-line.visible line { stroke-dashoffset: 0; }
}

/* the connector sits above the four step cards */
.steps-line {
  display: block;
  width: 100%;
  height: 8px;
  margin-bottom: 1.6rem;
  overflow: visible;
}

/* sparkles in the CTA band: two tiny SVGs, deliberately small because their
   float is continuous. No filter, no blend, no backdrop-filter. */
.spark {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: .8;
  pointer-events: none;
  animation: sparkFloat 6.5s ease-in-out infinite;
}
.spark--a { top: 16%; left: 7%; }
.spark--b { bottom: 18%; right: 8%; width: 16px; height: 16px; animation-delay: -3.2s; }
@keyframes sparkFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .62; }
  50%      { transform: translate3d(0, -11px, 0) scale(1.14); opacity: 1; }
}
/* set by initSvgVisibility while the element is offscreen */
.anim-paused .spark { animation-play-state: paused; }

/* interactive gradient: a soft brand gradient follows the cursor across the
   card. Driven by --mx/--my from the existing tilt handler, so there is no
   extra pointer listener and no per-frame layout read. */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 176, 240, .22), rgba(107, 92, 224, .16) 42%, rgba(255, 255, 255, 0) 72%);
}
.card:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .card::after { opacity: 0 !important; }
}

/* FAQ toggle as an inline SVG plus, rotating into a cross. The icon is a
   data-URI SVG so no markup changes anywhere. */
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(0, 80, 208, .16);
  background-color: #eef7ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230050d0' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='5.5' x2='12' y2='18.5'/%3E%3Cline x1='5.5' y1='12' x2='18.5' y2='12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
  transition: transform .38s cubic-bezier(.34, 1.56, .64, 1),
              background-color .3s ease, border-color .3s ease;
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--aqua-dk);
  border-color: var(--aqua-dk);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='5.5' x2='12' y2='18.5'/%3E%3Cline x1='5.5' y1='12' x2='18.5' y2='12'/%3E%3C/svg%3E");
}

/* faq.html page: same idea for the chevron toggle */
.faq-q__chev {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7f97' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  font-size: 0;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.faq-item.open .faq-q__chev { transform: rotate(180deg); }

/* section divider: an SVG wave whose gradient travels. Breaks the uniform
   section rhythm, and it is a 2px stroke so the animated gradient repaints
   almost nothing. */
.wave { height: 84px; margin-bottom: -1px; }
.wave svg { display: block; width: 100%; height: 100%; }
@media (max-width: 720px) { .wave { height: 52px; } }

/* ===== 20d. HERO ORBIT RING ============================================
   The one always-visible moving element. A rotating arc reads as "alive" in a
   way that a slow colour drift never does, which is the complaint this answers.
   Under reduced motion it keeps turning, just far slower: rotation is the
   element that makes the page feel awake, and a slow orbit is not the kind of
   sweeping parallax the preference exists to stop.
   ====================================================================== */
.hero-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 132%; height: 132%;
  /* individual transform property: percentages resolve against the element's
     own size (unlike margin) and it composes with the rotation below */
  translate: -50% -50%;
  pointer-events: none;
  animation: ringSpin 24s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero-ring { animation-duration: 70s; }
}
@media (max-width: 980px) {
  .hero-ring { display: none; }
}

/* ===== 21. A11Y ========================================================= */
/* Orphaned headline words and ragged paragraph endings are the cheapest tells
   that nobody looked at the type. balance on headings, pretty on body. */
h1, h2, h3, h4, .sec, .plan__name, .faq-cat__title { text-wrap: balance; }
p, .sub, .lead, li { text-wrap: pretty; }
/* prices and figures line up instead of jittering between digits */
.price, .result-stat .num, .tally-count { font-variant-numeric: tabular-nums; }
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-md) 0;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(6, 35, 56, .55);
  border-radius: var(--r-sm);
}
section[id], [id] { scroll-margin-top: calc(var(--nav-h) + 20px); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===== 22. RESPONSIVE =================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .stack { order: -1; min-height: 350px; max-width: 520px; }
  .plan--hot { grid-template-columns: 1fr; gap: 1.2rem; }
  .plans { grid-template-columns: 1fr; }
  .strip { padding: 72px 0; }
  .strip--frost > .wrap { padding: 2.2rem 1.5rem 2.4rem; }
}
@media (max-width: 720px) {
  .nav__list { display: none; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav__panel {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 899;
    padding: 0 5% 1.2rem;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .7);
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav__panel[data-open="true"] { transform: translateY(0); }
  .nav__panel ul { display: grid; gap: .2rem; padding: .6rem 0; }
  .nav__panel a {
    display: block;
    padding: .8rem .2rem;
    min-height: 44px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid rgba(6, 35, 56, .08);
  }
  .nav__panel .btn { width: 100%; margin-top: .7rem; }

  .strip { padding: 56px 0; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 36px) 0 56px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__btns .btn { width: 100%; }
  .win--back, .win--mid { display: none; }
  .win--front { position: relative; top: 0; left: 0; width: 100%; }
  .stack { min-height: 0; }
  .plan { padding: 1.7rem 1.4rem; }
  .panel, .quiz { padding: 2rem 1.4rem; }
  .foot { text-align: left; }
  .foot__links { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .row-3 { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Travel is dropped: parallax, drift across the screen, rise, spin, pop.
     What stays is colour and opacity, because a page that goes completely
     static is over-correction - and it is why this site read as dead on a
     machine with "show animations in Windows" switched off. */
  .bubble,
  .orb,
  .win,
  .spark { animation: none; }

  /* the ticker is a thin, slow, text-only marquee: it does not move the
     reader's viewpoint, and it is the clearest sign of life on the page */
  .ticker__track { animation-duration: 60s; }

  /* opacity pulses are local and non-vestibular, so they survive */
  .trust s { animation: pulseDot 2.6s ease-in-out infinite; }
  .ribbons path { stroke-dashoffset: 0; transition: none; }
  /* Colour-only, non-spatial effects are KEPT. Dropping every one of them is
     what left the page at 0.00% of pixels changing, and it is why this site
     looked motionless on a machine with "show animations in Windows" off.
     What is dropped is travel: parallax, drift, spin, rise, pop. */
  .grad { transition: background-position 2500ms ease; }
  .progress { display: block; }
  .reveal, .reveal:not(.visible) { opacity: 1; transform: none; transition: none; }
  /* the word masks hide their text until revealed, so they MUST be neutralised
     here or a mid-session switch to reduced motion would leave headings blank */
  .w__i { transform: none; transition: none; }
  .w { padding-bottom: 0; margin-bottom: 0; }
  /* transitions that are pure motion */
  .nav__panel { transition: none; }
  .faq-a { transition: none; }
  .faq-q__chev { transition: none; }
  .card, .tile, .plan, .filter-btn, .btn, .work-card { transition: none; }
  .card:hover, .tile:hover, .plan:hover, .work-card:hover, .btn:hover { transform: none; }
  .btn:hover::after { background-position: center; }
  .btn--solid:hover { background-position: 0% 50%; }
  .grad-follow:hover::before { opacity: 0; animation: none; }
  /* NOTE: .btn::after is the chevron block, static decoration. It used to be
     hidden here, which stripped the buttons of their block for motion-sensitive
     users for no reason. Nothing to disable, so nothing is hidden. */
}

/* ===== 23. WORK GRID (portfolio.html) =================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter-btn {
  padding: .5rem 1rem;
  min-height: 44px;
  border: 1.5px solid rgba(6, 35, 56, .16);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-2);
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.filter-btn:hover { border-color: var(--aqua-dk); color: var(--aqua-dk); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.3rem; }
.work-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hair);
  transition: transform .2s ease, border-color .2s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: rgba(0, 80, 208, .3); }
.work-thumb { position: relative; height: 170px; }
.work-thumb .tag { position: absolute; left: 1rem; bottom: 1rem; }
.work-info { padding: 1.5rem; }
.work-info h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .3rem; }
.work-kind {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--aqua-dk);
  margin-bottom: .6rem;
}
.work-info p { color: var(--ink-2); font-size: .9rem; line-height: 1.7; }
.work-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.ptag {
  font-size: .74rem;
  font-weight: 600;
  padding: .22rem .6rem;
  border-radius: var(--r-sm);
  background: #eef4f8;
  color: var(--ink-2);
}
.work-featured {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  background: var(--ink);
  margin-bottom: 1.3rem;
}
.work-featured__vis { position: relative; min-height: 200px; }
.work-featured__info { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.work-featured__info h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .7rem; }
.work-featured__info p { color: rgba(255, 255, 255, .78); font-size: .95rem; line-height: 1.7; margin-bottom: 1.2rem; }
.work-featured__info .work-kind { color: var(--aqua-lt); }
.work-featured__info .ptag { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
@media (max-width: 820px) {
  .work-featured { grid-template-columns: 1fr; }
  .work-featured__vis { min-height: 170px; }
  .work-featured__info { padding: 1.8rem 1.5rem; }
}
