/* Motion Peak — midnight glass.
   Tokens first; every component below draws from them. Motion tokens and the
   reveal language live in motion.css. */

@property --lum { syntax: "<number>"; inherits: true; initial-value: .3; }

:root {
  color-scheme: dark;

  /* Colour — midnight graphite, slate, porcelain, one icy periwinkle accent */
  --midnight-950: #070a11;
  --midnight-900: #0a0e17;
  --midnight-850: #0d121e;
  --navy-800: #121a2b;
  --slate-700: #1b2538;
  --slate-500: #4a566c;
  --silver-300: #7f8ca2;
  --silver-200: #aab5c7;
  --silver-100: #d2d9e4;
  --porcelain: #f3f4f7;
  --ice: #cdd9ff;
  --periwinkle: #a4b8ff;
  --periwinkle-deep: #7a90ee;

  --text: var(--porcelain);
  --text-2: var(--silver-200);
  --text-3: var(--silver-300);
  --accent: var(--periwinkle);
  --line: rgba(196, 210, 236, .1);
  --line-strong: rgba(196, 210, 236, .18);
  --tint-gradient: linear-gradient(100deg, #d3dcff 0%, #bccbff 50%, var(--periwinkle) 100%);
  --metal-gradient: linear-gradient(176deg, rgba(240, 244, 252, var(--lum)) 8%, rgba(164, 184, 255, calc(var(--lum) * .62)) 58%, rgba(120, 134, 168, calc(var(--lum) * .3)) 100%);

  /* Glass — one material, tuned once */
  --glass-fill: linear-gradient(158deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .035) 40%, rgba(255, 255, 255, .02) 100%), rgba(15, 21, 35, .3);
  --glass-rim: linear-gradient(165deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .07) 26%, rgba(255, 255, 255, .025) 60%, rgba(164, 184, 255, .2) 100%);
  --glass-blur: blur(26px) saturate(155%);
  --glass-depth: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(255, 255, 255, .02),
    0 1px 1px rgba(0, 0, 0, .25), 0 24px 70px -32px rgba(0, 0, 0, .85);
  --glass-solid: #121a2b;
  --glass-fallback: rgba(18, 26, 43, .94);
  --sheen: rgba(205, 217, 255, .075);
  --control-fill: rgba(255, 255, 255, .06);
  --control-fill-hover: rgba(255, 255, 255, .1);
  --control-rim: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .08);

  /* Type */
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --type-display: clamp(46px, 6.6vw, 104px);
  --type-title: clamp(38px, 4.7vw, 72px);
  --type-lead: clamp(22px, 2.05vw, 30px);
  --type-body: 17px;
  --type-small: 14px;
  --type-label: 11.5px;

  /* Space */
  --shell: 1240px;
  --gutter: clamp(20px, 5.2vw, 72px);
  --section-y: clamp(112px, 13vw, 196px);
  --col-gap: clamp(16px, 2.4vw, 32px);
  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 13px;

  --ease: cubic-bezier(.23, 1, .32, 1);

  font-family: var(--font-sans);
  font-synthesis: none;
  font-size: 16px;
  font-feature-settings: "ss01", "cv11";
  color: var(--text);
  background: var(--midnight-900);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Tonal depth: graphite at the edges, navy in the middle of the page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(32, 44, 74, .55), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(22, 30, 52, .5), transparent 70%),
    linear-gradient(180deg, var(--midnight-900), var(--midnight-850) 55%, var(--midnight-950));
}
/* Fine grain removes banding from the dark gradients and gives the page a physical surface. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
::selection { color: var(--midnight-900); background: var(--ice); }
.skip-link {
  position: fixed; top: 12px; left: 16px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius-s);
  background: var(--porcelain); color: var(--midnight-900); font-size: 14px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.tint {
  background: var(--tint-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ───────── Glass material ───────── */
