/* ==========================================================================
   TLC Diagnostics — site stylesheet
   Tokens are documented in /DESIGN.md. Motion is driven by three custom
   properties that assets/js/site.js writes on every [data-s3d] element:
     --e  0 → 1 while the element enters the viewport (eased)
     --p  0 → 1 across its whole pass through the viewport
     --x  0 → 1 while it leaves through the top
   Every transform falls back to its resting state, so the page is complete
   with JavaScript off and for visitors who prefer reduced motion.
   ========================================================================== */

:root {
  --navy: #0a192f;
  --ink: #0d131a;
  --blue: #2e40e3;
  --blue-deep: #1b2796;
  --azure: #176be0;
  --red: #e2231a;
  --mist: #f5f8fa;
  --cloud: #eaeff5;
  --line: #d7e0e8;
  --body: #3d4b59;
  --white: #fff;

  --font-head: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;

  --shadow-1: 0 1px 2px rgba(10, 25, 47, .06), 0 8px 24px rgba(10, 25, 47, .06);
  --shadow-2: 0 2px 4px rgba(10, 25, 47, .06), 0 24px 60px rgba(10, 25, 47, .14);
  --shadow-3: 0 40px 90px rgba(10, 25, 47, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* how strong the 3D gets; dialled down on small screens */
  --depth: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; color: var(--navy); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 strong, h2 strong { font-weight: 500; }
p { text-wrap: pretty; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 14px 20px; background: var(--navy); color: #fff; border-radius: var(--r-sm); font-weight: 500; }
.skip:focus { top: 12px; }

/* ----------------------------------------------------------- type scale -- */
.display { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.h-xl { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.h-md { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
.h-sm { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.2rem); max-width: 56ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--plain::before { content: none; }
.center { text-align: center; }
.center .lead, .lead.center { margin-inline: auto; }
.stack > * + * { margin-top: 20px; }
.stack > .eyebrow + * { margin-top: 16px; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  font: 500 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn::after { content: '→'; transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(46, 64, 227, .32); }
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 14px 32px rgba(46, 64, 227, .4); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 0, 0, .28); }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.center .actions, .actions.center { justify-content: center; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 30px rgba(10, 25, 47, .08); background: rgba(255, 255, 255, .94); }
.site-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; min-height: 48px; }
.logo img { height: 46px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
  font-size: .9375rem; font-weight: 500; color: var(--navy); text-decoration: none; border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--cloud); }
.nav a[aria-current='page'] { color: var(--blue); background: rgba(46, 64, 227, .08); }
.nav .nav__cta a { background: var(--blue); color: #fff; padding: 0 22px; margin-left: 8px; }
.nav .nav__cta a:hover, .nav .nav__cta a[aria-current='page'] { background: var(--blue-deep); color: #fff; }
.nav-toggle { display: none; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); background: linear-gradient(90deg, var(--blue), var(--azure) 60%, var(--red)); }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
    background: none; border: 0; border-radius: 12px; cursor: pointer; color: var(--navy);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), background-color .2s; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav-toggle[aria-expanded='true'] span { background: transparent; }
  .nav-toggle[aria-expanded='true'] span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow: auto;
    padding: 12px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { min-height: 52px; font-size: 1.0625rem; padding: 0 16px; border-radius: 12px; }
  .nav .nav__cta a { margin: 10px 0 0; justify-content: center; border-radius: 999px; }
}

main { display: block; padding-top: var(--header-h); overflow-x: clip; }
section { position: relative; }
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec--mist { background: var(--mist); }
.sec--blue { background: var(--blue); }
.sec--azure { background: var(--azure); }
.sec--navy { background: var(--navy); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .eyebrow { color: #fff; }
.on-dark a:not(.btn) { color: #fff; }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head.center { margin-inline: auto; }

/* --------------------------------------------------- reveal (IO driven) -- */
.js .reveal {
  opacity: 0;
  transform: perspective(1000px) translate3d(0, 36px, -60px) rotateX(calc(14deg * var(--depth)));
  transform-origin: 50% 100%;
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: transform, opacity;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------- tilt (pointer 3D) -- */
.tilt { perspective: 1100px; }
.tilt__in {
  position: relative; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), box-shadow .4s;
}
.tilt.is-live .tilt__in { transition-duration: .12s; }
.tilt__in::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .5), transparent 60%);
  mix-blend-mode: soft-light; transition: opacity .3s;
}
.tilt.is-live .tilt__in::after { opacity: 1; }
.pop { transform: translateZ(calc(34px * var(--depth))); }
.pop--far { transform: translateZ(calc(60px * var(--depth))); }

/* -------------------------------------------------------------- hero (home) */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 128px); background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); overflow: clip; }
.backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb--a { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8%; top: -18%; background: radial-gradient(circle, rgba(46, 64, 227, .42), transparent 68%); transform: translate3d(0, calc(var(--x, 0) * 160px), 0); }
.orb--b { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: -10%; bottom: -22%; background: radial-gradient(circle, rgba(226, 35, 26, .2), transparent 68%); transform: translate3d(0, calc(var(--x, 0) * -120px), 0); }
/* a floor of grid lines receding to a vanishing point; it slides as you scroll */
.floor { position: absolute; left: -50%; right: -50%; bottom: -8%; height: 62%; perspective: 520px; perspective-origin: 50% 0; -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%); }
.floor::before {
  content: ''; position: absolute; inset: -100% 0 0 0; transform-origin: 50% 100%; transform: rotateX(74deg);
  background-image: linear-gradient(rgba(46, 64, 227, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 64, 227, .16) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 50% calc((var(--p, .5) + var(--x, 0)) * 256px);
}
.on-dark .floor::before { background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px); }
.floor--ceil { bottom: auto; top: -8%; transform: scaleY(-1); }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy > * + * { margin-top: 28px; }

