/* ==========================================================
   Metriq Marketing - styles (mobile-first)
   Animations use only transform and opacity, and turn off
   under prefers-reduced-motion.
   ========================================================== */

:root {
  --bg: #0A0B0E;
  --bg-2: #0E1014;
  --surface: #13151A;
  --surface-2: #191C22;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F3F2EE;
  --muted: #A0A4AE;
  --dim: #6E737E;

  --gold: #F4C04E;
  --gold-grad: linear-gradient(135deg, #FFDB7E 0%, #F4C04E 45%, #E9A82E 100%);
  --gold-glow: rgba(244, 192, 78, .35);
  --on-gold: #1A1408;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 20px;
  --section-y: 88px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Mono labels (blueprint feel) */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 192, 78, .15), 0 0 12px var(--gold);
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 6.4vw, 48px); margin-bottom: 16px; }
.section-head p:not(.label) { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--gold-grad);
  color: var(--on-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 1px rgba(244, 192, 78, .4), 0 10px 30px -10px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 1px rgba(244, 192, 78, .6), 0 14px 40px -10px rgba(244, 192, 78, .55); }
.btn-ghost {
  background: rgba(22, 24, 29, .85);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(34, 37, 43, .9); border-color: rgba(255, 255, 255, .24); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(10, 11, 14, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo-text span { font-weight: 500; color: var(--muted); }

.nav { display: none; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 120px;
  text-align: center;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}

/* Light beam: a thin white ray meets a point of light and fans into warm gold */
.beam { position: absolute; left: 0; right: 0; bottom: 56px; height: 0; }
.beam-in {
  position: absolute; right: 50%; top: 0;
  width: 60%; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25) 40%, rgba(255, 255, 255, .85));
  transform-origin: right center;
  transform: rotate(8deg);
  box-shadow: 0 0 10px rgba(255, 255, 255, .35);
}
.beam-point {
  position: absolute; left: 50%; top: 0;
  width: 120px; height: 120px; margin: -60px 0 0 -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 3px, rgba(255, 240, 210, .45) 6px, rgba(244, 192, 78, .12) 26px, transparent 60px);
  animation: pulse 5s ease-in-out infinite;
}
.beam-out {
  position: absolute; left: 50%; top: 0;
  width: 75vw; height: 260px; margin-top: -130px;
  transform-origin: left center;
  transform: rotate(-16deg);
  background: linear-gradient(180deg,
    transparent 8%,
    rgba(255, 233, 170, .9) 30%,
    rgba(244, 192, 78, .95) 42%,
    rgba(240, 140, 60, .85) 58%,
    rgba(214, 72, 92, .7) 74%,
    transparent 92%);
  clip-path: polygon(0 49.6%, 100% 0, 100% 100%, 0 50.4%);
  -webkit-mask-image: linear-gradient(90deg, #000 10%, rgba(0, 0, 0, .55) 55%, transparent 95%);
  mask-image: linear-gradient(90deg, #000 10%, rgba(0, 0, 0, .55) 55%, transparent 95%);
  filter: blur(14px);
  opacity: .5;
  animation: drift 11s ease-in-out infinite alternate;
}
.beam-out-2 {
  filter: blur(40px);
  opacity: .32;
  animation-duration: 14s;
  animation-direction: alternate-reverse;
}
@keyframes drift {
  from { transform: rotate(-17deg) scaleY(.94); }
  to   { transform: rotate(-14deg) scaleY(1.06); }
}
@keyframes pulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.12); }
}