liquid-glass {
  display: block;
  position: relative;
  border-radius: var(--radius-m);
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-depth);
}
/* A rim that catches light along its top-left edge and fades toward the base. */
liquid-glass::before, .glass-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: var(--glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* Pointer-lit specular sheen (positions set by app.js on fine pointers). */
[data-sheen] { --mx: 50%; --my: 0%; }
[data-sheen]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--sheen), transparent 62%);
  transition: opacity 420ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  [data-sheen]:hover::after { opacity: 1; }
}

/* ───────── Navigation ───────── */
.site-header {
  position: fixed;
  z-index: 30;
  top: 20px;
  left: 50%;
  width: min(1120px, 100% - 48px);
  transform: translateX(-50%);
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 10px 10px 10px 22px;
  border-radius: 18px;
}
.nav-brand { display: flex; align-items: center; gap: 13px; min-height: 44px; }
.nav-mark { width: 44px; }
.nav-name { font-size: 14px; line-height: 1.2; font-weight: 450; letter-spacing: -.015em; color: var(--text); }
.brand-line { display: block; font-size: 10.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
.desktop-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  letter-spacing: -.005em;
  color: var(--text-2);
}
.desktop-nav a:hover, .desktop-nav a[aria-current="location"] { color: var(--text); }
.desktop-nav .nav-cta {
  margin-left: 10px;
  padding: 0 20px;
  color: var(--text);
  background: var(--control-fill);
  box-shadow: var(--control-rim);
}
.desktop-nav .nav-cta:hover { background: var(--control-fill-hover); }
.menu-toggle, .mobile-menu { display: none; }
.theme-toggle {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -14px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-2);
  background: transparent;
  transition: color 180ms var(--ease), background 260ms var(--ease), transform 180ms var(--ease);
}
.theme-toggle:hover { color: var(--text); background: var(--control-fill); }
.theme-toggle:active { transform: scale(.94); transition-duration: 100ms; }
.theme-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  /* Its own layer during a theme change: rendered live, never crossfaded. */
  view-transition-name: theme-icon;
}
.theme-toggle svg {
  --icon-turn: opacity 380ms cubic-bezier(.22, 1, .36, 1), transform 680ms cubic-bezier(.22, 1, .36, 1);
  grid-area: 1 / 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 50%;
  transition: var(--icon-turn);
}
/* One continuous quarter turn: the outgoing icon turns away, the incoming one
   turns in from the opposite side and comes to rest. Rotation and opacity only. */
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg); }
[data-theme="light"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg); }
.on-light { display: none; }
[data-theme="light"] .on-dark { display: none; }
[data-theme="light"] .on-light { display: block; }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: max(860px, 100svh);
  padding: 150px 24px 0;
  overflow: hidden;
  text-align: center;
}
.hero-atmosphere { position: absolute; inset: -30px 0; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; will-change: transform; }
.aurora-one {
  left: 50%; top: 6%; width: 1100px; height: 560px; margin-left: -550px;
  background: radial-gradient(closest-side, rgba(122, 144, 238, .2), rgba(122, 144, 238, .06) 55%, transparent);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
.aurora-two {
  left: 50%; top: 22%; width: 620px; height: 300px; margin-left: -310px;
  background: radial-gradient(closest-side, rgba(205, 217, 255, .13), transparent);
  animation: aurora-drift 19s -6s ease-in-out infinite alternate-reverse;
}
@keyframes aurora-drift {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
.hero-brand { width: 340px; display: flex; flex-direction: column; align-items: center; margin-bottom: 52px; }
.peak-stage { position: relative; width: 100%; padding-bottom: 70px; }
.hero-symbol { position: relative; width: 74%; margin-inline: auto; overflow: hidden; }
.hero-symbol img { width: 100%; }
.peak-reflection {
  position: absolute; inset: -5%;
  background: linear-gradient(108deg, transparent 30%, rgba(255, 255, 255, .55) 49%, transparent 65%);
  mix-blend-mode: soft-light; pointer-events: none; opacity: 0;
}
/* The mountain stands on a fine horizon with a faint reflected glow. */
.hero-horizon {
  position: absolute; left: 50%; top: calc(100% - 70px); width: min(820px, 92vw); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(205, 217, 255, .42) 30%, rgba(236, 241, 252, .7) 50%, rgba(205, 217, 255, .42) 70%, transparent);
}
.hero-horizon::after {
  content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 46px;
  background: radial-gradient(50% 100% at 50% 0, rgba(164, 184, 255, .16), transparent);
}
.hero-wordmark { width: 92%; }
.hero-wordmark img { width: 100%; }
.hero h1 {
  max-width: 1080px;
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.hero-description {
  margin: 28px 0 40px;
  font-size: 17.5px;
  line-height: 1.62;
  letter-spacing: -.01em;
  color: var(--text-2);
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-footnote {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1120px, 100%);
  margin-top: auto;
  padding: 44px 0 30px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-footnote > span:first-child { text-align: left; }
.hero-footnote > span:last-child { text-align: right; }
.hero-footnote a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; font-family: var(--font-sans); font-size: 16px; color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.hero-footnote a:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(205, 217, 255, .35); }

/* Ice beneath the mountain: eighteen compositor-animated grains, ten on mobile. */
.ice-field {
  position: absolute; top: calc(100% - 66px); left: 10%; width: 80%; height: 62px;
  overflow: hidden; pointer-events: none; contain: layout paint; opacity: 0;
  transition: opacity 440ms var(--ease);
}
.ice-field[data-ice-state="running"], .ice-field[data-ice-state="paused"] { opacity: 1; }
.ice-grain {
  position: absolute; left: var(--x); top: -6px; width: var(--size); height: var(--size);
  border-radius: 50%; background: linear-gradient(145deg, #fff, var(--tint));
  box-shadow: 0 0 4px rgba(205, 217, 255, .35); opacity: 0;
  animation: ice-fall var(--duration) var(--delay) linear infinite paused;
}
.ice-grain[data-depth="back"] { filter: blur(.45px); }
.ice-grain[data-crystal] { border-radius: 0; clip-path: polygon(50% 0, 90% 45%, 50% 100%, 10% 55%); }
.ice-field[data-ice-state="running"] .ice-grain { animation-play-state: running; }
@keyframes ice-fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  14% { opacity: var(--alpha); }
  65% { opacity: calc(var(--alpha) * .75); }
  100% { opacity: 0; transform: translate3d(var(--drift), 70px, 0); }
}

/* ───────── Buttons ───────── */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-s);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
}
.button-arrow { display: inline-block; font-weight: 400; transition: transform 320ms var(--ease); }
.button-primary {
  color: var(--midnight-900);
  background: linear-gradient(180deg, #ffffff, #e4e8f1);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 14, 23, .12), 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(164, 184, 255, .45);
}
.button-glass {
  color: var(--text);
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
@media (hover: hover) and (pointer: fine) {
  .button-primary:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 14, 23, .12), 0 1px 2px rgba(0, 0, 0, .3), 0 14px 38px -12px rgba(164, 184, 255, .6); }
  .button-glass:hover { background: rgba(255, 255, 255, .085); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .14); }
  .button:hover .button-arrow { transform: translateX(3px); }
  .contact-email:hover .button-arrow { transform: translate(2px, -2px); }
}

