/* ═══════════════════════════════════════════════════════════
   DNK Labs — Homepage
   Dark luxury technology · editorial AI systems
   ═══════════════════════════════════════════════════════════ */

:root {
  --home-gutter: clamp(1.25rem, 4vw, 4.5rem);
  --home-max: 1500px;
  --home-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --home-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --home-line: rgba(var(--ink-rgb), 0.085);
  --home-line-soft: rgba(var(--ink-rgb), 0.055);
  --home-line-gold: rgba(var(--accent-rgb), 0.28);
  --home-gold-soft: rgba(var(--accent-rgb), 0.08);
  --home-glass: rgba(var(--panel-rgb), 0.62);
  --home-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-padding-top: 6rem; }

body.home {
  background: var(--surface);
  color: var(--text);
  font-family: var(--home-sans);
  font-weight: 300;
}

body.home::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: soft-light;
}

body.home ::selection {
  background: rgba(var(--accent-rgb), 0.28);
  color: var(--text);
}

body.home :focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 4px;
}

/* ── UTILITIES ── */
.wrap {
  width: 100%;
  max-width: var(--home-max);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s var(--home-ease);
}

.skip-link:focus { transform: translateY(0); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 2rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold-text);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow span {
  color: rgba(var(--muted-rgb), 0.7);
  margin-left: 0.35rem;
}

.section {
  position: relative;
  padding-block: clamp(6rem, 11vw, 10rem);
}

.section + .section { border-top: 1px solid var(--home-line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.display {
  margin: 0;
  font-family: var(--home-serif);
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text);
  font-variation-settings: 'opsz' 120, 'SOFT' 30, 'WONK' 1;
}

.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-text);
}

.section-note {
  max-width: 380px;
  margin: 0 0 0.35rem auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--home-line);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
}

.section-note strong {
  color: var(--text);
  font-weight: 400;
}

.section-index {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.5);
}

/* ── HEADER / NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.15rem clamp(1rem, 2.4vw, 2.6rem);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 170%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0.52) 55%, transparent 100%);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}

.brand {
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
}

.nav-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0.32rem;
  list-style: none;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: 999px;
  background: rgba(var(--panel-rgb), 0.5);
  box-shadow: inset 0 1px 0 rgba(var(--tint-rgb), 0.035), 0 18px 50px rgba(var(--shadow-rgb), 0.28);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.nav-menu a {
  display: block;
  position: relative;
  padding: 0.56rem 0.95rem;
  border-radius: 999px;
  font-size: 0.685rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  color: rgba(var(--ink-rgb), 0.58);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--home-ease), background 0.3s var(--home-ease);
}

.nav-menu a:hover {
  color: var(--text);
  background: rgba(var(--ink-rgb), 0.055);
}

.nav-menu a.is-active {
  color: var(--gold-text);
  background: rgba(var(--accent-rgb), 0.09);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.utility-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  background: rgba(var(--panel-rgb), 0.46);
  color: rgba(var(--ink-rgb), 0.65);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: color 0.3s var(--home-ease), border-color 0.3s var(--home-ease), background 0.3s var(--home-ease);
}

.utility-toggle:hover,
.site-header.menu-open .utility-toggle {
  color: var(--gold-text);
  border-color: var(--home-line-gold);
  background: rgba(var(--accent-rgb), 0.06);
}

.utility-toggle svg { width: 13px; height: 13px; display: block; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--black);
  font-family: var(--home-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s var(--home-ease), border-color 0.3s var(--home-ease), transform 0.3s var(--home-ease);
}

.nav-cta:hover {
  background: var(--accent-bright);
  border-color: var(--gold-text-bright);
  transform: translateY(-1px);
}

.nav-cta span {
  font-size: 0.82rem;
  transition: transform 0.3s var(--home-ease);
}

.nav-cta:hover span { transform: translate(2px, -2px); }

.utility-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: clamp(1rem, 2.4vw, 2.6rem);
  width: 330px;
  padding: 1.3rem;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 16px;
  background: rgba(var(--panel-mid-rgb), 0.94);
  box-shadow: 0 30px 80px rgba(var(--shadow-rgb), 0.55), inset 0 1px 0 rgba(var(--tint-rgb), 0.035);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.3s var(--home-ease), transform 0.3s var(--home-ease), visibility 0s 0.3s;
}

.site-header.menu-open .utility-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 0.3s var(--home-ease), transform 0.3s var(--home-ease), visibility 0s 0s;
}

.utility-panel-label {
  margin-bottom: 0.65rem;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.55);
}

.utility-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.utility-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.6rem;
  border-radius: 8px;
  font-size: 0.76rem;
  color: rgba(var(--ink-rgb), 0.68);
  text-decoration: none;
  transition: color 0.25s var(--home-ease), background 0.25s var(--home-ease);
}

.utility-links a::before {
  content: '↗';
  font-size: 0.65rem;
  color: var(--gold-text);
  opacity: 0.65;
}

.utility-links a:hover {
  color: var(--text);
  background: rgba(var(--ink-rgb), 0.045);
}

.utility-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--home-line);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.utility-status span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(var(--accent-rgb), 0.8);
  text-transform: uppercase;
}

.utility-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(7rem, 12vh, 9.5rem) 0 1.6rem;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 52% 62% at 73% 44%, rgba(var(--accent-rgb), 0.11) 0%, rgba(var(--accent-rgb), 0.035) 34%, transparent 68%),
    radial-gradient(ellipse 38% 40% at 88% 18%, rgba(var(--silver-rgb), 0.055) 0%, transparent 62%),
    radial-gradient(ellipse 45% 40% at 28% 86%, rgba(var(--accent-rgb), 0.035) 0%, transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 58%, var(--surface) 100%);
}

.hero-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface) 0%, rgba(var(--bg-rgb), 0.96) 24%, rgba(var(--bg-rgb), 0.68) 45%, rgba(var(--bg-rgb), 0.08) 68%, transparent 86%);
  pointer-events: none;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero-field::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 3%;
  width: min(53vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.11);
  transform: rotate(-16deg) scaleY(0.92);
  opacity: 0.7;
}

.hero-field::after {
  content: '';
  position: absolute;
  top: 27%;
  right: 10%;
  width: min(40vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(var(--silver-rgb), 0.08);
  animation: orbit-spin 80s linear infinite;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  animation: canvas-in 1.8s var(--home-ease) 0.3s forwards;
  -webkit-mask-image: radial-gradient(ellipse 66% 76% at 70% 47%, #000 36%, transparent 82%);
  mask-image: radial-gradient(ellipse 66% 76% at 70% 47%, #000 36%, transparent 82%);
}

@keyframes canvas-in {
  to { opacity: 0.92; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  flex: 1;
  width: 100%;
  max-width: var(--home-max);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

.hero-copy {
  position: relative;
  max-width: 880px;
  padding-block: 2rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 2.2rem;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  opacity: 0;
  transform: translateY(14px);
  animation: hero-rise 1s var(--home-ease) 0.15s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero-eyebrow .pulse-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.8);
  animation: status-pulse 2.6s var(--home-ease) infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

.hero-title {
  margin: 0 0 clamp(2rem, 4vh, 3rem);
  font-family: var(--home-sans);
  font-size: clamp(3.1rem, 6.3vw, 6.4rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  animation: hero-rise 1.15s var(--home-ease) 0.28s forwards;
}

.hero-title span { display: block; }

.hero-title .title-serif {
  margin-top: 0.04em;
  font-family: var(--home-serif);
  font-size: 0.92em;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 1;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-text);
}

.hero-title .title-sans {
  font-weight: 300;
}

.hero-sub {
  max-width: 470px;
  margin: 0 0 2.5rem;
  color: rgba(var(--silver-rgb), 0.86);
  font-size: clamp(0.95rem, 1.1vw, 1.04rem);
  font-weight: 300;
  line-height: 1.85;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 1s var(--home-ease) 0.48s forwards;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 1s var(--home-ease) 0.62s forwards;
}

.btn-gold,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-family: var(--home-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  transition: background 0.35s var(--home-ease), color 0.35s var(--home-ease), border-color 0.35s var(--home-ease), transform 0.35s var(--home-ease), box-shadow 0.35s var(--home-ease);
}

.btn-gold {
  background: var(--accent);
  color: var(--black);
  border: 1px solid var(--accent);
}

.btn-gold:hover {
  background: var(--accent-bright);
  border-color: var(--gold-text-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 45px rgba(var(--accent-rgb), 0.16);
}

.btn-gold .arrow { transition: transform 0.35s var(--home-ease); }
.btn-gold:hover .arrow { transform: translateX(3px); }

.btn-outline {
  background: rgba(var(--ink-rgb), 0.015);
  color: rgba(var(--ink-rgb), 0.8);
  border: 1px solid rgba(var(--ink-rgb), 0.17);
}

.btn-outline:hover {
  color: var(--gold-text);
  border-color: var(--home-line-gold);
  background: rgba(var(--accent-rgb), 0.055);
  transform: translateY(-2px);
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: var(--home-max);
  margin: 1.8rem auto 0;
  padding: 0 var(--home-gutter);
  color: rgba(var(--muted-rgb), 0.55);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-rise 1s var(--home-ease) 0.9s forwards;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-scroll-line {
  position: relative;
  display: block;
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: rgba(var(--ink-rgb), 0.12);
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  animation: scroll-line 3.6s var(--home-ease) infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.hero-credentials {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.hero-credentials span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-credentials span + span::before {
  content: '◆';
  color: var(--gold-text);
  font-size: 0.45rem;
  margin-right: 0.15rem;
  opacity: 0.65;
}

@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ── AI OPERATIONS CONSOLE ── */
.hero-console {
  position: relative;
  justify-self: end;
  align-self: center;
  width: min(100%, 408px);
  margin-top: -1rem;
  opacity: 0;
  transform: translateY(24px);
  animation: hero-rise 1.15s var(--home-ease) 0.78s forwards;
}

