/* Sovereign Systems Labs: design system v2.
   Dark, minimal, editorial. Plain CSS, no build step.
   CSP note: no inline styles anywhere; JS sets CSS custom properties through the CSSOM. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-normal-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-normal-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --bg: #07090c;
  --bg-2: #0b0e13;
  --panel: rgba(236, 235, 230, 0.025);
  --panel-2: rgba(236, 235, 230, 0.045);
  --line: rgba(236, 235, 230, 0.09);
  --line-2: rgba(236, 235, 230, 0.16);
  --text: #eeede8;
  --text-2: #b9bec7;
  --muted: #8d949f;
  --brass: #c9a45c;
  --brass-2: #e4c68d;
  --on-brass: #120e07;
  --ok: #67d6a5;
  --danger: #ff9ea2;
  --gold-grad: linear-gradient(100deg, #f3dfb2 0%, #d9b46e 45%, #b38a44 100%);

  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section: clamp(96px, 13vw, 176px);
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;

  color-scheme: dark;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Body stays transparent so the fixed background canvas (z-index -2) shows through. */
body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film grain over everything: subtle texture that reads as print, not screen. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brass);
  color: var(--on-brass);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brass);
  color: var(--on-brass);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Animated background ---------- */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.bg-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, transparent 40%, rgba(7, 9, 12, 0.75) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0) 0%, rgba(7, 9, 12, 0.35) 100%);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--text);
}

.display em,
.gold {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.h2 {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
}

.h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  color: var(--text-2);
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.fine {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brass-2);
  font-weight: 500;
  text-decoration: none;
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover span,
a:hover > .text-link span {
  transform: translateX(4px);
}

.dot-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 14px;
}