.hero-copy { position: relative; max-width: 940px; }
.hero h1 {
  font-size: clamp(38px, 10vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.sweep {
  background: linear-gradient(100deg, var(--text) 42%, #FFF3D0 50%, var(--text) 58%);
  background-size: 260% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.js .sweep { animation: sweep 2.4s var(--ease) .5s 1 both; }
@keyframes sweep {
  from { background-position: 100% 0; }
  to   { background-position: 0 0; }
}
.gold-text {
  background: linear-gradient(100deg, #FFE39A, #F4C04E 55%, #EE9F37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--muted);
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Our Work ---------- */
.work { border-top: 1px solid var(--line); }
.projects { display: grid; gap: 72px; }
.project { display: grid; gap: 28px; align-items: center; }

.stage {
  --accent: var(--gold);
  position: relative;
  margin: 0;
  padding: 44px 18px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 45% at 45% 62%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(var(--bg-2), var(--bg-2));
  overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.stage-tag {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim);
}
.corner { position: absolute; width: 10px; height: 10px; border-color: rgba(255, 255, 255, .28); border-style: solid; border-width: 0; }
.corner.tl { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 8px; right: 8px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 8px; left: 8px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }

.laptop { position: relative; width: 84%; margin-left: 4%; }
.laptop-screen {
  padding: 2.2% 2.2% 2.6%;
  background: #08090B;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px 12px 3px 3px;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .9);
}
.laptop-screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; background: #15171c; }
.laptop-base {
  position: relative;
  width: 114%; margin-left: -7%;
  height: clamp(8px, 1.6vw, 14px);
  background: linear-gradient(180deg, #4a4e57 0%, #2a2d33 35%, #15171b 100%);
  border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%;
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .8);
}
.laptop-base::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 15%; height: 40%; transform: translateX(-50%);
  background: #121418; border-radius: 0 0 6px 6px;
}
.phone {
  position: absolute; right: 5%; bottom: 30px;
  width: 23%;
  padding: 1.6%;
  background: #08090B;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18% / 8.4%;
  box-shadow: 0 30px 50px -16px rgba(0, 0, 0, .95), 0 0 0 3px rgba(0, 0, 0, .6);
}
.phone::before {
  content: ""; position: absolute; top: 3.2%; left: 50%;
  width: 30%; height: 2.4%; transform: translateX(-50%);
  background: #000; border-radius: 99px; z-index: 1;
}
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 15% / 7%; background: #15171c; }

.dim {
  position: absolute; left: 4%; width: 84%; bottom: 16px;
  height: 1px; background: rgba(255, 255, 255, .22);
}
.dim::before, .dim::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: rgba(255, 255, 255, .4); }
.dim::before { left: 0; }
.dim::after { right: 0; }
.dim span {
  position: absolute; left: 50%; top: -7px; transform: translateX(-50%);
  padding: 0 8px; background: var(--bg-2);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
  white-space: nowrap;
}
.dim-note {
  display: none;
  position: absolute; right: 5%; top: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}

.project-copy h3 { font-size: clamp(26px, 5vw, 34px); margin-bottom: 10px; }
.project-copy p { color: var(--muted); }
.project-meta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim) !important;
  margin-bottom: 14px;
}
.project-meta span { color: var(--gold); margin-right: 8px; }
.own-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--text) !important;
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  margin-bottom: 16px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--gold);
  padding-block: 8px;
  border-bottom: 1px solid rgba(244, 192, 78, .35);
  transition: border-color .2s, gap .2s;
}
.link-arrow:hover { border-color: var(--gold); gap: 12px; }

