/* ==========================================================================
   RayanTech — site styles
   Direction: Harbour · Marker. Kraft is the primary colour, never the wallpaper.
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/Figtree-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/Figtree-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/Figtree-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/Figtree-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --brand: #c9a06c;
  --brand-strong: #a67c48;
  --brand-light: #dcbd93;
  --band: #203647;
  --band-deep: #172836;
  --link: #1f3853;
  --mid: #4f6d7a;
  --accent: #5d9bbf;
  --soft: #d3e3ec;
  --pop: #cff6f4;
  --ink: #0f1720;
  --ink-muted: #4a5868;
  --surface: #f5f7fa;
  --surface-raised: #ffffff;
  --tint: #e9eef3;
  --line: #d5dde5;
  --on-band: #e8eef3;
  --on-band-muted: #a9bccb;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;
  --shadow-card: 0 1px 2px #0f172014, 0 24px 48px -24px #0f17203d;
  --shadow-lift: 0 2px 4px #0f17200f, 0 40px 80px -32px #0f172055;
  --focus-ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--link);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
fieldset { min-width: 0; }
/* Grid children may shrink below their content width; long words wrap instead of pushing the page wider */
:is(.hero-grid, .explorer, .cap-grid, .eco, .unbranded, .story, .builder, .quote-layout, .footer-top, .footer-cols, .ind-wrap, .ind-panel, .cta-card, .product, .flow-step, .section-head, .builder-panel, .two-col, .field-row) > * { min-width: 0; }
h1, h2, h3, p, li, dd, a { overflow-wrap: break-word; }
.footer-cols a { overflow-wrap: anywhere; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 17px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 0; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
::selection { background: var(--brand); color: var(--ink); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-md); transition: top .2s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ---------- Type ---------- */
.display { font: 600 clamp(38px, calc(4.2vw + 26px), 92px)/.98 var(--font-display); letter-spacing: -.03em; }
.heading { font: 600 clamp(28px, calc(2.6vw + 20px), 54px)/1.04 var(--font-display); letter-spacing: -.022em; }
.title { font: 600 clamp(20px, 2vw, 24px)/1.2 var(--font-display); letter-spacing: -.01em; }
.numeral { font: 600 clamp(40px, 5vw, 60px)/1 var(--font-display); letter-spacing: -.025em; }
.label { font: 700 13px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--link); margin: 0 0 14px; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-muted); max-width: 56ch; }
.muted { color: var(--ink-muted); }

/* The marker: one phrase per headline, drawn on when it enters view */
mark.kraft {
  background: none; color: var(--ink); position: relative; display: inline-block;
  padding: 0 .14em; z-index: 0; white-space: nowrap;
}
mark.kraft::before {
  content: ""; position: absolute; inset: .04em 0 -.02em; background: var(--brand);
  border-radius: var(--radius-md); transform: rotate(-1deg); z-index: -1;
  transform-origin: left center;
}
.js mark.kraft::before { transform: rotate(-1deg) scaleX(0); transition: transform .9s var(--ease-out) .25s; }
.js .is-in mark.kraft::before, .js mark.kraft.is-in::before { transform: rotate(-1deg) scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: var(--radius-pill); border: 0;
  background: var(--bg); color: var(--fg); font: 700 16px/1 var(--font-sans);
  text-decoration: none; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .35s var(--ease-out);
  will-change: transform;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #ffffff55 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { --bg: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn-navy { --bg: var(--band); --fg: #fff; }
.btn-navy:hover { --bg: var(--ink); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover { --bg: var(--pop); }
.btn-ghost-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px #ffffff88; }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--ink); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow span { transition: transform .3s var(--ease-out); }
.link-arrow:hover span, a:hover .link-arrow span { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  isolation: isolate;
  transition: transform .45s var(--ease-out), border-color .3s, height .3s, background-color .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.menu-open::before { background: var(--surface); }
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo img { height: 31px; width: auto; }
.main-nav { margin-right: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--radius-pill);
  font: 600 15px/1 var(--font-sans); color: var(--ink); text-decoration: none; transition: background-color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--tint); }
.main-nav .chev { width: 12px; height: 12px; transition: transform .3s var(--ease-out); }
.has-mega { position: static; }
.has-mega:hover .chev, .has-mega.is-open .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-tool { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font-sans); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--radius-pill); }
.header-tool svg { width: 18px; height: 18px; color: var(--brand-strong); transition: transform .5s var(--ease-spring); }
.header-tool:hover { background: var(--tint); }
.header-tool:hover svg { transform: rotate(-18deg) scale(1.12); }

/* Mega menu */
.mega {
  position: absolute; left: 50%; top: calc(100% - 6px); width: min(1080px, calc(100vw - 32px));
  translate: -50% 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift); padding: 20px; display: grid; grid-template-columns: 1fr 260px; gap: 16px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transform-origin: top center;
  transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
}
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.main-nav .mega-item {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px;
  padding: 12px; border-radius: var(--radius-lg); align-items: start; height: auto; white-space: normal;
}
.mega-item b { font: 600 17px/1.2 var(--font-display); grid-column: 2; }
.mega-item small { color: var(--ink-muted); font: 400 14px/1.35 var(--font-sans); grid-column: 2; }
.mega-ico { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); position: relative; overflow: hidden; transition: background-color .25s; }
.mega-ico::after { content: ""; position: absolute; inset: 10px; background: var(--band); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mega-item:hover .mega-ico { background: var(--brand); }
.main-nav .mega-cta {
  background: var(--band); color: var(--on-band); border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; position: relative; overflow: hidden; height: auto;
}
.mega-cta::before { content: ""; position: absolute; right: -40px; top: -30px; width: 200px; height: 140px; background: url(../img/rayantech-mark-bare.svg) center / contain no-repeat; opacity: .25; transform: rotate(-12deg); }
.mega-cta .label { color: var(--pop); margin: 0; }
.mega-cta b { font: 600 22px/1.15 var(--font-display); }
.mega-cta-arrow { margin-top: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--ink); display: grid; place-items: center; font-weight: 700; transition: transform .35s var(--ease-out); }
.main-nav .mega-cta:hover { background: var(--band-deep); }
.mega-cta:hover .mega-cta-arrow { transform: translateX(6px); }

/* Icon masks (shared by mega menu and product cards) */
[data-ico="rsc"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 3 21 7.5v9L12 21l-9-4.5v-9L12 3Z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9M7.5 5.2l9 4.6'/%3E%3C/svg%3E"); }
[data-ico="mailer"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 10h18v9H3zM3 10l3-5h12l3 5M9 14h6'/%3E%3C/svg%3E"); }
[data-ico="retail"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1.5'/%3E%3Cpath d='M8 8h8M8 12h5'/%3E%3Ccircle cx='15' cy='16' r='2'/%3E%3C/svg%3E"); }
[data-ico="heavy"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='1'/%3E%3Cpath d='M3 12h18M8 8V4h8v4'/%3E%3C/svg%3E"); }
[data-ico="display"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18H5zM5 9h14M5 15h14'/%3E%3Cpath d='M8 6h3M8 12h3M8 18h3'/%3E%3C/svg%3E"); }
[data-ico="insert"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='3' width='18' height='18' rx='1.5'/%3E%3Cpath d='M9 3v18M15 3v18M3 9h18M3 15h18'/%3E%3C/svg%3E"); }
[data-ico="sheet"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M3 6h18M3 18h18'/%3E%3Cpath d='M3 12q2.25-4 4.5 0t4.5 0 4.5 0 4.5 0'/%3E%3C/svg%3E"); }

/* Mobile menu */
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--tint); border-radius: 50%; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; background: var(--surface); padding: 24px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  font: 600 30px/1.1 var(--font-display); color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); animation: rise .5s var(--ease-out) forwards;
}
.mobile-nav nav a:nth-child(2) { animation-delay: .04s; } .mobile-nav nav a:nth-child(3) { animation-delay: .08s; }
.mobile-nav nav a:nth-child(4) { animation-delay: .12s; } .mobile-nav nav a:nth-child(5) { animation-delay: .16s; }
.mobile-nav nav a:nth-child(6) { animation-delay: .2s; } .mobile-nav nav a:nth-child(7) { animation-delay: .24s; }
.mobile-nav-foot { display: grid; gap: 16px; margin-top: 32px; }
.mobile-phone { text-align: center; font-weight: 700; color: var(--ink); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; } .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; } .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; } .reveal-stagger.is-in > *:nth-child(7) { transition-delay: .48s; }

/* Split headline: words rise one by one */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; max-width: 100%; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + .1s); }
.split.is-in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--ink-muted); }
.hero-dots { display: flex; }
.hero-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -6px; }
.hero-dots i:first-child { margin-left: 0; background: var(--band); } .hero-dots i:nth-child(2) { background: var(--mid); }
.hero-dots i:nth-child(3) { background: var(--brand); } .hero-dots i:nth-child(4) { background: var(--accent); }
.hero-bg-flute { position: absolute; inset: auto -5% -40px -5%; height: 160px; opacity: .5; pointer-events: none; z-index: -1; }

