/* ==========================================================
   KNJ Media - styles
   Colours taken from the KNJ Media logo: black, gold, brushed silver.
   ========================================================== */

:root {
  /* Brand palette */
  --black: #070707;
  --surface: #0f0e0c;
  --surface-2: #171512;
  --line: #2a2620;

  --gold-light: #f6dc8f;
  --gold: #d4a548;
  --gold-deep: #9c7124;

  --silver-light: #f1f2f4;
  --silver: #c9ccd1;
  --silver-deep: #8d9198;

  --text: #d6d6d6;        /* body text on black: 13:1 */
  --text-muted: #a3a3a3;  /* secondary text on black: 7.9:1 */
  --error: #ff8a7a;       /* error text on black: 8:1 */

  /* Gradients */
  --grad-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #b88732 100%);
  --grad-silver: linear-gradient(180deg, #ffffff 0%, var(--silver) 55%, var(--silver-deep) 100%);

  /* Type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing (8px rhythm) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, .9, .32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0;
  color: var(--silver-light);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-stretch: 118%;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  font-stretch: 108%;
  font-weight: 700;
  line-height: 1.25;
}

p { margin: 0; }

a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); color: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 105%;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-gold {
  background: var(--grad-gold);
  color: #120d04;
  box-shadow: 0 0 0 0 rgba(212, 165, 72, 0);
}
.btn-gold:hover {
  color: #120d04;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(212, 165, 72, .65);
}

.btn-ghost {
  background: transparent;
  color: var(--silver-light);
  border-color: rgba(201, 204, 209, .35);
}
.btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- Icons ---------- */
.icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}
.wordmark-knj {
  font-size: 1.75rem;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
/* The gold swoosh from the logo, cutting through the letters */
.wordmark-knj::after {
  content: "";
  position: absolute;
  left: 4%;
  right: -6%;
  top: 34%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: rotate(-14deg);
  transform-origin: left center;
  box-shadow: 0 0 8px rgba(246, 220, 143, .6);
}
.wordmark-media {
  font-size: .8rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--silver);
}
.wordmark:hover .wordmark-media { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* The blur sits on a pseudo-element: backdrop-filter on the header itself
   would trap the fixed full-screen mobile menu inside the header's box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 7, 7, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: transparent;
  color: var(--silver-light);
  border: 1px solid rgba(201, 204, 209, .3);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu: full screen below the header */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 20px;
  background: var(--black);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li + li { border-top: 1px solid var(--line); }
.site-nav ul a {
  display: block;
  padding: 18px 0;
  color: var(--silver-light);
  font-size: 1.5rem;
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: none;
}
.site-nav ul a:hover { color: var(--gold-light); }
.nav-cta { min-height: 56px; }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-5) var(--space-7);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, rgba(212, 165, 72, .16), rgba(212, 165, 72, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 1.3rem + 4.2vw, 4rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 13ch;
}

.hero-lede {
  margin-top: var(--space-3);
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-4);
}

.hero-fact {
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
}
.hero-fact strong { color: var(--gold-light); font-weight: 700; }

.hero-visual { display: flex; justify-content: center; }

/* Headline with the logo badge before it */
/* The badge floats so only the first lines of the headline wrap beside it */
.hero-heading { display: flow-root; }
.hero-heading .hero-title { max-width: none; }

.medallion {
  position: relative;
  aspect-ratio: 1;
}
.hero-badge {
  float: left;
  width: clamp(64px, 1rem + 6.4vw, 112px);
  margin: 6px clamp(14px, 1.6vw, 24px) 8px 0;
  shape-outside: circle(50%);
}
.medallion img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 34px -12px rgba(212, 165, 72, .55);
}

/* ==========================================================
   3D analytics dashboard (illustration, no real figures)
   ========================================================== */
.dash-scene {
  --tilt-x: 10deg;
  --tilt-y: -16deg;
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1.08;
  perspective: 1400px;
  perspective-origin: 60% 40%;
}
.dash {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(1.5deg);
}

.dash-card {
  --z: 0px;
  position: absolute;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 45%, rgba(212, 165, 72, .05)),
    rgba(18, 16, 13, .92);
  border: 1px solid rgba(246, 220, 143, .22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 30px 60px -24px rgba(0, 0, 0, .9),
    0 0 40px -18px rgba(212, 165, 72, .5);
  transform: translateZ(var(--z));
  /* Entrance and float animate separate properties (opacity/scale and
     translate) so the phone's graphics chip can run both */
  animation:
    card-in .8s var(--ease-out) both,
    card-float 7s ease-in-out infinite alternate;
  will-change: translate;
}
@keyframes card-in {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}
@keyframes card-float {
  from { translate: 0 0; }
  to { translate: 0 -10px; }
}

