/* raycubed — shared design system
 * Palette: Ray Blue + Midnight (main) · Ray Pink (accent: primary actions + live signals only)
 * Type: Inter Tight, all caps (display) · Inter (UI/body)
 * Glass rules (Apple Liquid Glass): navigation layer only, never glass on glass, capsule controls,
 * concentric radii, tint only the primary action.
 */
:root {
  --blue: #1E8FFF;
  --blue-2: #5CB0FF;
  --midnight: #0A0F24;
  --midnight-2: #0E1430;
  --pink: #CA2871;
  --white: #FFFFFF;

  --text: #F4F6FB;
  --text-2: rgb(240 244 255 / .74);
  --text-3: rgb(240 244 255 / .52);
  --line: rgb(255 255 255 / .09);
  --line-2: rgb(255 255 255 / .16);

  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* spring fallbacks; js/springs.js swaps in solved linear() curves */
  --smooth: cubic-bezier(.25, .8, .25, 1);   --smooth-ms: 700ms;
  --snappy: cubic-bezier(.3, 1.25, .45, 1);  --snappy-ms: 380ms;
  --bouncy: cubic-bezier(.3, 1.45, .4, 1);   --bouncy-ms: 800ms;

  --pad: clamp(20px, 3.6vw, 56px);
  --wrap: 1240px;
  --r-lg: 32px;
  --r-md: 22px;
}

/* ------------------------------------------------------------------ reset */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; background: var(--midnight); }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgb(30 143 255 / .45); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--midnight); font-weight: 600; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }

/* ------------------------------------------------------------------ type */
.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-2);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--pink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lede { font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.55; color: var(--text-2); max-width: 600px; text-wrap: pretty; }
.muted { color: var(--text-3); }
.gradient-text { background: linear-gradient(100deg, #fff 10%, var(--blue-2) 55%, #F48CBE 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ layout */
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section-tight { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.section, .section-tight, .site-footer { overflow-x: clip; }   /* glows never widen the page */
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: -1; }
.glow.blue { background: radial-gradient(closest-side, rgb(30 143 255 / .55), transparent); }
.glow.pink { background: radial-gradient(closest-side, rgb(202 40 113 / .45), transparent); }

/* ------------------------------------------------------------------ liquid glass */
.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgb(255 255 255 / .20), rgb(255 255 255 / .06));
  -webkit-backdrop-filter: blur(18px) saturate(1.8) brightness(1.04);
  backdrop-filter: blur(18px) saturate(1.8) brightness(1.04);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / .50),
    inset 0 -1px 1px rgb(255 255 255 / .09),
    inset 0 0 0 .5px rgb(255 255 255 / .20),
    inset 0 0 22px rgb(255 255 255 / .05),
    0 14px 34px -14px rgb(5 8 22 / .6),
    0 2px 6px -2px rgb(5 8 22 / .25);
  transition: transform var(--snappy-ms) var(--snappy), background .35s ease, box-shadow .35s ease;
}
.glass::before {                    /* lensing rim */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgb(255 255 255 / .62), rgb(255 255 255 / .05) 38%, rgb(255 255 255 / .03) 62%, rgb(255 255 255 / .38));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
.glass::after {                     /* pointer specular */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .28), transparent 62%);
  opacity: var(--hl, 0);
  transition: opacity .45s ease;
  pointer-events: none;
  z-index: -1;
}
.press { will-change: transform; }
.press:hover { transform: scale(1.035); }
.press:active { transform: scale(.955); transition-duration: 110ms; transition-timing-function: ease-out; }

/* ------------------------------------------------------------------ buttons */
.btn {
  height: 54px;
  padding: 0 22px 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--white);
}
.btn svg { font-size: 17px; --sw: 1.5; --ia: currentColor; transition: transform var(--snappy-ms) var(--snappy); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-sm { height: 44px; padding: 0 16px 0 20px; font-size: 14.5px; }
.btn-primary {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgb(224 62 137 / .96), rgb(202 40 113 / .88));
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  backdrop-filter: blur(12px) saturate(1.6);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / .5),
    inset 0 -1px 1px rgb(255 255 255 / .12),
    inset 0 0 0 .5px rgb(255 255 255 / .25),
    0 16px 36px -12px rgb(202 40 113 / .7),
    0 2px 6px -2px rgb(5 8 22 / .3);
  transition: transform var(--snappy-ms) var(--snappy), box-shadow .35s ease;
}
.btn-primary:hover { box-shadow: inset 0 1px 1px rgb(255 255 255 / .55), inset 0 0 0 .5px rgb(255 255 255 / .3), 0 20px 44px -12px rgb(202 40 113 / .85), 0 2px 6px -2px rgb(5 8 22 / .3); }
.btn-text { height: auto; padding: 0; gap: 6px; color: var(--text); font-weight: 600; }
.btn-text:hover { color: var(--white); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; --sw: 1.4; }
.icon-btn svg { --ia: var(--pink); }