/* ───────── Shared section language ───────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow-index { color: var(--accent); letter-spacing: .08em; }
.eyebrow-rule { width: 36px; height: 1px; background: linear-gradient(90deg, var(--line-strong), rgba(196, 210, 236, .04)); }
.eyebrow-centered { justify-content: center; }
.section-title { font-size: var(--type-title); font-weight: 300; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }

/* ───────── Company — an editorial statement ───────── */
.company { position: relative; padding-top: var(--section-y); }
.company-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}
.company-layout .eyebrow { grid-column: 1 / -1; margin-bottom: clamp(40px, 5vw, 64px); }
.statement {
  grid-column: 1 / span 11;
  font-size: var(--type-display);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.055em;
}
.statement-indent { display: block; padding-left: calc((100% + var(--col-gap)) / 11 * 2); }
.company-lead {
  grid-column: 1 / span 5;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  font-size: var(--type-lead);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.025em;
  color: var(--silver-100);
  text-wrap: pretty;
}
.company-prose {
  grid-column: 8 / span 5;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 30px;
}
.company-prose p { font-size: var(--type-body); line-height: 1.72; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
.company-prose p + p { margin-top: 20px; }

/* The three values share one slab of glass, separated by light, not boxes. */
.values-wrap { position: relative; isolation: isolate; margin-top: clamp(80px, 10vw, 136px); }
.values-light {
  position: absolute; inset: -45% -4%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(30% 42% at 24% 54%, rgba(122, 144, 238, .26), transparent 72%),
    radial-gradient(24% 36% at 74% 46%, rgba(205, 217, 255, .12), transparent 72%);
}
/* A line of light passing behind the slab: crisp outside, diffused through the glass. */
.values-light::before {
  content: ""; position: absolute; left: 0; right: 0; top: 57%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 217, 255, .5) 18%, rgba(240, 244, 255, .85) 42%, rgba(164, 184, 255, .55) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(164, 184, 255, .35);
}
.values { border-radius: var(--radius-l); }
.values-list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.values-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(30px, 3.2vw, 44px);
  border-radius: var(--radius-l);
}
.values-list li + li::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}
.value-index { font-family: var(--font-mono); font-size: var(--type-label); letter-spacing: .14em; color: var(--accent); }
.value-name { font-size: clamp(22px, 2.15vw, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -.03em; }

/* ───────── Products — one considered introduction ───────── */
.products { padding-top: var(--section-y); scroll-margin-top: calc(-1 * var(--section-y)); }
.products-head .eyebrow { margin-bottom: clamp(32px, 4vw, 48px); }
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
  margin-top: clamp(48px, 6vw, 80px);
}
.product-identity {
  --sheen: rgba(255, 255, 255, .62);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 460px;
  min-height: clamp(220px, 21vw, 280px);
  padding: 48px 24px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: #faf8f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 24px 72px -48px rgba(228, 119, 82, .3);
}
.product-orbit {
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(115, 89, 78, .055);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(115, 89, 78, .018), 0 0 0 72px rgba(115, 89, 78, .012);
}
.product-logo {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: .4375em;
  overflow: hidden;
  padding: 8px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(36px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1;
}
.finafit-symbol { flex: none; width: 1.4375em; height: 1.53125em; }
.finafit-lock { display: flex; align-items: flex-end; }
.finafit-fina, .finafit-fit { letter-spacing: -.04em; }
.finafit-fina { color: #e47752; }
.finafit-fit { color: #1e0f09; }
.finafit-badge {
  display: flex;
  align-items: center;
  height: 1.5em;
  margin-left: .5em;
  padding-inline: .6em;
  border-radius: 12px;
  font-size: .3125em;
  color: #fff8f4;
  background: #e47752;
}
.product-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-2);
}
.product-category > span { width: 5px; height: 5px; border-radius: 50%; background: #e47752; }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.product-status {
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.product-copy h3 { margin-top: 20px; font-size: clamp(36px, 4vw, 56px); font-weight: 300; line-height: 1.1; letter-spacing: -.045em; }
.product-description { max-width: 43ch; margin-top: 22px; font-size: var(--type-body); line-height: 1.75; color: var(--text-2); text-wrap: pretty; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  margin-top: 24px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 450;
  color: var(--text);
}
.product-link > span { transition: transform 180ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .product-link:hover > span { transform: translateX(4px); }
}
.product-link:active > span { transform: translateX(2px); }
.product-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--col-gap);
  margin-top: 48px;
  padding-block: 28px;
  border-block: 1px solid var(--line);
}
.product-access h4 { font-size: 17px; font-weight: 450; line-height: 1.5; letter-spacing: -.02em; }
.product-access p { max-width: 70ch; font-size: 15px; line-height: 1.75; color: var(--text-2); text-wrap: pretty; }