.hero-console::before {
  content: '';
  position: absolute;
  inset: -14% -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 55% 45%, rgba(var(--accent-rgb), 0.16) 0%, transparent 68%);
  filter: blur(16px);
}

.console-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.19);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(var(--ink-rgb), 0.065) 0%, transparent 34%),
    linear-gradient(180deg, rgba(var(--panel-warm-rgb), 0.82) 0%, rgba(var(--panel-deep-rgb), 0.9) 100%);
  box-shadow:
    0 40px 90px rgba(var(--shadow-rgb), 0.55),
    0 0 0 1px rgba(var(--tint-rgb), 0.018) inset,
    0 1px 0 rgba(var(--tint-rgb), 0.08) inset;
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  animation: console-float 10s ease-in-out infinite;
}

@keyframes console-float {
  0%, 100% { transform: translateY(0) rotate(0.001deg); }
  50% { transform: translateY(-8px) rotate(0.001deg); }
}

.console-window::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(var(--tint-rgb), 0.035) 45%, transparent 62%);
  transform: translateX(-70%);
  animation: console-sheen 9s ease-in-out infinite;
}

@keyframes console-sheen {
  0%, 55% { transform: translateX(-80%); }
  75%, 100% { transform: translateX(80%); }
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.075);
  background: rgba(var(--ink-rgb), 0.022);
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.72);
  white-space: nowrap;
}

.console-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 5px;
  color: var(--gold-text);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.console-brand i {
  font-style: normal;
  color: rgba(var(--muted-rgb), 0.4);
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-text);
  white-space: nowrap;
}

.console-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(var(--accent-rgb), 0.85);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.console-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.62rem 1.1rem;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.055);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(var(--muted-rgb), 0.6);
  text-transform: uppercase;
}

.console-meta strong {
  font-weight: 500;
  color: rgba(var(--ink-rgb), 0.62);
}

.console-modules { padding: 0.25rem 1.1rem; }

.console-module {
  position: relative;
  padding: 0.92rem 0 1rem;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.055);
}

.console-module:last-child { border-bottom: none; }

.module-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.module-num {
  font-family: var(--home-serif);
  font-size: 0.76rem;
  font-weight: 400;
  color: rgba(var(--accent-rgb), 0.65);
}

.module-title {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(var(--ink-rgb), 0.87);
}

.module-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.8);
  white-space: nowrap;
}

.module-status::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
}

.module-lines {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1.55rem;
  font-size: 0.62rem;
  color: rgba(var(--muted-rgb), 0.72);
}

.module-lines .sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(var(--muted-rgb), 0.5);
}

.module-progress {
  position: relative;
  height: 2px;
  margin: 0.65rem 0 0 1.55rem;
  background: rgba(var(--ink-rgb), 0.06);
  overflow: hidden;
  border-radius: 99px;
}

.module-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--progress, 64%);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.35), var(--accent));
  border-radius: inherit;
  transform-origin: left;
  animation: progress-in 1.4s var(--home-ease) 1.3s both;
}

@keyframes progress-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.console-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 1.1rem;
  border-top: 1px solid rgba(var(--ink-rgb), 0.065);
  background: rgba(var(--bg-rgb), 0.3);
  font-size: 0.49rem;
  letter-spacing: 0.055em;
  color: rgba(var(--muted-rgb), 0.55);
}

.console-foot span:last-child {
  color: rgba(var(--accent-rgb), 0.58);
  white-space: nowrap;
}

/* ── TICKER ── */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: rgba(var(--panel-deep-rgb), 0.68);
  padding: 1.35rem 0;
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10vw;
  z-index: 2;
  pointer-events: none;
}

.ticker::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 46s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4rem);
  padding-right: clamp(1.8rem, 4vw, 4rem);
  font-family: var(--home-serif);
  font-size: clamp(0.78rem, 1.1vw, 0.98rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--silver-rgb), 0.55);
  white-space: nowrap;
}

.ticker-item::after {
  content: '◆';
  font-size: 0.45em;
  color: var(--gold-text);
  opacity: 0.7;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ── THE REALITY ── */
.reality { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-deep) 50%, var(--surface) 100%); }

.reality-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
  gap: clamp(2rem, 7vw, 8.5rem);
  align-items: end;
  margin-top: 1.5rem;
}

.reality-head .display {
  font-size: clamp(3.3rem, 7vw, 7.2rem);
}

.reality-copy {
  max-width: 430px;
  margin-left: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-line);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
}

.reality-copy p + p { margin-top: 1rem; }

.reality-copy strong {
  color: rgba(var(--ink-rgb), 0.82);
  font-weight: 400;
}

.stat-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(4.5rem, 8vw, 7.5rem);
  border-top: 1px solid var(--home-line);
}

.stat {
  position: relative;
  min-width: 0;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 3rem) 0 0;
}

.stat + .stat {
  border-left: 1px solid var(--home-line);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.stat-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.44);
}

.stat-nav span:last-child {
  font-family: var(--home-serif);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0;
  color: rgba(var(--accent-rgb), 0.55);
}

.stat-number {
  display: flex;
  align-items: baseline;
  gap: 0.03em;
  margin-bottom: 1.15rem;
  font-family: var(--home-serif);
  font-size: clamp(4.2rem, 8.4vw, 7.8rem);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.055em;
  color: var(--text);
  font-variation-settings: 'opsz' 144, 'SOFT' 20;
  transition: transform 0.6s var(--home-ease), color 0.6s var(--home-ease);
}

.stat:hover .stat-number {
  transform: translateY(-4px);
  color: var(--text);
}

.stat-number .unit {
  font-size: 0.62em;
  color: var(--gold-text);
}

.stat-number .day {
  color: var(--gold-text);
}

.stat-label {
  max-width: 265px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.75;
}

.stat-label strong {
  color: rgba(var(--ink-rgb), 0.8);
  font-weight: 400;
}

/* ── PROCESS ── */
.process { background: var(--surface-soft); }

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  gap: clamp(2rem, 7vw, 8.5rem);
  align-items: end;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(4.5rem, 8vw, 7rem);
  border-top: 1px solid var(--home-line);
}

.process-track::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  animation: track-sweep 8s var(--home-ease) infinite;
}