.btn-lg {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary {
  background: var(--brass);
  color: var(--on-brass);
  box-shadow: 0 0 0 0 rgba(201, 164, 92, 0);
}

.btn-primary:hover {
  background: var(--brass-2);
  box-shadow: 0 10px 40px -10px rgba(228, 198, 141, 0.55);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(7, 9, 12, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(236, 235, 230, 0.45);
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.nav-open .site-header {
  background: rgba(7, 9, 12, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__bg {
  fill: var(--brass);
}

.brand__trace {
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__node {
  fill: var(--bg);
}

.brand__name {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand__name span {
  color: var(--muted);
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__links a {
  position: relative;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 450;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--text);
}

.site-nav__links a:hover::after,
.site-nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 25px;
}

.nav-open .nav-toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 24px var(--gutter) 40px;
    background: rgba(7, 9, 12, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-family: var(--serif);
    font-size: 30px;
    letter-spacing: -0.01em;
  }

  .site-nav__links a::after {
    display: none;
  }

  .site-nav .btn {
    min-height: 54px;
    font-size: 16px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
}

.hero__aura {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 1100px;
  max-height: 1100px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, rgba(201, 164, 92, 0.22), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(120, 150, 210, 0.14), transparent 55%);
  filter: blur(40px);
  pointer-events: none;
  animation: aura 22s ease-in-out infinite alternate;
}

@keyframes aura {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-6%, 8%, 0) scale(1.08);
  }
  100% {
    transform: translate3d(4%, -4%, 0) scale(0.96);
  }
}

.hero__inner {
  position: relative;
}

.hero__eyebrow {
  flex-wrap: wrap;
  row-gap: 6px;
  margin-bottom: 32px;
}

.hero__title {
  max-width: 13ch;
  font-size: clamp(3.4rem, 9.6vw, 9.25rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 600px;
  margin-top: 36px;
  color: var(--text-2);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 12px rgba(201, 164, 92, 0.8);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 24px;
  height: 40px;
  margin-left: -12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--brass);
  animation: scrollcue 2.2s var(--ease) infinite;
}

@keyframes scrollcue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

.rise {
  animation: rise 1.2s var(--ease) both;
}

.rise-2 {
  animation-delay: 0.08s;
}

.rise-3 {
  animation-delay: 0.2s;
}

.rise-4 {
  animation-delay: 0.32s;
}

.rise-5 {
  animation-delay: 0.44s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- Logo marquee ---------- */

.logos {
  padding: 36px 0 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.4), rgba(7, 9, 12, 0.7));
}

.logos__label {
  margin-bottom: 28px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  padding: 0 44px;
  color: rgba(236, 235, 230, 0.62);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.wordmark:hover {
  color: var(--text);
}

.wordmark::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 88px;
  border-radius: 1px;
  background: rgba(201, 164, 92, 0.6);
  transform: rotate(45deg);
}

.wordmark--sans {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.wordmark--serif {
  font-family: var(--serif);
  font-size: 31px;
  font-style: italic;
  letter-spacing: -0.01em;
}

.wordmark--caps {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.org-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.org-wall li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.org-wall .wordmark {
  padding: 0;
}

.org-wall .wordmark::after {
  display: none;
}

@media (max-width: 760px) {
  .org-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .org-wall .wordmark--serif {
    font-size: 22px;
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: var(--section) 0 0;
}

main > .section:last-child {
  padding-bottom: var(--section);
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .label {
  margin-bottom: 24px;
}

.section-head .lead {
  margin-top: 24px;
  max-width: 640px;
}

.section-head--row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

.split .label {
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Statement */

.statement__text {
  max-width: 24ch;
  margin-top: 32px;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Service list */

.service-list {
  border-top: 1px solid var(--line);
  counter-reset: svc;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(220px, 0.9fr) minmax(0, 1.2fr) 40px;
  align-items: center;
  gap: 24px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease);
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.service-row:hover::before {
  opacity: 1;
}

.service-row:hover {
  padding-left: 20px;
}

.service-row__num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

.service-row__name {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.service-row__desc {
  color: var(--text-2);
}

.service-row__arrow {
  justify-self: end;
  color: var(--brass);
  font-size: 20px;
  transform: translateX(-6px);
  opacity: 0.5;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.service-row:hover .service-row__arrow {
  transform: none;
  opacity: 1;
}

@media (max-width: 760px) {
  .service-row {
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    gap: 8px 14px;
    padding: 24px 0;
  }

  .service-row:hover {
    padding-left: 0;
  }

  .service-row__desc {
    grid-column: 2 / 3;
    font-size: 15px;
  }

  .service-row__arrow {
    grid-row: 1;
    grid-column: 3;
  }
}

/* Grids and tiles */

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.tile,
.discipline,
.project,
.deadline,
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.tile__title {
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.tile p,
.discipline p,
.project p,
.card p {
  color: var(--text-2);
}

/* Cursor spotlight (JS sets --mx/--my) */
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(201, 164, 92, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.spotlight:hover {
  border-color: var(--line-2);
}

.spotlight:hover::before {
  opacity: 1;
}

a.spotlight:hover {
  transform: translateY(-3px);
}

.discipline__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--brass-2);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
}

.project__tags {
  color: var(--muted) !important;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project__meta {
  margin-top: auto;
  padding-top: 8px;
  color: var(--brass-2) !important;
  font-size: 14px;
}

/* Ticks */

.ticks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.ticks li {
  display: flex;
  gap: 14px;
  color: var(--text);
}

.ticks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin-top: 13px;
  background: var(--brass);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 32px 28px 8px 0;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.step__num {
  display: block;
  margin-bottom: 40px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 13px;
}

.step__when {
  margin: 6px 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    padding: 28px 0 8px;
    border-left: 0;
  }

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

  .step__num {
    margin-bottom: 18px;
  }
}

/* Pricing */

.pricing {
  border-top: 1px solid var(--line);
}

.pricing__group {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.pricing__label {
  padding: 26px 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 160px;
  align-items: center;
  gap: 16px;
  padding: 22px 12px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}

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

.price-row:hover {
  background: var(--panel-2);
}

.price-row__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
}

.price-row__meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
}

.price-row__price {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.75rem;
  text-align: right;
  letter-spacing: -0.01em;
}

.price-row__price small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  padding: 3px 10px;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 999px;
  color: var(--brass-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--alert {
  border-color: rgba(255, 158, 162, 0.4);
  color: var(--danger);
}

@media (max-width: 760px) {
  .pricing__group {
    grid-template-columns: 1fr;
  }

  .pricing__label {
    padding: 22px 0 6px;
  }

  .price-row {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px 0;
  }

  .price-row__meta {
    grid-row: 2;
  }

  .price-row__price {
    grid-row: 1 / 3;
    grid-column: 2;
    font-size: 1.4rem;
  }
}

/* Deadlines */

.deadline__when {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.deadline__text {
  color: var(--text-2);
}

.deadline .text-link {
  margin-top: auto;
  padding-top: 10px;
}

/* Commitments */

.commitments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}

.commitment {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.commitment h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.commitment p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}

@media (max-width: 900px) {
  .commitments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .commitments {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}

.faq__intro .label {
  margin-bottom: 24px;
}

.faq__intro .muted {
  margin-top: 24px;
}

.faq__intro a {
  color: var(--text);
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: block;
  padding: 26px 48px 26px 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--brass), var(--brass)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--brass), var(--brass)) center / 1.5px 14px no-repeat;
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq__answer {
  padding: 0 48px 28px 0;
}

@media (max-width: 900px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.contact__aside .label {
  margin-bottom: 24px;
}

.contact__aside .lead {
  margin-top: 24px;
}

.next-steps {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  counter-reset: next;
}

.next-steps li {
  display: flex;
  gap: 16px;
  color: var(--text-2);
}

.next-steps li::before {
  counter-increment: next;
  content: "0" counter(next);
  flex: none;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
}

.scarcity {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text-2);
  font-size: 15px;
}

.pulse {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--ok);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  from {
    opacity: 0.8;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

.contact__direct {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact__direct p {
  color: var(--muted);
  font-size: 14px;
}

.contact__direct a {
  display: inline-block;
  margin-top: 6px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact__direct a:hover {
  color: var(--brass-2);
}

@media (max-width: 960px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* Forms */

.form {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(236, 235, 230, 0.05), rgba(236, 235, 230, 0.015));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea,
.subscribe input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(7, 9, 12, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: var(--bg-2);
  color: var(--text);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.subscribe input::placeholder {
  color: #6c7480;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.subscribe input:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(7, 9, 12, 0.85);
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.16);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 2px 0 18px;
  color: var(--text-2);
  font-size: 14.5px;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brass);
}

.field--hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__turnstile {
  margin-bottom: 4px;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}

.form__privacy {
  max-width: 300px;
  color: var(--muted);
  font-size: 13.5px;
}

.form__privacy a,
.subscribe__fine a {
  color: var(--text-2);
}

.form-status {
  margin-top: 16px;
  font-size: 15px;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  padding: 14px 16px;
  border: 1px solid rgba(103, 214, 165, 0.3);
  border-radius: 12px;
  background: rgba(103, 214, 165, 0.08);
  color: #a6ecc9;
}

.form-status.is-error {
  padding: 14px 16px;
  border: 1px solid rgba(255, 158, 162, 0.3);
  border-radius: 12px;
  background: rgba(255, 158, 162, 0.07);
  color: #ffc4c6;
}

.form-status a {
  color: inherit;
}

@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form__footer .btn {
    width: 100%;
  }
}

/* Subscribe */

.subscribe {
  max-width: 420px;
  margin-top: 28px;
}

.subscribe__title {
  display: block;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.subscribe__text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}

.subscribe__row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.6);
}

.subscribe__row:focus-within {
  border-color: var(--brass);
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.14);
}

.subscribe input {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.subscribe input:focus {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.subscribe__fine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.subscribe .cf-turnstile {
  margin-top: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  margin-top: var(--section);
  padding: 0 0 48px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.6), rgba(7, 9, 12, 0.95));
  font-size: 15px;
}

.footer-cta {
  padding: clamp(80px, 11vw, 150px) 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.footer-cta__title {
  max-width: 16ch;
  margin: 24px auto 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-top: 72px;
}

.site-footer__tagline {
  max-width: 340px;
  margin-top: 18px;
  color: var(--muted);
}

.site-footer__heading {
  margin-bottom: 18px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 11px;
}

.site-footer li {
  overflow-wrap: anywhere;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer nav a:hover {
  color: var(--text);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

.site-footer__ack {
  max-width: 620px;
}

@media (max-width: 980px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid nav:last-child {
    grid-column: 1 / -1;
  }
}

/* Sticky mobile CTA */

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}

.mobile-cta .btn {
  width: 100%;
  min-height: 52px;
  box-shadow: 0 16px 50px -12px rgba(0, 0, 0, 0.9);
}

.mobile-cta.is-visible {
  transform: none;
}

@media (max-width: 760px) {
  .mobile-cta {
    display: block;
  }
}

/* ---------- Inner pages ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(64px, 10vw, 128px)) 0 clamp(24px, 4vw, 48px);
}

.page-hero .label {
  margin-bottom: 26px;
}

.page-title {
  max-width: 16ch;
  font-size: clamp(3rem, 7.6vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.page-lead {
  max-width: 680px;
  margin-top: 32px;
  color: var(--text-2);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs {
  margin-bottom: 36px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-2);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.offer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(201, 164, 92, 0.12), transparent 60%), var(--panel);
}

.offer-box__price {
  margin-top: 14px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
}

.offer-box__price small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
}

.offer-box p {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .offer-box {
    grid-template-columns: 1fr;
  }
}

.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 860px) {
  .related {
    grid-template-columns: 1fr;
  }
}

/* Prose (articles, legal) */

.prose {
  max-width: 740px;
  padding-top: clamp(40px, 6vw, 72px);
  color: var(--text-2);
  font-size: 17.5px;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 20px;
}

.prose h2 {
  margin-top: 64px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.prose h3 {
  margin-top: 36px;
  font-size: 1.2rem;
  font-weight: 500;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 10px;
  padding-left: 0;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 28px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.85em;
  width: 12px;
  height: 1px;
  background: var(--brass);
}

.prose ol {
  counter-reset: item;
}

.prose ol li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.4;
}

.prose a {
  color: var(--brass-2);
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--brass);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.3;
}

.callout {
  padding: 22px 24px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--brass);
  border-radius: 14px;
  background: var(--panel);
  font-size: 15.5px;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--text);
  font-weight: 500;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.toc {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.toc p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  margin-top: 12px;
}

.toc a {
  color: var(--text-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
}

/* Insights list */

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

.post-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 40px;
  gap: 24px;
  padding: 36px 8px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}

.post-row:hover {
  background: var(--panel);
}

.post-row__meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-row__title {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.post-row__desc {
  margin-top: 10px;
  color: var(--text-2);
}

.post-row__arrow {
  color: var(--brass);
  font-size: 20px;
}

@media (max-width: 760px) {
  .post-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .post-row__arrow {
    display: none;
  }
}

/* Recognition */

.recognition {
  border-top: 1px solid var(--line);
}

.recognition li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.recognition span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 13px;
}

.recognition p {
  color: var(--text);
}

/* ---------- Readiness check ---------- */

.readiness {
  max-width: 860px;
}

.rq {
  margin-top: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.rq legend {
  display: contents;
}

.rq__num {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.rq__q {
  margin-top: 8px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 500;
}

.rq__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.rq__option {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--text-2);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.rq__option:hover {
  border-color: rgba(236, 235, 230, 0.35);
}

.rq__option input {
  flex: none;
  margin-top: 4px;
  accent-color: var(--brass);
}

.rq__option:has(input:checked) {
  border-color: var(--brass);
  background: rgba(201, 164, 92, 0.08);
  color: var(--text);
}

@media (max-width: 640px) {
  .rq__options {
    grid-template-columns: 1fr;
  }
}

.progress {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.bar {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  border-radius: 4px;
  background: var(--gold-grad);
  transition: width 0.6s var(--ease);
}

.result {
  margin-top: 40px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(201, 164, 92, 0.12), transparent 60%), var(--panel);
}

.result[hidden] {
  display: none;
}

.result__score {
  margin-top: 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
}

.result__score small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 18px;
}

.result__tier {
  margin-top: 8px;
  color: var(--brass-2);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.result__summary {
  margin-top: 16px;
  max-width: 640px;
}

.result__bars {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.result__bar {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 48px;
  gap: 16px;
  align-items: center;
  font-size: 14.5px;
}

.result__bar span:last-child {
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  text-align: right;
}

.result__recs-label {
  display: flex;
  margin-top: 40px;
}

.result__recs {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.result__recs li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 9, 12, 0.4);
}

.result__recs strong {
  color: var(--text);
  font-weight: 500;
}

.result .hero__ctas {
  margin-top: 32px;
}

/* ---------- Simple centred pages ---------- */

.centered {
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: calc(var(--header-h) + 64px) 0 64px;
}

.centered .lead {
  max-width: 560px;
  margin-top: 24px;
}

.centered .hero__ctas {
  margin-top: 36px;
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    row-gap: 16px;
  }

  .marquee__track [aria-hidden="true"] {
    display: none;
  }
}

@media print {
  .bg-canvas,
  .bg-veil,
  .site-header,
  .mobile-cta,
  body::after {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

.rq__num,
.rq__q {
  display: block;
}
