/* ===== Tokens ===== */
:root {
  --paper: #F7F5F0;
  --ink: #141414;
  --espresso: #1A1310;
  --graphite: #5B5B58;
  --rule: rgba(20, 20, 20, 0.1);
  --oxblood: #6B1F2A;
  --oxblood-glow: rgba(107, 31, 42, 0.18);
  --paper-15: rgba(247, 245, 240, 0.15);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --reveal-dur: 800ms;
  --hover-dur: 320ms;

  --max: 1280px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(5rem, 12vw, 9rem);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }

/* Lenis smooth-scroll required rules */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--oxblood); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, button { font-family: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ===== Grain overlay ===== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background-image: url("/assets/grain.svg");
  background-size: 200px 200px;
  opacity: 0.04;
  mix-blend-mode: multiply;
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--graphite);
  padding: 0.375rem 0.75rem;
  background: rgba(20, 20, 20, 0.04);
  border-radius: 999px;
  margin: 0 0 1.5rem;
}
.eyebrow-paper {
  color: var(--paper);
  background: rgba(247, 245, 240, 0.1);
}

/* ===== Container + section rhythm ===== */
main { display: block; }
section {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
section + section { border-top: 1px solid var(--rule); }

/* ===== Section titles ===== */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.1;
  max-width: 20ch;
  margin-bottom: 3rem;
}

/* ===== Reveal (JS adds .is-visible) ===== */
.reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(8px);
  transition:
    opacity var(--reveal-dur) var(--ease),
    transform var(--reveal-dur) var(--ease),
    filter var(--reveal-dur) var(--ease);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ===== Hero ===== */
.hero {
  min-height: 88dvh;
  display: grid;
  align-content: center;
  padding-top: clamp(7rem, 15vw, 11rem);
  padding-bottom: clamp(5rem, 12vw, 8rem);
}
.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}
.hero-inner > .eyebrow { grid-column: 1 / -1; }
.hero-headline {
  grid-column: 1 / span 10;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-sub {
  grid-column: 3 / span 7;
  margin-top: 2rem;
  color: var(--graphite);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  max-width: 52ch;
}
.inline-portrait {
  display: inline-grid;
  place-items: center;
  width: 0.9em;
  height: 0.9em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  transform: translateY(-0.04em);
  margin: 0 0.12em;
  background: var(--rule);
}
.inline-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}

/* ===== Capture form ===== */
.capture {
  grid-column: 3 / span 8;
  margin-top: 3rem;
  display: grid;
  gap: 0.75rem;
}
.capture-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--graphite);
}
.capture-label-paper { color: rgba(247, 245, 240, 0.6); }
.capture-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}
.capture input[type="email"] {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  color: var(--ink);
  outline: 0;
  border-radius: 0;
  transition: border-color var(--hover-dur) var(--ease), border-width var(--hover-dur) var(--ease);
}
.capture input[type="email"]::placeholder { color: var(--graphite); opacity: 0.6; }
.capture input[type="email"]:focus {
  border-bottom: 2px solid var(--oxblood);
  padding-bottom: calc(0.75rem - 1px);
}
.capture-band input[type="email"] {
  color: var(--paper);
  border-bottom-color: var(--paper);
}
.capture-band input[type="email"]::placeholder { color: rgba(247, 245, 240, 0.5); }
.capture-feedback {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--oxblood);
  min-height: 1.25rem;
}
.capture-feedback.is-success { color: var(--ink); }
.capture-band .capture-feedback.is-success { color: var(--paper); }