@keyframes track-sweep {
  0%, 100% { transform: translateX(0); opacity: 0.2; }
  50% { transform: translateX(160%); opacity: 0.65; }
}

.stage {
  position: relative;
  padding: clamp(2rem, 3.6vw, 3.2rem) clamp(1.4rem, 3.4vw, 3.4rem) clamp(2.5rem, 4.5vw, 4rem) 0;
  overflow: hidden;
  transition: background 0.6s var(--home-ease);
}

.stage + .stage {
  border-left: 1px solid var(--home-line);
  padding-left: clamp(1.4rem, 3.4vw, 3.4rem);
}

.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 28% 0%, rgba(var(--accent-rgb), 0.09), transparent 68%);
  opacity: 0;
  transition: opacity 0.6s var(--home-ease);
}

.stage:hover { background: rgba(var(--ink-rgb), 0.012); }
.stage:hover::after { opacity: 1; }

.stage-marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.stage-marker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.3), transparent);
}

.stage-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  background: var(--surface-soft);
  transition: background 0.5s var(--home-ease), box-shadow 0.5s var(--home-ease);
}

.stage:hover .stage-dot {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.7);
}

.stage-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--home-serif);
  font-size: clamp(4rem, 7.5vw, 6.8rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.4);
  transition: color 0.55s var(--home-ease), -webkit-text-stroke-color 0.55s var(--home-ease);
}

.stage:hover .stage-num {
  color: var(--gold-text);
  -webkit-text-stroke-color: transparent;
}

.stage-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.stage h3 {
  max-width: 300px;
  margin: 0 0 1rem;
  font-family: var(--home-serif);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text);
}

.stage p {
  max-width: 340px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.8;
}

/* Process equation */
.equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.08fr;
  margin-top: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: rgba(var(--ink-rgb), 0.012);
}

.equation-cell {
  min-width: 0;
  padding: clamp(1.6rem, 2.8vw, 2.4rem) clamp(1rem, 2vw, 1.8rem);
}

.equation-role {
  margin-bottom: 1.35rem;
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.52);
}

.equation-cell h3 {
  margin: 0 0 0.65rem;
  font-family: var(--home-serif);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.equation-cell p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 300;
  line-height: 1.72;
}

.equation-op {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  border-left: 1px solid var(--home-line);
  border-right: 1px solid var(--home-line);
  font-family: var(--home-serif);
  font-size: 1.15rem;
  color: var(--gold-text);
}

.equation-result {
  background: rgba(var(--accent-rgb), 0.035);
}

.equation-result h3 { color: var(--gold-text); }

/* ── SERVICES ── */
.services { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 45%, var(--surface) 100%); }

.services .section-note { margin-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(4rem, 7vw, 6.5rem);
  border-top: 1px solid var(--home-line);
  border-left: 1px solid var(--home-line);
}

.service-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(360px, 32vw, 440px);
  padding: clamp(1.7rem, 3vw, 3rem);
  border-right: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  overflow: hidden;
  background: rgba(var(--ink-rgb), 0.009);
  color: inherit;
  text-decoration: none;
  transition: background 0.65s var(--home-ease);
}

.service-panel:nth-child(2),
.service-panel:nth-child(3) { background: rgba(var(--ink-rgb), 0.02); }

.service-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 72% 8%, rgba(var(--accent-rgb), 0.13), transparent 67%),
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.045), transparent 46%);
  opacity: 0;
  transition: opacity 0.65s var(--home-ease);
  pointer-events: none;
}

.service-panel:hover { background: rgba(var(--ink-rgb), 0.026); }
.service-panel:hover::before { opacity: 1; }

.service-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.28rem;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.78);
}

.service-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}

.service-index {
  font-family: var(--home-serif);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(var(--accent-rgb), 0.25);
  transition: color 0.55s var(--home-ease);
}

.service-panel:hover .service-index { color: rgba(var(--accent-rgb), 0.62); }

.service-graphic {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(110px, 11vw, 150px);
  margin: auto 0 clamp(1.5rem, 3vw, 2.4rem);
  color: rgba(var(--silver-rgb), 0.34);
  transition: color 0.55s var(--home-ease), transform 0.7s var(--home-ease);
}

.service-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.service-graphic .flow-line {
  stroke-dasharray: 5 10;
  animation: flow-dash 16s linear infinite;
}

.service-graphic .spin-slow {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes flow-dash {
  to { stroke-dashoffset: -300; }
}

.service-panel:hover .service-graphic {
  color: rgba(var(--accent-rgb), 0.72);
  transform: translateY(-4px);
}

.service-panel:hover .service-graphic .spin-slow {
  animation: service-spin 14s linear infinite;
  transform-origin: center;
}

@keyframes service-spin {
  to { transform: rotate(360deg); }
}

.service-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}

.service-body h3 {
  margin: 0 0 0.75rem;
  font-family: var(--home-serif);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

.service-body p {
  max-width: 380px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.78;
}

.service-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.2rem;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 50%;
  color: rgba(var(--ink-rgb), 0.45);
  font-size: 0.9rem;
  transition: color 0.45s var(--home-ease), border-color 0.45s var(--home-ease), transform 0.45s var(--home-ease), background 0.45s var(--home-ease);
}

.service-panel:hover .service-arrow {
  color: var(--black);
  border-color: var(--gold-text);
  background: var(--accent);
  transform: translate(2px, -2px);
}

body.home .service-panel:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: -4px;
}

.service-panel:focus-visible::before { opacity: 1; }
.service-panel:focus-visible .service-index { color: rgba(var(--accent-rgb), 0.62); }
.service-panel:focus-visible .service-graphic { color: rgba(var(--accent-rgb), 0.72); transform: translateY(-4px); }
.service-panel:focus-visible .service-graphic .spin-slow { animation: service-spin 14s linear infinite; transform-origin: center; }
.service-panel:focus-visible .service-arrow {
  color: var(--black);
  border-color: var(--gold-text);
  background: var(--accent);
  transform: translate(2px, -2px);
}

/* ── BUILD INDEX ── */
.work { background: var(--surface-soft); }

.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.6fr);
  gap: clamp(2rem, 7vw, 8.5rem);
  align-items: end;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(260px, 0.68fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(4rem, 7vw, 6rem);
}

.work-list { border-top: 1px solid var(--home-line); }

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.45s var(--home-ease), background 0.45s var(--home-ease);
}

.work-row::before {
  content: '';
  position: absolute;
  inset: 0 -1.3rem;
  z-index: -1;
  background: radial-gradient(ellipse 68% 100% at 20% 50%, rgba(var(--accent-rgb), 0.055), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--home-ease);
}

.work-row:hover,
.work-row:focus-visible { padding-left: 0.8rem; }

.work-row:hover::before,
.work-row:focus-visible::before { opacity: 1; }

.work-num {
  padding-top: 0.22rem;
  font-family: var(--home-serif);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(var(--accent-rgb), 0.65);
}

.work-tag {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.62);
}

.work-title {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--home-serif);
  font-size: clamp(1.22rem, 1.8vw, 1.5rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.35s var(--home-ease);
}

.work-row:hover .work-title { color: var(--gold-text); }

.work-desc {
  display: block;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.72;
}

.work-stack {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.42);
}

.work-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 100px;
  padding-top: 0.18rem;
  text-align: right;
}

.work-outcome {
  font-family: var(--home-serif);
  font-size: 1.18rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.work-outcome-label {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.6);
}

.work-arrow {
  margin-top: 0.55rem;
  color: var(--gold-text);
  font-size: 0.95rem;
  transition: transform 0.35s var(--home-ease);
}

.work-row:hover .work-arrow,
.work-row:focus-visible .work-arrow { transform: translate(3px, -3px); }

.work-preview {
  position: sticky;
  top: 6.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: var(--surface-soft);
}

.work-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(var(--bg-rgb), 0.55) 100%);
}

.work-preview::after {
  content: 'Representative build';
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--bg-rgb), 0.64);
  color: rgba(var(--ink-rgb), 0.68);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.work-preview-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.55s var(--home-ease), transform 0.85s var(--home-ease);
}

.work-preview-item.is-active {
  opacity: 1;
  transform: scale(1);
}