.dash-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-label {
  color: var(--silver);
  font-size: .9375rem;
  font-weight: 600;
  font-stretch: 105%;
}
.dash-dots { display: inline-flex; gap: 5px; margin-right: 4px; }
.dash-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 204, 209, .25);
}
.dash-dots i:first-child { background: var(--gold); }
.dash-trend {
  width: 22px;
  height: 22px;
  margin-left: auto;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Main card: enquiries line graph */
.dash-main {
  --z: 0px;
  left: 4%;
  top: 22%;
  width: 80%;
  height: 52%;
  display: flex;
  flex-direction: column;
  animation-delay: .25s, 1.2s;
}
.dash-line {
  flex: 1;
  width: 100%;
  margin-top: 14px;
  overflow: visible;
}
.dash-grid line { stroke: rgba(201, 204, 209, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash-area {
  fill: url(#dash-area);
  opacity: 0;
  animation: fade-in 1s 1.4s ease-out forwards;
}
.dash-stroke {
  fill: none;
  stroke: url(#dash-stroke);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(246, 220, 143, .55));
  animation: line-draw 1.6s .7s var(--ease-out) forwards;
}
@keyframes line-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* Sits on the end of the line: card padding + header + gap, then 14/130 down the graph */
.dash-point {
  position: absolute;
  right: 14px;
  top: calc(48px + (100% - 72px) * .1077);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 6px rgba(246, 220, 143, .18), 0 0 18px rgba(246, 220, 143, .9);
  opacity: 0;
  animation: fade-in .4s 2.2s forwards, point-pulse 2.4s 2.6s ease-in-out infinite;
}
@keyframes point-pulse {
  50% { box-shadow: 0 0 0 11px rgba(246, 220, 143, .06), 0 0 24px rgba(246, 220, 143, 1); }
}

/* Calls: bar chart */
.dash-bars {
  --z: 70px;
  left: 0;
  bottom: 4%;
  width: 46%;
  height: 40%;
  display: flex;
  flex-direction: column;
  animation-delay: .5s, 1.3s;
}
.bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 7%;
  margin-top: 12px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 45%, rgba(156, 113, 36, .55));
  transform-origin: bottom;
  transform: scaleY(0);
  animation: bar-grow .7s var(--ease-out) forwards;
}
.bars i:nth-child(1) { animation-delay: .9s; opacity: .55; }
.bars i:nth-child(2) { animation-delay: .97s; opacity: .6; }
.bars i:nth-child(3) { animation-delay: 1.04s; opacity: .65; }
.bars i:nth-child(4) { animation-delay: 1.11s; opacity: .72; }
.bars i:nth-child(5) { animation-delay: 1.18s; opacity: .8; }
.bars i:nth-child(6) { animation-delay: 1.25s; opacity: .86; }
.bars i:nth-child(7) { animation-delay: 1.32s; opacity: .93; }
.bars i:nth-child(8) { animation-delay: 1.39s; box-shadow: 0 0 16px rgba(246, 220, 143, .55); }
@keyframes bar-grow { to { transform: scaleY(1); } }

/* Ad clicks: trend card */
.dash-stat {
  --z: 110px;
  right: 0;
  top: 0;
  width: 38%;
  animation-delay: .65s, 2.4s;
}
.dash-spark {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 12px;
  overflow: visible;
}
.dash-spark path {
  fill: none;
  stroke: var(--silver-light);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: line-draw 1.2s 1.3s var(--ease-out) forwards;
}
.dash-meter {
  height: 6px;
  margin-top: 14px;
  border-radius: 6px;
  background: rgba(201, 204, 209, .12);
  overflow: hidden;
}
.dash-meter i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-gold);
  transform-origin: left;
  transform: scaleX(0);
  animation: meter-fill 1.2s 1.5s var(--ease-out) forwards;
}
@keyframes meter-fill { to { transform: scaleX(1); } }

/* Notification */
.dash-note {
  --z: 150px;
  right: 2%;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  border-color: rgba(246, 220, 143, .45);
  color: var(--silver-light);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  animation-delay: 2.3s, 3.1s;
}
.dash-check {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hold the build-in until the dashboard is first on screen (set by script.js) */
.dash-scene.is-waiting *,
.dash-scene.is-waiting *::before { animation-play-state: paused !important; }
/* Not drawn until it builds in (the cards fade in from nothing anyway) */
.dash-scene.is-waiting { visibility: hidden; }

/* Rest the looping parts while the dashboard is off screen */
.dash-scene.is-offscreen .dash-card,
.dash-scene.is-offscreen .dash-point { animation-play-state: paused; }

@media (max-width: 959px) {
  .dash-scene { --tilt-x: 8deg; --tilt-y: -10deg; width: min(100%, 460px); }
  .dash-card { padding: 14px 16px; border-radius: 14px; }
  .dash-label,
  .dash-note { font-size: .8125rem; }
  .dash-note { padding: 10px 14px 10px 12px; right: 0; bottom: -2%; }
  .dash-bars { width: 40%; }
}

/* The one orchestrated moment: a gold ring draws around the logo on load */
.orbit {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  overflow: visible;
  transform: rotate(-110deg);
  pointer-events: none;
}
.orbit-path {
  fill: none;
  stroke: url(#orbit-gold);
  stroke-width: .9;
  stroke-linecap: round;
  stroke-dasharray: 610;
  stroke-dashoffset: 610;
  filter: drop-shadow(0 0 2px rgba(246, 220, 143, .8));
  animation: orbit-draw 2.2s .3s var(--ease-out) forwards;
}
@keyframes orbit-draw {
  to { stroke-dashoffset: 150; }
}

/* ---- Logo animation: shine + orbit + breathing glow ---- */
/* Start on the visitor's first interaction or after 4 seconds (script.js adds
   .decor-ready), so drawing them never slows the page load. The ring is
   invisible before it draws in, so nothing visible is lost. */
html:not(.decor-ready) .hero-badge .orbit,
html:not(.decor-ready) .hero-badge .sheen,
html:not(.decor-ready) .hero-badge .medallion-glow { display: none; }
.medallion img { position: relative; z-index: 1; }
.orbit { z-index: 2; }

/* Once drawn, the gold ring keeps circling slowly */
.orbit {
  animation: orbit-spin 28s 2.5s linear infinite;
}
@keyframes orbit-spin {
  from { transform: rotate(-110deg); }
  to { transform: rotate(250deg); }
}

/* Soft gold glow behind the logo that slowly breathes */
.medallion-glow {
  position: absolute;
  inset: -12%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 165, 72, .38), rgba(212, 165, 72, .12) 60%, rgba(212, 165, 72, 0));
  opacity: .55;
  animation: glow-breathe 6s 1.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-breathe {
  from { opacity: .45; transform: scale(.97); }
  to { opacity: 1; transform: scale(1.03); }
}

/* A band of light sweeps across the metal lettering */
.sheen {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.sheen::before {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 45%;
  background: linear-gradient(100deg,
    rgba(255, 236, 180, 0) 0%,
    rgba(255, 236, 180, .10) 30%,
    rgba(255, 244, 214, .55) 50%,
    rgba(255, 236, 180, .10) 70%,
    rgba(255, 236, 180, 0) 100%);
  transform: translateX(-120%) skewX(-18deg);
  animation: sheen-sweep 7s 2.6s cubic-bezier(.45, .05, .25, 1) infinite;
}
@keyframes sheen-sweep {
  0%   { transform: translateX(-120%) skewX(-18deg); }
  22%  { transform: translateX(260%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}
/* Hovering replays the shine straight away */
.medallion:hover .sheen::before {
  animation: sheen-once 1.3s cubic-bezier(.45, .05, .25, 1);
}
@keyframes sheen-once {
  from { transform: translateX(-120%) skewX(-18deg); }
  to { transform: translateX(260%) skewX(-18deg); }
}

/* Paused while the logo is off screen */
.medallion.is-offscreen .orbit,
.medallion.is-offscreen .medallion-glow,
.medallion.is-offscreen .sheen::before {
  animation-play-state: paused;
}

/* Supporting hero text enters once. The headline shows straight away so
   the page counts as loaded sooner (Google speed score). */
.hero-copy > :not(.hero-heading) {
  animation: rise .7s var(--ease-out) both;
}
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-7); }
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-5);
}
.section-head p {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Tick lists */
.ticks {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: var(--space-3);
}
.service {
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s var(--ease-out);
}
.service:hover { border-color: rgba(212, 165, 72, .55); transform: translateY(-2px); }
.service h3 { margin-top: var(--space-3); }
.service > p { margin-top: 10px; color: var(--text-muted); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  counter-reset: none;
}
.step {
  position: relative;
  padding-left: 72px;
}
.step-num {
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.25rem;
  font-weight: 800;
  font-stretch: 120%;
}
.step p { margin-top: 8px; color: var(--text-muted); }

/* ---------- Free check: what are you missing? ---------- */
.section-check {
  position: relative;
  overflow: hidden;
}
.section-check::before {
  content: "";
  position: absolute;
  right: -260px;
  top: 10%;
  width: 760px;
  height: 760px;
  background: radial-gradient(closest-side, rgba(212, 165, 72, .11), rgba(212, 165, 72, 0));
  pointer-events: none;
}

.check {
  position: relative;
  max-width: 880px;
  padding: var(--space-4) 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--grad-gold) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 70px -40px rgba(212, 165, 72, .5);
}

/* Progress */
.check-progress { display: grid; gap: 10px; }
.check-count { color: var(--text-muted); font-weight: 600; font-size: .9375rem; }
.check-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(201, 204, 209, .12);
  overflow: hidden;
}
.check-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-gold);
  transition: width .4s var(--ease-out);
}

