/* ==========================================================================
   WMM — Signal Core / live site
   1. Fonts, tokens, reset
   2. Background and frame
   3. Shell, navbar, mobile menu
   4. Shared typography and controls
   5. Preloader and page transitions
   6. Page HUD
   7. Home
   8. Partner
   9. Client
   10. Product
   11. Contact
   12. Responsive and motion preferences
   ========================================================================== */

/* 1. Fonts, tokens, reset ------------------------------------------------ */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
}

:root {
  --bg: #05060b;
  --bg-soft: #080b12;
  --ink: #edf2fb;
  --muted: #9aa5ba;
  --dim: #7f8ba0;
  --line: rgba(176, 198, 239, 0.13);
  --line-strong: rgba(176, 198, 239, 0.28);
  --surface: rgba(10, 15, 26, 0.62);
  --surface-raised: rgba(15, 22, 37, 0.8);
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --gutter: clamp(1rem, 4vw, 3.4rem);
  --max: 1340px;
  --header-h: clamp(64px, 9svh, 84px);
  --footer-h: clamp(44px, 6.4svh, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --accent: #3ef2ff;
  --accent-2: #8b6cff;
  --accent-rgb: 62, 242, 255;
  --accent-2-rgb: 139, 108, 255;
}

.page--home {
  --accent: #3ef2ff;
  --accent-2: #8b6cff;
  --accent-rgb: 62, 242, 255;
  --accent-2-rgb: 139, 108, 255;
}

.page--partner {
  --accent: #7accc8;
  --accent-2: #a3d39c;
  --accent-rgb: 122, 204, 200;
  --accent-2-rgb: 163, 211, 156;
}

.page--client {
  --accent: #b8a9ff;
  --accent-2: #f69679;
  --accent-rgb: 184, 169, 255;
  --accent-2-rgb: 246, 150, 121;
}

.page--product {
  --accent: #7da7d9;
  --accent-2: #3ef2ff;
  --accent-rgb: 125, 167, 217;
  --accent-2-rgb: 62, 242, 255;
}

.page--contact {
  --accent: #fff799;
  --accent-2: #7accc8;
  --accent-rgb: 255, 247, 153;
  --accent-2-rgb: 122, 204, 200;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

body {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  touch-action: pan-x pinch-zoom;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 4% -8%, rgba(var(--accent-rgb), 0.13), transparent 62%),
    radial-gradient(ellipse 50% 55% at 98% 2%, rgba(var(--accent-2-rgb), 0.12), transparent 64%),
    radial-gradient(ellipse 70% 55% at 50% 112%, rgba(var(--accent-rgb), 0.05), transparent 68%),
    linear-gradient(180deg, #05060b 0%, #04050a 100%);
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
dl,
dd,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

::selection {
  color: #031015;
  background: var(--accent);
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1200;
  padding: 0.7rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #041014;
  background: var(--accent);
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* 2. Background and frame ------------------------------------------------ */
.grid-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 191, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 191, 235, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 45%, #000 8%, transparent 86%);
  mask-image: radial-gradient(ellipse 82% 78% at 50% 45%, #000 8%, transparent 86%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.viewport-frame {
  position: fixed;
  inset: clamp(8px, 1.1vw, 14px);
  z-index: 45;
  pointer-events: none;
  border: 1px solid rgba(176, 198, 239, 0.075);
}

.viewport-frame::before,
.viewport-frame::after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: "";
  border-color: rgba(var(--accent-rgb), 0.4);
  border-style: solid;
}

.viewport-frame::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.viewport-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

/* 3. Shell, navbar, mobile menu ------------------------------------------ */
.site-shell {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-rows: var(--header-h) minmax(0, 1fr) var(--footer-h);
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
}

.topbar {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding-inline: var(--gutter);
}

.topbar__inner {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  gap: 1.2rem;
  align-items: center;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  justify-self: start;
  width: fit-content;
}

.brand-ring {
  position: relative;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 20deg,
    #f69679,
    #fdc689,
    #fff799,
    #a3d39c,
    #7accc8,
    #7da7d9,
    #8781bd,
    #f69679
  );
  -webkit-mask: radial-gradient(circle, transparent 0 54%, #000 56%);
  mask: radial-gradient(circle, transparent 0 54%, #000 56%);
  animation: spin 24s linear infinite;
  filter: drop-shadow(0 0 7px rgba(var(--accent-rgb), 0.24));
}

.brand-word {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(0.85rem, 2.1vw, 1.8rem);
  align-items: center;
  justify-self: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  gap: 0.38rem;
  align-items: baseline;
  padding-block: 0.4rem;
  font-family: var(--mono);
  font-size: clamp(0.48rem, 0.58vw, 0.58rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.3s ease;
}

.nav-link .nav-index {
  font-size: 0.75em;
  letter-spacing: 0.05em;
  color: rgba(176, 198, 239, 0.46);
  transition: color 0.3s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover .nav-index,
.nav-link.is-active .nav-index {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-link.is-active::before {
  position: absolute;
  top: 50%;
  left: -0.65rem;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.9);
  transform: translateY(-50%);
}

.topbar__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-self: end;
}

.availability {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.availability i,
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.9);
  animation: blink 2.6s ease-in-out infinite;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition:
    top 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.menu-toggle span:first-child {
  top: 15px;
}

.menu-toggle span:last-child {
  top: 21px;
}

body.nav-open .menu-toggle span:first-child {
  top: 18px;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span:last-child {
  top: 18px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  padding: calc(var(--header-h) + 1.4rem) var(--gutter) 1.2rem;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(var(--accent-2-rgb), 0.12), transparent 60%),
    radial-gradient(ellipse 65% 55% at 0% 100%, rgba(var(--accent-rgb), 0.09), transparent 62%),
    rgba(5, 6, 11, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

body.nav-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 191, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 191, 235, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 42%, #000, transparent 82%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 42%, #000, transparent 82%);
}

.mobile-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 720px);
  margin-inline: auto;
}

.mobile-link {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition:
    color 0.3s ease,
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

body.nav-open .mobile-link {
  opacity: 1;
  transform: none;
}

body.nav-open .mobile-link:nth-child(1) { transition-delay: 0.04s; }
body.nav-open .mobile-link:nth-child(2) { transition-delay: 0.09s; }
body.nav-open .mobile-link:nth-child(3) { transition-delay: 0.14s; }
body.nav-open .mobile-link:nth-child(4) { transition-delay: 0.19s; }
body.nav-open .mobile-link:nth-child(5) { transition-delay: 0.24s; }

.mobile-link .m-index {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.mobile-link .m-label {
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.mobile-link .m-arrow {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--dim);
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--accent);
}

.mobile-menu__foot {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  width: min(100%, 720px);
  padding-top: 1rem;
  margin-inline: auto;
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.mobile-menu__foot a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.mobile-menu__foot a:hover {
  color: var(--accent);
}

/* 4. Shared typography and controls -------------------------------------- */
.screen {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: clamp(0.3rem, 1.4svh, 0.9rem) var(--gutter) clamp(0.3rem, 1.1svh, 0.75rem);
  overflow: hidden;
}

.screen-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.7svh, 1.25rem);
  width: min(100%, var(--max));
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  transform: translate3d(0, var(--swipe-shift, 0px), 0);
  transition: transform 0.28s var(--ease);
}

body.is-swiping .screen-inner {
  transition: none;
}

.page-meta {
  display: flex;
  flex: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: clamp(0.45rem, 0.55vw, 0.55rem);
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--dim);
}

.page-meta p {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.page-meta p:last-child {
  justify-content: flex-end;
  text-align: right;
}

.meta-mark {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 7px rgba(var(--accent-rgb), 0.55);
}

.eyebrow {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-family: var(--mono);
  font-size: clamp(0.5rem, 0.62vw, 0.6rem);
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  flex: none;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.55);
}

.page-title,
.home-title {
  font-size: clamp(2.7rem, min(8.4vw, 13svh), 7.4rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.page-title .outline,
.home-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 242, 251, 0.55);
}

.home-title {
  font-size: clamp(3.2rem, min(11vw, 16svh), 10.4rem);
  line-height: 0.82;
}

.home-title .line {
  display: block;
}

.accent {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.35);
}

.lede {
  max-width: 48ch;
  font-size: clamp(0.87rem, 1.08vw, 1rem);
  line-height: 1.7;
  color: var(--muted);
}

.lede strong {
  font-weight: 500;
  color: var(--ink);
}

.actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  font-family: var(--mono);
  font-size: clamp(0.51rem, 0.58vw, 0.58rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease);
}

.btn svg {
  width: 13px;
  height: 13px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn--primary {
  color: #041014;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.22);
}

.btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.5),
    0 8px 30px rgba(var(--accent-rgb), 0.15);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.btn--ghost:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.text-link svg {
  width: 12px;
  height: 12px;
}

.text-link:hover {
  color: var(--accent);
}

/* 5. Preloader and page transitions -------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  visibility: hidden;
  padding: clamp(0.9rem, 3vw, 1.6rem) var(--gutter) clamp(0.8rem, 2.5vw, 1.4rem);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 0 0);
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(var(--accent-rgb), 0.06), transparent 64%),
    #05060b;
}

html.is-booting .preloader {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.preloader::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 191, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 191, 235, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 78%);
}

.preloader.is-out {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 0.52s var(--ease-in-out),
    opacity 0.28s ease 0.28s;
}

.preloader.is-done {
  display: none;
}

.pre-top,
.pre-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  margin-inline: auto;
  font-family: var(--mono);
  font-size: clamp(0.44rem, 0.5vw, 0.52rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.pre-brand {
  color: var(--ink);
}

.pre-brand span {
  color: var(--accent);
}

.pre-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vh, 1.8rem);
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.pre-stage {
  position: relative;
  width: max(160px, min(300px, 58vw, 30svh));
  aspect-ratio: 358 / 265;
  container-type: inline-size;
}

.pre-ghost,
.pre-seal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../logo/full.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.pre-ghost {
  opacity: 0.13;
  filter: grayscale(1) brightness(2.4);
}

.pre-seal {
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(157, 183, 255, 0.16));
}

html.is-booting .pre-seal {
  animation: pre-seal-in 0.25s ease 0.74s both;
}

.pre-piece {
  position: absolute;
  height: auto;
  opacity: 0;
  transform-origin: 50% 50%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

html.is-booting .pre-piece {
  animation: pre-piece-in 0.56s var(--ease) both;
  animation-delay: calc(0.04s + var(--i) * 0.038s);
}

.pre-piece[data-piece="peach"] {
  top: 9.434%;
  left: 0.838%;
  width: 32.961%;
  --i: 0;
  --sx: -33cqw;
  --sy: -21cqw;
  --rot: -74deg;
  --glow: rgba(253, 198, 137, 0.5);
}

.pre-piece[data-piece="coral"] {
  top: 0;
  left: 21.508%;
  width: 26.536%;
  --i: 1;
  --sx: 24cqw;
  --sy: -27cqw;
  --rot: 58deg;
  --glow: rgba(246, 150, 121, 0.5);
}

.pre-piece[data-piece="yellow"] {
  top: 36.226%;
  left: 0;
  width: 26.536%;
  --i: 2;
  --sx: -38cqw;
  --sy: 8cqw;
  --rot: -88deg;
  --glow: rgba(255, 247, 153, 0.45);
}

.pre-piece[data-piece="green"] {
  top: 53.585%;
  left: 13.408%;
  width: 16.76%;
  --i: 3;
  --sx: -22cqw;
  --sy: 27cqw;
  --rot: 78deg;
  --glow: rgba(163, 211, 156, 0.45);
}

.pre-piece[data-piece="teal"] {
  top: 66.038%;
  left: 34.078%;
  width: 26.536%;
  --i: 4;
  --sx: 7cqw;
  --sy: 30cqw;
  --rot: -49deg;
  --glow: rgba(122, 204, 200, 0.5);
}

.pre-piece[data-piece="blue"] {
  top: 66.038%;
  left: 48.324%;
  width: 32.961%;
  --i: 5;
  --sx: 30cqw;
  --sy: 20cqw;
  --rot: 64deg;
  --glow: rgba(125, 167, 217, 0.5);
}

.pre-piece[data-piece="p1"] {
  top: 36.226%;
  left: 35.754%;
  width: 20.391%;
  --i: 6;
  --sx: 31cqw;
  --sy: -8cqw;
  --rot: 45deg;
  --glow: rgba(135, 129, 189, 0.5);
}

.pre-piece[data-piece="p2"] {
  top: 36.226%;
  left: 57.821%;
  width: 20.391%;
  --i: 7;
  --sx: 37cqw;
  --sy: 2cqw;
  --rot: -39deg;
  --glow: rgba(135, 129, 189, 0.5);
}

.pre-piece[data-piece="p3"] {
  top: 36.226%;
  left: 79.609%;
  width: 20.391%;
  --i: 8;
  --sx: 43cqw;
  --sy: 12cqw;
  --rot: 53deg;
  --glow: rgba(135, 129, 189, 0.5);
}

.pre-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  border-radius: 50%;
  pointer-events: none;
  translate: -50% -50%;
}

.pre-ring--a {
  width: 128%;
  aspect-ratio: 1.35;
  border-style: dashed;
  animation: spin-slow 48s linear infinite;
}

.pre-ring--b {
  width: 112%;
  aspect-ratio: 1.35;
  border-color: rgba(176, 198, 239, 0.09);
}

.pre-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  width: min(280px, 66vw);
}

.pre-status {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  min-height: 1rem;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}

.pre-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(var(--accent-rgb), 0.9);
  animation: blink 1.1s steps(2) infinite;
}

.pre-progress {
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(176, 198, 239, 0.12);
}

.pre-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
}

.pre-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

#preload-percent {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.page-exit {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  background: #05060b;
  transition: opacity 0.18s ease;
}

body.is-leaving .page-exit {
  opacity: 1;
}

body.is-leaving .screen-inner {
  opacity: 0.5;
  transform: translateY(-1.2vh) scale(0.995);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

html.js .page-enter {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--enter-delay, 0ms);
}

html.js.is-ready .page-enter {
  opacity: 1;
  transform: none;
}

/* 6. Page HUD ------------------------------------------------------------ */
.page-hud {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding-inline: var(--gutter);
  border-top: 1px solid var(--line);
}

.hud-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: min(100%, var(--max));
  margin-inline: auto;
  font-family: var(--mono);
  font-size: clamp(0.46rem, 0.52vw, 0.52rem);
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--dim);
}