.work-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) sepia(0.28) brightness(0.54) contrast(1.16);
}

.work-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.2rem;
  color: rgba(var(--muted-rgb), 0.65);
  font-size: 0.67rem;
  font-weight: 300;
  line-height: 1.65;
}

.work-foot a {
  color: var(--gold-text);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--home-ease);
}

.work-foot a:hover { border-color: var(--gold-text); }

/* ── WHY DNK ── */
.why { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 50%, var(--surface) 100%); }

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.why-intro {
  position: sticky;
  top: 7.5rem;
}

.why-intro .display {
  font-size: clamp(3rem, 5.4vw, 5.3rem);
}

.why-intro .display em { display: inline-block; }

.why-sub {
  max-width: 370px;
  margin: 2rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.88;
}

.why-reticle {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--home-line);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.42);
}

.why-reticle svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: rgba(var(--accent-rgb), 0.5);
}

.why-points { border-top: 1px solid var(--home-line); }

.why-point {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 24px;
  gap: clamp(1rem, 2vw, 1.7rem);
  align-items: start;
  padding: clamp(1.55rem, 2.5vw, 2.2rem) 0;
  border-bottom: 1px solid var(--home-line);
  overflow: hidden;
  transition: padding-left 0.45s var(--home-ease);
}

.why-point::before {
  content: '';
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.055), transparent 72%);
  opacity: 0;
  transition: opacity 0.45s var(--home-ease);
}

.why-point:hover { padding-left: 0.55rem; }
.why-point:hover::before { opacity: 1; }

.why-point-num {
  font-family: var(--home-serif);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(var(--accent-rgb), 0.28);
  transition: color 0.45s var(--home-ease);
}

.why-point:hover .why-point-num { color: var(--gold-text); }

.why-point h3 {
  margin: 0 0 0.55rem;
  font-family: var(--home-serif);
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}

.why-point p {
  max-width: 460px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.78;
}

.why-point p a {
  color: var(--gold-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
  transition: border-color 0.3s var(--home-ease);
}

.why-point p a:hover { border-color: var(--gold-text); }

.why-point-mark {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.3rem;
  color: rgba(var(--accent-rgb), 0.3);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.4s var(--home-ease), transform 0.4s var(--home-ease);
}

.why-point:hover .why-point-mark {
  color: var(--gold-text);
  transform: rotate(90deg);
}

/* ── SECURITY ── */
.security {
  /* PromptDefend brand blue, sampled from promptdefend.dev's theme color. */
  --pd: rgb(var(--pd-rgb));
  --pd-text: rgb(var(--pd-text-rgb));
  --pd-line: rgba(var(--pd-rgb), 0.3);
  --pd-line-soft: rgba(var(--pd-rgb), 0.16);
  --pd-bg: rgba(var(--pd-rgb), 0.07);
  background:
    radial-gradient(ellipse 55% 80% at 82% 45%, rgba(var(--pd-rgb), 0.08) 0%, transparent 66%),
    radial-gradient(ellipse 40% 60% at 8% 50%, rgba(var(--silver-rgb), 0.035) 0%, transparent 70%),
    var(--surface-soft);
}

.security .section-index .pd-ref { color: var(--pd-text); }

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.security-copy .display { font-size: clamp(3rem, 5.3vw, 5.2rem); }

.security-sub {
  max-width: 430px;
  margin: 2rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.88;
}

.security-sub a {
  color: var(--pd-text);
  text-decoration: none;
  border-bottom: 1px solid var(--pd-line);
  transition: border-color 0.3s var(--home-ease), color 0.3s var(--home-ease);
}

.security-sub a:hover {
  color: var(--pd-tint-strong);
  border-color: var(--pd-text);
}

.security-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--pd-line-soft);
  background: var(--pd-bg);
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--pd-text-rgb), 0.9);
}

.security-proof svg { width: 13px; height: 13px; flex-shrink: 0; }

.security-capabilities {
  margin-top: 2.6rem;
  border-top: 1px solid var(--home-line);
}

.capability {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--home-line);
}

.capability-num {
  padding-top: 0.18rem;
  font-family: var(--home-serif);
  font-size: 0.75rem;
  color: rgba(var(--accent-rgb), 0.6);
}

.capability h3 {
  margin: 0 0 0.32rem;
  font-family: var(--home-serif);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--text);
}

.capability p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Security monitoring panel */
.security-console {
  position: relative;
  isolation: isolate;
}

.security-console::before {
  content: '';
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: radial-gradient(ellipse at 55% 46%, rgba(var(--pd-rgb), 0.17), transparent 67%);
  filter: blur(22px);
}

.security-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pd-line-soft);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(var(--pd-text-rgb), 0.06), transparent 33%),
    rgba(var(--panel-deep-rgb), 0.92);
  box-shadow:
    0 40px 100px rgba(var(--shadow-rgb), 0.5),
    0 0 70px rgba(var(--pd-rgb), 0.05),
    inset 0 1px 0 rgba(var(--tint-rgb), 0.055);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.security-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(var(--pd-text-rgb), 0.1);
  background: linear-gradient(180deg, rgba(var(--pd-rgb), 0.065), rgba(var(--pd-rgb), 0.015));
}

.security-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.76);
}

.security-title .pd-ref { color: var(--pd-text); }

.security-title .shield-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--pd-line);
  border-radius: 5px;
  background: rgba(var(--pd-rgb), 0.07);
  color: var(--pd-text);
}

.security-title .shield-mark svg { width: 12px; height: 12px; }

.security-title em {
  font-style: normal;
  color: rgba(var(--muted-rgb), 0.45);
}

.security-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.51rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-text);
  white-space: nowrap;
}

.security-state::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pd);
  box-shadow: 0 0 8px rgba(var(--pd-rgb), 0.9);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.security-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 1.8rem 1rem 1rem;
  overflow: hidden;
}

.security-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--ink-rgb), 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.027) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 76%);
  pointer-events: none;
}

.radar {
  position: relative;
  width: min(250px, 68%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ticks {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(var(--pd-text-rgb), 0.42) 0deg 0.7deg, transparent 0.7deg 21.176deg);
  mask: radial-gradient(circle, transparent 0 47%, #000 47.5% 49.5%, transparent 50%);
  -webkit-mask: radial-gradient(circle, transparent 0 47%, #000 47.5% 49.5%, transparent 50%);
  animation: radar-spin 90s linear infinite;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(var(--pd-rgb), 0.16);
  border-radius: 50%;
}

.radar-ring:nth-child(2) { inset: 7%; }
.radar-ring:nth-child(3) { inset: 18%; border-style: dashed; }
.radar-ring:nth-child(4) { inset: 30%; }
.radar-ring:nth-child(5) { inset: 43%; border-color: rgba(var(--pd-text-rgb), 0.28); }

.radar-sweep {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 300deg, rgba(var(--pd-rgb), 0.13) 340deg, rgba(var(--pd-text-rgb), 0.38) 359deg, transparent 360deg);
  mask: radial-gradient(circle, transparent 0 8%, #000 9% 50%, transparent 50.5%);
  -webkit-mask: radial-gradient(circle, transparent 0 8%, #000 9% 50%, transparent 50.5%);
  animation: radar-sweep 8s linear infinite;
}

@keyframes radar-sweep {
  to { transform: rotate(360deg); }
}

.radar-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--pd-text-rgb), 0.32);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(var(--pd-rgb), 0.17), rgba(var(--bg-rgb), 0.92) 68%);
  box-shadow: 0 0 60px rgba(var(--pd-rgb), 0.15), inset 0 0 25px rgba(var(--pd-rgb), 0.06);
  text-align: center;
}

.radar-core svg {
  width: 18px;
  height: 18px;
  margin-bottom: 0.12rem;
  color: var(--pd-text);
}

.radar-core strong {
  font-family: var(--home-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.radar-core span {
  margin-top: 0.15rem;
  font-size: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--pd-text-rgb), 0.78);
}

.radar-node {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pd-text);
  box-shadow: 0 0 10px rgba(var(--pd-rgb), 0.75);
  animation: status-pulse 3.2s ease-in-out infinite;
}