/* ───────── Principles — an ascending sequence ───────── */
.principles { padding-top: var(--section-y); }
.principles-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: end;
}
.principles-head .eyebrow { grid-column: 1 / -1; margin-bottom: clamp(32px, 4vw, 48px); }
.principles-head .section-title { grid-column: 1 / span 7; }
.principles-sub { grid-column: 9 / span 4; font-size: var(--type-body); line-height: 1.65; color: var(--text-2); padding-bottom: 8px; }
.principle-list { margin: clamp(64px, 8vw, 104px) 0 0; padding: 0; list-style: none; }
.principle {
  --lum: .3;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: baseline;
  padding: clamp(36px, 4vw, 52px) clamp(0px, 1.2vw, 16px) clamp(40px, 4.4vw, 58px);
  border-radius: 4px;
  transition: --lum 600ms var(--ease);
}
/* Each step forward is a little brighter — the sequence climbs toward its peak. */
.principle:nth-child(2) { --lum: .38; }
.principle:nth-child(3) { --lum: .47; }
.principle:nth-child(4) { --lum: .58; }
.principle::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line) 60%, transparent);
  transform-origin: left center;
}
.principle:last-child { box-shadow: inset 0 -1px 0 var(--line); }
.principle-number {
  grid-column: 1 / span 3;
  font-size: clamp(64px, 8.6vw, 132px);
  font-weight: 200;
  line-height: .8;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  background: var(--metal-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(.08em);
}
.principle h3 {
  grid-column: 4 / span 4;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 350;
  line-height: 1.12;
  letter-spacing: -.035em;
  transition: transform 520ms var(--ease);
}
.principle p {
  grid-column: 9 / span 4;
  font-size: var(--type-body);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 36ch;
  transition: color 420ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .principle:hover { --lum: .95; }
  .principle:hover h3 { transform: translateX(6px); }
  .principle:hover p { color: var(--silver-100); }
}

/* ───────── Contact — the closing brand moment ───────── */
.contact {
  position: relative;
  isolation: isolate;
  margin-top: var(--section-y);
  padding: var(--section-y) 0 clamp(96px, 11vw, 160px);
  scroll-margin-top: calc(-1 * var(--section-y));
  overflow: hidden;
  text-align: center;
}
.contact-atmosphere {
  position: absolute; inset: -30px 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 34% at 50% 74%, rgba(122, 144, 238, .24), transparent 74%),
    radial-gradient(22% 16% at 50% 72%, rgba(205, 217, 255, .14), transparent 72%),
    radial-gradient(70% 40% at 50% 112%, rgba(122, 144, 238, .1), transparent 70%);
}
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-title {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: clamp(46px, 7.2vw, 112px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.contact-title .tint { display: block; }
.contact-lede { margin-top: 28px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.contact-console { width: min(880px, 100%); margin-top: clamp(56px, 6vw, 80px); border-radius: var(--radius-l); text-align: left; }
.console-body {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: 26px 26px 26px 32px;
}
.console-mark { width: 56px; }
.console-copy h3 { font-size: 20px; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; }
.console-copy p { margin-top: 4px; font-size: var(--type-small); line-height: 1.6; color: var(--text-2); }
.console-action { justify-self: end; }
.contact-email { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }

/* ───────── Footer ───────── */
.footer { position: relative; padding: 56px 0 28px; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1240px, 100% - 2 * var(--gutter)); height: 1px;
  transform: translateX(-50%); background: var(--line);
}
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 18px; justify-self: start; min-height: 44px; }
.footer-mark { width: 52px; }
.footer-wordmark { width: 196px; }
.footer-tagline { font-family: var(--font-mono); font-size: var(--type-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.footer-nav { display: flex; gap: 4px; justify-self: end; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 14px; color: var(--text-2); border-radius: 10px; }
.footer-nav a:last-child { padding-right: 0; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-3);
}
.footer-discipline { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.back-to-top { justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-2); }
.back-to-top:hover { color: var(--text); }
.back-to-top span { transition: transform 320ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .back-to-top:hover span { transform: translateY(-3px); } }

/* ───────── Tablet ───────── */
@media (max-width: 1080px) {
  .console-body { grid-template-columns: auto minmax(0, 1fr); }
  .console-action { grid-column: 2; justify-self: start; }
  .footer-top { grid-template-columns: 1fr auto; gap: 24px 32px; }
  .footer-tagline { grid-column: 1; grid-row: 2; }
  .footer-nav { grid-column: 2; grid-row: 1 / span 2; }
  .company-lead { grid-column: 1 / span 6; }
  .company-prose { grid-column: 7 / span 6; }
  .principles-head .section-title { grid-column: 1 / span 8; }
  .principles-sub { grid-column: 9 / span 4; }
  .principle-number { grid-column: 1 / span 2; }
  .principle h3 { grid-column: 3 / span 5; }
  .principle p { grid-column: 8 / span 5; }
}
@media (max-height: 820px) and (min-width: 761px) {
  .hero { padding-top: 124px; }
  .hero-brand { width: 300px; margin-bottom: 40px; }
  .peak-stage { padding-bottom: 62px; }
  .hero-horizon { top: calc(100% - 62px); }
  .ice-field { top: calc(100% - 60px); height: 56px; }
  .hero h1 { font-size: clamp(42px, 5vw, 72px); }
  .hero-description { margin: 22px 0 32px; }
}
@media (min-width: 1600px) {
  .hero { padding-top: 172px; }
  .hero-brand { width: 380px; }
}

/* ───────── Mobile — composed for the narrow column ───────── */
@media (max-width: 760px) {
  :root { --type-body: 16px; --radius-l: 22px; }
  html { scroll-padding-top: 92px; }
  .site-header { top: 12px; width: calc(100% - 24px); }
  .navigation { min-height: 60px; padding: 8px 8px 8px 16px; border-radius: 16px; }
  .nav-mark { width: 38px; }
  .nav-brand { gap: 10px; }
  .desktop-nav { display: none; }
  .menu-toggle {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
    background: var(--control-fill); box-shadow: var(--control-rim);
  }
  .theme-toggle { margin-left: auto; margin-right: -4px; }
  .menu-toggle span { width: 17px; height: 1.25px; border-radius: 1px; background: var(--text); transition: transform 240ms var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.6px) rotate(-45deg); }
  .mobile-menu { display: block; margin-top: 8px; padding: 8px 20px; border-radius: 18px; transform-origin: 92% 0; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 60px; font-size: 20px; font-weight: 300; letter-spacing: -.02em;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .menu-index { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); }

  .hero { min-height: max(760px, 100svh); padding: 124px 20px 0; }
  .aurora-one { width: 640px; height: 420px; margin-left: -320px; top: 4%; }
  .aurora-two { width: 360px; height: 220px; margin-left: -180px; top: 16%; }
  .hero-brand { width: 260px; margin-bottom: 40px; }
  .peak-stage { padding-bottom: 60px; }
  .hero-horizon { top: calc(100% - 60px); }
  .ice-field { top: calc(100% - 58px); height: 54px; }
  .ice-grain:nth-child(n+11) { display: none; }
  .hero h1 { font-size: clamp(38px, 10.6vw, 54px); line-height: 1.04; letter-spacing: -.048em; }
  .desktop-break { display: none; }
  .hero-description { margin: 22px 0 32px; font-size: 16px; text-wrap: balance; }
  .hero-description br { display: none; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-footnote { grid-template-columns: 1fr; justify-items: center; padding: 36px 0 24px; }
  .hero-footnote > span { display: none; }

  .company-layout, .principles-head { grid-template-columns: minmax(0, 1fr); }
  .company-layout > *, .principles-head > * { grid-column: 1 / -1 !important; }
  .statement { font-size: clamp(42px, 11.8vw, 58px); line-height: 1; }
  .statement-indent { padding-left: 0; }
  .company-lead { margin-top: 48px; padding-top: 22px; font-size: 22px; }
  .company-prose { margin-top: 0; padding-top: 24px; }
  .values-wrap { margin-top: 64px; }
  .values-list { grid-template-columns: minmax(0, 1fr); }
  .values-list li { flex-direction: row; align-items: baseline; gap: 20px; padding: 24px 24px 26px; }
  .values-list li + li::before { left: 24px; right: 24px; top: 0; bottom: auto; width: auto; height: 1px; background: var(--line-strong); }
  .value-index { width: 24px; flex: none; }
  .value-name { font-size: 22px; }

  .section-title { font-size: clamp(36px, 10vw, 48px); }
  .product-feature { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-identity { max-width: none; min-height: 200px; padding: 36px 20px; }
  .product-copy h3 { margin-top: 14px; }
  .product-description { margin-top: 18px; max-width: 48ch; }
  .product-link { margin-top: 20px; }
  .product-access { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 36px; }
  .principles-sub { margin-top: 20px; padding-bottom: 0; }
  .principle-list { margin-top: 48px; }
  .principle { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; row-gap: 10px; padding: 30px 0 32px; }
  .principle-number { grid-column: 1; grid-row: 1 / span 2; font-size: 56px; transform: translateY(.04em); }
  .principle h3 { grid-column: 2; font-size: 23px; }
  .principle p { grid-column: 2; }

  .contact { padding-bottom: 88px; }
  .contact-title { font-size: clamp(42px, 11.6vw, 58px); }
  .contact-lede { margin-top: 20px; font-size: 16px; }
  .console-body { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 22px 22px; }
  .console-mark { width: 48px; }
  .console-action { grid-column: 1; justify-self: stretch; }
  .contact-email { width: 100%; }

  .footer { padding-top: 44px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
  .footer-tagline { grid-row: 3; }
  .footer-nav { grid-column: 1; grid-row: 2; justify-self: start; margin-left: -14px; flex-wrap: wrap; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .footer-discipline { display: none; }
}
@media (max-width: 370px) {
  .hero-brand { width: 232px; }
  .hero h1 { font-size: 36px; }
  .footer-wordmark { width: 168px; }
  .footer-mark { width: 44px; }
}

/* ───────── Light theme — porcelain daylight, same material language ───────── */
:root[data-theme="light"] {
  color-scheme: light;
  --text: #0e1525;
  --text-2: #4a566b;
  --text-3: #66728a;
  --silver-100: #2a3448;
  --accent: #4b5fd6;
  --line: rgba(22, 34, 64, .09);
  --line-strong: rgba(22, 34, 64, .16);
  --tint-gradient: linear-gradient(100deg, #2f4fd2 0%, #5268e0 50%, #7f8ff0 100%);
  --metal-gradient: linear-gradient(176deg, rgba(20, 30, 56, var(--lum)) 8%, rgba(75, 95, 214, calc(var(--lum) * .7)) 60%, rgba(120, 134, 168, calc(var(--lum) * .35)) 100%);
  --glass-fill: linear-gradient(158deg, rgba(255, 255, 255, .66) 0%, rgba(255, 255, 255, .4) 45%, rgba(255, 255, 255, .28) 100%), rgba(244, 246, 250, .22);
  --glass-rim: linear-gradient(165deg, #fff 0%, rgba(255, 255, 255, .7) 30%, rgba(160, 175, 215, .25) 70%, rgba(120, 140, 220, .3) 100%);
  --glass-depth: inset 0 1px 0 #fff, 0 1px 2px rgba(22, 34, 64, .05), 0 24px 60px -30px rgba(30, 45, 95, .28);
  --glass-solid: #ffffff;
  --glass-fallback: rgba(255, 255, 255, .96);
  --sheen: rgba(255, 255, 255, .85);
  --control-fill: rgba(22, 34, 64, .045);
  --control-fill-hover: rgba(22, 34, 64, .075);
  --control-rim: inset 0 0 0 1px rgba(22, 34, 64, .08), inset 0 1px 0 rgba(255, 255, 255, .7);
  background: #f4f6fa;
}
[data-theme="light"] body::before {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(205, 217, 255, .55), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(220, 228, 250, .6), transparent 70%),
    linear-gradient(180deg, #f6f7fb, #f1f4f9 55%, #edf0f7);
}
[data-theme="light"] ::selection { color: #0e1525; background: #cdd9ff; }
[data-theme="light"] .skip-link { background: #0e1525; color: #fff; }
[data-theme="light"] .aurora-one { background: radial-gradient(closest-side, rgba(122, 144, 238, .2), rgba(122, 144, 238, .06) 55%, transparent); }
[data-theme="light"] .aurora-two { background: radial-gradient(closest-side, rgba(255, 255, 255, .9), transparent); }
[data-theme="light"] .hero-horizon { background: linear-gradient(90deg, transparent, rgba(75, 95, 214, .28) 30%, rgba(75, 95, 214, .5) 50%, rgba(75, 95, 214, .28) 70%, transparent); }
[data-theme="light"] .hero-horizon::after { background: radial-gradient(50% 100% at 50% 0, rgba(122, 144, 238, .14), transparent); }
[data-theme="light"] .ice-grain { background: linear-gradient(145deg, #a9b8f6, #6f86ea); box-shadow: none; }
[data-theme="light"] .button-primary {
  color: #fff;
  background: linear-gradient(180deg, #1f2940, #0e1525);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(14, 21, 37, .2), 0 12px 30px -14px rgba(14, 21, 37, .55);
}
[data-theme="light"] .button-glass {
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(22, 34, 64, .1), inset 0 1px 0 #fff, 0 6px 18px -12px rgba(30, 45, 95, .25);
}
@media (hover: hover) and (pointer: fine) {
  [data-theme="light"] .button-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(14, 21, 37, .2), 0 16px 36px -14px rgba(14, 21, 37, .6); }
  [data-theme="light"] .button-glass:hover { background: rgba(255, 255, 255, .85); }
}
[data-theme="light"] .values-light {
  background:
    radial-gradient(30% 42% at 24% 54%, rgba(122, 144, 238, .3), transparent 72%),
    radial-gradient(24% 36% at 74% 46%, rgba(164, 184, 255, .28), transparent 72%);
}
[data-theme="light"] .values-light::before {
  background: linear-gradient(90deg, transparent, rgba(122, 144, 238, .45) 18%, rgba(75, 95, 214, .7) 42%, rgba(122, 144, 238, .45) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(122, 144, 238, .25);
}
[data-theme="light"] .contact-atmosphere {
  background:
    radial-gradient(46% 34% at 50% 74%, rgba(122, 144, 238, .2), transparent 74%),
    radial-gradient(22% 16% at 50% 72%, rgba(255, 255, 255, .8), transparent 72%),
    radial-gradient(70% 40% at 50% 112%, rgba(164, 184, 255, .2), transparent 70%);
}

/* ───────── Preferences & fallbacks ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .peak-reflection, .ice-field { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  liquid-glass, .glass-surface, .button-glass { background: var(--glass-solid) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-contrast: more) {
  :root { --text-2: var(--silver-100); --text-3: var(--silver-200); --line: rgba(220, 228, 242, .32); --line-strong: rgba(220, 228, 242, .5); }
  :root[data-theme="light"] { --text-2: #2a3448; --text-3: #3d475b; --line: rgba(22, 34, 64, .3); --line-strong: rgba(22, 34, 64, .45); }
  liquid-glass, .glass-surface { background: var(--glass-solid) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .principle { --lum: .9 !important; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  liquid-glass, .glass-surface { background: var(--glass-fallback); }
}

/* Theme change: the old frame holds still while the new one fades in over it —
   a single compositor-driven opacity layer. All CSS transitions are suspended
   for the switch so nothing repaints underneath the fade. */
::view-transition-group(root) { animation: none; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: theme-fade 360ms cubic-bezier(.33, 0, .2, 1) both; }
@keyframes theme-fade { from { opacity: 0; } to { opacity: 1; } }
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }
@media (prefers-reduced-motion: no-preference) {
  /* The toggle keeps its own motion: the press release and the icon turn run uninterrupted. */
  .theme-switching .theme-toggle { transition: transform 180ms var(--ease) !important; }
  .theme-switching .theme-toggle svg { transition: var(--icon-turn) !important; }
}
::view-transition-group(theme-icon), ::view-transition-new(theme-icon) { animation: none; }
::view-transition-old(theme-icon) { display: none; }