/* Question */
.check-question {
  margin-top: var(--space-4);
  min-height: 2.5em;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.2;
  outline: none;
}
.check-quiz:not([hidden]) .check-question { animation: q-in .35s var(--ease-out); }
@keyframes q-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

.check-answers {
  display: grid;
  gap: 12px;
  margin-top: var(--space-4);
}
.check-answer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 20px;
  background: var(--black);
  color: var(--silver-light);
  border: 1px solid #3a352d;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color .2s, background-color .2s, transform .15s var(--ease-out), color .2s;
}
.check-answer svg {
  width: 26px;
  height: 26px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check-answer:hover {
  border-color: var(--gold);
  background: rgba(212, 165, 72, .08);
  color: var(--gold-light);
}
.check-answer:active { transform: scale(.98); }
.check-answer[aria-pressed="true"] { border-color: var(--gold); background: rgba(212, 165, 72, .12); }
.check-answer-quiet { color: var(--text); font-weight: 600; }
.check-answer-quiet svg { border-color: rgba(201, 204, 209, .4); stroke: var(--silver); }

.check-back {
  margin-top: var(--space-3);
  padding: 10px 0;
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--text-muted);
  font: inherit;
  font-size: .9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.check-back:hover { color: var(--gold-light); }

/* Result */
.check-result:not([hidden]) { animation: fade-up .5s var(--ease-out); }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.check-score {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}
.check-ring {
  position: relative;
  width: 132px;
  height: 132px;
}
.check-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.check-ring-track { fill: none; stroke: rgba(201, 204, 209, .12); stroke-width: 9; }
.check-ring-fill {
  fill: none;
  stroke: url(#ring-gold);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(246, 220, 143, .5));
  transition: stroke-dashoffset 1.2s var(--ease-out) .15s;
}
.check-ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1;
}
.check-ring-label strong {
  color: var(--silver-light);
  font-size: 2.5rem;
  font-weight: 900;
  font-stretch: 120%;
}
.check-ring-label span { margin-top: 4px; color: var(--text-muted); font-size: .9375rem; }

.check-result-title {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem);
  font-weight: 800;
  font-stretch: 112%;
  outline: none;
}
.check-result-text { margin-top: 8px; color: var(--text); max-width: 52ch; }