.hud-index {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.hud-index strong {
  font-weight: 400;
  color: var(--accent);
}

.hud-index em {
  margin-left: 0.35rem;
  font-style: normal;
  color: var(--muted);
}

.hud-swipe {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  white-space: nowrap;
}

.hud-swipe svg {
  width: 11px;
  height: 14px;
  color: var(--accent);
  animation: swipe-bob 2.4s var(--ease-in-out) infinite;
}

.hud-nav {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-self: end;
}

.hud-dir {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding-inline: 0.45rem;
  border: 1px solid var(--line);
  color: var(--dim);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.hud-dir svg {
  width: 10px;
  height: 10px;
}

.hud-dir:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.05);
}

.hud-dir span {
  display: inline;
}

.hud-dir.is-disabled {
  opacity: 0.28;
  pointer-events: none;
}

/* 7. Home ---------------------------------------------------------------- */
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(210px, 0.68fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.home-copy {
  min-width: 0;
}

.home-title {
  text-shadow: 0 0 50px rgba(var(--accent-rgb), 0.035);
}

.home-lower {
  display: flex;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: flex-end;
  justify-content: space-between;
  padding-top: clamp(0.8rem, 2.1svh, 1.5rem);
  margin-top: clamp(1rem, 3.4svh, 2.4rem);
  border-top: 1px solid var(--line);
}

.home-lede {
  max-width: 41ch;
}

.home-actions {
  display: flex;
  gap: 0.55rem;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-core {
  position: relative;
  display: grid;
  width: min(32svh, 340px);
  max-width: 100%;
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
}

.core-halo {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-2-rgb), 0.12) 44%, transparent 68%);
  filter: blur(25px);
  animation: core-pulse 6s ease-in-out infinite;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.core-ring--a {
  inset: 0;
  border-style: dashed;
  border-color: rgba(var(--accent-rgb), 0.22);
  animation: spin 46s linear infinite;
}

