/* Titanym. Brand tokens from the pitch deck. Every visual on the page is drawn in code. */
:root {
  --void: #080E18;
  --navy: #0D1A2E;
  --carbon: #111827;
  --steel: #1E3A5F;
  --horizon: #2A5298;
  --platinum: #C8D4E0;
  --mist: #8FA3B8;
  --amber: #E8A030;
  --gold: #F0C060;
  --white: #F4F7FA;
  --text: #D8E4EF;
  --sapph: #7FA8E8;

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --ex { syntax: "<number>"; inherits: true; initial-value: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--void); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--white); margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--amber); color: var(--void); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: var(--void); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.amber { color: var(--amber); }
.sapph { color: var(--sapph); }
.ti { color: var(--amber); }

.eyebrow {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.fine { font-size: 13px; line-height: 1.5; color: var(--mist); }

h2 { font-size: clamp(2.3rem, 5.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.sec-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-lead { margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--mist); max-width: 680px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--void); }
.btn-amber:hover { background: var(--gold); }
.btn-line { border-color: rgba(200, 212, 224, .35); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }

/* Header */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.bar.is-solid { background: rgba(8, 14, 24, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(30, 58, 95, .7); }
.bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; gap: 32px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--white); text-decoration: none; }
.bar-nav { display: flex; gap: 28px; margin-left: auto; }
.bar-nav a { text-decoration: none; font-size: 15px; color: var(--text); position: relative; padding: 4px 0; }
.bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.bar-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.bar-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 112px 0 80px; overflow: clip; isolation: isolate; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--void)); z-index: -1; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-h { font-size: clamp(2.9rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.hero-sub { margin-top: 28px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 560px; color: var(--mist); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { display: grid; justify-items: center; gap: 20px; }
.hero-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--mist); letter-spacing: .02em; }
.hero-legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.sw-rf { background: var(--amber); }
.sw-sa { background: var(--sapph); }
.sw-si { background: var(--platinum); }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(200, 212, 224, .4); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* 3D wafer */
.wafer3d {
  --d: clamp(260px, 34vw, 500px);
  --tx: 0deg; --ty: 0deg; --rz: -24deg;
  position: relative; width: var(--d); height: calc(var(--d) * .86);
  perspective: 1500px; perspective-origin: 50% 30%;
  display: grid; place-items: center;
}
.w-stage {
  position: relative; width: var(--d); height: var(--d);
  transform-style: preserve-3d;
  transform: rotateX(calc(60deg + var(--tx))) rotateY(var(--ty)) rotateZ(calc(var(--rz) + var(--spin)));
}
#hero-wafer { animation: breathe 6s ease-in-out infinite alternate; }
#hero-wafer .w-stage { animation: spin 36s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
@keyframes breathe { from { --ex: 6; } to { --ex: 34; } }

.w-layer { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--z0) + var(--dir) * var(--ex) * 1px)); }
.w-sige  { --z0: -18px; --dir: -1; --edge: #3B536E; --step: 1.3px; }
.w-sapph { --z0: -8px;  --dir: 0;  --edge: rgba(90, 140, 220, .30); --step: 1.6px; }
.w-rf    { --z0: 10px;  --dir: 1;  --edge: #8A5A14; --step: 1.2px; }
.slice { position: absolute; inset: 0; border-radius: 50%; background: var(--edge); transform: translateZ(calc(var(--i) * var(--step))); transition: filter .6s var(--ease), opacity .6s var(--ease); }

.w-rf .face {
  background:
    linear-gradient(90deg, rgba(60, 32, 0, .5) 1.5px, transparent 1.5px) 50% 50% / 8.5% 8.5%,
    linear-gradient(rgba(60, 32, 0, .5) 1.5px, transparent 1.5px) 50% 50% / 8.5% 8.5%,
    radial-gradient(circle at 34% 28%, #FFE6A8 0%, #F0C060 24%, #E8A030 52%, #9C6116 100%);
  box-shadow: inset 0 0 0 4px rgba(255, 224, 160, .45), inset 0 0 0 7px rgba(80, 44, 0, .5); /* taste-skill-ignore: wafer rim */
}
.w-sapph .face {
  background: radial-gradient(circle at 34% 28%, rgba(226, 238, 255, .92) 0%, rgba(140, 180, 240, .62) 38%, rgba(42, 82, 152, .62) 100%);
  box-shadow: inset 0 0 0 3px rgba(220, 235, 255, .5); /* taste-skill-ignore: wafer rim */
}
.w-sige .face {
  background:
    linear-gradient(90deg, rgba(20, 34, 52, .55) 1px, transparent 1px) 50% 50% / 6% 6%,
    linear-gradient(rgba(20, 34, 52, .55) 1px, transparent 1px) 50% 50% / 6% 6%,
    radial-gradient(circle at 34% 28%, #F4F7FA 0%, #C8D4E0 30%, #7F97B0 68%, #3F5A78 100%);
  box-shadow: inset 0 0 0 4px rgba(244, 247, 250, .4); /* taste-skill-ignore: wafer rim */
}
.w-rings { position: absolute; inset: 0; transform: translateZ(10px); pointer-events: none; }
.w-rings i { position: absolute; inset: 32%; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ring 3.6s var(--ease) infinite; }
.w-rings i:nth-child(2) { animation-delay: 1.2s; }
.w-rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.25); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.w-shadow { position: absolute; left: 10%; right: 10%; bottom: 0; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 82, 152, .45), transparent); filter: blur(6px); }

.w-vias { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(-1px - var(--ex) * 1px)); }
.w-vias i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: calc(var(--ex) * 2px + 19px); margin-left: -1.5px; transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d; background: linear-gradient(var(--platinum), var(--gold)); opacity: .3; transition: opacity .6s; }
.w-vias i::before { content: ""; position: absolute; inset: 0; background: inherit; transform: rotateY(90deg); }
.w-vias i::after { content: ""; position: absolute; left: -2px; width: 7px; height: 16px; border-radius: 4px; background: var(--white); opacity: 0; }