/* ===== Button-in-Button ===== */
.btn-primary {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  background: var(--oxblood);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform var(--hover-dur) var(--ease), background-color var(--hover-dur) var(--ease);
  will-change: transform;
}
.btn-primary:active { transform: scale(0.98); }
.btn-label { line-height: 1; }
.btn-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--paper-15);
  color: var(--paper);
  transition: transform var(--hover-dur) var(--ease), background-color var(--hover-dur) var(--ease);
}
.btn-primary:hover .btn-icon {
  transform: translate(1px, -1px) scale(1.05);
  background: rgba(247, 245, 240, 0.22);
}
.btn-paper {
  background: var(--paper);
  color: var(--ink);
}
.btn-paper .btn-icon {
  background: rgba(20, 20, 20, 0.08);
  color: var(--ink);
}
.btn-paper:hover .btn-icon { background: rgba(20, 20, 20, 0.14); }

/* ===== Thesis ===== */
.thesis .prose {
  max-width: 65ch;
  margin-left: clamp(0rem, 8vw, 8rem);
}
.thesis .prose p + p { margin-top: 1.25em; }
.thesis .prose p { color: var(--ink); }

/* ===== Statistical emphasis ===== */
.stat {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  color: var(--oxblood);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  font-size: 1.08em;
  line-height: inherit;
}

/* ===== Investor Tests ===== */
.tests .test {
  display: grid;
  grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--rule);
}
.tests .test:last-child { border-bottom: 1px solid var(--rule); }
.test-numeral {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  color: var(--oxblood);
  letter-spacing: -0.03em;
}
.test-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0.75rem;
}
.test-body p { color: var(--ink); max-width: 60ch; }

/* ===== The Work: Double-Bezel zig-zag ===== */
.work .project { margin-top: clamp(2rem, 5vw, 4rem); }
.work .project:first-of-type { margin-top: 0; }

.project-shell {
  background: rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(20, 20, 20, 0.06);
  padding: 0.375rem;
  border-radius: 2rem;
  transition: transform var(--hover-dur) var(--ease);
}
.project-shell:hover { transform: translateY(-2px); }
.project-core {
  background: var(--paper);
  border-radius: calc(2rem - 0.375rem);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.project-right .project-core {
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
}
.project-plaque {
  border-radius: 0.75rem;
  aspect-ratio: 1 / 1;
  background: rgba(20, 20, 20, 0.03);
  border: 1px solid rgba(20, 20, 20, 0.06);
  display: grid;
  align-content: space-between;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.plaque-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--graphite);
}
.plaque-numeral {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(5rem, 9vw, 7.5rem);
  line-height: 0.9;
  color: var(--oxblood);
  letter-spacing: -0.04em;
  align-self: end;
  justify-self: end;
}
.project-name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0.75rem 0 0.75rem;
}
.project-line { color: var(--graphite); max-width: 55ch; }

.status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.05);
}
.status-shipped { color: var(--oxblood); }
.status-progress { color: var(--graphite); }

/* ===== The Service ===== */
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.service-copy { max-width: 58ch; }
.service-copy p + p { margin-top: 1.25em; }
.service-lede {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 30ch;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.service-close em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--oxblood);
  font-size: 1.125em;
}
.service-card {
  background: rgba(20, 20, 20, 0.04);
  border: 1px solid var(--rule);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: grid;
  gap: 1.5rem;
  align-content: start;
  position: sticky;
  top: clamp(5rem, 8vw, 7rem);
}
.service-specs {
  display: grid;
  gap: 0.875rem;
  margin: 0;
}
.service-specs > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: baseline;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--rule);
}
.service-specs > div:last-child { border-bottom: 0; padding-bottom: 0; }
.service-specs dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--graphite);
}
.service-specs dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--oxblood);
  font-variant-numeric: tabular-nums;
}
.service-cta {
  justify-self: start;
  margin-top: 0.25rem;
}

/* ===== Newsletter band ===== */
.band {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(107, 31, 42, 0.22), transparent 55%),
    var(--espresso);
  color: var(--paper);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-top: clamp(6rem, 14vw, 10rem);
  padding-bottom: clamp(6rem, 14vw, 10rem);
  border-top: 0;
}
.band + section { border-top: 0; }
.band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
.band-copy { grid-column: 1 / span 7; }
.band-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.band-sub {
  color: rgba(247, 245, 240, 0.82);
  max-width: 50ch;
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  line-height: 1.65;
}
.capture-band { grid-column: 8 / span 5; }