.check-subhead {
  margin: var(--space-5) 0 var(--space-2);
  color: var(--silver-light);
  font-size: 1.125rem;
  font-weight: 700;
  font-stretch: 105%;
}

.check-gaps,
.check-haves {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-gap {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
/* Red-gold warning mark on each gap */
.check-gap::before {
  content: "!";
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 138, 122, .14);
  border: 1.5px solid var(--error);
  color: var(--error);
  font-size: .875rem;
  font-weight: 900;
}
.check-gap.is-unsure::before {
  content: "?";
  background: rgba(212, 165, 72, .12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.check-flag {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: .8125rem;
  font-weight: 700;
}
.check-item-title { color: var(--silver-light); font-weight: 700; font-size: 1.0625rem; }
.check-item-text { margin-top: 4px; color: var(--text-muted); }
.check-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 72, .45);
  color: var(--gold-light);
  font-size: .8125rem;
  font-weight: 600;
}

.check-haves { grid-template-columns: 1fr; gap: 8px; }
.check-have {
  position: relative;
  padding-left: 30px;
}
.check-have::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .35em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.check-have .check-item-title { font-weight: 500; color: var(--text); font-size: 1rem; }

.check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-5);
}
.check-actions .btn { flex: 1 1 auto; }

.check-noscript { color: var(--text); }