.radar-node.node-a { top: 10%; left: 48%; }
.radar-node.node-b { top: 31%; right: 9%; animation-delay: 1.2s; }
.radar-node.node-c { bottom: 16%; right: 24%; animation-delay: 2.1s; }
.radar-node.node-d { bottom: 26%; left: 10%; animation-delay: 0.6s; }

.security-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.2rem 1.2rem;
}

.security-tags span {
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(var(--pd-text-rgb), 0.12);
  border-radius: 999px;
  background: rgba(var(--pd-rgb), 0.04);
  font-size: 0.46rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--pd-tint-rgb), 0.72);
}

.security-log {
  border-top: 1px solid rgba(var(--pd-text-rgb), 0.09);
  padding: 0.45rem 1.2rem 0.35rem;
  background: rgba(var(--bg-rgb), 0.32);
}

.log-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(var(--pd-text-rgb), 0.05);
  font-size: 0.54rem;
  letter-spacing: 0.02em;
  color: rgba(var(--muted-rgb), 0.65);
}

.log-row:last-child { border-bottom: none; }

.log-time { color: rgba(var(--pd-text-rgb), 0.8); font-variant-numeric: tabular-nums; }

.log-state {
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--pd-text-rgb), 0.88);
}

.security-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-top: 1px solid rgba(var(--pd-text-rgb), 0.09);
  background: rgba(var(--pd-rgb), 0.025);
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(var(--muted-rgb), 0.5);
}

.security-foot a {
  color: var(--pd-text);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--home-ease), border-color 0.3s var(--home-ease);
}

.security-foot a:hover {
  color: var(--pd-tint-strong);
  border-color: var(--pd-line);
}

/* ── INSIGHTS ── */
.insights { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-deep) 50%, var(--surface) 100%); }

.insights-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  gap: clamp(2rem, 7vw, 8.5rem);
  align-items: end;
}

.insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  margin-top: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--home-line);
}

.insight-feature {
  position: relative;
  padding: clamp(2rem, 3.4vw, 3rem) clamp(2rem, 3.5vw, 3.5rem) clamp(2.5rem, 4vw, 3.5rem) 0;
  border-right: 1px solid var(--home-line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.insight-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(var(--accent-rgb), 0.055), transparent 70%);
  opacity: 0;
  transition: opacity 0.55s var(--home-ease);
}

.insight-feature:hover::before { opacity: 1; }

.insight-visual {
  position: relative;
  width: 100%;
  height: clamp(150px, 18vw, 220px);
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: radial-gradient(ellipse at 30% 30%, rgba(var(--accent-rgb), 0.12), transparent 58%), var(--surface-soft);
}

.insight-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(var(--ink-rgb), 0.03) 24px 25px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(var(--ink-rgb), 0.022) 24px 25px);
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.insight-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 33%;
  width: 105px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(var(--accent-rgb), 0.035),
    0 0 0 46px rgba(var(--accent-rgb), 0.022),
    0 0 0 72px rgba(var(--accent-rgb), 0.012);
  transition: transform 0.9s var(--home-ease), box-shadow 0.9s var(--home-ease);
}

.insight-feature:hover .insight-visual::after {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 0 0 24px rgba(var(--accent-rgb), 0.055),
    0 0 0 55px rgba(var(--accent-rgb), 0.03),
    0 0 0 88px rgba(var(--accent-rgb), 0.018);
}

.insight-visual .signal-line {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.55), transparent);
  transform: translateX(-100%);
  animation: signal-sweep 7s var(--home-ease) infinite;
}

@keyframes signal-sweep {
  0% { transform: translateX(-100%); opacity: 0; }
  15% { opacity: 1; }
  65%, 100% { transform: translateX(100%); opacity: 0; }
}

.insight-visual .signal-code {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  font-size: 0.48rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.55);
}

.insight-tag {
  margin: 0 0 1rem;
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.78);
}

.insight-feature h3 {
  max-width: 580px;
  margin: 0 0 1rem;
  font-family: var(--home-serif);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 0.35s var(--home-ease);
}

.insight-feature:hover h3 { color: var(--gold-text); }

.insight-feature p {
  max-width: 520px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.8;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  font-size: 0.59rem;
  color: rgba(var(--muted-rgb), 0.55);
  letter-spacing: 0.035em;
}

.insight-meta .sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(var(--muted-rgb), 0.4);
}

.insight-read {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.insight-read .arrow {
  display: inline-block;
  transition: transform 0.35s var(--home-ease);
}

.insight-feature:hover .insight-read .arrow { transform: translateX(4px); }

.insight-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: clamp(2rem, 3.5vw, 3.5rem);
}

.insight-item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 0;
  border-bottom: 1px solid var(--home-line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.45s var(--home-ease);
}

.insight-item:first-child { padding-top: 0; }
.insight-item:last-child { border-bottom: none; }

.insight-item:hover { padding-left: 0.55rem; }

.insight-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.insight-item .insight-tag { margin: 0; }

.insight-item-num {
  font-family: var(--home-serif);
  font-size: 0.8rem;
  color: rgba(var(--accent-rgb), 0.4);
}

.insight-item h3 {
  margin: 0 0 0.7rem;
  font-family: var(--home-serif);
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--text);
  transition: color 0.35s var(--home-ease);
}

.insight-item:hover h3 { color: var(--gold-text); }

.insight-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.77rem;
  font-weight: 300;
  line-height: 1.75;
}

.insight-item .insight-meta { margin-top: 1rem; }

.insight-item .insight-arrow {
  position: absolute;
  right: 0;
  bottom: 2rem;
  color: rgba(var(--accent-rgb), 0.4);
  font-size: 0.9rem;
  transition: color 0.35s var(--home-ease), transform 0.35s var(--home-ease);
}

.insight-item:hover .insight-arrow {
  color: var(--gold-text);
  transform: translate(2px, -2px);
}

.insights-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-line);
}

.insights-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-text);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}

.insights-foot a span { transition: transform 0.3s var(--home-ease); }
.insights-foot a:hover span { transform: translateX(3px); }