/* ===== Booking modal ===== */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}
.book-modal[hidden] { display: none; }
.book-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--hover-dur) var(--ease);
}
.book-modal.is-open .book-backdrop { opacity: 1; }
.book-shell {
  position: relative;
  width: min(100%, 520px);
  background: rgba(20, 20, 20, 0.05);
  border: 1px solid rgba(20, 20, 20, 0.08);
  padding: 0.5rem;
  border-radius: 2rem;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition:
    opacity var(--hover-dur) var(--ease),
    transform var(--hover-dur) var(--ease);
  box-shadow: 0 30px 80px -20px rgba(20, 20, 20, 0.35);
}
.book-modal.is-open .book-shell { opacity: 1; transform: translateY(0) scale(1); }
.book-core {
  background: var(--paper);
  border-radius: calc(2rem - 0.5rem);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: grid;
  gap: 1.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.book-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}
.book-title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.15;
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.book-sub {
  color: var(--graphite);
  font-size: 0.875rem;
  max-width: 40ch;
}
.book-close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.06);
  color: var(--ink);
  transition: background-color var(--hover-dur) var(--ease), transform var(--hover-dur) var(--ease);
}
.book-close:hover { background: rgba(20, 20, 20, 0.12); transform: rotate(90deg); }
.book-embed {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.03);
  border: 1px solid var(--rule);
  min-height: 520px;
}
.book-embed iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 520px;
  border: 0;
  display: block;
  background: var(--paper);
}
.book-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
}

@media (max-width: 480px) {
  .book-head { grid-template-columns: 1fr; }
  .book-close { justify-self: end; margin-top: -0.5rem; }
  .book-embed, .book-embed iframe { min-height: 560px; }
}

/* ===== Footer ===== */
.footer {
  padding: clamp(3rem, 6vw, 4rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}
.footer-brand { font-family: var(--font-display); font-size: 1.125rem; }
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-links a { color: var(--graphite); }
.footer-links a:hover { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); }

/* ===== Marquee: scroll-linked editorial strip ===== */
.marquee {
  max-width: none;
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  position: relative;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  transform: translate3d(var(--marq-x, 0), 0, 0);
  will-change: transform;
}
.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.marquee-content .dot {
  color: var(--oxblood);
  font-style: normal;
  font-size: 0.7em;
  transform: translateY(-0.18em);
}

/* ===== Nav: Floating glass pill ===== */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(calc(100% - 2rem), 780px);
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: rgba(247, 245, 240, 0.72);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -18px rgba(20, 20, 20, 0.25);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand-mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--oxblood);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.nav-links a {
  color: var(--graphite);
  padding: 0.5rem 0.25rem;
  transition: color var(--hover-dur) var(--ease);
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.is-active { color: var(--oxblood); }
.nav-cta {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.375rem 0.375rem 0.875rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: transform var(--hover-dur) var(--ease);
}
.nav-cta:hover { text-decoration: none; transform: translateY(-1px); }
.nav-cta .btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(247, 245, 240, 0.12);
}
.nav-burger {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.06);
  position: relative;
}
.nav-burger-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: center;
  transition: transform var(--hover-dur) var(--ease), top var(--hover-dur) var(--ease), opacity var(--hover-dur) var(--ease);
}
.nav-burger-bar:nth-child(1) { transform: translate(-50%, -4px); }
.nav-burger-bar:nth-child(2) { transform: translate(-50%, 3px); }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(140%) blur(24px);
  -webkit-backdrop-filter: saturate(140%) blur(24px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hover-dur) var(--ease);
}
.nav-panel[hidden] { display: none; }
.nav-panel.is-open { opacity: 1; pointer-events: auto; }
.nav-panel-links {
  display: grid;
  gap: 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.nav-panel-links li {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.nav-panel.is-open .nav-panel-links li {
  opacity: 1;
  transform: translateY(0);
}
.nav-panel-links a { color: var(--ink); }
.nav-panel-links a:hover { color: var(--oxblood); text-decoration: none; }

/* ===== Rail: Fixed scroll progress dots ===== */
.rail {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: grid;
  gap: 0.875rem;
  pointer-events: auto;
}
.rail-dot {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
}
.rail-dot span {
  display: block;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.22);
  transition:
    background-color var(--hover-dur) var(--ease),
    transform var(--hover-dur) var(--ease);
}
.rail-dot:hover span { background: var(--ink); transform: scale(1.2); }
.rail-dot.is-active span {
  background: var(--oxblood);
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(107, 31, 42, 0.12);
}
body.rail-on-dark .rail-dot span { background: rgba(247, 245, 240, 0.4); }
body.rail-on-dark .rail-dot:hover span { background: var(--paper); }

/* ===== Cursor Spotlight (on plaques) ===== */
[data-spotlight] { position: relative; overflow: hidden; }
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    var(--oxblood-glow),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--hover-dur) var(--ease);
  pointer-events: none;
  z-index: 0;
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }

/* ===== Magnetic button (JS sets --mag-x, --mag-y) ===== */
[data-magnetic] {
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
  transition: transform 260ms var(--ease), background-color var(--hover-dur) var(--ease);
}
[data-magnetic]:active { transform: translate(var(--mag-x, 0), var(--mag-y, 0)) scale(0.98); }

/* ===== Ambient spotlight (follows cursor globally) ===== */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--cx, -200px) var(--cy, -200px),
    rgba(107, 31, 42, 0.06),
    transparent 60%
  );
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
body.has-cursor .spotlight { opacity: 1; }

/* ===== Drop cap on thesis lede ===== */
.thesis .dropcap {
  float: left;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--oxblood);
  font-size: 5.25em;
  line-height: 0.85;
  padding: 0.08em 0.14em 0 0;
  margin-top: 0.04em;
  letter-spacing: -0.04em;
}

/* ===== Footer signature ===== */
.footer { position: relative; }
.footer-signature {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.footer-flourish {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--oxblood);
  letter-spacing: -0.03em;
}
.footer-vol {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--graphite);
}

/* ===== About page ===== */
.page-about main > section { border-top: 0; }
.page-about .about-hero {
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.about-lede {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}
.about-body { padding-top: 0; padding-bottom: clamp(3rem, 6vw, 5rem); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.about-portrait-wrap {
  position: sticky;
  top: clamp(5rem, 10vw, 8rem);
  display: grid;
  gap: 1rem;
}
.about-portrait {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(20, 20, 20, 0.04);
  border: 1px solid var(--rule);
  box-shadow: 0 24px 60px -28px rgba(20, 20, 20, 0.35);
  transition: transform var(--hover-dur) var(--ease);
}
.about-portrait:hover { transform: translateY(-3px); }
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(10%) contrast(1.02);
}
.about-caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--graphite);
}
.about-caption-location { color: var(--oxblood); }

.about-prose { max-width: 62ch; }
.about-prose p {
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.about-prose p + p { margin-top: 1.25em; }
.about-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  max-width: 24ch;
  text-wrap: balance;
}
.about-subhead::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--oxblood);
  vertical-align: middle;
  margin-right: 0.75rem;
  transform: translateY(-0.25em);
}
.about-outro em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--graphite);
}