@media (min-width: 640px) {
  .check { padding: var(--space-5); }
  .check-answers { grid-template-columns: 1fr 1fr 1fr; }
  .check-answer { justify-content: center; }
  .check-score { grid-template-columns: auto 1fr; gap: var(--space-4); }
  .check-haves { grid-template-columns: 1fr 1fr; }
  .check-actions .btn { flex: 0 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .check-bar i,
  .check-ring-fill { transition: none; }
  .check-question,
  .check-result { animation: none !important; }
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  gap: var(--space-3);
  max-width: 960px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan .ticks { margin-bottom: var(--space-4); flex: 1; align-content: start; }
.plan-name { font-size: 1.375rem; }
.plan-price {
  margin-top: var(--space-2);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem);
  font-weight: 900;
  font-stretch: 120%;
  line-height: 1;
  color: var(--silver-light);
  font-variant-numeric: tabular-nums;
}
.plan-from {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
  font-stretch: 100%;
  color: var(--text-muted);
}
.plan-price-text {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem);
  line-height: 1.15;
  padding-top: 22px;
}
.plan-summary { margin-top: var(--space-2); color: var(--text-muted); }
.plan-note {
  margin-top: 10px;
  color: var(--gold-light);
  font-weight: 700;
}

.plan-featured {
  position: relative;
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--grad-gold) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 70px -40px rgba(212, 165, 72, .55);
}
.plan-featured .plan-price-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- About ---------- */
.about {
  display: grid;
  gap: var(--space-6);
}
.about-copy p {
  margin-top: var(--space-2);
  max-width: 58ch;
  font-size: 1.125rem;
}
.about-copy p + p { color: var(--text-muted); }

.usp-line {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.15;
  letter-spacing: -0.01em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.usp-points {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.usp-points li {
  padding-left: var(--space-3);
  border-left: 2px solid var(--gold);
}
.usp-points h3 { font-size: 1.125rem; }
.usp-points p { margin-top: 6px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  color: var(--silver-light);
  font-size: 1.125rem;
  font-weight: 700;
  font-stretch: 105%;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-75%) rotate(45deg);
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--gold-light); }
.faq details p {
  padding: 0 0 22px;
  max-width: 65ch;
  color: var(--text-muted);
}

/* ---------- Quote ---------- */
.section-quote {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.section-quote::before {
  content: "";
  position: absolute;
  left: -300px;
  bottom: -400px;
  width: 800px;
  height: 800px;
  background: radial-gradient(closest-side, rgba(212, 165, 72, .12), rgba(212, 165, 72, 0));
  pointer-events: none;
}
.quote {
  position: relative;
  display: grid;
  gap: var(--space-5);
}
.quote-copy p { margin-top: var(--space-2); font-size: 1.125rem; }
.quote-copy p + p { color: var(--text-muted); }

.quote-form {
  padding: var(--space-4) 20px;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field { display: grid; gap: 8px; margin-bottom: var(--space-3); }
.field-row { display: grid; gap: 0 var(--space-3); }

label {
  color: var(--silver-light);
  font-weight: 600;
  font-size: 1rem;
}
.req { color: var(--gold-light); }
.optional { color: var(--text-muted); font-weight: 400; }

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--surface-2);
  color: var(--silver-light);
  border: 1px solid #3a352d;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
input:hover,
select:hover,
textarea:hover { border-color: #5a5244; }
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 72, .35);
}
input[aria-invalid="true"] { border-color: var(--error); }

.field-error {
  color: var(--error);
  font-size: .9375rem;
}

.form-summary {
  margin-bottom: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--error);
  border-radius: var(--radius-sm);
  background: rgba(255, 138, 122, .07);
}
.form-summary h3 { font-size: 1rem; color: var(--error); }
.form-summary ul { margin: 8px 0 0; padding-left: 20px; }
.form-summary a { color: var(--error); }

.form-note {
  margin-bottom: var(--space-3);
  color: var(--text-muted);
  font-size: .9375rem;
}

.form-status:not(:empty) {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: rgba(212, 165, 72, .1);
  border: 1px solid rgba(212, 165, 72, .5);
  color: var(--silver-light);
}
.form-status.is-error {
  background: rgba(255, 138, 122, .07);
  border-color: var(--error);
}