.core-ring--b {
  inset: 13%;
  border-color: rgba(var(--accent-2-rgb), 0.27);
  animation: spin-reverse 29s linear infinite;
}

.core-ring--c {
  inset: 29%;
  border-color: rgba(237, 242, 251, 0.18);
}

.core-axis {
  position: absolute;
  width: 113%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.28), transparent);
}

.core-axis::after {
  position: absolute;
  top: -52%;
  left: 50%;
  width: 1px;
  height: 205%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(var(--accent-2-rgb), 0.22), transparent);
}

.core-orb {
  position: relative;
  z-index: 2;
  width: 34%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0%, var(--accent) 14%, #153f52 48%, #071018 72%);
  box-shadow:
    0 0 55px rgba(var(--accent-rgb), 0.36),
    inset 0 0 22px rgba(255, 255, 255, 0.26);
}

.core-orb::after {
  position: absolute;
  inset: -20%;
  content: "";
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(255, 255, 255, 0.27) 72%, transparent 84%);
  animation: spin 8s linear infinite;
  mix-blend-mode: overlay;
}

.core-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 58s linear infinite;
}

.core-text text {
  font-family: var(--mono);
  font-size: 7.8px;
  letter-spacing: 0.22em;
  fill: rgba(237, 242, 251, 0.4);
}