/* ------------------------------------------------------------------ header + tab bar */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 92px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  view-transition-name: site-header;
}
.site-header > * { pointer-events: auto; }
.site-header::before {              /* soft scroll-edge effect */
  content: "";
  position: absolute;
  inset: 0 0 -30px;
  background: linear-gradient(rgb(10 15 36 / .82), rgb(10 15 36 / 0));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask: linear-gradient(#000 45%, transparent);
  mask: linear-gradient(#000 45%, transparent);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
.brand { position: relative; display: block; }
.brand img { display: block; height: 40px; width: auto; }

.tabbar {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
}
.tab-pill, .seg-pill {               /* sits on glass: a fill, not more glass */
  transition: opacity .3s ease;
  position: absolute;
  top: 5px; bottom: 5px; left: 0;
  width: 90px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / .14));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 6px 16px -6px rgb(5 8 22 / .35);
  transform-origin: center;
  will-change: transform, width;
  pointer-events: none;
}
.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text-2);
  transition: color .3s ease;
}
.tab:hover, .tab.is-active { color: var(--white); }
.tab:focus-visible { outline-offset: -2px; }
.tab-dot { width: 6px; height: 6px; background: var(--pink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

/* phone menu sheet */
.menu-sheet {
  position: fixed;
  inset: auto 10px 10px;
  width: auto;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 18px 22px;
  border: 0;
  border-radius: 34px;
  color: var(--text);
  background: linear-gradient(180deg, rgb(30 40 80 / .72), rgb(10 15 36 / .82));
}
.menu-sheet::backdrop { background: rgb(5 8 22 / .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.menu-sheet[open] { animation: sheet-in var(--bouncy-ms) var(--bouncy) both; }
.menu-sheet.is-closing { animation: sheet-out .28s ease-in both; }
@keyframes sheet-in { from { transform: translateY(105%); } }
@keyframes sheet-out { to { transform: translateY(105%); } }
.grabber { width: 38px; height: 5px; border-radius: 3px; background: rgb(255 255 255 / .5); margin: 2px auto 12px; }
.menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.menu-head img { height: 32px; width: auto; }
.menu-links { display: grid; margin: 4px 0 20px; }
.menu-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px;
  font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.menu-link svg { font-size: 20px; color: var(--text-3); --ia: var(--pink); }
.menu-link.is-active { color: var(--blue-2); }
.menu-sheet .btn { width: 100%; }

/* ------------------------------------------------------------------ fluted page hero (sub pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: min(84svh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 150px 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero-canvas, .hero-fallback, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-canvas { z-index: 0; display: block; opacity: 0; }
.hero-canvas.is-live { opacity: 1; }
.hero-fallback {
  z-index: 0;
  background: var(--img, url("../assets/hero-bg.jpg")) center / cover no-repeat;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.04);
}
.hero-fallback::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .14) 0 1px, rgb(255 255 255 / .04) 1px 6px, transparent 6px 12px, rgb(10 15 36 / .16) 15px 18px);
}
.js .hero-fallback { opacity: 0; }
.js .use-fallback .hero-fallback { opacity: 1; transition: opacity 1s ease; }
.hero-scrim { z-index: 1; pointer-events: none; }
.page-hero .hero-scrim {
  background:
    linear-gradient(to bottom, rgb(10 15 36 / .35), transparent 25%),
    linear-gradient(to top, var(--midnight) 0%, rgb(10 15 36 / .55) 30%, rgb(10 15 36 / .1) 70%),
    linear-gradient(to right, rgb(10 15 36 / .5), transparent 65%);
}
.page-hero-inner { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: start; }
.page-hero-inner .display { max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ------------------------------------------------------------------ glass headline (WebGL refractive type) */
.glass-headline {
  align-self: center;
  justify-self: center;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(84px, 21vw, 380px);
  line-height: .86;
  letter-spacing: -.035em;
  word-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  text-shadow: 0 8px 60px rgb(10 15 36 / .35);
}
.glass-headline .gw { display: inline-block; }
.js .glass-headline { opacity: 0; }
.glass-text-live .glass-headline { opacity: 1; color: transparent; text-shadow: none; }
.glass-text-live .glass-headline::selection, .glass-text-live .glass-headline .gw::selection { color: transparent; background: rgb(30 143 255 / .35); }
.text-fallback .glass-headline {           /* no WebGL: frosted gradient type */
  opacity: 1;
  color: transparent;
  background: linear-gradient(180deg, rgb(255 255 255 / .96), rgb(255 255 255 / .62));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / .35)) drop-shadow(0 22px 50px rgb(10 15 36 / .45));
  transition: opacity 1s ease;
}


/* ------------------------------------------------------------------ content surfaces (not glass) */
.surface {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / .055), rgb(255 255 255 / .02));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / .07);
  overflow: hidden;
}
.surface[data-glow]::after {        /* Linear-style hover light */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(30 143 255 / .14), transparent 60%);
  opacity: var(--hl, 0);
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: -1;
}
.icon-tile {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 26px;
  --sw: 1.2;
  color: var(--white);
  background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / .03));
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgb(255 255 255 / .12);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  background: rgb(255 255 255 / .06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.chip svg { font-size: 15px; }
.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.list-check svg { margin-top: 3px; font-size: 17px; color: var(--blue-2); --sw: 1.6; }

/* ------------------------------------------------------------------ segmented control (iOS) */
.segmented { display: inline-flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; }
.segmented button {
  position: relative; z-index: 1;
  height: 40px; padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  color: var(--text-2);
  transition: color .3s ease;
  white-space: nowrap;
}
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { color: var(--white); }
.segmented .badge { margin-left: 6px; font-size: 11.5px; font-weight: 700; color: #FF8CC0; }

/* ------------------------------------------------------------------ accordion */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 24px;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { font-size: 20px; color: var(--text-3); transition: transform var(--bouncy-ms) var(--bouncy); --sw: 1.5; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text-2); max-width: 760px; }

/* ------------------------------------------------------------------ forms */
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.input, .select, .textarea {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  font: inherit;
  color: var(--white);
  background: rgb(255 255 255 / .06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .25s ease, background .25s ease;
  appearance: none;
}
.textarea { height: 120px; padding: 15px 18px; resize: vertical; }
.select { background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 17px) 24px; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { color: #111; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; background-color: rgb(255 255 255 / .09); box-shadow: inset 0 0 0 1px rgb(92 176 255 / .7), 0 0 0 4px rgb(30 143 255 / .22); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px;
  border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2);
  background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: pointer; transition: all .3s var(--snappy);
}
.choices input:checked + span { color: var(--white); background: rgb(30 143 255 / .28); box-shadow: inset 0 0 0 1px rgb(92 176 255 / .8); }
.choices input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }

/* ------------------------------------------------------------------ CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; margin: 0 auto; min-height: 460px; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.cta-band .hero-scrim { background: radial-gradient(ellipse at center, rgb(10 15 36 / .25), rgb(10 15 36 / .65)); }
.cta-band-inner { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: center; }
.cta-band .h2 { max-width: 16ch; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; overflow: hidden; padding: 96px 0 0; margin-top: 40px; border-top: 1px solid var(--line); background: radial-gradient(70% 60% at 85% 0%, rgb(30 143 255 / .10), transparent 70%); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 380px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { color: var(--text-2); }
.newsletter { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 18px; border-radius: 999px; }
.newsletter input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: var(--white); font: inherit; outline: none; }
.newsletter input::placeholder { color: var(--text-3); }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { color: var(--text-2); transition: color .25s ease; }
.footer-col a:hover { color: var(--white); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 72px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--white); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgb(61 220 151 / .15); }
.footer-mark { width: min(100% - 2 * var(--pad), 1400px); margin: 10px auto -2.2vw; opacity: .9; -webkit-mask: linear-gradient(#000 20%, transparent 95%); mask: linear-gradient(#000 20%, transparent 95%); }
.footer-mark img { display: block; width: 100%; opacity: .07; }

/* ------------------------------------------------------------------ motion: load + scroll reveals */
.js .reveal { opacity: 0; filter: blur(14px); transform: translateY(16px) scale(.97); }
.js .headline-words .word { display: inline-block; opacity: 0; filter: blur(16px); transform: translateY(.2em); }
.is-ready .reveal, .is-ready .headline-words .word {
  opacity: 1; filter: blur(0); transform: none;
  transition:
    opacity calc(var(--smooth-ms) * 1.1) ease var(--d, 0ms),
    filter var(--smooth-ms) var(--smooth) var(--d, 0ms),
    transform var(--bouncy-ms) var(--bouncy) var(--d, 0ms);
}
.js [data-reveal] { opacity: 0; filter: blur(10px); transform: translateY(34px) scale(.985); }
.js [data-reveal].is-in {
  opacity: 1; filter: blur(0); transform: none;
  transition:
    opacity 1s ease var(--d, 0ms),
    filter .8s var(--smooth) var(--d, 0ms),
    transform var(--bouncy-ms) var(--bouncy) var(--d, 0ms);
}

/* page transitions (same-origin navigations) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .26s ease both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.2, .8, .2, 1) both; }
::view-transition-group(site-header) { animation-duration: 0s; }
@keyframes vt-out { to { opacity: 0; filter: blur(10px); transform: scale(.99); } }
@keyframes vt-in { from { opacity: 0; filter: blur(10px); transform: scale(1.01); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .tab { padding: 0 13px; font-size: 14.5px; }
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .site-header { height: 76px; }
  .brand img { height: 34px; }
  .menu-btn { display: grid; width: 44px; height: 44px; font-size: 20px; }
  .tabbar {                         /* iOS 26-style floating tab bar */
    position: fixed;
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 20px);
  }
  .tab { height: 44px; padding: 0 12px; font-size: 14px; }
  .tab[href="/about/"] { display: none; }
  .page-hero { min-height: 78svh; padding-top: 120px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 90px; }
  .cta-band { border-radius: 30px; min-height: 400px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .newsletter .btn { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js .reveal, .js .headline-words .word, .js [data-reveal] { transform: none; filter: none; }
  .press:hover, .press:active { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