/* Blender model views (WebGL). The CSS wafer stays as the fallback until the model loads. */
.gl-view { display: none; position: relative; width: clamp(300px, 42vw, 620px); aspect-ratio: 1 / .92; cursor: grab; touch-action: pan-y; }
.gl-view canvas { width: 100% !important; height: 100% !important; }
.gl-view.is-grabbing { cursor: grabbing; }
.gl-on > .gl-view { display: block; animation: gl-in 1.2s var(--ease) both; }
.gl-on > .wafer3d { display: none; }
@keyframes gl-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.gl-view.big { width: 100%; aspect-ratio: auto; height: min(78vh, 680px); }
.drag-hint { display: none; align-items: center; gap: 10px; font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: -8px; }
.gl-on .drag-hint { display: flex; }
.drag-icon { width: 34px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; animation: drag-sway 2.4s var(--ease-io) infinite; }
.drag-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: currentColor; animation: drag-dot 2.4s var(--ease-io) infinite; }
@keyframes drag-sway { 50% { transform: rotate(-8deg); } }
@keyframes drag-dot { 0%, 100% { transform: translateX(-12px); } 50% { transform: translateX(12px); } }

/* Cutaway highlight states */
.wafer3d.big { --d: clamp(260px, 31vw, 450px); height: calc(var(--d) * 1.3); }
.big[data-layer="rf"] .w-layer:not(.w-rf) .slice,
.big[data-layer="sapphire"] .w-layer:not(.w-sapph) .slice,
.big[data-layer="sige"] .w-layer:not(.w-sige) .slice { filter: brightness(.32) saturate(.4); }
.big[data-layer="int"] .w-vias i { opacity: 1; }
.big[data-layer="int"] .w-vias i::after { animation: via-run 1.4s linear infinite; }
.big[data-layer="int"] .w-vias i:nth-child(2n)::after { animation-delay: .5s; animation-direction: reverse; }
@keyframes via-run { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 16px); opacity: 0; } }
.big .w-rings { opacity: 0; transition: opacity .6s; }
.big[data-layer="rf"] .w-rings, .big[data-layer="all"] .w-rings { opacity: 1; }

/* Awardable strip */
.awardable { background: var(--carbon); border-block: 1px solid var(--steel); padding: 28px 0; }
.award-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.award-badges { display: flex; gap: 12px; flex: none; }
.badge-tile { display: block; width: 84px; height: 84px; padding: 6px; background: var(--white); border-radius: 12px; transition: transform .4s var(--ease); }
.badge-tile:hover { transform: translateY(-3px) rotate(-2deg); }
.badge-tile img { width: 100%; height: 100%; object-fit: contain; }
.award-title { font-family: var(--display); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: var(--white); line-height: 1.35; margin-bottom: 6px; }