/* ---------- Services (bento) ---------- */
.services { background: var(--bg-2); border-block: 1px solid var(--line); }
.bento { display: grid; gap: 16px; }
.svc {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.svc:hover { border-color: var(--line-2); }
.svc h3 { font-size: 21px; margin-bottom: 10px; }
.svc p { color: var(--muted); margin: 0; }
.svc-icon {
  width: 44px; height: 44px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(244, 192, 78, .1);
  border: 1px solid rgba(244, 192, 78, .25);
}
.svc-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.svc-main {
  padding: 32px 24px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(244, 192, 78, .14), transparent 60%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(160deg, rgba(244, 192, 78, .7), rgba(244, 192, 78, .05) 45%, rgba(255, 255, 255, .08)) border-box;
  border: 1px solid transparent;
}
.svc-main h3 { font-size: clamp(28px, 5vw, 36px); margin-bottom: 14px; }
.svc-main > p { font-size: 17px; margin-bottom: 24px; }
.svc-main .btn { margin-top: 28px; }
.svc-tag {
  position: absolute; top: 28px; right: 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-gold) !important;
  background: var(--gold-grad);
  padding: 4px 10px; border-radius: 999px;
}

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(244, 192, 78, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4C04E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Process (glowing pills) ---------- */
.track {
  display: flex; align-items: center; justify-content: center;
  max-width: 760px; margin: 0 auto 56px;
}
.pill {
  position: relative;
  flex: 1 1 0;
  height: 54px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--text);
  isolation: isolate;
}
/* Lit layer: glossy gold fill + glow. Only its opacity changes. */
.pill::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 40% at 50% 18%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(180deg, #FFE4A1 0%, #F7C653 38%, #E9A42C 78%, #F5C35A 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .75),
    inset 0 -6px 12px rgba(150, 80, 0, .35),
    0 0 18px rgba(244, 192, 78, .6),
    0 0 56px rgba(244, 192, 78, .3);
  opacity: 0;
  transition: opacity .7s var(--ease);
}
/* Inner rim highlight like a glass capsule */
.pill::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: inherit;
  border: 1.5px solid rgba(255, 255, 255, .6);
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.pill-label { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.pill-check {
  position: absolute; width: 22px; height: 22px;
  fill: none; stroke: var(--on-gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(.6);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
/* Pinched hourglass joint between pills (elliptical cut-outs top and bottom) */
.neck {
  --ry: 21px;
  position: relative;
  flex: 0 0 26px; height: 54px; margin-inline: -7px;
  z-index: 1;
  background: linear-gradient(180deg, #FFE9B0, #F4BC48 50%, #E9A42C);
  -webkit-mask:
    radial-gradient(13px var(--ry) at 50% 0, transparent 96%, #000 100%) top / 100% 50% no-repeat,
    radial-gradient(13px var(--ry) at 50% 100%, transparent 96%, #000 100%) bottom / 100% 50% no-repeat;
  mask:
    radial-gradient(13px var(--ry) at 50% 0, transparent 96%, #000 100%) top / 100% 50% no-repeat,
    radial-gradient(13px var(--ry) at 50% 100%, transparent 96%, #000 100%) bottom / 100% 50% no-repeat;
  filter: drop-shadow(0 0 6px rgba(244, 192, 78, .6));
  opacity: 0;
  transition: opacity .5s var(--ease);
}

/* Lit state (sequenced). Without JS everything shows lit. */
.no-js .pill::before, .no-js .pill::after, .no-js .pill-check, .no-js .neck,
.track.is-lit .pill::before, .track.is-lit .pill::after, .track.is-lit .neck { opacity: 1; }
.no-js .pill-label, .track.is-lit .pill-label { opacity: 0; transform: scale(.85); }
.no-js .pill-check, .track.is-lit .pill-check { opacity: 1; transform: none; }
.track.is-lit > :nth-child(1)::before, .track.is-lit > :nth-child(1)::after, .track.is-lit > :nth-child(1) * { transition-delay: .1s; }
.track.is-lit > :nth-child(2) { transition-delay: .55s; }
.track.is-lit > :nth-child(3)::before, .track.is-lit > :nth-child(3)::after, .track.is-lit > :nth-child(3) * { transition-delay: .75s; }
.track.is-lit > :nth-child(4) { transition-delay: 1.2s; }
.track.is-lit > :nth-child(5)::before, .track.is-lit > :nth-child(5)::after, .track.is-lit > :nth-child(5) * { transition-delay: 1.4s; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.step-num { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--gold); margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Free review ---------- */
.review { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.review-grid { display: grid; gap: 48px; align-items: center; }
.review-copy h2 { font-size: clamp(30px, 6.4vw, 46px); margin-bottom: 18px; }
.review-copy > p:not(.label) { color: var(--muted); font-size: 17px; }
.founder-line {
  margin: 28px 0 32px !important;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 18px !important;
  font-weight: 500;
  color: var(--text) !important;
  letter-spacing: -0.01em;
}

.report {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
  overflow: hidden;
}
.report::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(244, 192, 78, .14), transparent 65%);
  pointer-events: none;
}
.report-head {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}
.report-list { list-style: none; margin: 0; padding: 8px 0; }
.report-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px;
  padding: 18px 20px;
}
.report-list li + li { border-top: 1px dashed var(--line); }
.r-num { font-family: var(--font-mono); font-size: 13px; color: var(--gold); padding-top: 3px; }
.report-list h3 { font-size: 17px; margin-bottom: 4px; letter-spacing: -0.02em; }
.report-list p { margin: 0; color: var(--muted); font-size: 15px; }
.r-chip {
  grid-column: 2; justify-self: start;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  color: var(--gold); background: rgba(244, 192, 78, .1); border: 1px solid rgba(244, 192, 78, .25);
  margin-top: 6px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-copy h2 { font-size: clamp(30px, 6.4vw, 46px); margin-bottom: 18px; }
.contact-copy > p:not(.label) { color: var(--muted); font-size: 17px; }
.contact-copy .checks { margin-top: 24px; }
.call-line { margin-top: 28px; color: var(--muted); }
.call-line a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

.contact-form {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.field-row { display: grid; gap: 0 16px; }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.optional { font-weight: 400; color: var(--dim); }
input, textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244, 192, 78, .18); }
textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid textarea { border-color: #F07A6A; }
.field-error { color: #F49A8C; font-size: 13.5px; margin: 6px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; margin: 0 !important; font-weight: 500 !important; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-size: 14.5px; color: var(--muted);
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover span { border-color: rgba(255, 255, 255, .28); color: var(--text); }
.chip input:checked + span { background: rgba(244, 192, 78, .14); border-color: var(--gold); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.invalid .chip span { border-color: rgba(240, 122, 106, .6); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-size: 14.5px; min-height: 1px; }
.form-status.error { color: #F49A8C; }

.form-success { text-align: center; padding: 32px 8px; }
.form-success .badge {
  width: 60px; height: 60px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-grad); box-shadow: 0 0 30px var(--gold-glow);
}
.form-success .badge svg { width: 28px; height: 28px; fill: none; stroke: var(--on-gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-wrap { display: grid; gap: 8px; }
.faq .section-head { margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 11px no-repeat;
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); margin: 0; padding: 0 44px 24px 0; }

/* ---------- Closing CTA ---------- */
.cta-section { padding: 0 0 var(--section-y); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 40px; align-items: center;
  padding: 56px 24px;
  border-radius: 28px;
  background: #0F0E0C;
  border: 1px solid var(--line);
}
.cta-light { position: absolute; inset: -20%; z-index: -1; pointer-events: none; }
.cta-light span { position: absolute; border-radius: 50%; }
.cta-light span:nth-child(1) { width: 70%; height: 80%; right: -10%; top: -12%; background: radial-gradient(circle, rgba(244, 170, 50, .5), transparent 62%); }
.cta-light span:nth-child(2) { width: 60%; height: 70%; left: -14%; bottom: -24%; background: radial-gradient(circle, rgba(214, 82, 70, .32), transparent 62%); }
.cta h2 {
  font-size: clamp(40px, 9vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.cta h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em;
  background: linear-gradient(100deg, #FFE7A6, #F4C04E 55%, #EE9F37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-lead { color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 560px; margin: 22px 0 0; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
@media (max-width: 559px) {
  .cta { padding: 48px 20px; }
  .cta-actions .btn { padding-inline: 16px; font-size: 15px; white-space: nowrap; }
}
.btn-light { background: #fff; color: #121317; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.btn-light:hover { transform: translateY(-1px); background: #FFF8E8; }
.btn-outline-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.cta-small { margin: 24px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .55); }
.cta-small a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-glass { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; color: var(--muted); font-size: 15px; }
.footer-top { display: grid; gap: 32px; padding-bottom: 36px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 320px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-nav a, .footer-bottom a { transition: color .2s; }
.footer-nav a:hover, .footer-bottom a:hover, .footer-contact a:hover { color: var(--text); }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a { color: var(--text); font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Larger screens
   ========================================================== */
@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 32px 28px; }
  .stage { padding: 52px 28px 60px; }
  .dim-note { display: block; }
  .report-list li { grid-template-columns: auto 1fr auto; align-items: start; }
  .r-chip { grid-column: auto; margin-top: 2px; }
}

@media (min-width: 800px) {
  :root { --gutter: 40px; --section-y: 128px; --header-h: 72px; }
  .nav { display: flex; gap: 32px; }
  .hero { padding: calc(var(--header-h) + 110px) 0 180px; }
  .lede { font-size: 20px; }
  .beam { bottom: 84px; }
  .beam-out { width: 62vw; height: 520px; margin-top: -260px; }

  .project { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .project:nth-child(even) .stage { order: 2; }
  .projects { gap: 104px; }

  .bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, auto); }
  .svc-main { grid-row: span 3; padding: 44px 40px; display: flex; flex-direction: column; }
  .svc-main .btn { align-self: flex-start; margin-top: auto; }
  .svc-main .checks { margin-bottom: 32px; }
  .svc-tag { top: 44px; right: 40px; }
  .svc { padding: 28px 32px; }

  .pill { height: 64px; font-size: 17px; }
  .neck { height: 64px; --ry: 25px; }
  .steps { grid-template-columns: repeat(3, 1fr); }

  .review-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }

  .cta { grid-template-columns: 1.35fr .65fr; padding: 88px 72px; border-radius: 36px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cta-glass {
    display: grid; place-items: center;
    justify-self: center;
    width: min(280px, 100%); aspect-ratio: 1;
    border-radius: 44px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 40px 80px -30px rgba(0, 0, 0, .7);
    transform: rotate(-6deg);
  }
  .cta-glass svg { width: 52%; height: auto; filter: drop-shadow(0 10px 24px rgba(244, 170, 50, .55)); }

  .footer-top { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
  .footer-nav { flex-direction: column; gap: 10px; }
  .footer-contact { text-align: right; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: 84px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