.about-cta-section {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--rule);
}
.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  transition: transform var(--hover-dur) var(--ease), background-color var(--hover-dur) var(--ease), color var(--hover-dur) var(--ease);
}
.btn-outline .btn-icon {
  background: rgba(20, 20, 20, 0.06);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.btn-outline:hover .btn-icon {
  background: rgba(247, 245, 240, 0.15);
  color: var(--paper);
}

/* ===== Tablet: hide rail, shrink nav ===== */
@media (max-width: 1100px) {
  .rail { display: none; }
}

/* ===== Mobile collapse ===== */
@media (max-width: 767px) {
  :root { --section-y: clamp(3rem, 8vw, 6rem); }

  .nav { top: 0.75rem; width: calc(100% - 1.5rem); }
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    padding: 0.375rem 0.375rem 0.375rem 1rem;
  }
  .nav-links, .nav-cta { display: none; }
  .nav-brand-name { display: none; }
  .nav-burger { display: grid; place-items: center; }

  .hero { min-height: 92dvh; padding-top: clamp(5rem, 20vw, 7rem); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-headline, .hero-sub, .capture { grid-column: 1 / -1; }
  .inline-portrait { display: block; width: 3.5rem; height: 3.5rem; margin: 0 0 1.5rem; }

  .thesis .dropcap { font-size: 4em; }

  .footer-signature { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .thesis .prose { margin-left: 0; }

  .tests .test {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .test-numeral { font-size: 4.5rem; }

  .project-core,
  .project-right .project-core {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-plaque { max-width: 220px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card { position: static; }
  .service-specs > div { grid-template-columns: 6rem 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-portrait-wrap { position: static; max-width: 360px; }
  .about-subhead::before { display: none; }
  .about-cta-row .btn-primary { width: 100%; justify-content: space-between; }

  .band-inner { grid-template-columns: 1fr; }
  .band-copy, .capture-band { grid-column: 1 / -1; }

  .capture-row { grid-template-columns: 1fr; }
  .btn-primary { justify-content: space-between; }

  .footer-inner { grid-template-columns: 1fr; }
}

/* Safeguard: never horizontal-scroll on mobile */
@media (max-width: 1024px) {
  body { overflow-x: hidden; }
}

/* ============================================================ */
/* AUDIT PAGE (/audit) — funnel + form                          */
/* ============================================================ */

.page-audit main { padding-top: clamp(8rem, 14vh, 11rem); }

/* HERO */
.audit-hero {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 3rem) clamp(4rem, 8vw, 6rem);
  text-align: left;
}
.audit-hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 1rem 0 1.5rem;
  text-wrap: balance;
}
.audit-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 48rem;
  margin: 0 0 2.5rem;
  text-wrap: pretty;
}
.audit-hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.audit-hero-note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0;
}

/* WHAT YOU GET */
.audit-get {
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}
.audit-get-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.audit-get-card {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  background: var(--paper);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04), 0 10px 30px -20px rgba(20, 20, 20, 0.12);
  overflow: hidden;
  transition: transform 240ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 240ms cubic-bezier(0.32, 0.72, 0, 1);
}
.audit-get-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04), 0 18px 40px -18px rgba(20, 20, 20, 0.18);
}
.audit-get-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--oxblood);
  margin: 0 0 1.5rem;
}
.audit-get-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
.audit-get-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* HOW IT BREAKS DOWN */
.audit-break {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}
.audit-break-list {
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.25rem;
}
.audit-break-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
  align-items: start;
}
.audit-break-list li:last-child {
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}
.audit-break-range {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--oxblood);
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.audit-break-list h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.audit-break-list p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 40rem;
}
@media (max-width: 720px) {
  .audit-break-list li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* FIT */
.audit-fit {
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}
.audit-fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.audit-fit-card {
  padding: 2rem 1.75rem 2.25rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: var(--paper);
}
.audit-fit-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.audit-fit-yes h3 { color: var(--oxblood); }
.audit-fit-no h3 { color: var(--muted); }
.audit-fit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.audit-fit-card li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 1.25rem;
  position: relative;
}
.audit-fit-yes li::before,
.audit-fit-no li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 1px;
  background: var(--oxblood);
}
.audit-fit-no li::before { background: rgba(20, 20, 20, 0.25); }

