/* QualiScan site styles, v2.
   Layout copied from monumental.co (measured Nov 9, 2026): solid sticky header with a square CTA; full-bleed
   photo hero with a centered display headline; a second full-bleed photo scene with three color cards
   overlapping its bottom; "feature sections" = accent-colored H2 over an inset full-width photo with a white
   caption box on its lower-left corner; square-image grid; full-width color footer block with big link rows
   and a giant wordmark. Square corners throughout; uppercase tracked labels.
   Color mapping (brand/BRAND.md wins): Monumental cream -> slate tint, deep purple -> graphite,
   orange accent -> slate (headings, cards) and graphite (buttons, footer). Ochre stays in the logo only.
   Monumental's mono label font -> Instrument Sans uppercase (the brand has one typeface). */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-VF-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --qs-graphite: #1F2024;
  --qs-white: #FFFFFF;
  --qs-slate: #4B5D72;
  --qs-ochre: #BE8853;

  --ground: #F4F6F8;                 /* slate tint (Monumental's cream ground) */
  --line: rgba(75, 93, 114, 0.22);
  --line-dark: rgba(255, 255, 255, 0.18);
  --on-dark-2: rgba(255, 255, 255, 0.78);

  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: 48px;                      /* Monumental inset for wide photos */
  --header-h: 80px;
}
@media (max-width: 959px) { :root { --gutter: 24px; --header-h: 68px; } }
@media (max-width: 599px) { :root { --gutter: 16px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--qs-graphite);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
a { color: inherit; }

.container { width: 100%; padding: 0 var(--gutter); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  background: var(--qs-graphite); color: var(--qs-white);
  padding: 14px 18px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--qs-graphite); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .scene :focus-visible { outline-color: var(--qs-white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Labels (Monumental mono caps -> Instrument Sans caps) ---------- */
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 18px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--qs-slate); color: var(--qs-white);
}

/* ---------- Buttons: square, 50px (Monumental) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 24px;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: 0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--qs-graphite); color: var(--qs-white); }
.btn-primary:hover { background: #3A3C42; }
.btn-light { background: var(--qs-white); color: var(--qs-graphite); }
.btn-light:hover { background: #E3E8EE; }
.btn-ghost-light { background: transparent; color: var(--qs-white); border-color: rgba(255,255,255,0.7); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
/* Monumental's square arrow button */
.arrow-sq {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--qs-graphite); color: var(--qs-white);
}
.arrow-sq svg { width: 18px; height: 18px; }
.arrow-sq.light { background: var(--qs-white); color: var(--qs-graphite); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; min-height: 44px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; min-width: 162px; }
.brand-descriptor {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--qs-slate); line-height: 1.3; max-width: 150px;
  padding-left: 18px; border-left: 1px solid var(--line);
}
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 16px; font-weight: 500; text-decoration: none; color: var(--qs-graphite);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.header-cta { margin-left: 8px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: transparent; color: var(--qs-graphite); border: 1px solid var(--qs-graphite); border-radius: 0;
}
.menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 1199px) { .brand-descriptor { display: none; } }
@media (max-width: 1023px) {
  .header-inner { gap: 10px; }
  .site-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--qs-graphite); padding: 16px var(--gutter) 32px; margin: 0; overflow-y: auto;
  }
  .menu-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    width: 100%; min-height: 64px; padding: 0;
    font-size: 28px; letter-spacing: -0.01em; color: var(--qs-white);
    border-bottom: 1px solid var(--line-dark);
  }
  .site-nav :focus-visible { outline-color: var(--qs-white); }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 380px) {
  .brand img { min-width: 124px; height: 23px; }
  .header-cta { padding: 0 14px; font-size: 14px; }
}

/* ---------- Full-bleed photo scenes (hero + problem) ---------- */
.scene {
  position: relative;
  color: var(--qs-white);
  background: var(--qs-graphite);
  overflow: hidden;
}
.scene-media, .scene-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(31,32,36,0.60) 0%, rgba(31,32,36,0.64) 50%, rgba(31,32,36,0.82) 100%);
}
.scene-inner { position: relative; z-index: 1; padding: 0 var(--gutter); }

.hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero .scene-inner { width: 100%; text-align: center; padding-top: 96px; padding-bottom: 72px; }
.hero .kicker { margin-bottom: 28px; color: var(--qs-white); }
.hero h1 {
  font-size: clamp(3rem, 1.2rem + 6.4vw, 6.25rem);   /* Monumental 97px */
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 12ch;
  margin: 0 auto;
  text-wrap: balance;
}
.hero-sub {
  margin: 28px auto 0; max-width: 40em;
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); line-height: 1.5; font-weight: 500;
  text-wrap: balance;
}
.tagline { margin-top: 14px; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); font-style: italic; font-weight: 500; }
.hero-body { margin: 14px auto 0; max-width: 38em; font-size: 16px; line-height: 1.55; color: var(--on-dark-2); }
.hero-actions { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.proof {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2);
}
.proof .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--qs-white); }

@media (max-width: 599px) {
  .hero { min-height: 0; align-items: flex-start; }
  .hero .scene-inner { text-align: left; padding-top: 32px; padding-bottom: 40px; }
  .hero .kicker { margin-bottom: 14px; font-size: 12px; }
  .hero h1 { margin: 0; font-size: 2.875rem; }
  .hero-sub { margin: 16px 0 0; font-size: 1.0625rem; line-height: 1.45; }
  .tagline { margin-top: 10px; }
  .hero-body { margin: 10px 0 0; font-size: 15px; line-height: 1.5; }
  .hero-actions { justify-content: flex-start; margin-top: 22px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .proof { margin-top: 22px; font-size: 11.5px; }
}

/* Problem scene + overlapping color cards (Monumental "Deployed today" + markets) */
.problem .scene-inner { padding-top: 160px; padding-bottom: 280px; text-align: center; }
.problem .kicker { margin-bottom: 24px; }
.problem h2 {
  font-size: clamp(2.75rem, 1.2rem + 5.6vw, 6.25rem);
  line-height: 1.04; letter-spacing: -0.03em; font-weight: 600;
  max-width: 14ch; margin: 0 auto; text-wrap: balance;
}
.problem .scene-sub { margin: 24px auto 0; max-width: 34em; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); font-weight: 500; }

.color-cards {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  margin-top: -220px;
}
.ccard { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 28px 24px 24px; }
.ccard-graphite { background: var(--qs-graphite); color: var(--qs-white); min-height: 420px; }
.ccard-slate { background: var(--qs-slate); color: var(--qs-white); min-height: 520px; }
.ccard-white { background: var(--qs-white); color: var(--qs-graphite); min-height: 460px; }
.ccard h3 { font-size: clamp(1.375rem, 1rem + 0.9vw, 1.75rem); line-height: 1.2; letter-spacing: -0.005em; font-weight: 500; }
.ccard p { font-size: 16px; line-height: 1.6; }
.ccard-graphite p, .ccard-slate p { color: var(--on-dark-2); }
.ccard-white p { color: var(--qs-slate); }
.ccard .kicker { margin-bottom: 18px; }
.ccard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 1px solid currentColor; padding-top: 16px; }
.ccard-graphite .ccard-foot, .ccard-slate .ccard-foot { border-color: var(--line-dark); }
.ccard-white .ccard-foot { border-color: var(--line); }

@media (max-width: 959px) {
  .problem .scene-inner { padding-top: 96px; padding-bottom: 120px; }
  .color-cards { grid-template-columns: 1fr; margin-top: -64px; padding: 0 var(--gutter); }
  .ccard-graphite, .ccard-slate, .ccard-white { min-height: 0; }
}

/* ---------- Feature sections (Monumental) ---------- */
.feature { padding: 160px 0 0; }
.feature-head { padding: 0 var(--gutter); margin-bottom: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);   /* Monumental 52px */
  line-height: 1.06; letter-spacing: -0.02em; font-weight: 500;
  color: var(--qs-slate);
  max-width: 20ch; text-wrap: balance;
}
.feature-head .kicker { color: var(--qs-graphite); margin-bottom: 18px; display: block; }
.feature-media { position: relative; margin: 0 var(--gutter); }
.feature-media picture, .feature-media img { width: 100%; }
.feature-media img { aspect-ratio: 1344 / 702; object-fit: cover; }
.caption-box {
  position: absolute; left: 0; bottom: 0;
  width: min(640px, 100%);
  background: var(--qs-white); color: var(--qs-graphite);
  padding: 26px 31px 28px;
  display: grid; gap: 16px;
}
.caption-box p { font-size: 17px; line-height: 1.55; font-weight: 500; }
.caption-box .tag { justify-self: start; }
@media (max-width: 959px) {
  .feature { padding-top: 104px; }
  .feature-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .feature-media img { aspect-ratio: 4 / 3; }
  .caption-box { position: relative; width: 100%; padding: 22px 20px 24px; }
}