/* ── CTA / QUALIFICATION ── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 9.5rem) 0;
  background:
    radial-gradient(ellipse 45% 75% at 84% 48%, rgba(var(--accent-rgb), 0.1) 0%, transparent 66%),
    radial-gradient(ellipse 35% 60% at 14% 20%, rgba(var(--silver-rgb), 0.035) 0%, transparent 70%),
    var(--surface-deep);
  border-top: 1px solid var(--home-line);
  text-align: left;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.3), transparent 45%, rgba(var(--bg-rgb), 0.25));
  pointer-events: none;
}

.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
}

.cta-bg-track {
  display: flex;
  white-space: nowrap;
  animation: cta-scroll 30s linear infinite;
}

.cta-bg-track span {
  flex-shrink: 0;
  padding-right: 0.12em;
  font-family: var(--home-serif);
  font-size: clamp(14rem, 30vw, 32rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.7;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.055);
}

@keyframes cta-scroll {
  to { transform: translateX(-50%); }
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.78fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.cta-copy .display {
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  max-width: 700px;
}

.cta-copy .display em {
  font-style: italic;
  color: var(--gold-text);
}

.cta-lede {
  max-width: 420px;
  margin: 2rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
}

.cta-support {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 390px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-line);
}

.cta-support svg {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--gold-text);
}

.cta-support p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

.cta-support strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
  font-weight: 400;
}

.cta-panel {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid rgba(var(--accent-rgb), 0.17);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(var(--ink-rgb), 0.055), transparent 30%),
    rgba(var(--panel-soft-rgb), 0.8);
  box-shadow: 0 40px 100px rgba(var(--shadow-rgb), 0.45), inset 0 1px 0 rgba(var(--tint-rgb), 0.045);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.5), transparent);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--home-line);
}

.panel-head span {
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.68);
}

.panel-head em {
  font-style: normal;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(var(--accent-rgb), 0.7);
}

.cta-section .qualify-flow {
  max-width: none;
  margin: 0;
  min-height: 330px;
  text-align: left;
  opacity: 1;
  transform: none;
}

.cta-section .qualify-progress {
  justify-content: flex-start;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.cta-section .qualify-dot {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: rgba(var(--ink-rgb), 0.12);
}

.cta-section .qualify-dot.done { background: rgba(var(--accent-rgb), 0.38); }
.cta-section .qualify-dot.current {
  width: 34px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.3);
}

.cta-section .qualify-step {
  transition: opacity 0.4s var(--home-ease), transform 0.5s var(--home-ease);
}

.cta-section .qualify-question {
  margin: 0 0 1.15rem;
  font-family: var(--home-sans);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
}

.cta-section .qualify-subheading {
  margin-top: -0.4rem;
  margin-bottom: 1.2rem;
  font-family: var(--home-sans);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
}

.cta-section .qualify-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cta-section .qualify-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: 9px;
  background: rgba(var(--ink-rgb), 0.022);
  color: rgba(var(--ink-rgb), 0.74);
  font-family: var(--home-sans);
  font-size: 0.8rem;
  font-weight: 300;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s var(--home-ease), background 0.3s var(--home-ease), color 0.3s var(--home-ease), transform 0.3s var(--home-ease);
}

.cta-section .qualify-option:hover,
.cta-section .qualify-option:focus-visible {
  color: var(--text);
  border-color: rgba(var(--accent-rgb), 0.32);
  background: rgba(var(--accent-rgb), 0.065);
  transform: translateY(-1px);
}

.cta-section .qualify-option .q-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-text);
}

.cta-section .qualify-option .q-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.cta-section .qualify-option .q-label { flex: 1; }

.cta-section .qualify-option .q-arrow {
  color: var(--gold-text);
  opacity: 0;
  transform: translateX(-4px);
  font-size: 0.72rem;
  transition: opacity 0.25s var(--home-ease), transform 0.25s var(--home-ease);
}

.cta-section .qualify-option:hover .q-arrow {
  opacity: 1;
  transform: translateX(0);
}

.cta-section .qualify-back {
  margin-top: 0.9rem;
  color: rgba(var(--muted-rgb), 0.55);
  font-family: var(--home-sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s var(--home-ease);
}

.cta-section .qualify-back:hover { color: var(--gold-text); }

.cta-section .qualify-book-primary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.95rem;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--text);
  text-decoration: none;
  transition: background 0.3s var(--home-ease), border-color 0.3s var(--home-ease), transform 0.3s var(--home-ease), box-shadow 0.3s var(--home-ease);
}

.cta-section .qualify-book-primary:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.46);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(var(--shadow-rgb), 0.25);
}

.cta-section .q-book-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--gold-text);
}

.cta-section .q-book-icon-box svg { width: 18px; height: 18px; }

.cta-section .q-book-text { display: flex; flex-direction: column; flex: 1; text-align: left; }

.cta-section .q-book-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--home-sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
}

.cta-section .q-book-arrow {
  color: var(--gold-text);
  transition: transform 0.3s var(--home-ease);
}

.cta-section .qualify-book-primary:hover .q-book-arrow { transform: translateX(3px); }

.cta-section .q-book-sub {
  margin-top: 0.15rem;
  color: rgba(var(--muted-rgb), 0.7);
  font-family: var(--home-sans);
  font-size: 0.64rem;
  font-weight: 300;
}

.cta-section .qualify-perks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0.85rem 0 0.5rem;
  justify-content: flex-start;
}

.cta-section .qualify-perk {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--home-sans);
  font-size: 0.61rem;
  font-weight: 300;
  color: rgba(var(--muted-rgb), 0.7);
}

.cta-section .qualify-perk svg { width: 11px; height: 11px; }

.cta-section .qualify-or-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.25rem 0;
  font-family: var(--home-sans);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.4);
}

.cta-section .qualify-or-divider::before,
.cta-section .qualify-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--home-line);
}

.cta-section .qualify-email-toggle-wrap { text-align: left; }

.cta-section .qualify-email-toggle {
  padding: 0.3rem 0;
  background: none;
  border: none;
  color: rgba(var(--muted-rgb), 0.6);
  font-family: var(--home-sans);
  font-size: 0.65rem;
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.25s var(--home-ease);
}

.cta-section .qualify-email-toggle:hover { color: var(--gold-text); }

.cta-section .qualify-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.cta-section .qualify-contact input {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: 8px;
  background: rgba(var(--bg-rgb), 0.35);
  color: var(--text);
  font-family: var(--home-sans);
  font-size: 0.76rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s var(--home-ease), background 0.3s var(--home-ease);
}

.cta-section .qualify-contact input::placeholder { color: rgba(var(--muted-rgb), 0.5); }
.cta-section .qualify-contact input:focus {
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--ink-rgb), 0.035);
}

.cta-section .qualify-submit {
  margin-top: 0.25rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--black);
  font-family: var(--home-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--home-ease), border-color 0.3s var(--home-ease);
}

.cta-section .qualify-submit:hover { background: var(--accent-bright); border-color: var(--gold-text-bright); }

.cta-section .qualify-success {
  padding: 2rem 0 2.5rem;
  text-align: left;
}

.cta-section .qualify-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 0 1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--gold-text);
}

.cta-section .qualify-success-icon svg { width: 22px; height: 22px; }

.cta-section .qualify-success h3 {
  margin: 0 0 0.4rem;
  font-family: var(--home-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text);
}

.cta-section .qualify-success p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 300;
}

.cta-section .cta-fine {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0;
  color: rgba(var(--muted-rgb), 0.42);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.cta-section .qualify-step-foot {
  margin-top: 1.2rem;
  text-align: left;
}

.cta-section .qualify-step-foot .qualify-back { margin-top: 0; }

/* ── FOOTER ── */
.site-footer {
  position: relative;
  display: block;
  padding: clamp(4rem, 7vw, 6.5rem) 0 2rem;
  border-top: 1px solid var(--home-line);
  background: var(--surface);
  color: var(--text);
  text-align: left;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(3rem, 7vw, 8rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--home-line);
}

.footer-tagline {
  margin-top: 1.25rem;
  color: rgba(var(--muted-rgb), 0.7);
  font-family: var(--home-serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.01em;
}

.footer-integrations {
  max-width: 420px;
  margin-top: 1.4rem;
}

.footer-integrations-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.46);
}

.footer-integrations p {
  margin: 0;
  color: rgba(var(--ink-rgb), 0.46);
  font-size: 0.66rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.015em;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 999px;
  color: var(--gold-text);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--home-ease), border-color 0.3s var(--home-ease), color 0.3s var(--home-ease);
}

.footer-cta:hover {
  background: var(--accent);
  border-color: var(--gold-text);
  color: var(--black);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.footer-col h3 {
  margin: 0 0 1.2rem;
  font-family: var(--home-sans);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--muted-rgb), 0.55);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(var(--ink-rgb), 0.62);
  font-size: 0.75rem;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s var(--home-ease), transform 0.3s var(--home-ease);
}

.footer-col a:hover {
  color: var(--gold-text);
  transform: translateX(2px);
}

.footer-col a .ext {
  font-size: 0.58rem;
  color: rgba(var(--accent-rgb), 0.55);
}

.footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--home-line);
}

.footer-shield {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(var(--muted-rgb), 0.58);
  font-size: 0.68rem;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s var(--home-ease);
}

.footer-shield:hover { color: rgba(var(--ink-rgb), 0.8); }

.footer-shield svg {
  width: 16px;
  height: 16px;
  color: var(--gold-text);
  flex-shrink: 0;
}