/* PRICING */
.audit-price {
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}
.audit-price-card {
  margin-top: 2.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 1.75rem;
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04), 0 20px 50px -24px rgba(20, 20, 20, 0.18);
  position: relative;
  overflow: hidden;
}
.audit-price-headline {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}
.audit-price-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 7vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--oxblood);
  font-variant-numeric: tabular-nums;
}
.audit-price-unit {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: lowercase;
}
.audit-price-specs {
  margin-bottom: 2rem;
}
.audit-price .audit-cta-btn {
  width: 100%;
  justify-content: center;
}

/* FINAL CTA BAND */
.audit-final {
  background: var(--espresso);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
  margin-top: clamp(4rem, 8vw, 6rem);
}
.audit-final-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: left;
}
.audit-final-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 1rem 0 2.5rem;
  text-wrap: balance;
}

/* ============================================================ */
/* AUDIT MODAL: two-stage, form then calendar                   */
/* ============================================================ */

.audit-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(0.32, 0.72, 0, 1);
}
.audit-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.audit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.audit-modal-shell {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow-y: auto;
}
.audit-modal-core {
  width: min(44rem, 100%);
  max-height: calc(100dvh - clamp(2rem, 6vw, 4rem));
  background: var(--paper);
  border-radius: 1.5rem;
  box-shadow: 0 40px 80px -20px rgba(20, 20, 20, 0.45), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  display: flex;
  flex-direction: column;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), opacity 280ms cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
.audit-modal.is-open .audit-modal-core {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.audit-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}
.audit-modal-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0.5rem 0 0.5rem;
}
.audit-modal-sub {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.audit-modal-close {
  background: transparent;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  transition: background 200ms cubic-bezier(0.32, 0.72, 0, 1), border-color 200ms;
  flex: none;
}
.audit-modal-close:hover {
  background: rgba(20, 20, 20, 0.06);
  border-color: rgba(20, 20, 20, 0.2);
}

/* Stage 1: form */
.audit-stage { overflow-y: auto; }
.audit-form {
  padding: 1.75rem;
  display: grid;
  gap: 1.5rem;
}
.audit-field {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.audit-label {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink);
  cursor: default;
}
.audit-label-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--oxblood);
  flex: none;
}
.audit-label-text {
  font-weight: 500;
  color: var(--ink);
  flex: 1;
}
.audit-label-hint {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.audit-field input[type="text"],
.audit-field input[type="email"],
.audit-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.15);
  border-radius: 0.75rem;
  padding: 0.8rem 0.95rem;
  transition: border-color 180ms, box-shadow 180ms;
}
.audit-field input[type="text"]:focus,
.audit-field input[type="email"]:focus,
.audit-field textarea:focus {
  outline: none;
  border-color: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(107, 31, 42, 0.12);
}
.audit-field textarea {
  resize: vertical;
  min-height: 6.5rem;
}
.audit-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.audit-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(20, 20, 20, 0.15);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms, background 180ms, color 180ms;
  user-select: none;
}
.audit-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.audit-choice:hover {
  border-color: rgba(20, 20, 20, 0.3);
}
.audit-choice:has(input:checked) {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--paper);
}
.audit-form-foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  padding-top: 1.25rem;
  margin-top: 0.25rem;
}
.audit-submit {
  justify-content: center;
}
.audit-feedback {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--oxblood);
  margin: 0;
  min-height: 1.1rem;
}
.audit-feedback.is-success { color: var(--ink); }

/* Stage 2: calendar */
.audit-calendar {
  position: relative;
  width: 100%;
  height: min(72dvh, 48rem);
  background: #fff;
}
.audit-calendar iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cal-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.cal-embed iframe { border: 0; }
.audit-calendar-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  background: var(--paper);
  pointer-events: none;
}
.audit-modal.is-calendar .audit-calendar-loader { opacity: 0; transition: opacity 600ms; }