.stage { perspective: 1500px; perspective-origin: 30% 40%; }
.stage__rig {
  position: relative; max-width: 520px; margin-inline: auto;
  transform-style: preserve-3d;
  transform:
    translate3d(0, calc(var(--x, 0) * -40px), calc(var(--x, 0) * -140px * var(--depth)))
    rotateX(calc((9deg - var(--x, 0) * 20deg) * var(--depth) + var(--rx, 0deg)))
    rotateY(calc((-19deg + var(--x, 0) * 30deg) * var(--depth) + var(--ry, 0deg)));
  transition: transform .5s var(--ease);
}
.stage.is-live .stage__rig { transition-duration: .15s; }
.stage__card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-3); }
.stage__card img { width: 100%; }
.stage__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .38), transparent 34%); pointer-events: none; }
.plate { position: absolute; border-radius: var(--r-lg); pointer-events: none; }
.plate--back { inset: 9% -9% -7% 12%; background: linear-gradient(140deg, var(--blue), var(--azure)); transform: translateZ(-130px); opacity: .92; }
.plate--mid { inset: -6% 18% 22% -10%; border: 2px solid rgba(46, 64, 227, .28); background: rgba(255, 255, 255, .5); transform: translateZ(-65px); }

/* ---------------------------------------------------------- page heroes -- */
.phero { padding-block: clamp(72px, 10vw, 140px); overflow: clip; }
.phero--image { background: var(--navy); min-height: min(78vh, 720px); display: grid; align-items: center; }
.phero__media { position: absolute; inset: -12% 0; overflow: hidden; }
.phero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, calc(var(--x, 0) * 14%), 0) scale(calc(1.06 + var(--x, 0) * .14));
}
.phero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 47, .62), rgba(10, 25, 47, .78)); }
.phero__in {
  position: relative;
  transform: perspective(1000px) translate3d(0, calc(var(--x, 0) * -30px), 0) rotateX(calc(var(--x, 0) * 16deg * var(--depth)));
  transform-origin: 50% 0; opacity: calc(1 - var(--x, 0) * .9);
}
.phero--image .lead { color: #fff; }
.phero--image h1 strong { color: #fff; }
.phero--image h1 { color: rgba(255, 255, 255, .9); }
.phero--blue { background: var(--blue); }
.phero--blue .lead { color: #fff; }
.phero--light { background: linear-gradient(180deg, #fff, var(--mist)); }
.phero--light h1 strong { color: var(--blue); }

/* ------------------------------------------------------------ bento/cards */
.bento { display: grid; gap: clamp(16px, 2vw, 24px); }
.bento--3 { grid-template-columns: repeat(3, 1fr); }
.bento--2 { grid-template-columns: repeat(2, 1fr); }
.bento--4 { grid-template-columns: repeat(4, 1fr); }
.bento--4 .h-md { font-size: 1.3rem; }
.bento > *, .bento .tilt, .features > *, .features .tilt { height: 100%; }
.bento .reveal > .tilt { height: 100%; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.tilt:hover .card, .tilt:focus-within .card { box-shadow: var(--shadow-2); }
.card__media { overflow: hidden; background: var(--cloud); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tilt:hover .card__media img { transform: scale(1.05); }
.card__body { padding: clamp(22px, 2.4vw, 32px); }
/* text-first cards: the picture stretches so side-by-side cards end level */
.card { display: flex; flex-direction: column; }
.card__body + .card__media { flex: 1; }
.card__body > * + * { margin-top: 12px; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-21 { aspect-ratio: 2 / 1; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1; }
.contain img { object-fit: contain; background: #fff; }

/* value cards: the whole card is the link */
.value { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.8vw, 36px); background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); transition: background-color .3s, border-color .3s, box-shadow .4s; }
.value__n { font-family: var(--font-head); font-size: 1rem; font-weight: 500; letter-spacing: .12em; color: var(--blue); }
.value p { flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 500; color: var(--blue); text-decoration: none; }
.more::after { content: '→'; transition: transform .25s var(--ease); }
.value .more::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tilt:hover .value, .value:focus-within { background: #fff; border-color: var(--blue); box-shadow: var(--shadow-2); }
.tilt:hover .more::after { transform: translateX(4px); }
.value .more:focus-visible { outline: none; }
.value:has(.more:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

/* cards that swing open like a fan as their row scrolls in */
.fan { perspective: 1600px; }
.fan > * { transform-style: preserve-3d; }
.fan > :nth-child(1) { transform: translate3d(calc((1 - var(--e, 1)) * 60px), 0, calc((1 - var(--e, 1)) * -160px * var(--depth))) rotateY(calc((1 - var(--e, 1)) * 38deg * var(--depth))); }
.fan > :nth-child(2) { transform: translate3d(0, calc((1 - var(--e, 1)) * 40px), calc((1 - var(--e, 1)) * -260px * var(--depth))); }
.fan > :nth-child(3) { transform: translate3d(calc((1 - var(--e, 1)) * -60px), 0, calc((1 - var(--e, 1)) * -160px * var(--depth))) rotateY(calc((1 - var(--e, 1)) * -38deg * var(--depth))); }
.fan > :nth-child(4) { transform: translate3d(calc((1 - var(--e, 1)) * -90px), 0, calc((1 - var(--e, 1)) * -220px * var(--depth))) rotateY(calc((1 - var(--e, 1)) * -46deg * var(--depth))); }
.fan--4 > :nth-child(1) { transform: translate3d(calc((1 - var(--e, 1)) * 90px), 0, calc((1 - var(--e, 1)) * -220px * var(--depth))) rotateY(calc((1 - var(--e, 1)) * 46deg * var(--depth))); }
.fan--4 > :nth-child(2) { transform: translate3d(calc((1 - var(--e, 1)) * 30px), 0, calc((1 - var(--e, 1)) * -120px * var(--depth))) rotateY(calc((1 - var(--e, 1)) * 20deg * var(--depth))); }
.fan--4 > :nth-child(3) { transform: translate3d(calc((1 - var(--e, 1)) * -30px), 0, calc((1 - var(--e, 1)) * -120px * var(--depth))) rotateY(calc((1 - var(--e, 1)) * -20deg * var(--depth))); }
.fan > * { opacity: calc(.25 + var(--e, 1) * .75); }

/* two panels that close like a book */
.book { perspective: 1800px; }
.book > :nth-child(odd) { transform-origin: 100% 50%; transform: rotateY(calc((1 - var(--e, 1)) * 26deg * var(--depth))) translateZ(calc((1 - var(--e, 1)) * -90px)); }
.book > :nth-child(even) { transform-origin: 0 50%; transform: rotateY(calc((1 - var(--e, 1)) * -26deg * var(--depth))) translateZ(calc((1 - var(--e, 1)) * -90px)); }
.book > * { opacity: calc(.3 + var(--e, 1) * .7); }

/* --------------------------------------------------------------- split -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.frame { perspective: 1400px; }
.frame__in {
  position: relative; transform-style: preserve-3d;
  transform: rotateY(calc((var(--p, .5) - .5) * var(--dir, -1) * 34deg * var(--depth))) rotateX(calc((.5 - var(--p, .5)) * 14deg * var(--depth)));
}
.frame__in img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.frame__in::before { content: ''; position: absolute; inset: 8% -6% -7% 8%; border-radius: var(--r-lg); background: linear-gradient(140deg, var(--blue), var(--azure)); transform: translateZ(-90px); }
.on-dark .frame__in::before { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); }
.frame--right { --dir: 1; }
.frame--cover .frame__in img { aspect-ratio: 1; object-fit: cover; }

/* --------------------------------------------------------------- band -- */
.band { padding-block: clamp(96px, 14vw, 200px); overflow: clip; text-align: center; }
.band__in {
  position: relative; max-width: 820px; margin-inline: auto;
  transform: perspective(900px) translateZ(calc((1 - var(--e, 1)) * -420px * var(--depth)));
  opacity: calc(.15 + var(--e, 1) * .85);
}
.band p { font-size: 1.0625rem; margin-inline: auto; max-width: 60ch; }

/* --------------------------------------------------------------- stats -- */
.stats { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(16px, 1.6vw, 24px); border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line); text-align: center; height: 100%; }
.stat__n { display: block; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.75rem, 2.7vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.on-dark .stat { padding-inline: clamp(20px, 2.4vw, 32px); }
.stat__l { display: block; margin-top: 10px; font-size: .9375rem; letter-spacing: .04em; }
.stats--2 { max-width: 720px; margin-inline: auto; }
.on-dark .stat { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); text-align: left; }
.on-dark .stat__n { color: #fff; }

/* ------------------------------------------- ticks + facility flags -- */
.ticks { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.ticks li { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 16px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .34); }
.ticks li::before { content: ''; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e40e3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7 10 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.facilities { margin-top: clamp(56px, 8vw, 104px); text-align: center; }
.flags { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); max-width: 880px; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; list-style: none; }
.flag { display: grid; gap: 16px; justify-items: center; padding: clamp(16px, 2.4vw, 28px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); font-family: var(--font-head); font-size: 1.25rem; font-weight: 500; }
.flag svg { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 16px 34px rgba(10, 25, 47, .38); transform: translateZ(calc(24px * var(--depth))); }
@media (max-width: 640px) { .flags { gap: 10px; } .flag { padding: 10px 10px 14px; gap: 10px; font-size: 1rem; border-radius: var(--r-md); } .flag svg { border-radius: 6px; } .flags.fan > *:nth-child(n) { transform: translate3d(0, calc((1 - var(--e, 1)) * 30px), 0); } }

/* --------------------------------------------------------------- Q & A -- */
.deck { display: grid; gap: 18px; max-width: 820px; margin-inline: auto; perspective: 1400px; }
.qa { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-md); }
.qa > * + * { margin-top: 10px; }
.on-dark .qa { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(6px); }
.sec:not(.on-dark) .qa { background: var(--mist); border: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__title { position: sticky; top: calc(var(--header-h) + 40px); }
.faq .deck { margin: 0; max-width: none; }

/* -------------------------------------------------------- testimonials -- */
.quote { height: 100%; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); }
.quote > * + * { margin-top: 18px; }
.quote blockquote { font-size: 1.125rem; line-height: 1.6; }
.stars { font-size: 1.25rem; letter-spacing: .2em; color: #b45309; }
.on-dark .stars { color: #ffd166; }
.who { display: flex; align-items: center; gap: 14px; }
.who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.sec:not(.on-dark) .quote { background: var(--mist); border: 1px solid var(--line); }
.on-dark .quote { background: rgba(10, 25, 47, .55); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(10px); text-align: center; }
.on-dark .who { flex-direction: column; }
.on-dark .who b { color: #fff; font-family: var(--font-body); font-weight: 400; }

/* ------------------------------------------------ image-backed sections -- */
.scene { overflow: clip; background: var(--navy); }
.scene__media { position: absolute; inset: -14% 0; }
.scene__media img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, calc((var(--p, .5) - .5) * 16%), 0) scale(1.08); }
.scene__media::after { content: ''; position: absolute; inset: 0; background: rgba(10, 25, 47, .68); }
.scene > .wrap { position: relative; }
.scene .lead { color: #fff; }

/* ---------------------------------------------------------------- forms -- */
.form-card { max-width: 560px; margin-inline: auto; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-3); color: var(--body); text-align: left; }
.form-card--flat { box-shadow: var(--shadow-2); border: 1px solid var(--line); max-width: none; width: 100%; }
.field + .field { margin-top: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 500; color: var(--navy); }
.field input, .field textarea, .field select {
  display: block; width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #8894a3; border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; text-overflow: ellipsis;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a192f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #66727f; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 64, 227, .2); }
.field [aria-invalid='true'] { border-color: #b91c1c; }
.field__error { display: block; margin-top: 6px; font-size: .875rem; color: #b91c1c; }
.form__alert { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); font-size: .9375rem; color: #7f1d1d; background: #fef2f2; border: 1px solid #fecaca; }
.form__submit { margin-top: 24px; text-align: center; }
.form__note { margin-top: 16px; font-size: .875rem; text-align: center; color: var(--body); }
.form__note a { text-underline-offset: 3px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 12px 0; }
.done__tick { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #e8f5ee; color: #137a45; display: grid; place-items: center; }
.done__tick svg { width: 28px; height: 28px; }
.done__title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; color: var(--navy); }
.done__text { margin-top: 8px; }

/* ----------------------------------------------------------------- misc -- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(48px, 6vw, 80px); }
.feature { height: 100%; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); text-align: center; }
.feature > * + * { margin-top: 10px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.pair img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.showcase { display: grid; gap: clamp(20px, 3vw, 32px); }
.showcase + .showcase { margin-top: clamp(48px, 7vw, 96px); }
.showcase__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.showcase__foot > div > * + * { margin-top: 8px; }
.partner { display: inline-block; padding: 20px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.partner img { width: min(100%, 404px); }
.cta { text-align: center; }
.cta .stack { max-width: 760px; margin-inline: auto; }
.cta .actions { margin-top: 32px; }

/* ------------------------------------------------ floating inquire button */
.fab {
  position: fixed; z-index: 90;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px 0 22px;
  font: 500 1.0625rem/1 var(--font-body); color: #fff; text-decoration: none;
  background: var(--blue); border: 2px solid #fff; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(10, 25, 47, .34);
  transition: transform .3s var(--ease), opacity .3s, visibility 0s, background-color .2s, box-shadow .3s;
}
.fab::before {
  content: ''; width: 22px; height: 22px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fab:hover { background: var(--blue-deep); transform: translateY(-3px); box-shadow: 0 20px 44px rgba(10, 25, 47, .42); }
.fab:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 999px; }
/* tucked away while the form itself is on screen, so it never covers the fields */
.fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--blue); color: #fff; padding-block: clamp(56px, 7vw, 88px) 104px; font-size: .9375rem; }
.site-footer h2 { color: #fff; font-size: 1.9rem; }
.site-footer h2::before { content: ''; display: block; width: 48px; height: 3px; margin-bottom: 20px; background: #fff; border-radius: 2px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.site-footer__grid > div > * + * { margin-top: 14px; }
.site-footer h3 { color: #fff; font: 500 .8125rem/1.4 var(--font-body); letter-spacing: .18em; }
.site-footer ul { margin: 14px 0 0; padding: 0; list-style: none; }
.site-footer li a, .site-footer li span { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a { color: #fff; text-decoration: none; text-underline-offset: 4px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .5); font-size: .8125rem; }
.site-footer__base p:last-child { letter-spacing: .14em; }
.site-footer__base .site-footer__version { letter-spacing: .04em; opacity: .9; }
.site-footer__base a { text-decoration: underline; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer__base { align-items: center; }

/* ---------------------------------------------------- long-form text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-top: 48px; }
.prose p, .prose ul { margin-top: 16px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { text-underline-offset: 3px; }

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 980px) {
  :root { --depth: .55; --header-h: 68px; }
  .logo img { height: 40px; }
  .hero__grid, .split, .faq { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .faq__title { position: static; }
  .stage { max-width: 440px; margin-inline: auto; width: 100%; padding-inline: 6%; }
  .bento--4 { grid-template-columns: repeat(2, 1fr); }
  .bento--3, .features { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  /* stacked cards: a sideways fan would push content off-screen, so lift instead */
  .fan > *:nth-child(n), .book > *:nth-child(n) { transform: translate3d(0, calc((1 - var(--e, 1)) * 40px), 0) rotateX(calc((1 - var(--e, 1)) * 10deg)); transform-origin: 50% 100%; }
  .plate--back { inset: 9% -5% -6% 12%; }
  .frame__in::before { inset: 8% -3% -5% 8%; }
}
@media (max-width: 640px) {
  .bento--2, .bento--4, .site-footer__grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .pair { grid-template-columns: 1fr; }
  .showcase__foot .btn { width: 100%; }
}

/* Visitors who ask for less motion get the finished layout with no movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stage__rig, .frame__in, .band__in, .phero__in, .phero__media img, .scene__media img, .fan > *:nth-child(n), .book > *:nth-child(n), .tilt__in, .orb { transform: none !important; opacity: 1 !important; }
  .floor::before { background-position: 50% 0; }
}
@media print {
  .site-header, .backdrop, .plate, .fab { display: none; }
  main { padding-top: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