/* Problem */
.problem { background: var(--navy); padding: clamp(88px, 12vw, 160px) 0; }
.compare { margin: 0; background: var(--void); border: 1px solid var(--steel); border-radius: 24px; padding: clamp(16px, 3vw, 36px); }
.compare-switch { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--carbon); border: 1px solid var(--steel); margin-bottom: 12px; }
.compare-switch button { position: relative; z-index: 1; border: 0; background: none; color: var(--mist); font: 600 14px var(--display); min-height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer; transition: color .4s; }
.compare-switch button[aria-pressed="true"] { color: var(--void); }
.switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--tw, 80px); border-radius: 999px; background: var(--amber); transform: translateX(var(--tl, 4px)); transition: transform .6s var(--ease-io), width .6s var(--ease-io); }
.c-board { fill: #10233A; stroke: var(--steel); }
.c-pkg { fill: var(--carbon); stroke: var(--horizon); stroke-width: 2; }
.c-int { fill: var(--navy); stroke: var(--mist); stroke-dasharray: 4 4; }
.c-trace { fill: none; stroke: var(--mist); stroke-width: 2; stroke-linejoin: round; }
.c-trace-ti { stroke: var(--gold); }
.c-packet { fill: var(--gold); }
.c-sapph { fill: rgba(127, 168, 232, .45); stroke: var(--sapph); stroke-width: 1.5; }
.c-lab { font: 600 11px var(--display); letter-spacing: .14em; fill: var(--mist); }
.c-lab-ti { fill: var(--white); font-size: 12px; }
.c-name { font: 600 15px var(--display); fill: var(--white); transition: opacity .4s; }
.chip { transition: transform 1.2s var(--ease-io); }
.today-only { transition: opacity .6s .5s; }
.ti-only { opacity: 0; transition: opacity .5s; }
.compare[data-mode="titanym"] .today-only { opacity: 0; transition-delay: 0s; }
.compare[data-mode="titanym"] .ti-only { opacity: 1; transition-delay: 1s; }
.compare[data-mode="titanym"] .chip-rf { transform: translate(220px, -83px); }
.compare[data-mode="titanym"] .chip-cmp { transform: translate(-220px, 15px); }
.compare[data-mode="titanym"] .c-name { opacity: 0; }
.compare-cap { margin-top: 8px; font-size: 15px; color: var(--mist); display: grid; }
.compare-cap span { grid-area: 1 / 1; transition: opacity .5s; }
.cap-ti { opacity: 0; }
.compare[data-mode="titanym"] .cap-today { opacity: 0; }
.compare[data-mode="titanym"] .cap-ti { opacity: 1; }

.costs { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--steel); }
.costs li { padding: 28px 24px 0 0; }
.costs li + li { padding-left: 24px; border-left: 1px solid var(--steel); }
.cost-n { font: 600 13px var(--display); color: var(--amber); letter-spacing: .1em; }
.costs h3 { margin: 10px 0 8px; }
.costs p { font-size: 15px; color: var(--mist); }

/* Technology (pinned cutaway) */
.tech { position: relative; height: 520vh; background: radial-gradient(ellipse 70% 55% at 70% 50%, #12284A 0%, var(--void) 70%); }
.tech-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: clip; }
.tech-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tech-h { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; }
.step { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.step h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 12px; }
.step p { color: var(--mist); max-width: 460px; }
.step-dots { display: flex; gap: 8px; margin-top: 32px; }
.step-dots i { width: 28px; height: 3px; border-radius: 2px; background: var(--steel); transition: background-color .4s, width .4s var(--ease); }
.step-dots i.is-on { background: var(--amber); width: 48px; }
.tech-visual { position: relative; display: grid; place-items: center start; }
.w-tag { position: absolute; z-index: 2; left: 0; top: 0; font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--white); white-space: nowrap; display: flex; align-items: center; gap: 10px; transition: opacity .4s; }
.w-tag::before { content: ""; width: var(--lead, 36px); height: 1px; background: linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px, currentColor 10px); opacity: .7; border-radius: 1px; }
.w-tag b { font-weight: 600; padding: 5px 10px; border-radius: 6px; background: rgba(8, 14, 24, .7); border: 1px solid rgba(42, 82, 152, .6); }
.w-tag[data-for="rf"] { color: var(--gold); }
.w-tag[data-for="sapphire"] { color: var(--sapph); }
.w-tag.is-dim { opacity: .3; }