.hero-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 14px; }
.stage-main {
  grid-column: 1 / -1; position: relative; aspect-ratio: 1.2; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(90deg, var(--soft) 0 30%, var(--band) 30%);
  isolation: isolate;
}
.stage-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--mid) 0 38%, transparent 38%); clip-path: polygon(0 62%, 30% 62%, 30% 100%, 0 100%); }
.stage-main::after { content: ""; position: absolute; right: -10%; top: 12%; width: 70%; height: 22%; background: var(--brand); opacity: .9; transform: rotate(-24deg); border-radius: 6px; z-index: -1; }
.stage-chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 3; display: inline-flex; gap: 10px; align-items: center;
  background: var(--ink); color: #fff; font: 700 12px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 14px; border-radius: var(--radius-md);
}
.stage-chip .live { width: 8px; height: 8px; border-radius: 50%; background: #5ee0a0; box-shadow: 0 0 0 0 #5ee0a080; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px #5ee0a000; } 100% { box-shadow: 0 0 0 0 #5ee0a000; } }
.stage-squiggle { position: absolute; right: 24px; bottom: 26px; width: 90px; z-index: 3; color: var(--brand); }
.stage-tile { border-radius: var(--radius-lg); padding: 18px 20px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--ease-out); }
.stage-tile:hover { transform: translateY(-4px); }
.stage-tile small { font-size: 13px; }
.stage-tile b { font: 600 clamp(24px, 2.6vw, 32px)/1 var(--font-display); }
.stage-tile.slate { background: var(--mid); color: var(--on-band); }
.stage-tile.mist { background: var(--soft); color: var(--ink); }