.feature-body { padding: 0 var(--gutter); }

/* ---------- Steps (four white cards, Monumental card grammar) ---------- */
.steps {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  background: var(--qs-white);
}
.step { padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 12px; }
.step + .step { border-left: 1px solid var(--line); }
.step-icon { height: 40px; color: var(--qs-slate); margin-bottom: 28px; }
.step-icon svg { height: 40px; width: auto; }
.step .kicker { color: var(--qs-slate); }
.step h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.005em; }
.step p { font-size: 16px; line-height: 1.6; color: var(--qs-slate); }
.steps-note { margin-top: 24px; font-size: 15px; color: var(--qs-slate); max-width: 52em; }
@media (max-width: 959px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .step-icon { margin-bottom: 8px; height: 32px; }
  .step-icon svg { height: 32px; }
}

/* Guide block (graphite, Monumental footer-row grammar) */
.guide {
  margin-top: 24px; background: var(--qs-graphite); color: var(--qs-white);
  padding: 48px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end;
}
.guide .kicker { color: var(--on-dark-2); margin-bottom: 18px; display: block; }
.guide h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 14ch; }
.guide p { font-size: 18px; line-height: 1.6; color: var(--on-dark-2); max-width: 32em; }
@media (max-width: 767px) { .guide { grid-template-columns: 1fr; padding: 32px 22px; gap: 20px; } .guide p { font-size: 16px; } }

/* ---------- Square image grid (Monumental "Our recent work") ---------- */
.grid-title { text-align: center; padding: 120px var(--gutter) 12px; }
.grid-title h3 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -0.02em; }
.grid-title .kicker { color: var(--qs-slate); margin-top: 18px; }
.sq-grid {
  list-style: none; margin: 24px 0 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
}
.sq { background: var(--qs-white); padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 14px; }
.sq-img { position: relative; aspect-ratio: 1 / 1; background: #DCE1E7; overflow: hidden; }
.sq-img img { width: 100%; height: 100%; object-fit: cover; }
.sq-img .pending {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--qs-slate);
}
.sq-name { font-size: 20px; font-weight: 500; letter-spacing: -0.005em; padding: 0 4px; }
.sq .kicker { font-size: 11.5px; color: var(--qs-slate); padding: 0 4px; }
.sq-tested { outline: 2px solid var(--qs-graphite); outline-offset: -2px; }
.sq-tested .kicker { color: var(--qs-graphite); }
.sq-going .sq-img img { filter: saturate(0.85); }
@media (max-width: 1099px) { .sq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .sq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .sq-grid .sq-tested { grid-column: 1 / -1; } }