.core-tag {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.core-tag::before {
  display: inline-block;
  width: 12px;
  height: 1px;
  margin-right: 0.4rem;
  vertical-align: middle;
  content: "";
  background: var(--line-strong);
}

.core-tag--a {
  top: 10%;
  right: -3%;
}

.core-tag--b {
  bottom: 12%;
  left: -2%;
}

.core-tag--c {
  right: 3%;
  bottom: 2%;
  color: var(--accent);
}

.home-stats {
  display: flex;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
  flex: none;
  padding-top: clamp(0.55rem, 1.4svh, 1rem);
  border-top: 1px solid var(--line);
}

.home-stat {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  white-space: nowrap;
}

.home-stat strong {
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-stat strong sup {
  margin-left: 0.1rem;
  font-family: var(--mono);
  font-size: 0.44rem;
  font-weight: 400;
  color: var(--accent);
}

.home-stat span {
  font-family: var(--mono);
  font-size: 0.47rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.home-coords {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.47rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

/* 8. Partner ------------------------------------------------------------- */
.partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.partner-copy {
  min-width: 0;
}

.partner-copy .page-title {
  margin-top: clamp(0.45rem, 1.2svh, 0.8rem);
}

.partner-copy .lede {
  max-width: 42ch;
  margin-top: clamp(0.7rem, 2svh, 1.3rem);
}

.partner-copy .btn {
  margin-top: clamp(0.8rem, 2.2svh, 1.4rem);
}

.partner-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(0.85rem, 1.7vw, 1.25rem);
  background: rgba(8, 13, 23, 0.68);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.partner-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.55;
}

.panel-head,
.panel-foot {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.panel-head {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.panel-head span:last-child {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--accent);
}

.partner-tracks {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-block: 0.55rem;
  background: var(--line);
}

.partner-track {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  padding: clamp(0.7rem, 1.4vw, 0.95rem);
  background: #070b13;
  transition: background-color 0.35s ease;
}

.partner-track:hover {
  background: #0a101b;
}

.track-index {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.partner-track h2 {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.partner-track p {
  max-width: 34ch;
  margin-top: 0.4rem;
  font-size: clamp(0.72rem, 0.88vw, 0.8rem);
  line-height: 1.55;
  color: var(--muted);
}

.track-tag {
  font-family: var(--mono);
  font-size: 0.44rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.panel-foot {
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.panel-foot svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.partner-strip {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex: none;
  padding-top: clamp(0.45rem, 1.2svh, 0.8rem);
  border-top: 1px solid var(--line);
}

.strip-label {
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.ally-list {
  display: flex;
  gap: clamp(0.9rem, 2.5vw, 2.2rem);
  align-items: center;
  min-width: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: clamp(0.55rem, 0.7vw, 0.66rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ally-list span:nth-child(2) {
  color: var(--accent);
}

.partner-stamp {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

/* 9. Client -------------------------------------------------------------- */
.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.client-copy {
  min-width: 0;
}

.client-copy .page-title {
  margin-top: clamp(0.45rem, 1.2svh, 0.8rem);
}

.client-copy .lede {
  max-width: 36ch;
  margin-top: clamp(0.7rem, 2svh, 1.3rem);
}

.client-note {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: clamp(0.8rem, 2.2svh, 1.4rem);
  font-family: var(--mono);
  font-size: 0.47rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
}

.client-note::before {
  width: 20px;
  height: 1px;
  content: "";
  background: var(--accent);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 0.9vw, 0.7rem);
  min-height: 0;
}

.client-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: clamp(0.7rem, 1.35vw, 1rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(var(--card-rgb, var(--accent-rgb)), 0.11), transparent 52%),
    rgba(8, 13, 23, 0.55);
  border: 1px solid var(--line);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.client-card::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: rgb(var(--card-rgb, var(--accent-rgb)));
  box-shadow: 0 0 10px rgba(var(--card-rgb, var(--accent-rgb)), 0.7);
}

.client-card:hover {
  border-color: rgba(var(--card-rgb, var(--accent-rgb)), 0.42);
  background-color: rgba(14, 21, 35, 0.8);
}

.client-index {
  font-family: var(--mono);
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.client-name {
  margin-top: auto;
  font-size: clamp(0.9rem, 1.4vw, 1.28rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.client-sector {
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.44rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.client-card:nth-child(1) { --card-rgb: 253, 198, 137; }
.client-card:nth-child(2) { --card-rgb: 246, 150, 121; }
.client-card:nth-child(3) { --card-rgb: 122, 204, 200; }
.client-card:nth-child(4) { --card-rgb: 184, 169, 255; }
.client-card:nth-child(5) { --card-rgb: 163, 211, 156; }
.client-card:nth-child(6) { --card-rgb: 125, 167, 217; }

.client-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  align-items: center;
  flex: none;
  padding-top: clamp(0.6rem, 1.5svh, 0.95rem);
  border-top: 1px solid var(--line);
}

.quote-mark {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 300;
  line-height: 0.6;
  color: var(--line-strong);
}

.client-quote blockquote {
  max-width: 72ch;
  font-size: clamp(0.8rem, 1.05vw, 0.95rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--muted);
}

.client-quote cite {
  font-family: var(--mono);
  font-size: 0.46rem;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}

.client-quote cite strong {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 400;
  color: var(--muted);
}

/* 10. Product ------------------------------------------------------------ */
.product-head {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: flex-end;
  justify-content: space-between;
  flex: none;
}

.product-heading {
  min-width: 0;
}

.product-heading .page-title {
  margin-top: clamp(0.35rem, 1svh, 0.65rem);
}

.product-intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  width: min(100%, 340px);
  padding-bottom: 0.15rem;
}

.product-intro .lede {
  max-width: 30ch;
  font-size: clamp(0.8rem, 0.96vw, 0.92rem);
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.2vw, 1rem);
  flex: 1;
  min-height: 0;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: rgba(8, 13, 23, 0.6);
  border: 1px solid var(--line);
  transition:
    border-color 0.4s ease,
    transform 0.5s var(--ease);
}

.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.product-visual {
  position: relative;
  flex: 1 1 55%;
  min-height: 90px;
  overflow: hidden;
  background: #060b13;
  border-bottom: 1px solid var(--line);
}

.product-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  opacity: 0.55;
  mix-blend-mode: overlay;
}

.product-code {
  position: absolute;
  top: 0.65rem;
  left: 0.7rem;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.43rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 242, 251, 0.56);
}

.product-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-art {
  transform: scale(1.035);
}

.product-art::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(176, 198, 239, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 198, 239, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 90%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 90%);
}

.art-orb {
  position: absolute;
  border-radius: 50%;
}

.art-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.art-glyph {
  position: absolute;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.045);
}

.product-art--helios {
  background:
    radial-gradient(circle at 55% 40%, rgba(255, 178, 82, 0.2), transparent 52%),
    linear-gradient(150deg, #0a0c12, #05080f);
}

.product-art--helios .art-orb {
  top: 24%;
  left: 50%;
  width: 52%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 37% 30%, #fff6e8 0%, #ffd18d 15%, #fdc689 33%, #8b4315 67%, transparent 72%);
  box-shadow:
    0 0 45px rgba(255, 184, 105, 0.3),
    0 0 100px rgba(255, 100, 20, 0.12);
  transform: translateX(-50%);
}

.product-art--helios .art-ring {
  top: 15%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  border-color: rgba(253, 198, 137, 0.2);
  transform: translateX(-50%);
}

.product-art--helios .art-ring--b {
  top: 49%;
  width: 88%;
  height: 28%;
  transform: translate(-50%, -50%) rotate(-9deg);
}

.product-art--helios .art-glyph {
  bottom: -16%;
  left: 2%;
  font-size: clamp(4rem, 9vw, 8rem);
  color: rgba(255, 255, 255, 0.04);
}

.product-art--aether {
  background:
    radial-gradient(ellipse 75% 55% at 50% 100%, rgba(122, 204, 200, 0.17), transparent 66%),
    linear-gradient(180deg, #060b13, #04070d);
}

.product-art--aether .art-orb {
  top: 43%;
  left: 50%;
  width: 32%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 40% 30%, #fff, #7accc8 20%, #0f4d66 54%, rgba(6, 15, 25, 0.2) 74%);
  box-shadow: 0 0 55px rgba(122, 204, 200, 0.35);
  transform: translateX(-50%);
}

.product-art--aether .art-ring {
  top: 47%;
  left: 50%;
  width: 78%;
  height: 24%;
  border-color: rgba(122, 204, 200, 0.25);
  transform: translate(-50%, -50%) rotate(-10deg);
}

.product-art--aether .art-grid-floor {
  position: absolute;
  right: -20%;
  bottom: -25%;
  left: -20%;
  height: 72%;
  background-image:
    linear-gradient(rgba(122, 204, 200, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 204, 200, 0.11) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(180px) rotateX(58deg);
  transform-origin: center bottom;
  opacity: 0.8;
}

.product-art--aether .art-glyph {
  top: 13%;
  left: 5%;
  font-size: clamp(3rem, 5.5vw, 5rem);
  color: rgba(255, 255, 255, 0.06);
}

.product-art--nyx {
  background:
    repeating-linear-gradient(118deg, transparent 0 24px, rgba(255, 255, 255, 0.025) 24px 25px),
    radial-gradient(circle at 74% 34%, rgba(255, 79, 216, 0.2), transparent 52%),
    linear-gradient(140deg, #0b0814, #060810 70%);
}

.product-art--nyx .art-orb {
  top: 23%;
  right: 10%;
  width: 40%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 33% 27%, #fff 0%, #ffb6ee 10%, #ff4fd8 32%, #4e174b 64%, transparent 72%);
  box-shadow:
    0 0 45px rgba(255, 79, 216, 0.28),
    0 0 90px rgba(139, 108, 255, 0.15);
}

.product-art--nyx .art-ring {
  bottom: -25%;
  left: -10%;
  width: 72%;
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.09);
}

.product-art--nyx .art-ring--b {
  right: 7%;
  bottom: 8%;
  left: auto;
  width: 32%;
  border-color: rgba(255, 79, 216, 0.2);
}

.product-art--nyx .art-glyph {
  top: 33%;
  left: 5%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.26);
  transform: skewY(-4deg);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 0.45rem;
  padding: clamp(0.7rem, 1.35vw, 1rem);
}

.product-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.43rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.product-meta .live {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  color: var(--accent);
}

.product-body h2 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.product-body p {
  max-width: 30ch;
  font-size: clamp(0.7rem, 0.82vw, 0.78rem);
  line-height: 1.55;
  color: var(--muted);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.45rem;
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  color: var(--dim);
}

.product-foot strong {
  font-weight: 400;
  color: var(--ink);
}

.product-foot svg {
  width: 11px;
  height: 11px;
  color: var(--accent);
}

/* 11. Contact ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.contact-copy {
  min-width: 0;
}

.contact-copy .page-title {
  margin-top: clamp(0.45rem, 1.2svh, 0.8rem);
}

.contact-copy .lede {
  max-width: 38ch;
  margin-top: clamp(0.65rem, 1.8svh, 1.1rem);
}

.contact-details {
  display: flex;
  flex-direction: column;
  max-width: 34rem;
  margin-top: clamp(0.8rem, 2.2svh, 1.4rem);
  border-top: 1px solid var(--line);
}

.contact-details div {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.7rem;
  padding-block: clamp(0.42rem, 1.1svh, 0.65rem);
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  font-family: var(--mono);
  font-size: 0.45rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-details dd {
  font-size: clamp(0.72rem, 0.86vw, 0.82rem);
  line-height: 1.5;
  color: var(--muted);
}

.contact-details dd span {
  display: block;
  margin-top: 0.12rem;
  font-family: var(--mono);
  font-size: 0.43rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-details a {
  color: var(--ink);
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-panel {
  position: relative;
  min-width: 0;
  padding: clamp(0.85rem, 1.8vw, 1.35rem);
  overflow: hidden;
  background: rgba(8, 13, 23, 0.66);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.contact-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.6;
}

.form-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  margin-bottom: 0.65rem;
  font-family: var(--mono);
  font-size: 0.44rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}

.form-head span:last-child {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--accent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mono);
  font-size: 0.43rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 36px;
  padding: 0.52rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--ink);
  outline: none;
  background: rgba(4, 8, 15, 0.7);
  border: 1px solid var(--line);
  border-radius: 0;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.field textarea {
  height: 60px;
  min-height: 60px;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #59667c;
}

.field select {
  appearance: none;
  color: var(--muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa5ba' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  cursor: pointer;
}

.field select option {
  color: var(--ink);
  background: var(--bg-soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(4, 9, 17, 0.92);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.12),
    0 0 22px rgba(var(--accent-rgb), 0.06);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(246, 150, 121, 0.75);
}

.field-error {
  min-height: 0.85rem;
  font-family: var(--mono);
  font-size: 0.42rem;
  letter-spacing: 0.04em;
  color: #f6a08e;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.field.has-error .field-error {
  opacity: 1;
}

.form-foot {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.form-note {
  max-width: 24ch;
  font-family: var(--mono);
  font-size: 0.4rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.form-submit {
  flex: none;
  min-width: 155px;
}

.form-success {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(var(--accent-rgb), 0.1), transparent 55%),
    #070b13;
}

.form-success[hidden] {
  display: none;
}

.success-ring {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 50%;
  place-items: center;
  box-shadow:
    0 0 0 6px rgba(var(--accent-rgb), 0.035),
    0 0 30px rgba(var(--accent-rgb), 0.12);
}

.success-ring svg {
  width: 22px;
  height: 22px;
}

.success-title {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.success-copy {
  max-width: 38ch;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.success-id {
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.success-demo {
  max-width: 34ch;
  font-family: var(--mono);
  font-size: 0.4rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.success-reset {
  min-height: 38px;
  margin-top: 0.15rem;
}

/* 12. Responsive and motion preferences ---------------------------------- */
@keyframes pre-piece-in {
  0% {
    opacity: 0;
    transform: translate(var(--sx), var(--sy)) rotate3d(0.2, 0.8, 0.1, var(--rot)) scale(0.55);
    filter: blur(8px);
  }
  28% {
    opacity: 1;
  }
  82% {
    opacity: 1;
    transform: translate(0, 0) rotate3d(0, 1, 0, 0deg) scale(1.035);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0) drop-shadow(0 0 4px var(--glow));
  }
}

@keyframes pre-seal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes core-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.97);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes blink {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes swipe-bob {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 1120px) {
  .home-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-core {
    display: none;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .topbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .topbar__meta {
    gap: 0.6rem;
  }

  .availability {
    display: none;
  }

  .partner-layout,
  .client-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: clamp(0.9rem, 2.4vh, 1.5rem);
  }

  .partner-panel {
    width: 100%;
  }

  .partner-tracks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
  }

  .partner-track {
    display: block;
    padding: 0.7rem;
  }

  .partner-track p {
    margin-top: 0.35rem;
    font-size: 0.7rem;
  }

  .track-tag {
    display: block;
    margin-top: 0.55rem;
    text-align: left;
  }

  .client-grid {
    min-height: clamp(210px, 30svh, 320px);
  }

  .client-quote {
    margin-top: 0.2rem;
  }

  .contact-copy {
    display: flex;
    gap: 0.5rem 1.2rem;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .contact-copy .eyebrow {
    flex-basis: 100%;
  }

  .contact-copy .page-title {
    margin-top: 0;
  }

  .contact-copy .lede {
    max-width: 38ch;
    margin-top: 0;
  }

  .contact-details {
    display: none;
  }

  .contact-panel {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .page-title {
    font-size: clamp(2.3rem, 10.5vw, 4.8rem);
  }

  .home-title {
    font-size: clamp(2.9rem, 13.8vw, 5.6rem);
  }

  .home-lower {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .home-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .home-stats {
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .home-coords {
    display: none;
  }

  .partner-strip {
    display: none;
  }

  .client-layout {
    gap: 0.7rem;
  }

  .client-grid {
    min-height: 0;
  }

  .client-quote {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .client-quote cite {
    display: none;
  }

  .product-head {
    display: block;
  }

  .product-intro {
    display: flex;
    gap: 0.45rem;
    width: 100%;
    padding-top: 0.55rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .product-intro .lede {
    display: none;
  }

  .product-intro .btn {
    min-height: 38px;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(72px, 22%) minmax(0, 1fr);
    min-height: 0;
  }

  .product-visual {
    height: 100%;
    min-height: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .product-code {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.37rem;
  }

  .product-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.2rem 0.5rem;
    align-content: center;
    padding: 0.55rem 0.7rem;
  }

  .product-meta {
    grid-column: 1 / -1;
    font-size: 0.38rem;
  }

  .product-meta .live {
    display: none;
  }

  .product-body h2 {
    font-size: 1rem;
  }

  .product-body p {
    display: none;
  }

  .product-foot {
    grid-column: 2;
    grid-row: 2;
    min-width: max-content;
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
    font-size: 0.39rem;
  }

  .product-foot svg {
    display: none;
  }

  .contact-copy {
    display: block;
  }

  .contact-copy .lede {
    display: none;
  }

  .form-note {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 1rem;
  }

  .brand-word {
    font-size: 0.8rem;
  }

  .brand-ring {
    width: 24px;
  }

  .page-meta p:last-child {
    display: none;
  }

  .hud-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .hud-swipe {
    display: flex;
  }

  .hud-swipe span {
    display: none;
  }

  .hud-nav {
    gap: 0.3rem;
  }

  .hud-dir span {
    display: none;
  }

  .hud-dir {
    min-width: 32px;
    padding-inline: 0;
  }

  .hud-index em {
    display: none;
  }

  .home-title {
    font-size: clamp(2.65rem, 14.5vw, 4.7rem);
  }

  .home-stats {
    justify-content: space-between;
  }

  .home-stat {
    display: block;
  }

  .home-stat span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.4rem;
  }

  .home-stat strong {
    font-size: 1.25rem;
  }

  .partner-tracks {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-track {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
  }

  .partner-track p {
    display: none;
  }

  .track-tag {
    margin-top: 0;
    font-size: 0.38rem;
  }

  .panel-head {
    padding-bottom: 0.45rem;
    font-size: 0.4rem;
  }

  .panel-foot {
    display: none;
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .client-card {
    padding: 0.55rem;
  }

  .client-name {
    font-size: 0.78rem;
  }

  .client-sector {
    font-size: 0.38rem;
  }

  .quote-mark {
    display: none;
  }

  .client-quote {
    display: block;
    padding-top: 0.5rem;
  }

  .client-quote blockquote {
    font-size: 0.72rem;
  }

  .contact-panel {
    padding: 0.7rem;
  }

  .form-grid {
    gap: 0.45rem;
  }

  .field input,
  .field select {
    min-height: 34px;
    padding: 0.45rem 0.5rem;
    font-size: 0.72rem;
  }

  .field textarea {
    height: 52px;
    min-height: 52px;
    padding: 0.45rem 0.5rem;
    font-size: 0.72rem;
  }

  .form-foot {
    padding-top: 0.5rem;
    margin-top: 0.55rem;
  }

  .form-submit {
    width: 100%;
    min-width: 0;
  }

  .form-note {
    display: none;
  }

  .mobile-menu__foot {
    font-size: 0.43rem;
  }
}

@media (max-height: 720px) {
  .screen-inner {
    gap: 0.5rem;
  }

  .page-meta {
    font-size: 0.43rem;
  }

  .home-lower {
    margin-top: 0.7rem;
    padding-top: 0.65rem;
  }

  .home-actions .btn {
    min-height: 40px;
    padding-block: 0.58rem;
  }

  .home-stats {
    padding-top: 0.5rem;
  }

  .partner-track {
    padding-block: 0.55rem;
  }

  .partner-track p {
    line-height: 1.45;
  }

  .partner-strip,
  .client-quote cite {
    display: none;
  }

  .client-grid {
    min-height: 0;
  }

  .client-quote {
    padding-top: 0.45rem;
  }

  .product-intro .lede {
    display: none;
  }

  .product-body {
    gap: 0.35rem;
    padding-block: 0.65rem;
  }

  .product-body p {
    display: none;
  }

  .product-foot {
    padding-top: 0.35rem;
  }

  .contact-details {
    display: none;
  }

  .contact-copy .lede {
    max-width: 40ch;
  }

  .contact-panel {
    padding-block: 0.75rem;
  }

  .form-grid {
    gap: 0.45rem;
  }

  .field textarea {
    height: 48px;
    min-height: 48px;
  }

  .form-foot {
    padding-top: 0.5rem;
    margin-top: 0.55rem;
  }

  .btn {
    min-height: 40px;
    padding-block: 0.6rem;
  }
}

@media (max-height: 620px) {
  .page-meta {
    display: none;
  }

  .screen-inner {
    gap: 0.4rem;
  }

  .screen {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .home-title {
    font-size: clamp(2.7rem, min(10.5vw, 13svh), 5.5rem);
  }

  .home-lower {
    margin-top: 0.55rem;
    padding-top: 0.5rem;
  }

  .home-lede {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .home-stats {
    display: none;
  }

  .page-title {
    font-size: clamp(2.1rem, min(9.5vw, 12svh), 4.6rem);
  }

  .partner-copy .lede,
  .client-copy .lede {
    display: none;
  }

  .partner-copy .btn {
    margin-top: 0.55rem;
  }

  .partner-panel {
    padding: 0.55rem;
  }

  .partner-track {
    padding-block: 0.4rem;
  }

  .partner-track h2 {
    font-size: 0.95rem;
  }

  .partner-track p {
    display: none;
  }

  .track-tag {
    margin-top: 0;
  }

  .client-note {
    display: none;
  }

  .client-quote {
    display: none;
  }

  .client-grid {
    min-height: 0;
  }

  .product-head .page-title {
    font-size: clamp(2rem, min(8.5vw, 11svh), 4rem);
  }

  .product-intro {
    padding-top: 0.2rem;
  }

  .product-card {
    grid-template-columns: minmax(60px, 18%) minmax(0, 1fr);
  }

  .product-body {
    padding-block: 0.4rem;
  }

  .product-body h2 {
    font-size: 0.9rem;
  }

  .contact-copy .lede {
    display: none;
  }

  .contact-copy .page-title {
    font-size: clamp(2rem, min(8.5vw, 11svh), 4rem);
  }

  .contact-layout {
    align-items: start;
    gap: 0.45rem;
  }

  .form-head {
    padding-bottom: 0.35rem;
    margin-bottom: 0.4rem;
  }

  .field label {
    font-size: 0.38rem;
  }

  .field input,
  .field select {
    min-height: 30px;
    padding-block: 0.35rem;
    font-size: 0.68rem;
  }

  .field textarea {
    height: 40px;
    min-height: 40px;
    padding-block: 0.35rem;
    font-size: 0.68rem;
  }

  .field-error {
    min-height: 0.7rem;
  }

  .form-foot {
    padding-top: 0.35rem;
    margin-top: 0.4rem;
  }

  .form-submit {
    min-height: 34px;
  }

  .contact-panel {
    padding: 0.6rem;
  }

  .form-success {
    padding: 0.7rem;
  }

  .success-ring {
    width: 42px;
    height: 42px;
  }

  .success-copy {
    font-size: 0.7rem;
  }

  .mobile-menu {
    padding-top: calc(var(--header-h) + 0.7rem);
    padding-bottom: 0.8rem;
  }
}

@media (max-height: 520px) {
  .mobile-link {
    padding-block: 0.2rem;
  }

  .mobile-link .m-label {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }

  .mobile-menu__foot {
    padding-top: 0.4rem;
  }

  .bottom-hud {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pre-piece,
  .pre-seal,
  .core-halo,
  .core-ring,
  .core-text,
  .brand-ring {
    animation: none !important;
  }

  .pre-piece {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .pre-seal {
    opacity: 1 !important;
  }

  .page-enter {
    opacity: 1 !important;
    transform: none !important;
  }

  .preloader {
    display: none !important;
  }

  html.is-booting .preloader {
    display: none !important;
  }
}

/* Legibility tuning ------------------------------------------------------ */
.page-meta {
  font-size: clamp(0.5rem, 0.55vw, 0.56rem);
}

.nav-link {
  font-size: clamp(0.56rem, 0.68vw, 0.64rem);
}

.btn {
  font-size: clamp(0.58rem, 0.65vw, 0.65rem);
}

.hud-inner {
  font-size: clamp(0.5rem, 0.54vw, 0.55rem);
}

.field label {
  font-size: 0.56rem;
}

.field input,
.field select,
.field textarea {
  font-size: 0.82rem;
}

.field-error {
  font-size: 0.48rem;
}

.form-note {
  font-size: 0.45rem;
}

.success-demo {
  font-size: 0.45rem;
}

.track-tag {
  font-size: 0.48rem;
}

.client-sector {
  font-size: 0.48rem;
}

.product-meta {
  font-size: 0.47rem;
}

@media (max-width: 560px) {
  .client-sector {
    font-size: 0.46rem;
  }

  .track-tag {
    font-size: 0.46rem;
  }

  .panel-head {
    font-size: 0.46rem;
  }

  .product-meta {
    font-size: 0.45rem;
  }

  .product-foot {
    font-size: 0.45rem;
  }

  .home-stat span {
    font-size: 0.44rem;
  }
}

@media (max-height: 620px) {
  .field label {
    font-size: 0.5rem;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 0.8rem;
  }
}

/* Final polish: stronger surfaces, larger preloader, readable form controls */
.pre-stage {
  width: max(160px, min(380px, 58vw, 40svh));
}

.core-ring--a {
  border-color: rgba(var(--accent-rgb), 0.3);
}

.core-ring--b {
  border-color: rgba(var(--accent-2-rgb), 0.36);
}

.core-axis {
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.36), transparent);
}

.client-card {
  background:
    radial-gradient(circle at 86% 14%, rgba(var(--card-rgb, var(--accent-rgb)), 0.13), transparent 52%),
    rgba(12, 18, 30, 0.72);
  border-color: rgba(176, 198, 239, 0.18);
}

.product-card {
  background: rgba(10, 16, 28, 0.74);
}

.btn {
  font-size: 0.62rem;
}

.field label {
  font-size: 0.6rem;
}

.field input,
.field select,
.field textarea {
  font-size: 0.85rem;
}

@media (max-height: 620px) {
  .field label {
    font-size: 0.56rem;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 0.9rem;
  }
}

@media (max-width: 560px) {
  .field label {
    font-size: 0.6rem;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 1rem;
  }
}

/* Compact landscape: keep every page on one screen on short displays */
@media (max-height: 520px) and (min-width: 600px) {
  :root {
    --header-h: 56px;
    --footer-h: 38px;
  }

  .screen {
    padding-block: 0.2rem;
  }

  .screen-inner {
    gap: 0.35rem;
  }

  .page-title {
    font-size: clamp(1.9rem, min(7.4vw, 11svh), 3.3rem);
    line-height: 0.88;
  }

  .home-title {
    font-size: clamp(2.5rem, min(9.4vw, 15svh), 4.8rem);
  }

  .eyebrow {
    font-size: 0.48rem;
  }

  .home-lower {
    flex-direction: row;
    align-items: flex-end;
    gap: 0.75rem;
    padding-top: 0.4rem;
    margin-top: 0.4rem;
  }

  .home-lede {
    max-width: 45ch;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .home-actions {
    width: auto;
    flex-wrap: nowrap;
  }

  .btn {
    min-height: 32px;
    padding: 0.45rem 0.65rem;
    font-size: 0.5rem;
  }

  .home-stats,
  .page-meta,
  .partner-strip,
  .client-quote {
    display: none;
  }

  .partner-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: center;
  }

  .partner-copy .eyebrow,
  .partner-copy .lede {
    display: none;
  }

  .partner-copy .page-title {
    font-size: clamp(2rem, min(8vw, 11svh), 3.4rem);
  }

  .partner-copy .btn {
    margin-top: 0.5rem;
  }

  .partner-panel {
    padding: 0.45rem;
  }

  .panel-head {
    padding-bottom: 0.25rem;
    font-size: 0.4rem;
  }

  .partner-tracks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    margin-block: 0.35rem;
    background: none;
  }

  .partner-track {
    display: block;
    min-width: 0;
    padding: 0.45rem;
    border: 1px solid var(--line);
  }

  .partner-track h2 {
    font-size: 0.85rem;
  }

  .partner-track p,
  .track-tag,
  .panel-foot {
    display: none;
  }

  .client-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 1rem;
    align-items: center;
  }

  .client-copy .eyebrow,
  .client-copy .lede,
  .client-note {
    display: none;
  }

  .client-copy .page-title {
    font-size: clamp(1.8rem, min(7.2vw, 11svh), 3.2rem);
  }

  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    min-height: 0;
  }

  .client-card {
    padding: 0.45rem;
  }

  .client-index {
    font-size: 0.4rem;
  }

  .client-name {
    font-size: 0.72rem;
  }

  .client-sector {
    display: none;
  }

  .product-head {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
  }

  .product-heading .eyebrow {
    display: none;
  }

  .product-heading .page-title {
    font-size: clamp(1.8rem, min(7.4vw, 11svh), 3.2rem);
  }

  .product-intro {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    width: auto;
    padding-top: 0;
  }

  .product-intro .lede {
    display: none;
  }

  .product-intro .btn {
    min-height: 30px;
    padding: 0.4rem 0.6rem;
    font-size: 0.48rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .product-visual {
    flex: 1 1 auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.45rem;
  }

  .product-meta {
    font-size: 0.38rem;
  }

  .product-meta .live {
    display: none;
  }

  .product-body h2 {
    font-size: 0.9rem;
  }

  .product-body p {
    display: none;
  }

  .product-foot {
    grid-column: auto;
    grid-row: auto;
    padding-top: 0.25rem;
    margin-top: 0;
    font-size: 0.38rem;
    border-top: 1px solid var(--line);
  }

  .product-foot svg {
    display: none;
  }

  .product-code {
    top: 0.35rem;
    left: 0.35rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 1rem;
    align-items: center;
  }

  .contact-copy .eyebrow,
  .contact-copy .lede,
  .contact-details {
    display: none;
  }

  .contact-copy .page-title {
    font-size: clamp(1.8rem, min(7.2vw, 11svh), 3.2rem);
  }

  .contact-panel {
    padding: 0.5rem;
  }

  .form-head {
    display: none;
  }

  .form-grid {
    gap: 0.25rem;
  }

  .field label {
    font-size: 0.44rem;
    letter-spacing: 0.06em;
  }

  .field input,
  .field select {
    min-height: 28px;
    padding: 0.25rem 0.4rem;
    font-size: 0.68rem;
  }

  .field textarea {
    height: 34px;
    min-height: 34px;
    padding: 0.25rem 0.4rem;
    font-size: 0.68rem;
  }

  .field-error {
    min-height: 0.55rem;
    font-size: 0.4rem;
  }

  .form-foot {
    gap: 0.4rem;
    padding-top: 0.25rem;
    margin-top: 0.3rem;
  }

  .form-note {
    display: none;
  }

  .form-submit {
    min-width: 0;
    min-height: 30px;
    padding: 0.4rem 0.6rem;
    font-size: 0.48rem;
  }

  .form-success {
    gap: 0.3rem;
    padding: 0.5rem;
  }

  .success-ring {
    width: 32px;
    height: 32px;
  }

  .success-ring svg {
    width: 16px;
    height: 16px;
  }

  .success-title {
    font-size: 1rem;
  }

  .success-copy {
    font-size: 0.65rem;
    line-height: 1.4;
  }

  .success-demo {
    font-size: 0.38rem;
    line-height: 1.4;
  }

  .success-reset {
    min-height: 30px;
  }

  .hud-inner {
    font-size: 0.45rem;
  }

  .hud-dir {
    min-width: 26px;
    height: 26px;
  }

  .hud-dir span,
  .hud-swipe span {
    display: none;
  }

  .mobile-menu {
    padding-top: calc(var(--header-h) + 0.5rem);
    padding-bottom: 0.5rem;
  }

  .mobile-link {
    padding-block: 0.15rem;
  }

  .mobile-link .m-label {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .mobile-menu__foot {
    padding-top: 0.3rem;
  }

  .pre-stage {
    width: max(150px, min(340px, 55vw, 38svh));
  }
}