/* ---------- 3D box ---------- */
.scene { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1100px; z-index: 2; touch-action: pan-y; }
.box3d {
  --l: 220px; --w: 160px; --h: 150px; --rx: -22deg; --ry: -38deg; --flap: 0deg;
  --kraft: #c9a06c; --kraft-side: #b48a55; --kraft-top: #d8b383; --kraft-in: #a8814f;
  position: relative; width: var(--l); height: var(--h); transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .8s var(--ease-out), width .6s var(--ease-out), height .6s var(--ease-out);
}
.box3d.is-dragging { transition: none; }
.box3d .face { position: absolute; left: 0; top: 0; backface-visibility: visible; transform-style: preserve-3d; }
.box3d .front, .box3d .back { width: var(--l); height: var(--h); }
.box3d .left, .box3d .right { width: var(--w); height: var(--h); left: calc((var(--l) - var(--w)) / 2); }
.box3d .bottom { width: var(--l); height: var(--w); top: calc((var(--h) - var(--w)) / 2); }
.box3d .front { transform: translateZ(calc(var(--w) / 2)); background: var(--kraft); }
.box3d .back { transform: rotateY(180deg) translateZ(calc(var(--w) / 2)); background: var(--kraft-side); }
.box3d .right { transform: rotateY(90deg) translateZ(calc(var(--l) / 2)); background: var(--kraft-side); }
.box3d .left { transform: rotateY(-90deg) translateZ(calc(var(--l) / 2)); background: var(--kraft-side); }
.box3d .bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); background: var(--kraft-in); }
.box3d .face::before { /* corrugated edge shading */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #ffffff1f, transparent 30%, #0000000f), repeating-linear-gradient(90deg, transparent 0 7px, #00000008 7px 8px);
}
/* Top flaps: hinged on the top edge of each wall */
.box3d .flap { position: absolute; bottom: 100%; left: 0; transform-origin: bottom center; background: var(--kraft-top); transition: transform 1.1s var(--ease-out); backface-visibility: visible; }
.box3d .front .flap, .box3d .back .flap { width: var(--l); height: calc(var(--w) / 2); }
.box3d .left .flap, .box3d .right .flap { width: var(--w); height: calc(var(--w) / 2 - 2px); background: #c99f6a; bottom: calc(100% - 2px); }
.box3d .front .flap { transform: rotateX(calc(90deg - var(--flap))); }
.box3d .back .flap { transform: rotateX(calc(90deg - var(--flap))); }
.box3d .left .flap, .box3d .right .flap { transform: rotateX(calc(90deg - var(--flap) * 1.15)); transition-delay: .12s; }
.box3d.is-open { --flap: 125deg; }
.box3d .tape { position: absolute; left: calc(50% - 22px); width: 44px; background: #5d9bbfe6; }
.box3d .front .tape { top: 0; height: 36px; }
.box3d .front .flap .tape { left: calc(50% - 22px); top: auto; bottom: 0; height: 100%; }
.box3d.is-open .tape { opacity: 0; transition: opacity .2s; }
.box3d .label-card { position: absolute; left: 14%; top: 34%; width: 30%; height: 30%; background: #fff; border-radius: 3px; padding: 7% 6%; display: grid; gap: 8%; align-content: start; }
.box3d .label-card i { display: block; height: 3px; background: var(--ink); border-radius: 2px; }
.box3d .label-card i:nth-child(2) { width: 70%; } .box3d .label-card i:nth-child(3) { width: 50%; }
.box3d .handle { position: absolute; right: 16%; top: 52%; width: 22%; height: 8%; background: var(--ink); border-radius: 99px; opacity: .85; }
.box3d .print-logo { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .4s; }
.box3d .print-logo img { width: 40%; grid-area: 1 / 1; }
.box3d .print-logo .pl-rev { display: none; }
.box3d[data-print="full"] .pl-rev { display: block; } .box3d[data-print="full"] .pl-mono { display: none; }
.box3d[data-print="logo"] .print-logo, .box3d[data-print="full"] .print-logo { opacity: 1; }
.box3d[data-print="full"] .front { background: #2b4a62; }
.box3d[data-print="full"] .back, .box3d[data-print="full"] .left, .box3d[data-print="full"] .right { background: #213b4f; }
.box3d[data-print="full"] .bottom { background: #1a2f40; }
.box3d[data-print="full"] .flap { background: #355a75; }
.box3d[data-print="full"] .label-card, .box3d[data-print="full"] .handle { opacity: 0; }
.box3d[data-print="full"] .print-logo img { filter: none; }
.box3d-shadow { position: absolute; left: 50%; top: 50%; width: 120%; height: 40px; translate: -50% calc(var(--h, 150px) / 2 + 60px); background: radial-gradient(closest-side, #0f172055, transparent); filter: blur(6px); pointer-events: none; }
.hero .box3d { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

.box3d[data-print="logo"] .label-card, .box3d[data-print="logo"] .handle { opacity: 0; }
.box3d.is-hsc .flap, .box3d.is-hsc .tape { display: none; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface-raised); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 16px; font: 600 20px/1 var(--font-display); color: var(--link); white-space: nowrap; }
.ticker-item svg { width: 36px; color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Numbers row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .numeral { color: var(--brand-strong); display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat p { font-size: 15px; color: var(--ink-muted); max-width: 26ch; }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > p { color: var(--ink-muted); max-width: 46ch; justify-self: end; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center > p { justify-self: center; }

/* ---------- Product bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px;
  position: relative; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.card .title { margin-bottom: 8px; }
.card p { color: var(--ink-muted); font-size: 15px; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }
.card-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); margin-bottom: 20px; position: relative; transition: background-color .3s, transform .5s var(--ease-spring); }
.card-ico::after { content: ""; position: absolute; inset: 12px; background: var(--band); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.card:hover .card-ico { background: var(--brand); transform: rotate(-8deg) scale(1.06); }
.card-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), #ffffff40, transparent 50%); opacity: 0; transition: opacity .3s; }
.card:hover .card-glare { opacity: 1; }
.bento .c-hero { grid-column: span 7; grid-row: span 2; background: var(--soft); border: 0; min-height: 460px; justify-content: flex-end; }
.bento .c-hero .title { font-size: clamp(26px, 3vw, 34px); margin-top: auto; position: relative; }
.bento .c-hero .link-arrow { margin-top: 0; }
.bento .c-hero p { color: var(--ink); opacity: .75; max-width: 42ch; }
.bento .c-5 { grid-column: span 5; }
.bento .c-4 { grid-column: span 4; }
.bento .c-wide { grid-column: span 12; flex-direction: row; align-items: center; gap: 28px; }
.bento .c-wide p { max-width: 52ch; margin: 0; }
.bento .c-wide .card-ico { margin: 0; flex: none; }
.bento .c-wide .link-arrow { margin: 0 0 0 auto; padding: 0; }
.c-hero-art { position: absolute; inset: 0 0 38% 0; display: grid; place-items: center; perspective: 900px; pointer-events: none; }
.c-hero-art .box3d { --l: 190px; --w: 140px; --h: 120px; --rx: -20deg; --ry: -30deg; transition: transform 1.2s var(--ease-out); }
.c-hero:hover .c-hero-art .box3d { --ry: -60deg; --flap: 120deg; }

/* ---------- Flute explorer ---------- */
.explorer { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.flute-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.flute-tab {
  height: 46px; min-width: 56px; padding: 0 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--line);
  background: var(--surface-raised); font: 700 15px/1 var(--font-sans); cursor: pointer; transition: all .25s var(--ease-out);
}
.flute-tab:hover { border-color: var(--ink); }
.flute-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.flute-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.flute-specs div { background: var(--surface-raised); padding: 16px 18px; }
.flute-specs small { display: block; font: 700 12px/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.flute-specs b { font: 600 22px/1.1 var(--font-display); }
.flute-best { margin-top: 18px; color: var(--ink-muted); min-height: 3.2em; }
.flute-visual {
  background: var(--band); border-radius: var(--radius-xl); aspect-ratio: 1.25; position: relative; overflow: hidden;
  display: grid; place-items: center; padding: 8%;
}
.flute-visual svg { width: 100%; height: auto; overflow: visible; }
.flute-visual .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px); background-size: 32px 32px; }
.flute-visual .caption { position: absolute; left: 20px; top: 18px; color: var(--pop); font: 700 12px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.flute-visual .measure { position: absolute; right: 20px; bottom: 18px; color: var(--on-band); font: 600 15px/1 var(--font-sans); font-variant-numeric: tabular-nums; }
.flute-visual path, .flute-visual rect { transition: d .7s var(--ease-out), y .7s var(--ease-out), height .7s var(--ease-out), opacity .4s; }

/* ---------- Navy capabilities band ---------- */
.band { background: var(--band); color: var(--on-band); }
.band .label { color: var(--pop); }
.band .muted, .band p { color: var(--on-band-muted); }
.band mark.kraft { color: var(--ink); }
.cap-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cap-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.cap-sticky h2 { color: #fff; margin-bottom: 20px; }
.cap-sticky .btn { margin-top: 16px; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 32px 0; border-top: 1px solid #ffffff1f; }
.cap-item:last-child { border-bottom: 1px solid #ffffff1f; }
.cap-item .numeral { color: var(--brand); font-size: 44px; }
.cap-item h3 { font: 600 22px/1.25 var(--font-display); color: #fff; margin-bottom: 8px; }
.cap-item p { margin: 0; font-size: 16px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.process-line span { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { padding-top: 32px; position: relative; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); transition: all .4s var(--ease-spring); }
.step.is-active::before { background: var(--brand); border-color: var(--brand); transform: scale(1.25); }
.step .numeral { color: var(--link); display: block; margin-bottom: 18px; }
.step h3 { font: 600 24px/1.2 var(--font-display); margin-bottom: 8px; }
.step p { color: var(--ink-muted); font-size: 15px; }
.step-time { display: inline-block; margin-top: 12px; font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); background: #c9a06c26; padding: 7px 10px; border-radius: var(--radius-pill); }

/* ---------- Industries tabs ---------- */
.ind-wrap { background: var(--soft); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); }
.ind-list { display: flex; flex-direction: column; gap: 4px; }
.ind-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  border: 0; background: transparent; padding: 14px 18px; border-radius: var(--radius-lg); cursor: pointer;
  font: 600 18px/1.2 var(--font-display); color: var(--ink); transition: background-color .25s, color .25s;
}
.ind-btn::after { content: "→"; font-family: var(--font-sans); opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease-out); }
.ind-btn:hover { background: #ffffff80; }
.ind-btn[aria-selected="true"] { background: var(--band); color: #fff; }
.ind-btn[aria-selected="true"]::after { opacity: 1; transform: none; color: var(--brand); }
.ind-panel { background: var(--surface-raised); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ind-panel[hidden] { display: none; }
.ind-panel.is-entering { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.ind-panel h3 { font: 600 clamp(24px, 2.6vw, 32px)/1.1 var(--font-display); margin-bottom: 14px; }
.ind-panel ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.ind-panel li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 16px; }
.ind-panel li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8 2.5 2.5 4.5-5' fill='none' stroke='%230f1720' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ind-pains { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); font: 600 14px/1 var(--font-sans); background: transparent; color: var(--ink); text-decoration: none; }
.chip.soft { border-color: var(--line); color: var(--ink-muted); }
.ind-art { border-radius: var(--radius-lg); background: var(--band); position: relative; overflow: hidden; min-height: 280px; display: grid; place-items: center; }
.ind-art .big { font: 600 clamp(64px, 8vw, 110px)/1 var(--font-display); color: var(--brand); letter-spacing: -.03em; }
.ind-art small { position: absolute; left: 20px; bottom: 18px; color: var(--on-band-muted); font-size: 14px; max-width: 30ch; }
.ind-art .label { position: absolute; left: 20px; top: 18px; color: var(--pop); }

/* ---------- Comparison (before / after slider) ---------- */
.compare { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 8; background: var(--tint); user-select: none; touch-action: pan-y; }
.compare-side { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 6%; gap: 6%; }
.compare-before { background: #e4e7eb; }
.compare-after { background: var(--soft); clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare-copy .label { margin-bottom: 8px; }
.compare-copy h3 { font: 600 clamp(22px, 2.6vw, 32px)/1.1 var(--font-display); margin-bottom: 10px; }
.compare-copy ul { padding-left: 18px; margin: 0; color: var(--ink-muted); font-size: 15px; }
.compare-art { display: grid; place-items: center; height: 100%; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--ink); translate: -1px 0; pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-card); font-weight: 700; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-bars { width: 100%; max-width: 260px; display: grid; gap: 12px; }
.compare-bars div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-muted); }
.compare-bars i { display: block; height: 12px; border-radius: 99px; background: var(--ink-muted); }
.compare-after .compare-bars i { background: var(--band); }
/* Each side keeps its content in its own half, so the default split shows both stories */
.compare-side { grid-template-columns: 1fr; align-content: center; gap: 28px; }
.compare-before { padding-right: 56%; }
.compare-after { padding-left: 56%; }
.compare-art { height: auto; place-items: start; }
.compare-bars i { transform-origin: left; }
.js .compare:not(.is-in) .compare-bars i { transform: scaleX(0); }
.compare-bars i { transition: transform 1.2s var(--ease-out) .4s; }

/* ---------- Sustainability strip ---------- */
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eco-cycle { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.eco-cycle svg { width: 100%; height: 100%; }
.eco-ring { transform-origin: center; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.eco-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.eco-stats div { border-top: 2px solid var(--brand); padding-top: 14px; }
.eco-stats b { font: 600 34px/1 var(--font-display); display: block; margin-bottom: 6px; }
.eco-stats small { color: var(--ink-muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 600 clamp(18px, 2vw, 22px)/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); position: relative; transition: transform .4s var(--ease-out), background-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--ease-out); }
.faq details[open] summary i { background: var(--brand); transform: rotate(180deg); }
.faq details[open] summary i::after { rotate: 0deg; }
.faq .answer { overflow: hidden; color: var(--ink-muted); padding: 0 56px 24px 0; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 0; }
.cta-card {
  background: var(--brand); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 380px; height: 260px; background: url(../img/rayantech-mark-bare.svg) center / contain no-repeat; opacity: .14; filter: grayscale(1) brightness(0); transform: rotate(-10deg); }
.cta-card .label { color: var(--ink); }
.cta-card mark.kraft::before { background: #fff; }
.cta-card h2 { margin-bottom: 18px; }
.cta-card p { color: #2b2418; max-width: 52ch; }
.cta-small { font-size: 14px; }
.cta-small a { color: var(--ink); font-weight: 700; }
.mini-quote { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lift); display: grid; gap: 14px; position: relative; z-index: 1; }
.mini-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-quote label > span, .field > span { display: block; font: 700 11px/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.mini-quote input:not([type="radio"]), .input {
  width: 100%; height: 48px; border: 1.5px solid transparent; background: var(--tint); border-radius: var(--radius-md); padding: 0 14px; font-size: 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.mini-quote input:focus, .input:focus { outline: 0; border-color: var(--link); background: #fff; box-shadow: 0 0 0 4px #1f385318; }
.form-note { font-size: 13px; color: var(--ink-muted); margin: 0; }
.unit-toggle { display: inline-flex; background: var(--tint); border-radius: var(--radius-pill); padding: 4px; justify-self: start; }
.unit-toggle label { position: relative; }
.unit-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.unit-toggle span { display: block; padding: 7px 16px; border-radius: var(--radius-pill); font: 700 13px/1 var(--font-sans); transition: background-color .25s, color .25s; }
.unit-toggle input:checked + span { background: var(--ink); color: #fff; }
.unit-toggle input:focus-visible + span { box-shadow: var(--focus-ring); }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: var(--on-band); padding: 80px 0 28px; overflow: hidden; }
.site-footer a { color: var(--on-band); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.footer-brand img { height: 35px; width: auto; margin-bottom: 20px; }
.footer-brand > p { color: var(--on-band-muted); max-width: 38ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-cols p { color: var(--on-band-muted); margin: 0; }
.footer-cols .label { color: var(--pop); margin-bottom: 6px; }
.newsletter { margin-top: 28px; max-width: 420px; }
.newsletter label { display: block; font-size: 14px; color: var(--on-band-muted); margin-bottom: 10px; }
.newsletter-row { display: flex; gap: 8px; background: #ffffff12; border-radius: var(--radius-pill); padding: 5px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 16px; font-size: 15px; }
.newsletter input::placeholder { color: #ffffff70; }
.newsletter input:focus { outline: 0; }
.newsletter .form-note { color: var(--pop); margin-top: 10px; min-height: 1.4em; }
.footer-wordmark {
  font: 600 clamp(72px, 16.4vw, 236px)/.85 var(--font-display); letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1px #ffffff22; margin: 64px 0 24px; white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, #ffffff12, #ffffff12) no-repeat; -webkit-background-clip: text; background-clip: text;
  transition: -webkit-text-stroke-color .6s;
}
.footer-wordmark:hover { -webkit-text-stroke-color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid #ffffff1a; font-size: 13px; color: var(--on-band-muted); }
.footer-bottom p { margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .display { font-size: clamp(36px, calc(3.6vw + 26px), 80px); margin-bottom: 22px; max-width: 16ch; }
.page-hero .lede { margin-bottom: 28px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--ink-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.page-hero-flute.flute-line, .page-hero-flute { position: absolute; right: -4%; top: 50%; width: 46%; translate: 0 -50%; color: var(--brand); opacity: .9; pointer-events: none; }

/* ---------- Product rows (Boxes page) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); transition: top .45s var(--ease-out); }
.site-header.is-hidden ~ main .subnav { top: 0; }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: grab; }
.subnav-inner.is-dragging { cursor: grabbing; user-select: none; }
.subnav-inner.is-dragging a { pointer-events: none; }
.subnav { overflow: hidden; }
.subnav::before, .subnav::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .25s; }
.subnav::before { left: 0; background: linear-gradient(90deg, var(--surface) 35%, transparent); }
.subnav::after { right: 0; background: linear-gradient(-90deg, var(--surface) 35%, transparent); }
.subnav.can-left::before, .subnav.can-right::after { opacity: 1; }
.subnav-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); font: 600 20px/1 var(--font-sans); cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; opacity: 0; pointer-events: none; transition: opacity .25s, background-color .2s; box-shadow: var(--shadow-card); }
.subnav-arrow:hover { background: var(--tint); }
.subnav-arrow.prev { left: 8px; } .subnav-arrow.next { right: 8px; }
.subnav.can-left .subnav-arrow.prev, .subnav.can-right .subnav-arrow.next { opacity: 1; pointer-events: auto; }
.product { scroll-margin-top: calc(var(--header-h) + 64px); }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 16px; border-radius: var(--radius-pill); font: 600 14px/1 var(--font-sans); color: var(--ink-muted); text-decoration: none; transition: all .25s; }
.subnav a:hover { color: var(--ink); background: var(--tint); }
.subnav a.is-active { background: var(--ink); color: #fff; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.product:nth-child(even) .product-visual { order: 2; }
.product-visual { border-radius: var(--radius-xl); aspect-ratio: 1.1; position: relative; overflow: hidden; display: grid; place-items: center; perspective: 1000px; }
.product-visual.v-mist { background: var(--soft); } .product-visual.v-navy { background: var(--band); }
.product-visual.v-slate { background: var(--mid); } .product-visual.v-tint { background: var(--tint); } .product-visual.v-ice { background: var(--pop); }
.product-visual .tagline { position: absolute; left: 18px; bottom: 16px; font: 700 12px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 9px 12px; border-radius: var(--radius-md); }
.product h2 { margin-bottom: 14px; }
.product .lede { margin-bottom: 22px; }
.best-for { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.benefits { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.benefits li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.benefits li::before { content: ""; width: 22px; height: 22px; border-radius: 6px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8 2.5 2.5 4.5-5' fill='none' stroke='%230f1720' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 2px; }
.benefits b { display: block; }
.benefits span { color: var(--ink-muted); font-size: 15px; }
.spec-toggle { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); margin-bottom: 26px; overflow: hidden; }
.spec-toggle summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-weight: 700; }
.spec-toggle summary::-webkit-details-marker { display: none; }
.spec-toggle summary::after { content: "+"; font: 600 22px/1 var(--font-display); transition: transform .3s var(--ease-out); }
.spec-toggle[open] summary::after { transform: rotate(45deg); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 600; color: var(--ink-muted); }

/* Illustrations for products */
.ill-mailer { position: relative; width: 62%; aspect-ratio: 1.5; transform: rotateX(55deg) rotateZ(-30deg); transform-style: preserve-3d; transition: transform 1s var(--ease-out); }
.product-visual:hover .ill-mailer, .product-visual.is-tapped .ill-mailer { transform: rotateX(50deg) rotateZ(-20deg); }
.ill-mailer .base { position: absolute; inset: 0; background: #fff; border-radius: 4px; box-shadow: 0 0 0 10px var(--brand) inset; }
.ill-mailer .base::after { content: "Hello, you."; position: absolute; inset: 0; display: grid; place-items: center; font: 600 clamp(18px, 2.4vw, 28px)/1 var(--font-display); color: var(--band); }
.ill-mailer .lid { position: absolute; inset: 0; background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-strong); border-radius: 4px; transform-origin: top; transform: rotateX(-110deg); transition: transform 1.2s var(--ease-out); display: grid; place-items: center; backface-visibility: visible; }
.ill-mailer .lid img { width: 40%; transform: rotate(180deg) scaleX(-1); }
.product-visual:hover .ill-mailer .lid, .product-visual.is-tapped .ill-mailer .lid { transform: rotateX(-160deg); }
.ill-sheets { width: 70%; display: grid; gap: 0; transform: rotateX(58deg) rotateZ(-35deg); transform-style: preserve-3d; }
.ill-sheets i { display: block; height: 22px; background: var(--brand); border-radius: 3px; margin-top: -10px; box-shadow: 0 6px 0 #a67c48, 0 14px 24px -8px #0f172066; transition: transform .6s var(--ease-out); transform: translateZ(calc(var(--n) * 8px)); }
.product-visual:hover .ill-sheets i, .product-visual.is-tapped .ill-sheets i { transform: translateZ(calc(var(--n) * 22px)); }
.ill-grid { width: 54%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: var(--brand-strong); border-radius: 8px; transform: rotateX(50deg) rotateZ(-30deg); transition: transform 1s var(--ease-out); }
.ill-grid i { background: var(--brand); border-radius: 3px; display: grid; place-items: center; transition: background-color .4s; }
.ill-grid i::after { content: ""; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--band); transform: scale(0); transition: transform .5s var(--ease-spring); transition-delay: calc(var(--n) * 50ms); }
.product-visual:hover .ill-grid i::after, .product-visual.is-tapped .ill-grid i::after { transform: scale(1); }
.ill-display { width: 44%; aspect-ratio: .55; position: relative; }
.ill-display .back { position: absolute; inset: 0; background: var(--band); border-radius: 8px 8px 4px 4px; display: grid; place-items: start center; padding-top: 14%; }
.ill-display .back img { width: 60%; }
.ill-display .shelf { position: absolute; left: -6%; right: -6%; height: 16%; background: var(--brand); border-radius: 4px; box-shadow: 0 8px 0 var(--brand-strong); }
.ill-display .shelf:nth-of-type(2) { top: 40%; } .ill-display .shelf:nth-of-type(3) { top: 64%; } .ill-display .shelf:nth-of-type(4) { top: 88%; }
.ill-display .item { position: absolute; width: 16%; height: 14%; background: #fff; border-radius: 4px 4px 2px 2px; transform: translateY(30px); opacity: 0; transition: all .6s var(--ease-spring); transition-delay: calc(var(--n) * 60ms); }
.product-visual:hover .ill-display .item, .product-visual.is-tapped .ill-display .item, .product-visual.is-in .ill-display .item { transform: none; opacity: 1; }

/* ---------- OEM page ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.program { padding: 32px; }
.program .numeral { color: var(--brand-strong); font-size: 40px; margin-bottom: 24px; }
.program .who { font: 700 12px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--link); background: var(--tint); padding: 8px 10px; border-radius: var(--radius-pill); align-self: flex-start; margin-bottom: 16px; }
.program.featured { background: var(--band); color: var(--on-band); border: 0; }
.program.featured .title { color: #fff; } .program.featured p { color: var(--on-band-muted); }
.program.featured .who { background: #ffffff14; color: var(--pop); }
.program.featured .numeral { color: var(--brand); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { border-top: 2px solid var(--brand); padding-top: 20px; }
.promise h3 { font: 600 22px/1.2 var(--font-display); margin-bottom: 8px; color: #fff; }
.unbranded { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.swap-stage { aspect-ratio: 1.1; background: var(--tint); border-radius: var(--radius-xl); position: relative; display: grid; place-items: center; perspective: 1000px; overflow: hidden; }
.swap-controls { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: flex; background: #fff; border-radius: var(--radius-pill); padding: 4px; box-shadow: var(--shadow-card); z-index: 3; }
.swap-controls button { border: 0; background: transparent; padding: 10px 16px; border-radius: var(--radius-pill); font: 700 13px/1 var(--font-sans); cursor: pointer; transition: all .25s; white-space: nowrap; }
.swap-controls button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: t; }
.timeline li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; counter-increment: t; position: relative; }
.timeline li::before { content: counter(t, decimal-leading-zero); font: 600 32px/1 var(--font-display); color: var(--brand-strong); display: block; margin-bottom: 18px; }
.timeline b { display: block; font: 600 18px/1.2 var(--font-display); margin-bottom: 6px; }
.timeline span { font-size: 14px; color: var(--ink-muted); }

/* ---------- Industries page ---------- */
.ind-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-card { min-height: 360px; padding: 0; }
.ind-card-top { background: var(--band); color: #fff; padding: 28px; min-height: 170px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: background-color .4s; }
.ind-card:hover .ind-card-top { background: var(--band-deep); }
.ind-card-top .big { position: absolute; right: -6px; top: -20px; font: 600 120px/1 var(--font-display); color: #ffffff10; transition: transform .8s var(--ease-out), color .4s; }
.ind-card:hover .ind-card-top .big { transform: translateY(14px); color: #c9a06c40; }
.ind-card-top h3 { font: 600 26px/1.1 var(--font-display); position: relative; }
.ind-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.ind-card-body ul { margin: 0; padding-left: 18px; color: var(--ink-muted); font-size: 15px; display: grid; gap: 6px; }

/* ---------- How it works page ---------- */
.flow { position: relative; max-width: 980px; margin: 0 auto; }
.flow-line { position: absolute; left: 39px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.flow-line span { display: block; width: 100%; height: 100%; background: var(--brand); transform-origin: top; transform: scaleY(var(--p, 0)); }
.flow-step { display: grid; grid-template-columns: 80px 1fr 220px; gap: 28px; padding: 28px 0; align-items: start; position: relative; }
.flow-dot { width: 80px; height: 80px; border-radius: 50%; background: var(--surface-raised); border: 2px solid var(--line); display: grid; place-items: center; font: 600 26px/1 var(--font-display); color: var(--ink-muted); position: relative; z-index: 1; transition: all .5s var(--ease-spring); }
.flow-step.is-active .flow-dot { background: var(--brand); border-color: var(--brand); color: var(--ink); transform: scale(1.06); }
.flow-step h3 { font: 600 28px/1.15 var(--font-display); margin: 12px 0 10px; }
.flow-step p { color: var(--ink-muted); }
.flow-meta { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; margin-top: 10px; }
.flow-meta small { display: block; font: 700 11px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.flow-meta b { display: block; font: 600 20px/1.2 var(--font-display); margin: 4px 0 12px; }
.flow-meta b:last-child { margin-bottom: 0; }
.callout { background: var(--pop); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.callout h3 { font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--font-display); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 28px; min-height: 240px; }
.value .numeral { font-size: 32px; color: var(--brand-strong); margin-bottom: auto; padding-bottom: 32px; }
.qa-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: #ffffff1f; border-radius: var(--radius-lg); overflow: hidden; }
.qa-list li { background: var(--band); padding: 20px 24px; display: flex; gap: 16px; align-items: center; color: var(--on-band); }
.qa-list li b { color: var(--brand); font: 600 20px/1 var(--font-display); min-width: 32px; }
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.story-body p { font-size: 19px; line-height: 1.6; }
.story-body p:first-child::first-letter { font: 600 4.2em/.8 var(--font-display); float: left; margin: .06em .12em 0 0; color: var(--brand-strong); }

/* ---------- Box Builder ---------- */
.builder { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.builder-stage {
  position: sticky; top: calc(var(--header-h) + 20px); background: var(--band); border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 1.05; display: flex; flex-direction: column;
}
.builder-stage .scene { position: relative; flex: 1; cursor: grab; }
.builder-stage .scene:active { cursor: grabbing; }
.builder-stage .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg, #ffffff0b 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(closest-side, #000, transparent); }
.stage-top { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 4; gap: 10px; }
.stage-top .label { color: var(--pop); margin: 0; }
.stage-btns { display: flex; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ffffff14; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--ease-spring); }
.icon-btn:hover { background: #ffffff26; transform: scale(1.08); }
.icon-btn[aria-pressed="true"] { background: var(--brand); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.stage-dims { position: absolute; left: 18px; top: 60px; z-index: 4; color: var(--on-band); font: 600 15px/1 var(--font-sans); display: flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.stage-dims span { background: #ffffff14; padding: 8px 10px; border-radius: var(--radius-md); }
.stage-hint { position: absolute; right: 18px; top: 68px; z-index: 4; color: var(--on-band-muted); font-size: 13px; }
.dieline-wrap { background: #172836; border-top: 1px solid #ffffff14; padding: 14px 18px 16px; color: var(--on-band-muted); font-size: 13px; }
.dieline-wrap .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.dieline-wrap b { color: #fff; font-weight: 600; }
.dieline { width: 100%; height: 110px; }
.dieline .cut { fill: #c9a06c22; stroke: var(--brand); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dieline .score { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }

.builder-panel { display: grid; gap: 14px; }
.panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.panel-head h3 { font: 600 20px/1.2 var(--font-display); display: flex; align-items: center; gap: 10px; }
.panel-head h3 i { font: 700 12px/1 var(--font-sans); font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.choice .choice-card { border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 12px; display: grid; gap: 4px; height: 100%; transition: all .25s var(--ease-out); }
.choice .choice-card b { font-size: 15px; }
.choice .choice-card small { font-size: 12.5px; color: var(--ink-muted); line-height: 1.35; }
.choice:hover .choice-card { border-color: var(--ink-muted); }
.choice input:checked + .choice-card { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }
.choice input:checked + .choice-card small { color: #ffffffb3; }
.choice input:focus-visible + .choice-card { box-shadow: var(--focus-ring); }
.slider-row { display: grid; grid-template-columns: 70px 1fr 92px; gap: 14px; align-items: center; margin-bottom: 12px; }
.slider-row:last-child { margin-bottom: 0; }
.slider-row label { font-weight: 600; font-size: 15px; }
.num { display: flex; align-items: center; background: var(--tint); border-radius: var(--radius-md); padding-right: 10px; }
.num input { width: 100%; height: 40px; border: 0; background: transparent; padding: 0 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.num input:focus { outline: 0; }
.num:focus-within { box-shadow: 0 0 0 2px var(--link); }
.num span { font-size: 13px; color: var(--ink-muted); }
input[type="range"].range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--fill, 50%), var(--line) var(--fill, 50%)); cursor: pointer; }
input[type="range"].range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 6px #0f172030; transition: transform .2s var(--ease-spring); }
input[type="range"].range::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"].range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.select { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius-md); background: #fff; padding: 0 12px; font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.result { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.result::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 120px; background: url(../img/rayantech-mark-bare.svg) center / contain no-repeat; opacity: .12; transform: rotate(-12deg); }
.result .label { color: var(--pop); }
.result-grade { font: 600 clamp(30px, 3.4vw, 40px)/1.05 var(--font-display); margin-bottom: 6px; }
.result-why { color: #ffffffb3; font-size: 15px; margin-bottom: 18px; min-height: 3em; }
.meter { margin-bottom: 18px; }
.meter-bar { height: 10px; background: #ffffff1a; border-radius: 99px; overflow: hidden; position: relative; }
.meter-bar span { position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); background: linear-gradient(90deg, var(--accent), var(--brand)); border-radius: 99px; transition: width .7s var(--ease-out); }
.meter-bar i { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #fff; left: var(--need, 0%); transition: left .7s var(--ease-out); }
.meter-legend { display: flex; justify-content: space-between; font-size: 12.5px; color: #ffffff99; margin-top: 8px; }
.result-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #ffffff1a; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 18px; }
.result-specs div { background: var(--ink); padding: 12px 14px; }
.result-specs small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #ffffff80; margin-bottom: 4px; }
.result-specs b { font: 600 18px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.result .form-note { color: #ffffff80; margin-top: 12px; }
.flash { animation: flash .6s var(--ease-out); }
@keyframes flash { 0% { color: var(--brand); } }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.quote-form { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 32px; list-style: none; padding: 0; }
.stepper li { font: 700 12px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.stepper li::before { content: ""; display: block; height: 4px; border-radius: 99px; background: var(--line); margin-bottom: 10px; transition: background-color .4s; }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--brand); }
.stepper li.is-current { color: var(--ink); }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-step[hidden] { display: none; }
.q-step.is-entering { animation: panelIn .5s var(--ease-out); }
.q-step legend { font: 600 clamp(26px, 3vw, 34px)/1.1 var(--font-display); margin-bottom: 8px; padding: 0; }
.q-step .hint { color: var(--ink-muted); margin-bottom: 24px; }
.field { display: block; margin-bottom: 18px; }
.field .input { background: var(--surface); border-color: var(--line); }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.field-row.two { grid-template-columns: 1fr 1fr; }
.field.invalid .input { border-color: #b03c1b; background: #fdf3f0; }
.field .err { display: none; color: #b03c1b; font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.style-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.style-picker .choice-card { text-align: center; justify-items: center; padding: 16px 10px; }
.style-picker svg { width: 44px; height: 44px; margin-bottom: 6px; color: var(--band); transition: color .25s; }
.style-picker input:checked + .choice-card svg { color: var(--brand); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.seg .choice-card { padding: 10px 16px; border-radius: var(--radius-pill); }
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; color: var(--ink-muted); transition: all .25s; cursor: pointer; display: block; margin-bottom: 18px; }
.dropzone:hover, .dropzone.is-over { border-color: var(--brand); background: #c9a06c12; color: var(--ink); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone b { color: var(--ink); }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); gap: 12px; }
.q-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.q-summary { background: var(--band); color: var(--on-band); border-radius: var(--radius-xl); padding: 24px; }
.q-summary .label { color: var(--pop); }
.q-summary dl { margin: 0; display: grid; gap: 0; }
.q-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ffffff1a; font-size: 15px; }
.q-summary dt { color: var(--on-band-muted); }
.q-summary dd { margin: 0; font-weight: 600; text-align: right; }
.q-trust { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 22px; display: grid; gap: 14px; font-size: 15px; }
.q-trust div { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.q-trust p { margin: 0; }
.q-trust b { display: block; }
.q-trust span { color: var(--ink-muted); font-size: 14px; }
.q-trust i { width: 32px; height: 32px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; font-style: normal; }
.q-done { text-align: center; padding: 40px 0; }
.q-done .check { width: 88px; height: 88px; margin: 0 auto 24px; }
.q-done .check circle { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s var(--ease-out) forwards; }
.q-done .check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease-out) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost .display { margin: 28px 0 16px; }
.lost-box { width: 140px; margin: 0 auto; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 25% { transform: rotate(-6deg) translateY(-6px); } 75% { transform: rotate(5deg); } }

/* ---------- Signature flute line (animated SVG) ---------- */
.flute-line { width: 100%; height: 24px; color: var(--brand); }
.flute-line path { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 2s var(--ease-out); }
.flute-line.is-in path { stroke-dashoffset: 0; }

/* ---------- Partner credentials ---------- */
.creds { background: linear-gradient(180deg, var(--surface) 0, var(--tint) 100%); }
.creds-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.cred-hero { grid-row: span 2; background: var(--band); color: var(--on-band); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.cred-hero .label { color: var(--pop); margin-top: auto; }
.cred-hero .title { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.cred-hero p { color: var(--on-band-muted); }
.cred-hero b { color: var(--brand); font-weight: 700; white-space: nowrap; }
.cred-hero .link-arrow { color: #fff; margin-top: 18px; }
.cred-seal { width: 132px; height: 132px; color: var(--brand); margin-bottom: 40px; }
.cred-seal svg { width: 100%; height: 100%; overflow: visible; }
.cred-seal text { animation: spin 26s linear infinite; transform-box: view-box; transform-origin: 50% 50%; }
.cred { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; position: relative; overflow: hidden; }
.cred:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.cred .title { font-size: 20px; margin-bottom: 6px; }
.cred p { color: var(--ink-muted); font-size: 15px; margin: 0; }
.cred-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--band); display: grid; place-items: center; margin-bottom: 18px; transition: background-color .3s, transform .5s var(--ease-spring); }
.cred-ico svg { width: 24px; height: 24px; }
.cred:hover .cred-ico { background: var(--brand); transform: rotate(-8deg) scale(1.06); }
.cap-numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.cap-numbers > div { padding: 28px 24px; border-right: 1px solid var(--line); }
.cap-numbers > div:last-child { border-right: 0; }
.cap-numbers .numeral { display: block; color: var(--brand-strong); font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cap-numbers p { color: var(--ink-muted); font-size: 14px; margin: 0; }
.trusted { margin-top: 40px; text-align: center; }
.trusted-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trusted-row span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--line); font: 600 15px/1 var(--font-sans); transition: transform .3s var(--ease-spring), border-color .3s; }
.trusted-row span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.trusted-row span:hover { transform: translateY(-3px); border-color: var(--brand); }
.creds-note { text-align: center; margin-top: 20px; }
@media (max-width: 1024px) {
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .cred-hero { grid-column: 1 / -1; grid-row: auto; }
  .cred-seal { margin-bottom: 24px; }
  .cap-numbers { grid-template-columns: 1fr 1fr; }
  .cap-numbers > div:nth-child(2) { border-right: 0; }
  .cap-numbers > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .creds-grid { grid-template-columns: 1fr; }
  .cap-numbers > div { padding: 20px 16px; }
  .cap-numbers .numeral { font-size: 30px; }
  .trusted-row span { font-size: 14px; height: 36px; padding: 0 14px; }
}

/* ---------- Partner logo wall ---------- */
.logo-wall { margin-bottom: 16px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 32px); }
.logo-wall-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.logo-wall-head .label { margin: 0; }
.logo-filter { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--tint); border-radius: var(--radius-pill); padding: 4px; }
.logo-filter button { border: 0; background: transparent; border-radius: var(--radius-pill); padding: 8px 14px; font: 700 13px/1 var(--font-sans); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: background-color .25s, color .25s; }
.logo-filter button i { font-style: normal; font-size: 11px; background: #0f172014; border-radius: 99px; padding: 3px 7px; }
.logo-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.logo-filter button[aria-pressed="true"] i { background: #ffffff26; }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.logo-tile { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 10px; min-height: 168px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.logo-tile.is-cert { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.logo-tag { align-self: flex-start; font: 700 10px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); background: var(--tint); padding: 5px 8px; border-radius: var(--radius-pill); }
.is-cert .logo-tag { background: var(--brand); color: var(--ink); }
.logo-art { flex: 1; display: grid; place-items: center; min-height: 80px; }
.logo-art img { width: 100%; max-height: 72px; object-fit: contain; transition: filter .4s, opacity .4s, transform .5s var(--ease-spring); }

.logo-tile:hover .logo-art img { transform: scale(1.06); }
.logo-text { font: 600 15px/1.2 var(--font-display); text-align: center; color: var(--link); }
.logo-tile p { margin: 0; font-size: 12px; line-height: 1.35; color: var(--ink-muted); }
.logo-tile p b { display: block; color: var(--ink); font-size: 13px; }
.logo-grid.is-filtering .logo-tile.is-out { display: none; }
.logo-tile.is-pop { animation: panelIn .45s var(--ease-out); }

/* ---------- Customers and testimonials ---------- */
.draft-flag { background: repeating-linear-gradient(-45deg, #fff4e0, #fff4e0 10px, #ffedcc 10px, #ffedcc 20px); border: 1px dashed var(--brand-strong); color: #6b4a1f; border-radius: var(--radius-md); padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 28px; }
.customer-strip { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.customer-strip li { height: 88px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; color: var(--ink-muted); font: 600 13px/1 var(--font-sans); background: var(--surface-raised); transition: border-color .3s; }
.customer-strip li:hover { border-color: var(--brand); }
.quotes { position: relative; }
.quotes-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-card { margin: 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.quote-card::before { content: "\201C"; position: absolute; right: 18px; top: -14px; font: 600 140px/1 var(--font-display); color: #c9a06c2e; }
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.quote-stars { color: var(--brand); letter-spacing: 3px; font-size: 16px; }
.quote-card blockquote { margin: 0; font: 500 18px/1.5 var(--font-sans); color: var(--ink); flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-muted); }
.quote-card figcaption b { display: block; color: var(--ink); font-size: 15px; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--band); color: var(--brand); display: grid; place-items: center; font: 600 15px/1 var(--font-display); flex: none; }
.quotes-nav { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.quotes-nav .icon-btn { background: var(--tint); color: var(--ink); }
.quotes-dots { display: flex; gap: 6px; }
.quotes-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .35s var(--ease-out), background-color .3s; }
.quotes-dots i.is-active { width: 24px; background: var(--brand); }
@media (max-width: 1180px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1024px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .customer-strip { grid-template-columns: repeat(3, 1fr); }
  .quotes-track { grid-template-columns: 1fr; }
  .quote-card { display: none; }
  .quote-card.is-active { display: flex; animation: panelIn .5s var(--ease-out); }
  .quotes-nav { display: flex; }
}
@media (max-width: 680px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { min-height: 150px; }
  .customer-strip { grid-template-columns: repeat(2, 1fr); }
  .quote-card blockquote { font-size: 16px; }
}

/* ---------- Production film ---------- */
.film { background: var(--band-deep); color: var(--on-band); }
.film .label { color: var(--pop); }
.film .heading { color: #fff; }
.film .section-head > p { color: var(--on-band-muted); }
.film-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: stretch; }
.film-player { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: #000; aspect-ratio: 16 / 9; outline: none; isolation: isolate; box-shadow: 0 40px 80px -40px #000; }
.film-player:focus-visible { box-shadow: 0 0 0 3px var(--brand); }
.film-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; transform: scale(1.02); transition: transform 6s linear; }
.film-player.is-playing video { transform: scale(1.06); }
.film-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #0f172066 0, transparent 22%, transparent 60%, #0f1720cc 100%); }
.film-chip { position: absolute; left: 16px; top: 16px; display: inline-flex; gap: 8px; align-items: center; background: #0f1720b3; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 700 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; border-radius: var(--radius-pill); }
.film-chip .live { width: 8px; height: 8px; border-radius: 50%; background: #5ee0a0; animation: pulse 2s infinite; }
.film-big-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 88px; height: 88px; border-radius: 50%; border: 0; background: var(--brand); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 0 #c9a06c80; animation: ring 2.4s infinite; transition: opacity .35s, transform .35s var(--ease-spring); }
.film-big-play svg { width: 34px; height: 34px; margin-left: 4px; }
.film-big-play:hover { transform: scale(1.08); }
.film-player.is-playing .film-big-play { opacity: 0; pointer-events: none; transform: scale(.8); }
@keyframes ring { 70% { box-shadow: 0 0 0 22px #c9a06c00; } 100% { box-shadow: 0 0 0 0 #c9a06c00; } }
.film-controls { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-pill); background: #0f1720b3; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .35s, transform .35s var(--ease-out); }
.film-player.is-playing:not(:hover):not(:focus-within) .film-controls { opacity: 0; transform: translateY(8px); }
.film-btn { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.film-btn:hover { background: #ffffff1f; }
.film-btn svg { width: 20px; height: 20px; }
.film-btn .i-pause, .film-player.is-playing .film-btn .i-play { display: none; }
.film-player.is-playing .film-btn .i-pause { display: block; }
.film-btn .i-sound, .film-player.is-sound .film-btn .i-muted { display: none; }
.film-player.is-sound .film-btn .i-sound { display: block; }
.film-bar { position: relative; flex: 1; height: 6px; border-radius: 99px; background: #ffffff2e; cursor: pointer; touch-action: none; }
.film-bar::before { content: ""; position: absolute; inset: -10px 0; }
.film-bar:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.film-bar-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.film-time { color: #ffffffcc; font: 600 12px/1 var(--font-sans); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 74px; text-align: right; }
.film-chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.film-chapters li { flex: 1; display: flex; }
.film-chapters button { position: relative; overflow: hidden; flex: 1; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; text-align: left; padding: 8px; border: 1px solid #ffffff14; border-radius: var(--radius-lg); background: #ffffff08; color: var(--on-band); cursor: pointer; transition: background-color .25s, border-color .25s, transform .35s var(--ease-out); }
.film-chapters button:hover { background: #ffffff12; transform: translateX(-3px); }
.film-chapters button.is-active { background: #ffffff17; border-color: var(--brand); }
.film-chapters img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; filter: saturate(.7); transition: filter .3s; }
.film-chapters button.is-active img, .film-chapters button:hover img { filter: none; }
.film-chapters b { display: block; font: 600 16px/1.2 var(--font-display); color: #fff; margin-bottom: 2px; }
.film-chapters small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--on-band-muted); }
.ch-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.film-note { color: var(--on-band-muted); margin-top: 16px; }

/* Ambient background video behind a page hero */
.page-hero.has-ambient { isolation: isolate; }
.ambient-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .22; }
.page-hero.has-ambient::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--surface) 30%, color-mix(in srgb, var(--surface) 55%, transparent) 70%, color-mix(in srgb, var(--surface) 20%, transparent)); }

@media (max-width: 1024px) {
  .film-grid { grid-template-columns: 1fr; }
  .film-chapters { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .film-chapters li { flex: 0 0 230px; scroll-snap-align: start; }
  .film-chapters button:hover { transform: none; }
}
@media (max-width: 680px) {
  .film-big-play { width: 68px; height: 68px; }
  .film-big-play svg { width: 26px; height: 26px; }
  .film-controls { left: 8px; right: 8px; bottom: 8px; gap: 4px; padding: 4px 6px; }
  .film-time { display: none; }
  .film-chip { font-size: 10px; padding: 7px 10px; }
  .film-chapters li { flex-basis: 200px; }
  .film-chapters button { grid-template-columns: 72px 1fr; }
  .film-chapters img { width: 72px; height: 44px; }
  .film-chapters small { display: none; }
  .ambient-video { opacity: .16; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 9px; font-size: 14.5px; }
  .header-tool { display: none; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .hero-grid, .explorer, .cap-grid, .eco, .unbranded, .story, .builder, .quote-layout { grid-template-columns: 1fr; }
  .cap-sticky, .builder-stage, .q-aside { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bento .c-hero { grid-column: span 12; min-height: 420px; }
  .bento .c-5 { grid-column: span 6; }
  .bento .c-4 { grid-column: span 6; }
  .ind-wrap { grid-template-columns: 1fr; }
  .ind-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .ind-btn { flex: none; font-size: 16px; }
  .ind-btn::after { display: none; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-line { display: none; }
  .programs, .ind-cards { grid-template-columns: 1fr 1fr; }
  .promise-grid, .values { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .product, .product:nth-child(even) { grid-template-columns: 1fr; }
  .product:nth-child(even) .product-visual { order: 0; }
  .cta-card { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero-flute { display: none; }
  .flow-step { grid-template-columns: 80px 1fr; }
  .flow-step .flow-meta { grid-column: 2; }
  .builder-stage { aspect-ratio: auto; height: 520px; }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  mark.kraft { white-space: normal; }
  body { font-size: 16px; }
  .logo img { height: 26px; }
  .header-actions .btn { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-head > p { justify-self: start; }
  .hero-stage { grid-template-columns: 1fr 1fr; }
  .stage-main { aspect-ratio: 1; }
  .scene .box3d { scale: .78; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .stat .numeral { font-size: 32px; white-space: nowrap; }
  .stage-tile b { font-size: 22px; }
  .bento .c-5, .bento .c-4 { grid-column: span 12; }
  .bento .c-wide { flex-direction: column; align-items: flex-start; }
  .bento .c-wide .link-arrow { margin: 0; }
  .flute-specs { grid-template-columns: 1fr 1fr 1fr; }
  .flute-specs div { padding: 12px; }
  .flute-specs b { font-size: 17px; }
  .cap-item { grid-template-columns: 56px 1fr; }
  .cap-item .numeral { font-size: 32px; }
  .process { grid-template-columns: 1fr; }
  .ind-panel { grid-template-columns: 1fr; }
  .ind-art { min-height: 200px; }
  .compare { aspect-ratio: auto; height: 520px; }
  .compare-before { padding: 8% 52% 8% 6%; } .compare-after { padding: 8% 6% 8% 52%; }
  .compare-art { display: grid; } .compare-bars div { grid-template-columns: 1fr; gap: 4px; }
  .eco-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .eco-stats b { font-size: 26px; }
  .programs, .ind-cards, .promise-grid, .values, .timeline { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .faq .answer { padding-right: 0; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .style-picker { grid-template-columns: 1fr 1fr; }
  .field-row, .field-row.two, .two-col { grid-template-columns: 1fr; }
  .mini-dims { grid-template-columns: repeat(3, 1fr); }
  .slider-row { grid-template-columns: 56px 1fr 84px; gap: 10px; }
  .flow-line { left: 27px; }
  .flow-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .flow-dot { width: 56px; height: 56px; font-size: 20px; }
  .builder-stage { height: 440px; }
  .stage-hint { display: none; }
  .stepper li { font-size: 10px; letter-spacing: .04em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > *, .split .w > span { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