.footer-shield strong {
  display: block;
  margin-bottom: 0.15rem;
  color: rgba(var(--ink-rgb), 0.7);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-shield span { font-size: 0.68rem; }

.footer-stack {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: rgba(var(--muted-rgb), 0.4);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-stack span + span::before {
  content: '◆';
  margin-right: 1.3rem;
  font-size: 0.4rem;
  color: rgba(var(--accent-rgb), 0.5);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  color: rgba(var(--muted-rgb), 0.4);
  font-size: 0.62rem;
  font-weight: 300;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sortlist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(var(--muted-rgb), 0.48);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.3s var(--home-ease);
}

.sortlist-link:hover { color: var(--gold-text); }

.sortlist-link svg {
  width: 12px;
  height: 12px;
  color: rgba(var(--accent-rgb), 0.6);
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(var(--accent-rgb), 0.7);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s var(--home-ease);
}

.footer-back-top:hover { color: var(--gold-text); }

/* ── MOBILE STICKY CTA ── */
.mobile-sticky-cta {
  background: rgba(var(--bg-rgb), 0.92);
  border-top: 1px solid rgba(var(--accent-rgb), 0.18);
  padding: 0.8rem 1.25rem;
}

.mobile-cta-text {
  font-family: var(--home-sans);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.mobile-cta-btn {
  font-family: var(--home-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.mobile-cta-btn:hover { background: var(--accent-bright); }

/* ── RESPONSIVE ── */
@media (max-width: 1250px) {
  .nav-menu a { padding-inline: 0.8rem; font-size: 0.65rem; }
  .hero-title { font-size: clamp(3rem, 5.6vw, 6.2rem); }
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 2.5rem; }
  .hero-console { width: min(100%, 380px); }
  .stat-number { font-size: clamp(4rem, 8vw, 7rem); }
}

@media (max-width: 1080px) {
  .nav-center { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr); }
  .hero-console { width: min(100%, 354px); }
  .why-layout { gap: 4rem; }
  .security-layout { gap: 4rem; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 5rem; }

  .site-header { padding: 0.9rem 1.25rem; }
  .nav-actions { gap: 0.45rem; }
  .nav-cta { padding: 0.65rem 0.95rem; font-size: 0.63rem; }
  .utility-panel { right: 1.25rem; width: min(330px, calc(100vw - 2.5rem)); }

  .hero {
    min-height: auto;
    padding: 7.4rem 0 1.2rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
  }

  .hero-copy { max-width: 760px; padding-block: 0; }
  .hero-title { font-size: clamp(3.2rem, 9.8vw, 5.5rem); }
  .hero-title .title-serif { font-size: 0.88em; max-width: 720px; }
  .hero-sub { margin-bottom: 2rem; }
  .hero-console { justify-self: start; width: min(100%, 460px); margin-top: 0; }
  .hero-foot { margin-top: 3rem; }
  #hero-canvas {
    opacity: 0;
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 32%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse 80% 50% at 50% 32%, #000 15%, transparent 72%);
  }
  .hero-field::before { top: 3%; right: -12%; width: 78vw; opacity: 0.4; }
  .hero-field::after { top: 12%; right: -4%; width: 64vw; opacity: 0.5; }
  .hero-atmosphere::after {
    background: linear-gradient(180deg, var(--surface) 0%, rgba(var(--bg-rgb), 0.8) 40%, rgba(var(--bg-rgb), 0.92) 100%);
  }

  .section { padding-block: 5.5rem; }
  .display { font-size: clamp(2.8rem, 8.5vw, 4.6rem); }

  .section-head,
  .reality-head,
  .process-head,
  .work-head,
  .insights-head {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    align-items: start;
  }

  .section-note { margin-left: 0; }
  .reality-copy { margin-left: 0; max-width: 520px; }
  .reality-head .display { font-size: clamp(3rem, 9vw, 5.4rem); }

  .stat-ledger { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .stat { padding: 1.8rem 0 2rem; }
  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--home-line);
    padding-left: 0;
  }
  .stat-nav { margin-bottom: 1.9rem; }
  .stat-number { font-size: clamp(4.6rem, 17vw, 7rem); }
  .stat-label { max-width: 330px; }

  .process-track { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .stage { padding: 2rem 0 2.5rem; }
  .stage + .stage { border-left: none; border-top: 1px solid var(--home-line); padding-left: 0; }
  .stage-marker { margin-bottom: 2rem; }
  .stage-num { font-size: clamp(3.6rem, 14vw, 5.5rem); }
  .stage h3, .stage p { max-width: 460px; }

  .equation { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .equation-cell { padding: 1.6rem 1.4rem; }
  .equation-op {
    width: 100%;
    height: 2.3rem;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
  }

  .services-grid { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .service-panel { min-height: 360px; }
  .service-graphic { height: 125px; }

  .work-layout { grid-template-columns: 1fr; gap: 2rem; margin-top: 3.5rem; }
  .work-preview { display: none; }
  .work-row { grid-template-columns: 34px minmax(0, 1fr); gap: 1rem; }
  .work-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
    margin-top: 0.65rem;
  }
  .work-arrow { margin-top: 0; margin-left: 0.2rem; }
  .work-foot { flex-direction: column; align-items: flex-start; gap: 0.8rem; }

  .why-layout { grid-template-columns: 1fr; gap: 3.5rem; margin-top: 3rem; }
  .why-intro { position: static; }
  .why-intro .display { font-size: clamp(2.9rem, 9vw, 4.8rem); }
  .why-reticle { margin-top: 2rem; }

  .security-layout { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; margin-top: 3rem; }
  .security-copy .display { font-size: clamp(2.9rem, 8.7vw, 4.8rem); }
  .security-visual { min-height: 285px; }

  .insights-grid { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .insight-feature { padding: 2rem 0 2.5rem; border-right: none; border-bottom: 1px solid var(--home-line); }
  .insight-visual { height: 190px; }
  .insight-side { padding-left: 0; }
  .insight-item { padding: 1.8rem 0; }
  .insight-item:first-child { padding-top: 1.8rem; }

  .cta-section { padding: 5.5rem 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 3.5rem; margin-top: 2.5rem; }
  .cta-copy .display { font-size: clamp(2.9rem, 8.8vw, 5rem); }
  .cta-panel { max-width: 540px; }
  .cta-section .qualify-flow { min-height: 340px; }
  .cta-fine { margin-left: 0; }

  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  .footer-nav { max-width: 520px; }
  .footer-mid { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .footer-stack { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .footer-stack span + span::before { margin-right: 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
}

@media (max-width: 640px) {
  :root { --home-gutter: 1.25rem; }

  .brand { flex-shrink: 0; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 0.62rem 0.8rem; font-size: 0.59rem; }
  .utility-toggle { width: 34px; height: 34px; }
  .utility-links { grid-template-columns: 1fr; }

  .hero { padding-top: 6.8rem; }
  .hero-eyebrow { font-size: 0.55rem; letter-spacing: 0.17em; gap: 0.65rem; margin-bottom: 1.5rem; }
  .hero-eyebrow::before { width: 18px; }
  .hero-title { font-size: clamp(2.8rem, 12.6vw, 4.2rem); letter-spacing: -0.045em; }
  .hero-title .title-serif { font-size: 0.87em; line-height: 1.02; }
  .hero-sub { font-size: 0.9rem; line-height: 1.8; }
  .hero-actions { align-items: stretch; }
  .btn-gold, .btn-outline { width: 100%; justify-content: center; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.1rem; margin-top: 2.5rem; }
  .hero-credentials { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .hero-credentials span + span::before { display: none; }
  .console-head { padding: 0.85rem 0.9rem; }
  .console-meta, .console-modules, .console-foot { padding-left: 0.9rem; padding-right: 0.9rem; }
  .console-brand { font-size: 0.5rem; letter-spacing: 0.12em; }
  .module-status { font-size: 0.45rem; }
  .module-lines { font-size: 0.57rem; }

  .ticker { padding: 1.1rem 0; }
  .ticker-item { letter-spacing: 0.1em; }

  .section { padding-block: 4.5rem; }
  .eyebrow { font-size: 0.56rem; letter-spacing: 0.17em; margin-bottom: 1.5rem; }
  .display { font-size: clamp(2.55rem, 10.8vw, 3.8rem); line-height: 1; }
  .reality-head .display { font-size: clamp(2.6rem, 11.4vw, 4rem); }
  .section-index { margin-bottom: 2.5rem; font-size: 0.5rem; }
  .reality-copy { font-size: 0.88rem; }
  .stat-number { font-size: clamp(4rem, 19vw, 6rem); }
  .stage h3 { font-size: 1.45rem; }
  .stage p { font-size: 0.8rem; }
  .equation-cell h3 { font-size: 1.05rem; }

  .service-panel { padding: 1.4rem; min-height: 340px; }
  .service-top { align-items: center; }
  .service-index { font-size: 2.6rem; }
  .service-body { grid-template-columns: 1fr; gap: 1rem; }
  .service-arrow { display: none; }
  .service-graphic { margin-bottom: 1.5rem; }
  .service-body h3 { font-size: 1.55rem; }
  .service-body p { font-size: 0.79rem; }

  .work-row { padding: 1.35rem 0; }
  .work-title { font-size: 1.2rem; }
  .work-desc { font-size: 0.73rem; }
  .work-outcome { font-size: 1rem; }
  .work-meta { flex-wrap: wrap; }
  .work-foot { font-size: 0.63rem; }

  .why-point { grid-template-columns: 54px minmax(0, 1fr) 14px; gap: 0.9rem; }
  .why-point-num { font-size: 2rem; }
  .why-point h3 { font-size: 1.12rem; }
  .why-point p { font-size: 0.77rem; }
  .why-point-mark { font-size: 0.8rem; }
  .why-sub { font-size: 0.88rem; }

  .capability { grid-template-columns: 24px 1fr; }
  .capability h3 { font-size: 0.87rem; }
  .capability p { font-size: 0.72rem; }
  .security-visual { min-height: 250px; }
  .security-title { font-size: 0.5rem; letter-spacing: 0.11em; }
  .security-state { font-size: 0.46rem; }
  .log-row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.6rem; font-size: 0.48rem; }
  .security-tags { padding-inline: 0.9rem; }
  .security-head, .security-log, .security-foot { padding-inline: 0.9rem; }
  .security-foot { align-items: flex-start; flex-direction: column; gap: 0.5rem; }

  .insight-feature h3 { font-size: 1.75rem; }
  .insight-visual { height: 155px; }
  .insight-item h3 { font-size: 1.2rem; }
  .insight-item .insight-arrow { bottom: 1.8rem; }

  .cta-copy .display { font-size: clamp(2.65rem, 11vw, 3.9rem); }
  .cta-lede { font-size: 0.88rem; }
  .cta-panel { padding: 1.15rem; border-radius: 16px; }
  .cta-section .qualify-flow { min-height: 360px; }
  .cta-section .qualify-question { font-size: 1rem; }
  .cta-section .qualify-option { font-size: 0.76rem; padding: 0.72rem 0.8rem; }
  .cta-section .qualify-option .q-icon { width: 19px; height: 19px; }
  .cta-section .qualify-perks { gap: 0.6rem; flex-direction: column; align-items: flex-start; }
  .panel-head em { display: none; }

  .footer-nav { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col a { font-size: 0.72rem; }
  .footer-tagline { font-size: 0.98rem; }
  .footer-stack { font-size: 0.49rem; }
  .footer-stack span + span::before { display: none; }
  .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
}

@media (max-width: 480px) {
  .security .section-index {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .security-head {
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-inline: 0.95rem;
    row-gap: 0.55rem;
  }

  .security-title {
    flex: 1 1 100%;
    font-size: 0.46rem;
    letter-spacing: 0.08em;
    gap: 0.45rem;
  }

  .security-title .shield-mark { width: 21px; height: 21px; }

  .security-state {
    margin-left: auto;
    font-size: 0.47rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 380px) {
  .nav-cta { display: none; }
  .hero-title { font-size: 2.65rem; }
  .stat-number { font-size: 4.2rem; }
  .cta-panel { padding: 0.9rem; }
  .cta-section .qualify-flow { min-height: 390px; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* ── MOTION PREFERENCES ── */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-foot,
  .hero-console {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .console-window,
  .ticker-track,
  .cta-bg-track,
  .radar-sweep,
  .radar-ticks,
  .hero-field::after,
  .hero-scroll-line::after,
  .console-window::after {
    animation: none;
  }

  #hero-canvas { opacity: 0.9; animation: none; }
  .stage:hover .stage-num { color: transparent; -webkit-text-stroke-color: rgba(var(--accent-rgb), 0.4); }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME — READABILITY LAYER
   Lifts low-opacity metadata to accessible contrast on cream.
   Scoped to light mode; the dark composition is unchanged.
   ═══════════════════════════════════════════════════════════ */
html[data-theme="light"] .nav-menu a { color: var(--text-muted); }
html[data-theme="light"] .nav-menu a:hover { color: var(--text); }
html[data-theme="light"] .utility-panel-label { color: var(--text-muted); }
html[data-theme="light"] .utility-status span { color: var(--gold-text); }

html[data-theme="light"] .console-brand i { color: var(--text-muted); }
html[data-theme="light"] .console-meta span { color: var(--text-muted); }
html[data-theme="light"] .console-meta strong { color: var(--text); }
html[data-theme="light"] .module-num { color: var(--gold-text); }
html[data-theme="light"] .module-status { color: var(--gold-text); }
html[data-theme="light"] .module-lines { color: var(--text-muted); }
html[data-theme="light"] .console-foot span { color: var(--text-muted); }
html[data-theme="light"] .console-foot span:last-child { color: var(--gold-text); }

html[data-theme="light"] .hero-scroll,
html[data-theme="light"] .hero-foot { color: var(--text-muted); }
html[data-theme="light"] .eyebrow span { color: var(--text-muted); }
html[data-theme="light"] .ticker-item { color: var(--text-muted); }

html[data-theme="light"] .section-index { color: var(--text-muted); }
html[data-theme="light"] .equation-role { color: var(--text-muted); }
html[data-theme="light"] .stat-nav { color: var(--text-muted); }
html[data-theme="light"] .stat-nav span:last-child { color: var(--gold-text); }
html[data-theme="light"] .stat-label { color: var(--text-muted); }
html[data-theme="light"] .stat-label strong { color: var(--text-soft); }
html[data-theme="light"] .why-reticle { color: var(--text-muted); }
html[data-theme="light"] .security-title em { color: var(--text-muted); }
html[data-theme="light"] .radar-core span { color: var(--pd-text); }
html[data-theme="light"] .insight-meta { color: var(--text-muted); }
html[data-theme="light"] .panel-head em { color: var(--gold-text); }

html[data-theme="light"] .service-tag { color: var(--gold-text); }
html[data-theme="light"] .work-num { color: var(--gold-text); }
html[data-theme="light"] .work-tag { color: var(--text-muted); }
html[data-theme="light"] .work-stack { color: var(--text-muted); }
html[data-theme="light"] .work-outcome-label { color: var(--text-muted); }
html[data-theme="light"] .work-foot { color: var(--text-muted); }

html[data-theme="light"] .why-point-label { color: var(--text-muted); }
html[data-theme="light"] .capability-num { color: var(--gold-text); }
html[data-theme="light"] .insight-item-num { color: var(--gold-text); }
html[data-theme="light"] .signal-code { color: var(--gold-text); }
html[data-theme="light"] .security-proof { color: var(--pd-tint-strong); }
html[data-theme="light"] .log-row { color: var(--text-muted); }
html[data-theme="light"] .log-time,
html[data-theme="light"] .log-state { color: var(--pd-text); }
html[data-theme="light"] .security-tags span { color: var(--pd-text); }
html[data-theme="light"] .security-foot { color: var(--text-muted); }

html[data-theme="light"] .qualify-back,
html[data-theme="light"] .qualify-perk,
html[data-theme="light"] .qualify-or-divider,
html[data-theme="light"] .qualify-email-toggle,
html[data-theme="light"] .cta-fine { color: var(--text-muted); }
html[data-theme="light"] .cta-section .q-book-sub { color: var(--text-soft); }

html[data-theme="light"] .footer-tagline,
html[data-theme="light"] .footer-integrations-label,
html[data-theme="light"] .footer-integrations p,
html[data-theme="light"] .footer-col h3,
html[data-theme="light"] .footer-col a,
html[data-theme="light"] .footer-shield,
html[data-theme="light"] .footer-stack,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .sortlist-link { color: var(--text-muted); }
html[data-theme="light"] .footer-col a .ext,
html[data-theme="light"] .footer-back-top { color: var(--gold-text); }
html[data-theme="light"] .footer-shield strong { color: var(--text); }