/* Places: three color cards in a row */
.places { margin-top: 24px; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.places .ccard { min-height: 300px; }
.places small { display: block; margin-top: 8px; font-size: 15px; font-weight: 400; color: var(--on-dark-2); line-height: 1.5; }
.places .ccard-white small { color: var(--qs-slate); }
@media (max-width: 959px) { .places { grid-template-columns: 1fr; } .places .ccard { min-height: 200px; } }

/* ---------- Field results: stats row ---------- */
.stats {
  margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--qs-white);
}
.stat { padding: 32px 28px 36px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { font-size: clamp(1.875rem, 1.3rem + 1.8vw, 3rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; margin-bottom: 16px; }
.stat dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--qs-slate); }
@media (max-width: 959px) { .stats { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }

.traction {
  margin-top: 24px; padding: 32px 0 0; border-top: 1px solid var(--qs-graphite);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px;
}
.traction-line { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; max-width: 24em; }
.recognition { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.recognition li {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 11px 14px; border: 1px solid var(--qs-graphite);
}
@media (max-width: 959px) { .traction { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Why it pays ---------- */
.value-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.vcard { grid-column: span 2; background: var(--qs-white); padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 12px; }
.vcard:nth-child(4), .vcard:nth-child(5) { grid-column: span 3; }
.vcard .kicker { color: var(--qs-slate); margin-bottom: 28px; }
.vcard h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.005em; }
.vcard p { font-size: 16px; line-height: 1.6; color: var(--qs-slate); }
.why-lines { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-line { border-top: 1px solid var(--qs-graphite); padding-top: 20px; font-size: 19px; line-height: 1.45; font-weight: 500; }
@media (max-width: 959px) {
  .value-grid { grid-template-columns: 1fr; gap: 12px; }
  .vcard, .vcard:nth-child(4), .vcard:nth-child(5) { grid-column: auto; }
  .vcard .kicker { margin-bottom: 8px; }
  .why-lines { grid-template-columns: 1fr; }
}

/* ---------- Team (square grid) ---------- */
.team-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.member { background: var(--qs-white); padding: 12px 12px 28px; display: flex; flex-direction: column; }
.avatar {
  aspect-ratio: 4 / 3; background: #DCE1E7; color: var(--qs-slate);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 22px;
}
.member h3 { font-size: 24px; letter-spacing: -0.01em; padding: 0 12px; }
.member .role { margin: 6px 12px 14px; color: var(--qs-slate); }
.avatar picture, .avatar img { width: 100%; height: 100%; }
.avatar img { object-fit: cover; object-position: 50% 30%; }
.member .bio { padding: 0 12px; font-size: 16px; line-height: 1.6; }
@media (max-width: 959px) { .team-grid { grid-template-columns: 1fr; gap: 12px; } .avatar { aspect-ratio: 1 / 1; max-width: 360px; } }

/* ---------- Contact (Monumental footer block) ---------- */
.contact { margin-top: 160px; background: var(--qs-graphite); color: var(--qs-white); padding: 96px 0 0; }
.contact-head { padding: 0 var(--gutter) 56px; }
.contact-head .kicker { color: var(--on-dark-2); display: block; margin-bottom: 20px; }
.contact-head h2 { font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; max-width: 16ch; }
.paths { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.path { padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; gap: 16px; }
.path + .path { border-left: 1px solid var(--line-dark); }
.path .kicker { color: var(--on-dark-2); }
.path h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.015em; }
.path p { color: var(--on-dark-2); font-size: 16px; max-width: 34em; flex-grow: 1; }
.path-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding-top: 16px; border-top: 1px solid var(--line-dark);
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem); font-weight: 500; text-decoration: none; color: var(--qs-white);
}
.path-link:hover .arrow-sq { background: var(--ground); }
@media (max-width: 767px) {
  .contact { margin-top: 104px; padding-top: 64px; }
  .paths { grid-template-columns: 1fr; }
  .path + .path { border-left: 0; border-top: 1px solid var(--line-dark); }
}

.form-wrap { background: var(--qs-white); color: var(--qs-graphite); margin: 0 var(--gutter); padding: 48px; scroll-margin-top: var(--header-h); }
@media (max-width: 767px) { .form-wrap { padding: 28px 18px; margin: 0; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.field .opt { font-weight: 400; color: var(--qs-slate); letter-spacing: 0.06em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--qs-graphite);
  background: var(--ground); border: 1px solid transparent; border-bottom-color: var(--qs-graphite); border-radius: 0;
  min-height: 52px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F2024' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--qs-graphite); outline-offset: 0; }
.field [aria-invalid="true"] { border: 2px solid var(--qs-graphite); }
.field-error { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.field-error:empty { display: none; }
.field-error::before {
  content: "!"; display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; background: var(--qs-graphite); color: var(--qs-white);
  font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--qs-graphite); }
.consent .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-weight: 500; }
.form-status:empty { display: none; }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer (continues the graphite block) ---------- */
.site-footer { background: var(--qs-graphite); color: var(--qs-white); padding: 64px 0 0; overflow: hidden; }
.footer-row {
  padding: 0 var(--gutter) 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 14px; color: var(--on-dark-2);
}
.footer-row a { color: var(--qs-white); }
.footer-tagline { font-style: italic; color: var(--qs-white); font-size: 17px; }
.footer-meta { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: center; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  padding: 20px var(--gutter) 24px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-2);
}
.footer-bottom a { color: var(--qs-white); }
/* Monumental's giant wordmark: the supplied logo file, scaled proportionally */
.footer-giant { padding: 8px var(--gutter) 40px; }
.footer-giant img { width: 100%; height: auto; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 120px; }
.legal .container { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; }
.legal h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.04; font-weight: 600; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; color: var(--qs-slate); }
.legal p + p { margin-top: 12px; }
.ph { background: var(--qs-white); border: 1px dashed var(--qs-slate); padding: 1px 6px; font-size: 0.94em; }
.legal .draft-banner, .draft-banner {
  background: var(--qs-graphite); color: var(--qs-white); padding: 16px 20px; font-weight: 500; margin-bottom: 40px;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--qs-slate); text-decoration: none; margin-bottom: 24px; }
.back-link:hover { color: var(--qs-graphite); }
.site-footer .footer-bottom:only-child { border-top: 0; }

/* ---------- Subtle reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