/* Ticker */
.ticker { background: var(--amber); color: var(--void); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker-track span { font: 700 clamp(1.3rem, 2.4vw, 2rem) var(--display); letter-spacing: -.02em; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--void); margin-right: -28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Why */
.why { background: var(--carbon); padding: clamp(88px, 12vw, 160px) 0; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-card { background: var(--navy); border: 1px solid var(--steel); border-radius: 20px; padding: clamp(22px, 3vw, 36px); transition: border-color .4s, transform .5s var(--ease), opacity .9s var(--ease); }
.why-card:hover { border-color: var(--horizon); }
.why-card h3 { margin: 20px 0 10px; }
.why-card p { color: var(--mist); font-size: 16px; }
.why-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.why-wide h3 { margin-top: 0; }
.mini { width: 100%; height: auto; max-height: 140px; background: var(--void); border-radius: 12px; border: 1px solid rgba(30, 58, 95, .7); }
.why-wide .mini { max-height: 220px; }
.mini rect, .mini path, .mini circle { transform-box: fill-box; transform-origin: center; }
.g-a { fill: var(--amber); animation: g-left 3.2s var(--ease-io) infinite alternate; }
.g-b { fill: var(--platinum); animation: g-right 3.2s var(--ease-io) infinite alternate; }
.g-line { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 4 4; animation: g-shrink 3.2s var(--ease-io) infinite alternate; }
@keyframes g-left { to { transform: translateX(22px); } }
@keyframes g-right { to { transform: translateX(-22px); } }
@keyframes g-shrink { to { transform: scaleX(.08); } }
.i-top { fill: var(--amber); }
.i-mid { fill: rgba(127, 168, 232, .5); stroke: var(--sapph); }
.i-bot { fill: var(--platinum); }
.spark { fill: var(--white); animation: spark 1.6s ease-in infinite; }
.spark.s2 { animation-delay: .5s; }
.spark.s3 { animation-delay: 1s; }
@keyframes spark { 0% { transform: translateY(-6px) scale(1); opacity: 0; } 20% { opacity: 1; } 60% { transform: translateY(6px) scale(1.8); opacity: .9; } 100% { transform: translateY(6px) scale(3); opacity: 0; } }
.v-line { stroke: var(--steel); stroke-width: 2; }
.v-dot { fill: var(--gold); animation: v-down 1.8s linear infinite; }
.v-dot.d2, .v-dot.d4 { animation-name: v-up; }
.v-dot.d3 { animation-delay: .6s; }
.v-dot.d4 { animation-delay: .9s; }
@keyframes v-down { from { transform: translateY(0); } to { transform: translateY(60px); } }
@keyframes v-up { from { transform: translateY(0); } to { transform: translateY(-60px); } }
.h-wave { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 22 80; animation: heat 2.4s linear infinite; }
.h-wave.w2 { animation-delay: .8s; }
.h-wave.w3 { animation-delay: 1.6s; }
@keyframes heat { from { stroke-dashoffset: 0; opacity: 1; } to { stroke-dashoffset: -102; opacity: .2; } }
.mini-lattice circle { fill: var(--sapph); animation: lat 3s ease-in-out infinite; animation-delay: calc(var(--d) * 1ms); }
.mini-lattice circle.ge { fill: var(--gold); }
@keyframes lat { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.why-close { margin-top: clamp(40px, 6vw, 72px); font: 600 clamp(1.4rem, 2.8vw, 2.2rem)/1.2 var(--display); letter-spacing: -.02em; color: var(--white); max-width: 900px; }

/* Applications */
.apps { padding: clamp(88px, 12vw, 160px) 0; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app { background: var(--navy); border: 1px solid var(--steel); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .9s var(--ease), border-color .4s, opacity .9s var(--ease); }
.app:hover { border-color: var(--horizon); }
.scene { aspect-ratio: 400 / 240; background: var(--void); border-bottom: 1px solid var(--steel); overflow: hidden; }
.scene svg { width: 100%; height: 100%; }
.scene * { transform-box: fill-box; transform-origin: center; }
.app-body { padding: clamp(22px, 3vw, 32px); }
.app-tag { font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.app h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin-bottom: 12px; }
.app-body > p:not(.app-tag) { color: var(--mist); font-size: 16px; }
.app .areas { margin-top: 16px; font-size: 14px; color: var(--platinum); }

.r-grid { fill: none; stroke: var(--steel); }
.scene .r-sweep { transform-box: view-box; transform-origin: 200px 120px; animation: sweep 4s linear infinite; }
.r-arm { stroke: var(--gold); stroke-width: 1.5; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { fill: var(--gold); opacity: 0; animation: blip 4s linear infinite; }
.b1 { animation-delay: .4s; } .b2 { animation-delay: 2.6s; } .b3 { animation-delay: 1.4s; } .b4 { animation-delay: 3.6s; }
@keyframes blip { 0% { opacity: 1; transform: scale(1.6); } 60% { opacity: .15; transform: scale(1); } 100% { opacity: 0; } }
.t-city rect { fill: var(--carbon); stroke: var(--steel); }
.t-tower path { fill: none; stroke: var(--platinum); stroke-width: 2; }
.t-tower rect { fill: var(--platinum); }
.tw { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: tw 2.4s ease-out infinite; }
.tw2 { animation-delay: .3s; } .tw3 { animation-delay: .6s; }
@keyframes tw { 0% { opacity: 0; } 20% { opacity: 1; } 70%, 100% { opacity: 0; } }
.t-light { fill: var(--gold); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.stars circle { fill: var(--white); animation: twinkle 3s ease-in-out infinite; }
.stars circle:nth-child(2n) { animation-delay: 1.5s; }
@keyframes twinkle { 50% { opacity: .2; } }
.earth { fill: #0E2A50; }
.earth-rim { fill: none; stroke: var(--sapph); stroke-width: 2; }
.orbit { fill: none; stroke: var(--horizon); stroke-dasharray: 3 6; }
.sat rect { fill: var(--platinum); }
.sat .panel { fill: var(--amber); }
.beam { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 8; animation: beam 1s linear infinite; }
@keyframes beam { to { stroke-dashoffset: -14; } }
.terrain { fill: var(--carbon); stroke: var(--steel); }
.hex path { fill: var(--navy); stroke: var(--platinum); stroke-width: 2; }
.hex .hex-in { fill: none; stroke: var(--amber); }
.led { fill: var(--gold); animation: blink 1.4s steps(2) infinite; }
.l2 { animation-delay: .45s; } .l3 { animation-delay: .9s; }
.hex-scan { stroke: var(--gold); stroke-width: 1.5; opacity: .7; animation: scan 3s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateY(56px); } }

/* Government (light chapter) */
.gov { background: #E8EDF2; color: #33475E; padding: clamp(88px, 12vw, 160px) 0; }
.gov h2, .gov h3 { color: var(--navy); }
.gov .sec-lead { color: #4A5E75; }
.gov .eyebrow { color: #A86A12; }
.gov .fine { color: #5A6E84; }
.gov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gov-card { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; border: 1px solid #D3DCE6; }
.gov-badge { display: block; width: 120px; height: 120px; }
.gov-badge img { width: 100%; height: 100%; object-fit: contain; }
.gov-card h3 { margin-bottom: 10px; }
.gov-card p { font-size: 16px; }
.t-link { display: inline-block; margin: 12px 0 6px; font-weight: 600; color: var(--navy); text-decoration-color: var(--amber); text-underline-offset: 4px; }
.partners-row { margin-top: 20px; background: var(--navy); color: var(--text); border-radius: 24px; padding: clamp(24px, 3.5vw, 44px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 36px; align-items: center; }
.gov .partners-row h3 { color: var(--white); }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { border: 1px solid var(--steel); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.gov-fine { margin-top: 24px; max-width: 900px; }

/* Contact */
.contact { position: relative; overflow: clip; background: linear-gradient(180deg, var(--navy), #10294D); padding: clamp(88px, 12vw, 160px) 0; isolation: isolate; }
.contact-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cw { fill: none; stroke-width: 1.5; animation: wave 14s linear infinite; }
.cw1 { stroke: rgba(232, 160, 48, .35); }
.cw2 { stroke: rgba(127, 168, 232, .3); animation-duration: 18s; }
.cw3 { stroke: rgba(200, 212, 224, .18); animation-duration: 24s; }
@keyframes wave { to { transform: translateX(-720px); } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.mail { display: inline-block; margin-top: 32px; font: 600 clamp(1.2rem, 2.2vw, 1.6rem) var(--display); color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(240, 192, 96, .4); padding-bottom: 4px; }
.mail:hover { border-color: var(--gold); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: rgba(8, 14, 24, .72); border: 1px solid var(--steel); border-radius: 24px; padding: clamp(20px, 3vw, 36px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--platinum); letter-spacing: .02em; min-width: 0; }
.field-msg { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: var(--carbon); color: var(--white); border: 1px solid var(--steel);
  font: 400 16px var(--body); transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.submit { grid-column: 1 / -1; justify-self: start; }
.submit:disabled { opacity: .6; cursor: wait; }
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 1.5em; color: var(--gold); }

/* Footer */
.foot { background: var(--void); padding: 72px 0 32px; border-top: 1px solid var(--steel); overflow: clip; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; color: var(--mist); }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-top nav a { text-decoration: none; color: var(--text); }
.foot-top nav a:hover { color: var(--amber); }
.foot-word { font: 800 clamp(4.5rem, 20vw, 18rem)/.9 var(--display); letter-spacing: -.06em; color: var(--steel); margin: 40px 0 24px; white-space: nowrap; }
.foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--mist); }

/* Entrances */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in, .js [data-rise].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em; margin: 0 -.08em -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.is-in .w > span { transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .bar-nav { gap: 20px; }
  .costs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .costs li:nth-child(3) { border-left: 0; padding-left: 0; }
  .partners-row { grid-template-columns: minmax(0, 1fr); }
  .partners-row .btn { justify-self: start; }
}
@media (max-width: 900px) {
  .bar-nav, .bar-cta { display: none; }
  .menu-toggle { display: block; }
  .menu { display: grid; position: absolute; top: 72px; left: 0; right: 0; background: rgba(8, 14, 24, .97); border-bottom: 1px solid var(--steel); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
  .menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .menu a { text-decoration: none; padding: 14px 0; font: 600 20px var(--display); color: var(--white); border-bottom: 1px solid rgba(30, 58, 95, .6); }
  .hero { padding-top: 104px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .wafer3d { --d: min(74vw, 400px); }
  .tech-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tech-visual { order: -1; place-items: center; }
  .wafer3d.big { --d: min(58vw, 30svh, 360px); }
  .gl-view { width: min(92vw, 460px); }
  .gl-view.big { height: 38svh; }
  .tech-pin { padding-top: 64px; }
  .steps { margin-top: 20px; }
  .tech-h { font-size: clamp(1.9rem, 7vw, 3rem); }
  .tech .eyebrow { margin-bottom: 12px; }
  .step-dots { margin-top: 20px; }
  .why-grid, .app-grid, .gov-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .why-wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .award-inner { flex-direction: column; align-items: flex-start; }
  .badge-tile { width: 72px; height: 72px; }
  .costs { grid-template-columns: minmax(0, 1fr); }
  .costs li, .costs li + li { padding: 22px 0 0; border-left: 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .gov-card { grid-template-columns: minmax(0, 1fr); }
  .gov-badge { width: 96px; height: 96px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .compare-switch button { padding: 0 14px; }
  .c-lab { font-size: 22px; letter-spacing: .06em; }
  .c-lab-ti { font-size: 26px; }
  .c-name { font-size: 30px; }
  .compare { padding: 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  #hero-wafer { animation: none; --ex: 22; }
  #hero-wafer .w-stage { animation: none; }
}

/* ---- Cleanup round: headline lines, awardable band, tech stage, LinkedIn ---- */
.ln { display: block; white-space: nowrap; }
.ln-s { display: block; text-wrap: balance; }
h1, h2, .sec-lead, .why-close { text-wrap: balance; }
.hero-h { font-size: clamp(2.3rem, 4.75vw, 4.9rem); }
.sec-lead-wide { max-width: 780px; }
.why-close { font-size: clamp(1.25rem, 2.1vw, 1.85rem); max-width: none; }
.why-close .ln-s + .ln-s { margin-top: 6px; }

.bar-li { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--steel); color: var(--white); margin-right: -16px; transition: border-color .3s, color .3s; }
.bar-li:hover { border-color: var(--amber); color: var(--amber); }
.bar-li + .bar-cta { margin-left: 0; }
.li-ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.li-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--mist); font: 600 15px var(--display); text-decoration: none; }
.li-link:hover { color: var(--amber); }


.awardable { position: relative; background: linear-gradient(180deg, #F3F6F9 0%, #E3EAF1 100%); color: #33475E; border: 0; padding: clamp(72px, 10vw, 128px) 0; overflow: clip; }
.awardable::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(232, 160, 32, .16), transparent 70%); pointer-events: none; }
.award-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.award-eyebrow { color: #A86A12; justify-content: center; }
.award-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.award-h { color: var(--navy); font-size: clamp(2.4rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.award-twice { color: #C9850F; }
.award-lead { margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.5; color: #33475E; max-width: 920px; }
.award-badges { display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); margin-top: clamp(36px, 5vw, 56px); }
.award-badge { display: grid; justify-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.awardable .badge-tile { width: clamp(132px, 15vw, 196px); height: clamp(132px, 15vw, 196px); padding: 14px; border-radius: 28px; background: #fff; box-shadow: 0 24px 48px -24px rgba(13, 26, 46, .45), 0 0 0 1px #D3DCE6; }
.award-badge:hover .badge-tile { transform: translateY(-6px); }
.award-name { font: 600 clamp(.9rem, 1.3vw, 1.05rem)/1.3 var(--display); }
.award-fine { margin-top: clamp(28px, 4vw, 40px); color: #5A6E84; max-width: 640px; }

.gov-head { margin-inline: auto; text-align: center; max-width: 1080px; }
.gov-head .eyebrow { justify-content: center; }
.gov-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.gov-head h2 { font-size: clamp(2.6rem, 7.4vw, 6.6rem); letter-spacing: -.045em; font-weight: 800; }
.gov-head .sec-lead { margin-inline: auto; max-width: 1080px; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; }
.gov-head .ln-s + .ln-s { margin-top: 4px; }

/* Technology stage */
.tech-grid { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); position: relative; z-index: 1; }
.tech-h { font-size: clamp(2rem, 3.3vw, 3.3rem); }
.gl-view.big { height: min(84vh, 780px); }
.tech-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.tech-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(127, 168, 232, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 168, 232, .07) 1px, transparent 1px), linear-gradient(rgba(127, 168, 232, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 168, 232, .035) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 66% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 66% 50%, #000 20%, transparent 75%); }
.tech-rings { position: absolute; left: 66%; top: 50%; width: min(96vh, 900px); height: min(96vh, 900px); transform: translate(-50%, -50%); overflow: visible; }
.tr { fill: none; stroke: rgba(127, 168, 232, .18); stroke-width: 1; transform-origin: 400px 400px; }
.tr1 { stroke-dasharray: 2 10; animation: tr-spin 90s linear infinite; }
.tr2 { stroke: rgba(232, 160, 32, .16); stroke-dasharray: 60 14 4 14; animation: tr-spin 70s linear infinite reverse; }
.tr3 { stroke-dasharray: 1 6; animation: tr-spin 120s linear infinite; }
.tr-ticks line { stroke: rgba(127, 168, 232, .28); stroke-width: 1; }
.tr-ticks line.major { stroke: rgba(240, 192, 96, .45); }
@keyframes tr-spin { to { transform: rotate(360deg); } }
.tech-mark { position: absolute; font: 600 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: rgba(143, 163, 184, .55); white-space: nowrap; }
.tech-mark::before { content: "+"; margin-right: 8px; color: var(--amber); }
.tm1 { right: 4%; top: 13%; } .tm3 { right: 4%; bottom: 13%; } .tm4 { left: var(--gutter); bottom: 13%; }
.tech-cue { position: absolute; left: 50%; bottom: clamp(16px, 3.5vh, 36px); transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-radius: 999px; background: rgba(8, 14, 24, .72); border: 1px solid var(--steel); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--white); white-space: nowrap; transition: opacity .5s; }
.tech-cue.is-done { opacity: 0; }
.tech-cue-mouse { width: 18px; height: 28px; border: 2px solid var(--gold); border-radius: 10px; display: grid; justify-items: center; padding-top: 4px; }
.tech-cue-mouse i { width: 3px; height: 6px; border-radius: 2px; background: var(--gold); animation: cue-wheel 1.6s var(--ease-io) infinite; }
@keyframes cue-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
.tech-cue-bar { width: 90px; height: 3px; border-radius: 2px; background: var(--steel); overflow: hidden; }
.tech-cue-bar i { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--tp, 0)); }
.tech-cue-n { color: var(--gold); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .hero-h { font-size: min(10.4vw, 4.6rem); }
  h2 { font-size: min(9.2vw, 3.6rem); }
  .tech-h { font-size: min(8.4vw, 3rem); }
  .tech-grid { grid-template-columns: minmax(0, 1fr); }
  .gl-view.big { height: 42svh; }
  .tech-rings { left: 50%; top: 32%; width: 110vw; height: 110vw; }
  .tech-grid-bg { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 32%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 40% at 50% 32%, #000 20%, transparent 75%); }
  .tech-mark { display: none; }
  .tech-cue { left: auto; right: var(--gutter); bottom: auto; top: 84px; transform: none; padding: 6px 12px; gap: 10px; font-size: 11px; }
  .tech-cue-mouse { width: 14px; height: 22px; padding-top: 3px; }
  .tech-cue-bar { width: 56px; }
  .tech-cue-text { display: none; }
  .tech-cue::before { content: "Scroll"; }
  .bar-li { margin-left: auto; margin-right: 0; }
  .bar-li ~ .menu-toggle { margin-left: 0; }
  .award-h { font-size: min(8.6vw, 4.4rem); }
  .gov-head h2 { font-size: min(11vw, 4.4rem); }
}
@media (max-width: 600px) {
  .award-inner { flex-direction: column; align-items: center; }
    .award-eyebrow { font-size: 11px; letter-spacing: .1em; }
  .award-eyebrow::before, .award-eyebrow::after { display: none; }
  .award-badges { gap: 20px; }
  .awardable .badge-tile { width: 132px; height: 132px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tr, .tech-cue-mouse i, }

/* Problem: rendered animation with labels kept clear of the objects */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-stage { position: relative; aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; background: #02050B; }
.cmp-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.cmp-v.is-on { opacity: 1; }
.cmp-tags { position: absolute; inset: 0; pointer-events: none; }
.c-tag { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; font: 600 clamp(9px, 1.05vw, 13px) var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--white); white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.c-tag b { font-weight: 600; padding: 4px 9px; border-radius: 6px; background: rgba(8, 14, 24, .72); border: 1px solid rgba(42, 82, 152, .7); }
.c-tag i { flex: none; background: var(--gold); opacity: .8; }
.c-tag.up, .c-tag.down { flex-direction: column; transform: translateX(-50%); }
.c-tag.up { transform: translate(-50%, -100%); flex-direction: column-reverse; }
.c-tag.up i, .c-tag.down i { width: 1px; height: clamp(22px, 5vw, 64px); }
.c-tag.up::after, .c-tag.down::after, .c-tag.right::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.c-tag.up::after { bottom: -3px; left: calc(50% - 3.5px); }
.c-tag.down::after { top: -3px; left: calc(50% - 3.5px); }
.c-tag.right { width: calc(var(--to) - var(--x)); transform: translateY(-50%); }
.c-tag.right i { flex: 1; height: 1px; }
.c-tag.right b { position: absolute; left: 100%; margin-left: 6px; }
.c-tag.right::after { left: -3px; top: calc(50% - 3.5px); }
.c-tag.sapph b { color: var(--sapph); border-color: rgba(127, 168, 232, .7); }
.cmp-tags.ti-only { opacity: 0; transition: opacity .5s; }
.compare[data-mode="titanym"] .cmp-tags.ti-only { opacity: 1; transition-delay: 2.3s; }
.compare[data-mode="titanym"] .cmp-tags.today-only { opacity: 0; transition: opacity .3s; }

/* Rendered loops in the cards */
.card-v { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--void); border-radius: 12px; border: 1px solid rgba(30, 58, 95, .7); }
.why-wide .card-v { aspect-ratio: 12 / 5; }
.scene .card-v { aspect-ratio: auto; height: 100%; border: 0; border-radius: 0; }
.scene { aspect-ratio: 5 / 3; }
@media (max-width: 600px) {
  .c-tag.right { width: calc(98% - var(--x)); }
  .c-tag.right b { left: auto; right: 0; bottom: 4px; margin: 0; }
  .c-tag { font-size: 8.5px; letter-spacing: .08em; }
  .c-tag b { padding: 3px 6px; }
  .c-tag.hide-s { display: none; }
}

/* Centered compare controls; mobile tweaks */
.compare-switch { display: flex; width: max-content; margin-inline: auto; }
.compare-cap { text-align: center; }
@media (max-width: 600px) {
  .c-tag.c-int { top: 55%; transform: translate(-50%, -100%); flex-direction: column-reverse; }
  .c-tag.c-int::after { top: auto; bottom: -3px; }
  .c-tag.up i, .c-tag.down i { height: 18px; }
  .c-tag.c-int i { height: 15vw; }
  .costs li { text-align: center; }
  .costs { border-top: 0; }
}

.t-short { display: none; }
@media (max-width: 900px) {
  .t-full { display: none; }
  .t-short { display: inline; }
  .w-tag { font-size: 10px; letter-spacing: .1em; gap: 6px; }
  .w-tag b { padding: 4px 7px; }
  .cut-wafer-fallback .w-tag, .tech-visual:not(.gl-on) .w-tag { display: none; }
  .tech-copy { text-align: center; }
  .tech .eyebrow { justify-content: center; }
  .tech .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
  .step p { margin-inline: auto; }
  .step-dots { justify-content: center; }
}

/* Mobile pass: centered headings and section intros, tighter rhythm */
@media (max-width: 700px) {
  .sec-head, .hero-copy, .contact-copy { text-align: center; margin-inline: auto; }
  .sec-head .eyebrow, .hero-copy .eyebrow, .contact-copy .eyebrow { justify-content: center; }
  .sec-head .eyebrow::after, .hero-copy .eyebrow::after, .contact-copy .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
  .sec-lead, .hero-sub { margin-inline: auto; }
  .hero-copy .eyebrow { font-size: 11.5px; letter-spacing: .12em; }
  .hero-actions { justify-content: center; }
  .why-card, .app-body, .gov-card > div { text-align: center; }
  .why-card .card-v { margin-inline: auto; }
  .gov-badge { margin-inline: auto; }
  .gov-card { justify-items: center; }
  .why-close { text-align: center; }
  .partners-row { text-align: center; }
  .partners { justify-content: center; }
  .partners-row .btn { justify-self: center; }
  .contact-copy .li-link { display: flex; justify-content: center; }
  .foot-top, .foot-meta { flex-direction: column; align-items: center; text-align: center; }
  .foot-top nav { justify-content: center; }
  .foot-word { text-align: center; }
  .app h3 { font-size: 1.6rem; }
  .why-card h3 { font-size: 1.35rem; }
}

@media (max-width: 700px) {
  .gov-name { white-space: nowrap; font-size: min(4.4vw, 1.25rem); }
  #contact-h { font-size: min(7.4vw, 3rem); white-space: nowrap; }
  #contact-h .ln { display: inline; }
  .gov-card { padding: 28px 18px; }
}

.contact-copy .li-link { display: flex; width: max-content; }

/* Hero wafer: on touch screens every drag on the chip turns it (both axes) instead of scrolling the page.
   The cutaway keeps pan-y so scrolling through the pinned section never gets stuck. */
#hero-gl, #hero-gl canvas { touch-action: none; }
@media (max-width: 900px) {
  #hero-gl { width: min(84vw, 440px); }
}