.quote-form button[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
}
.footer-brand p { margin-top: var(--space-2); max-width: 36ch; color: var(--text-muted); }
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.footer-contact a {
  display: inline-block;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
}
.footer-contact a:hover { color: var(--gold-light); text-decoration: underline; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  /* divider drawn only across the content width, matching the edges above */
  background: linear-gradient(var(--line), var(--line)) no-repeat top / 100% 1px;
  background-origin: content-box;
  background-clip: content-box;
  color: var(--text-muted);
  font-size: .9375rem;
}
.footer-base a {
  display: inline-block;
  padding: 4px 0;
  color: var(--text-muted);
}
.footer-base a:hover { color: var(--gold-light); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal a { padding: 10px 0; }
.footer-legal a[aria-current="page"] { color: var(--gold-light); }

/* ---------- Privacy Policy and Terms pages ---------- */
.legal-back { min-height: 44px; padding: 8px 18px; font-size: .9375rem; }

/* .legal is also a .wrap, so it shares the site's edges; the text column stays narrow */
.legal > * { max-width: 760px; }
.legal h1 {
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  font-stretch: 120%;
  letter-spacing: -0.015em;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.legal-updated { margin-top: var(--space-2); color: var(--text-muted); }
.legal h2 {
  margin-top: var(--space-5);
  font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  font-stretch: 110%;
}
.legal p,
.legal ul { margin-top: var(--space-2); }
.legal > p:nth-of-type(2) { margin-top: var(--space-4); font-size: 1.125rem; }
.legal ul { padding-left: 1.25em; display: grid; gap: 8px; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--silver-light); }
.legal-links {
  margin-top: var(--space-6) !important;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

/* ==========================================================
   Larger screens
   ========================================================== */
@media (min-width: 640px) {
  .wrap { padding-inline: 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .quote-form { padding: var(--space-5) var(--space-4); }
  .plans { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); row-gap: var(--space-5); }
  .footer-inner { grid-template-columns: 1.2fr 1fr; align-items: start; }
}

/* Full menu bar from 1100px; below that the Menu button is used
   (keep in step with the matchMedia width in script.js) */
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    padding: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav li + li { border-top: 0; }
  .site-nav ul a {
    padding: 12px 12px;
    font-size: .9875rem;
    font-weight: 600;
    font-stretch: 100%;
    color: var(--silver);
    border-radius: 999px;
  }
  .site-nav ul a:hover { color: var(--gold-light); }
  .nav-cta { min-height: 48px; padding-inline: 22px; }
}

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .wrap { padding-inline: 40px; }

  .hero { padding-block: var(--space-6) var(--space-7); }
  .hero-inner { grid-template-columns: 1.2fr .8fr; gap: var(--space-5); }

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

  /* Steps in a row with a connecting gold line */
  .steps {
    grid-template-columns: repeat(4, 1fr);
    column-gap: var(--space-4);
    position: relative;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 26px;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(212, 165, 72, .1));
  }
  .step { padding-left: 0; padding-top: 80px; }
  .step-num { top: -4px; background: var(--surface); }

  .about { grid-template-columns: .9fr 1.1fr; gap: var(--space-7); align-items: start; }
  .quote { grid-template-columns: .8fr 1.2fr; gap: var(--space-7); align-items: start; }
  .quote-copy { position: sticky; top: calc(var(--header-h) + 32px); }

  .section { padding-block: 120px; }
}

@media (min-width: 1200px) {
  .hero { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
  .hero > .wrap { width: 100%; }
}

/* ==========================================================
   Reduced motion: everything rests in its final state
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .orbit-path { stroke-dashoffset: 150; }
  /* Logo rests: no orbit, sweep or breathing */
  .orbit,
  .medallion-glow,
  .sheen::before,
  .medallion:hover .sheen::before { animation: none !important; }
  .sheen { display: none; }
  /* Dashboard shows its finished state, nothing moves */
  .dash-card,
  .dash-area,
  .dash-stroke,
  .dash-point,
  .bars i,
  .dash-spark path,
  .dash-meter i { animation: none !important; }
  .dash-card { opacity: 1; }
  .dash-area,
  .dash-point { opacity: 1; }
  .dash-stroke,
  .dash-spark path { stroke-dashoffset: 0; }
  .bars i { transform: none; }
  .dash-meter i { transform: none; }
  .btn:hover,
  .service:hover { transform: none; }
}
