/* ============================================================
   SafeStax Solutions · Multi-page site stylesheet
   Palette pulled from /logo-shield.svg
   copper #a87346 · cream #f1e0be · navy depths
   ============================================================ */

:root {
  --navy-1000: #060d1A;
  --navy-950:  #0A1322;
  --navy-900:  #11203A;
  --navy-850:  #15263A;
  --navy-800:  #1B3050;
  --navy-line: #243B62;
  --navy-rule: rgba(241, 224, 190, 0.10);

  --copper-900: #5C3A1F;
  --copper-700: #7E532A;
  --copper-600: #8C5126;
  --copper-500: #A87346;       /* logo copper */
  --copper-400: #C18A57;
  --copper-300: #D6A375;
  --copper-100: #ECC9A0;

  --cream-50:  #FBF7EC;
  --cream-100: #F1E0BE;        /* logo cream */
  --cream-200: #E8D5AB;
  --cream-700: #6B5C3F;
  --cream-900: #3A2F1B;

  --ink-soft:  #C5CCD9;
  --ink-mute:  #8693A8;
  --ink-faint: #5B6577;

  --display:  'EB Garamond', 'Times New Roman', serif;  /* headlines + quotes — matches business card */
  --wordmark: 'Cinzel', 'Times New Roman', serif;       /* the SAFESTAX logotype — matches business card */
  --sans:     'Inter Tight', system-ui, -apple-system, sans-serif;
  --mono:     'JetBrains Mono', ui-monospace, Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-1000);
  color: var(--cream-100);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--copper-400); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--copper-300); }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--copper-500); color: var(--navy-1000); }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream-50);
  margin: 0 0 .35em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.96; font-weight: 400; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; font-weight: 400; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; font-weight: 500; }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--cream-200); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-400);
  display: inline-block;
  margin-bottom: 18px;
}
.eyebrow.with-rule {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow.with-rule::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--copper-500);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--cream-100);
  line-height: 1.55;
  max-width: 56ch;
}
.copper   { color: var(--copper-400); }
.cream    { color: var(--cream-100); }
.quiet    { color: var(--ink-soft); }
.italic   { font-style: italic; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 26, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--navy-rule);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand-shield {
  /* Height matches the full wordmark block (SafeStax + solutions), so the
     shield reads as centered on the whole lockup, not just the name. */
  height: 52px;
  width: auto;
  flex-shrink: 0;
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wordmark .name {
  font-family: var(--wordmark);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-100);
}
.wordmark .name em {
  color: var(--copper-400);
  font-style: normal;
}
.wordmark .tag {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--copper-500);
  text-transform: lowercase;
  margin-top: 5px;
}
nav.links {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
  align-items: center;
  justify-content: center;
}
nav.links a {
  color: var(--cream-200);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}
nav.links a:hover { color: var(--copper-400); }
nav.links a.current { color: var(--copper-400); }
nav.links a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--copper-500);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid var(--copper-500);
  color: var(--cream-50);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background .15s ease, color .15s ease;
}
.nav-cta::after { content: "→"; }
.nav-cta:hover { background: var(--copper-500); color: var(--navy-1000); }
@media (max-width: 920px) {
  .nav { grid-template-columns: 1fr auto; column-gap: 16px; }
  /* nav.links / .nav-cta visibility and the hamburger toggle are handled in
     the MOBILE NAVIGATION block below — a checkbox-driven menu that works
     with or without JavaScript. */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary { background: var(--copper-500); color: var(--navy-1000); }
.btn-primary:hover { background: var(--copper-400); transform: translateY(-1px); color: var(--navy-1000); }
.btn-ghost  { background: transparent; color: var(--cream-100); border-color: var(--cream-700); }
.btn-ghost:hover  { border-color: var(--copper-500); color: var(--copper-300); }
.btn-cream  { background: var(--cream-100); color: var(--navy-1000); }
.btn-cream:hover  { background: var(--cream-50); color: var(--navy-1000); transform: translateY(-1px); }
.btn::after { content: "→"; font-weight: 500; }

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
section.cream {
  background: var(--cream-100);
  color: var(--cream-900);
  border-top: 1px solid var(--copper-600);
  border-bottom: 1px solid var(--copper-600);
}
section.cream h1, section.cream h2, section.cream h3, section.cream h4 { color: var(--cream-900); }
section.cream p { color: var(--cream-900); }
section.cream .eyebrow { color: var(--copper-700); }
section.cream a { color: var(--copper-700); }
section.cream a:hover { color: var(--copper-900); }
section.cream .quiet { color: var(--cream-700); }

section.darker { background: var(--navy-1000); }

/* ---------- Page hero (used on sub-pages) ---------- */
.page-hero {
  padding: clamp(80px, 10vw, 130px) 0 clamp(50px, 7vw, 80px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--navy-rule);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -15%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(168, 115, 70, 0.18) 0%, rgba(168, 115, 70, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  max-width: 18ch;
  margin-bottom: 24px;
}
.page-hero .lede { max-width: 60ch; }

/* ---------- Pull quote / large quote ---------- */
.pullquote {
  margin: 0;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--copper-600);
  border-bottom: 1px solid var(--copper-600);
  background: var(--navy-950);
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--cream-50);
  max-width: 24ch;
}
.pullquote .attrib {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--copper-400);
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-1000);
  border-top: 1px solid var(--navy-rule);
  padding: clamp(48px, 6vw, 70px) 0 28px;
}
footer.site .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-rule);
}
@media (max-width: 880px) { footer.site .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { footer.site .footer-grid { grid-template-columns: 1fr; } }
footer.site .footer-brand .brand { margin-bottom: 18px; gap: 16px; }
/* Footer lockup is scaled up as a whole — shield and wordmark grow together
   so the shield stays centered on the full block, not oversized beside it. */
footer.site .footer-brand .brand-shield { height: 58px; }
footer.site .footer-brand .wordmark .name { font-size: 1.85rem; }
footer.site .footer-brand .wordmark .tag { font-size: 17px; letter-spacing: 0.3em; }
footer.site .footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 36ch; margin: 0; }
footer.site h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-400);
  margin: 0 0 14px;
}
footer.site .footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
footer.site .footer-col a { color: var(--cream-200); font-size: 14px; }
footer.site .footer-col a:hover { color: var(--copper-400); }
footer.site .footer-base {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-mute);
}
footer.site .footer-base .tag { font-family: var(--display); font-style: italic; color: var(--copper-400); font-size: 14px; }
footer.site .footer-base a { color: var(--cream-200); }
footer.site .footer-base a:hover { color: var(--copper-400); }

/* ============ LEGAL PAGES — privacy / terms ============ */
.legal h3 { margin-top: 40px; }
.legal h3:first-child { margin-top: 0; }
.legal p { margin-top: 14px; }
.legal p a { color: var(--copper-700); }
.legal p a:hover { color: var(--copper-400); }

/* ============================================================
   HOME PAGE — hero, four-section index, testimonial pull, CTA
   ============================================================ */
/* ============ HOME HERO — business-card composition ============ */
.home-hero {
  position: relative;
  /* Compressed so the lede AND the primary CTA both land inside the first
     fold at 1440x900 (Hermon review 2026-05-22). Brand lockup still leads;
     spacing is tighter and the shield is slightly smaller, business-card
     composition preserved. The hero-mark intentionally sits below the fold. */
  padding: clamp(22px, 2.6vw, 30px) 0 clamp(56px, 8vw, 88px);
  overflow: hidden;
  text-align: center;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 224, 190, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 224, 190, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 24%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 24%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.home-hero::after {
  content: "";
  position: absolute;
  top: -24%;
  left: 50%;
  width: 92%;
  height: 82%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(168, 115, 70, 0.20), rgba(168, 115, 70, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.home-hero .container { position: relative; z-index: 1; }

.home-hero-card {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo lockup — shield + typeset wordmark, centered (matches the business card) */
.hero-lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-shield {
  width: clamp(220px, 22vw, 290px);
  height: auto;
  filter: drop-shadow(0 30px 54px rgba(0, 0, 0, 0.5));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.hero-lockup:hover .hero-shield {
  transform: translateY(-5px);
  filter: drop-shadow(0 44px 70px rgba(168, 115, 70, 0.4));
}
.hero-lockup .wordmark { align-items: center; text-align: center; }
.hero-lockup .wordmark .name {
  font-size: clamp(84px, 11vw, 136px);
  letter-spacing: 0.05em;
}
.hero-lockup .wordmark .tag {
  font-size: clamp(26px, 3.8vw, 42px);
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  margin-top: 8px;
}

/* copper hairline — the card's divider move */
.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--copper-600);
  margin: clamp(10px, 1.4vw, 14px) 0 clamp(8px, 1.1vw, 10px);
}

.home-hero .eyebrow { margin-bottom: 8px; }
.home-hero h1 { max-width: 20ch; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.home-hero h1 .accent { color: var(--copper-400); font-style: italic; font-weight: 300; }
.home-hero .lede { margin-top: 16px; max-width: 54ch; }
.home-hero .hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* closing card-mark — echoes the business card's bottom block */
.hero-mark {
  margin-top: clamp(44px, 6.5vw, 72px);
  padding-top: clamp(26px, 4vw, 38px);
  border-top: 1px solid var(--navy-line);
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.hero-mark .tagline {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(15px, 2vw, 19px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-100);
}
.hero-mark .descriptor {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(10.5px, 1.4vw, 12.5px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper-400);
}

/* Narrow-viewport hero — hard-cap the type so the wordmark and headline
   never clip horizontally once the real (wider) Cinzel / EB Garamond webfonts
   load. The clamp() floors above were sized for the sandbox fallback serif,
   which is narrower than the production fonts. */
@media (max-width: 600px) {
  .hero-lockup .wordmark .tag {
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    font-size: clamp(18px, 5vw, 26px);
  }
  .hero-shield { width: clamp(200px, 58vw, 280px); }
  .hero-lockup .wordmark .name { font-size: clamp(46px, 14.5vw, 72px); }
  .home-hero h1 { font-size: clamp(1.95rem, 8.2vw, 2.7rem); }
  .home-hero .lede { font-size: 1rem; margin-top: 20px; }
  .home-hero .hero-cta { margin-top: 30px; width: 100%; }
  .home-hero .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .hero-lockup .wordmark .name { font-size: 44px; }
  .home-hero h1 { font-size: 1.88rem; }
}

/* Home — section index (4 large links) */
.section-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--navy-rule);
  border-bottom: 1px solid var(--navy-rule);
}
@media (max-width: 880px) { .section-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .section-index { grid-template-columns: 1fr; } }
.section-index a {
  display: block;
  padding: clamp(28px, 4vw, 44px);
  border-right: 1px solid var(--navy-rule);
  color: var(--cream-100);
  position: relative;
  overflow: hidden;
  transition: background .2s ease;
}
.section-index a:last-child { border-right: none; }
.section-index a:hover { background: var(--navy-900); color: var(--cream-50); }
@media (max-width: 880px) {
  .section-index a:nth-child(2n) { border-right: none; }
  .section-index a:nth-child(-n+2) { border-bottom: 1px solid var(--navy-rule); }
}
@media (max-width: 540px) {
  .section-index a { border-right: none; border-bottom: 1px solid var(--navy-rule); }
}
.section-index .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper-400);
  margin-bottom: 18px;
}
.section-index h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--cream-50);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-index p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 30ch;
}
.section-index .cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-400);
}
.section-index .cta::after { content: " →"; }

/* Home — network band (cream) */
.network-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 880px) { .network-band { grid-template-columns: 1fr; } }
.network-band h2 { max-width: 14ch; margin-bottom: 28px; }
.network-band .pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.32;
  color: var(--cream-900);
  border-left: 3px solid var(--copper-700);
  padding: 10px 0 10px 24px;
  max-width: 36ch;
}

/* Home — single testimonial teaser */
.testi-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(50px, 6vw, 80px) 0;
}
@media (max-width: 880px) { .testi-teaser { grid-template-columns: 1fr; } }
.testi-teaser blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.22;
  color: var(--cream-50);
  letter-spacing: -0.015em;
}
.testi-teaser blockquote::before {
  content: "“";
  display: block;
  font-size: 4rem;
  line-height: 0.4;
  color: var(--copper-500);
  margin-bottom: 16px;
  font-style: normal;
  font-weight: 600;
}
.testi-teaser .meta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--copper-400);
  margin-top: 24px;
}
.testi-teaser .meta span { display: block; color: var(--ink-soft); font-weight: 400; margin-top: 4px; }

/* ============================================================
   THE PAIN PAGE
   ============================================================ */
.pain-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pl;
}
.pain-list li {
  counter-increment: pl;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--navy-rule);
  align-items: baseline;
}
.pain-list li:last-child { border-bottom: 1px solid var(--navy-rule); }
.pain-list li::before {
  content: "0" counter(pl);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--copper-400);
  letter-spacing: -0.02em;
  font-style: italic;
}
.pain-list .item-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 500;
  color: var(--cream-50);
  margin-bottom: 8px;
  letter-spacing: -0.018em;
}
.pain-list .item-body {
  color: var(--cream-200);
  font-size: 16px;
  margin: 0;
  max-width: 56ch;
}

/* ============================================================
   WHAT WE OFFER PAGE
   ============================================================ */
.offer-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--navy-rule);
  margin-top: 48px;
}
@media (max-width: 880px) { .offer-pillars { grid-template-columns: 1fr; } }
.offer-pillar {
  background: var(--navy-1000);
  padding: clamp(32px, 4vw, 48px);
}
.offer-pillar .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper-400);
  margin-bottom: 24px;
  display: block;
}
.offer-pillar h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 6px;
  color: var(--cream-50);
}
.offer-pillar .sub {
  font-size: 14px;
  color: var(--copper-300);
  font-weight: 500;
  margin-bottom: 20px;
}
.offer-pillar p {
  color: var(--cream-200);
  font-size: 15.5px;
  margin: 0 0 14px;
}

/* Process row — 4 days of training */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--copper-600);
}
@media (max-width: 880px) { .process-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-row { grid-template-columns: 1fr; } }
.process-day {
  padding: 32px 28px;
  border-right: 1px solid var(--navy-rule);
}
.process-day:last-child { border-right: none; }
@media (max-width: 880px) { .process-day:nth-child(2n) { border-right: none; } }
.process-day .day {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper-400);
  margin-bottom: 14px;
}
.process-day h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--cream-50);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.process-day p {
  font-size: 14.5px;
  color: var(--cream-200);
  margin: 0;
}

/* ============================================================
   THE PROOF / TESTIMONIALS PAGE
   ============================================================ */
.testimonials {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.testimonial {
  padding: clamp(40px, 5vw, 70px) 0;
  border-top: 1px solid var(--navy-rule);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.testimonial:last-child { border-bottom: 1px solid var(--navy-rule); }
@media (max-width: 880px) { .testimonial { grid-template-columns: 1fr; gap: 24px; } }
.testimonial .who { padding-top: 6px; }
.testimonial .who .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--copper-400);
  margin-bottom: 14px;
}
.testimonial .who .name {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 500;
  color: var(--cream-50);
  letter-spacing: -0.018em;
  margin-bottom: 6px;
}
.testimonial .who .shop {
  font-size: 14px;
  color: var(--copper-400);
  font-weight: 500;
  margin-bottom: 4px;
}
.testimonial .who .loc {
  font-size: 13px;
  color: var(--ink-soft);
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.42;
  color: var(--cream-100);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.testimonial blockquote p { color: var(--cream-100); margin: 0 0 1em; }
.testimonial blockquote p:last-child { margin: 0; }

/* ============================================================
   THE VISION PAGE — vertical roadmap
   ============================================================ */
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 880px) { .vision-grid { grid-template-columns: 1fr; } }
.roadmap { position: relative; counter-reset: rm; }
.roadmap::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--copper-600);
}
.rung { position: relative; padding: 18px 0 36px 64px; counter-increment: rm; }
.rung::before {
  content: "0" counter(rm);
  position: absolute;
  left: 0;
  top: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--copper-600);
  border-radius: 50%;
  background: var(--navy-1000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--copper-400);
  letter-spacing: 0.04em;
}
.rung.current::before {
  background: var(--copper-500);
  color: var(--navy-1000);
  border-color: var(--copper-500);
  font-weight: 600;
}
.rung .rung-status {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.rung.current .rung-status { color: var(--copper-400); }
.rung h3 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  color: var(--cream-50);
  margin-bottom: 6px;
  font-weight: 500;
}
.rung p { color: var(--cream-200); font-size: 14.5px; margin: 0; max-width: 42ch; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 28px; }
section.cream .contact-actions .btn-primary { background: var(--navy-1000); color: var(--cream-100); }
section.cream .contact-actions .btn-primary:hover { background: var(--copper-700); color: var(--cream-100); }
section.cream .contact-actions .btn-ghost { color: var(--cream-900); border-color: var(--copper-700); }
section.cream .contact-actions .btn-ghost:hover { color: var(--copper-700); border-color: var(--copper-900); }

.reciprocity-card {
  background: var(--cream-50);
  border: 1px solid var(--copper-700);
  padding: clamp(28px, 4vw, 40px);
}
.reciprocity-card h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-700);
  margin: 0 0 16px;
}
.reciprocity-card .pair { padding: 16px 0; border-bottom: 1px dashed var(--copper-700); }
.reciprocity-card .pair:last-child { border-bottom: none; padding-bottom: 0; }
.reciprocity-card .heading {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--cream-900);
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.reciprocity-card .body { font-size: 14.5px; color: var(--cream-700); margin: 0; }

/* ---------- Misc ---------- */
.center-narrow { max-width: 56ch; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.divider {
  height: 1px;
  background: var(--copper-600);
  margin: 0;
  opacity: 0.5;
}

/* ============================================================
   INTERACTIVITY · BLING · MICRO-INTERACTIONS
   ============================================================ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d-1 { transition-delay: .08s; }
.reveal-d-2 { transition-delay: .16s; }
.reveal-d-3 { transition-delay: .24s; }
.reveal-d-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hover lift on offer-pillar */
.offer-pillar { transition: background .25s ease, transform .25s cubic-bezier(.2, .7, .2, 1); }
.offer-pillar:hover {
  background: var(--navy-950);
  transform: translateY(-4px);
}
.offer-pillar:hover h3 { color: var(--copper-300); }

/* Hover on testimonial */
.testimonial { transition: background .25s ease; padding-left: 16px; padding-right: 16px; margin-left: -16px; margin-right: -16px; }
.testimonial:hover { background: rgba(168, 115, 70, 0.04); }
.testimonial:hover .who .name { color: var(--copper-300); }

/* Hover on roadmap rung */
.rung { transition: padding-left .25s cubic-bezier(.2, .7, .2, 1); }
.rung:hover { padding-left: 76px; }
.rung:hover h3 { color: var(--copper-300); }

/* Section index richer hover */
.section-index a {
  transition: background .25s ease, color .25s ease;
  position: relative;
}
.section-index a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--copper-500);
  transition: width .3s cubic-bezier(.2, .7, .2, 1);
  z-index: 0;
}
.section-index a:hover::before { width: 3px; }
.section-index a > * { position: relative; z-index: 1; }
.section-index a:hover h3 { color: var(--copper-300); }
.section-index a:hover .num { color: var(--copper-300); }

/* Buttons — subtle shine */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left .7s cubic-bezier(.2, .7, .2, 1);
}
.btn:hover::before { left: 130%; }

/* Animated underline on inline links */
section a:not(.btn):not(.nav-cta):not([class*="brand"]):not(.section-index a) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s cubic-bezier(.2, .7, .2, 1), color .15s ease;
}
section a:not(.btn):not(.nav-cta):not([class*="brand"]):not(.section-index a):hover {
  background-size: 100% 1px;
}

/* ============================================================
   MISSION / LAUNCH — home & vision shared moment
   ============================================================ */
.mission {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(168, 115, 70, 0.18), transparent 65%),
    var(--navy-950);
  overflow: hidden;
}
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 224, 190, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 224, 190, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 75%);
  pointer-events: none;
}
.mission .container { position: relative; z-index: 1; }
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .mission-grid { grid-template-columns: 1fr; } }
.mission h2 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}
.mission .stack { display: flex; flex-direction: column; gap: 24px; }
.mission .point {
  border-left: 2px solid var(--copper-600);
  padding: 4px 0 4px 24px;
}
.mission .point .lbl {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-400);
  margin-bottom: 6px;
}
.mission .point .body {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.4;
  color: var(--cream-50);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.mission .closer {
  margin-top: 40px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--copper-300);
  letter-spacing: -0.015em;
}

/* ============================================================
   WHAT CHANGES — benefits transformation page
   ============================================================ */
.changes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--copper-600);
  border-bottom: 1px solid var(--copper-600);
  margin-top: 32px;
}
@media (max-width: 720px) { .changes { grid-template-columns: 1fr; } }
.change {
  padding: clamp(32px, 4vw, 56px);
  border-right: 1px solid var(--navy-rule);
  border-bottom: 1px solid var(--navy-rule);
  position: relative;
  transition: background .3s ease;
}
.change:hover { background: var(--navy-950); }
.change:nth-child(2n) { border-right: none; }
.change:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 720px) {
  .change { border-right: none; }
  .change:not(:last-child) { border-bottom: 1px solid var(--navy-rule); }
}
.change .num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--copper-400);
  margin-bottom: 16px;
}
.change .from {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.change .arrow {
  display: inline-block;
  color: var(--copper-500);
  margin: 6px 0 8px;
  font-size: 18px;
}
.change .to {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 500;
  color: var(--cream-50);
  margin-bottom: 12px;
  letter-spacing: -0.018em;
  line-height: 1.18;
}
.change .body {
  color: var(--cream-200);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   PARAMETRIC DEMO WIDGET — interactive miniature
   ============================================================ */
.demo {
  margin-top: 56px;
  border: 1px solid var(--copper-600);
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-1000) 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  overflow: hidden;
}
@media (max-width: 720px) { .demo { grid-template-columns: 1fr; } }
.demo .demo-pane {
  padding: clamp(28px, 4vw, 44px);
  border-right: 1px solid var(--copper-600);
}
@media (max-width: 720px) {
  .demo .demo-pane { border-right: none; border-bottom: 1px solid var(--copper-600); }
}
.demo-pane h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--cream-50);
  font-weight: 500;
  letter-spacing: -0.018em;
}
.demo-pane .demo-sub {
  font-size: 13px;
  color: var(--copper-400);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.demo .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.demo .field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-400);
}
.demo .field select,
.demo .field input {
  background: var(--navy-1000);
  border: 1px solid var(--navy-line);
  color: var(--cream-50);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 16px;
  border-radius: 0;
  transition: border-color .2s ease;
}
.demo .field select:focus,
.demo .field input:focus {
  outline: none;
  border-color: var(--copper-500);
}
.demo .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.demo button.demo-go {
  margin-top: 8px;
  background: var(--copper-500);
  color: var(--navy-1000);
  padding: 14px 24px;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s ease, transform .2s ease;
}
.demo button.demo-go:hover { background: var(--copper-400); transform: translateY(-1px); }
.demo button.demo-go::after { content: "→"; }
.demo .demo-note { font-size: 12px; color: var(--ink-mute); margin-top: 10px; font-style: italic; }

.demo-output {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at top right, rgba(168, 115, 70, 0.12), transparent 60%);
}
.demo-output .out-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-400);
  margin-bottom: 14px;
}
.demo-output .file-card {
  border: 1px solid var(--copper-600);
  background: var(--navy-950);
  padding: 22px 24px;
  margin-bottom: 18px;
  position: relative;
  transition: opacity .3s ease, transform .3s ease;
}
.demo-output .file-card.empty { opacity: 0.5; }
.demo-output .file-card .file-name {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cream-50);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  word-break: break-all;
}
.demo-output .file-card .file-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  font-size: 12px;
  color: var(--ink-soft);
  font-family: var(--mono);
}
.demo-output .file-card .file-meta strong {
  display: block;
  color: var(--copper-400);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-weight: 600;
}
.demo-output .build-line {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--cream-100);
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--navy-rule);
}
.demo-output .build-line span { color: var(--copper-400); font-weight: 400; }

/* Pulse animation when file generated */
@keyframes pulse-copper {
  0% { box-shadow: 0 0 0 0 rgba(168, 115, 70, 0.4); }
  100% { box-shadow: 0 0 0 12px rgba(168, 115, 70, 0); }
}
.demo-output .file-card.pulse { animation: pulse-copper .8s ease-out; }

/* Demo widget mobile breakpoint */
@media (max-width: 480px) {
  .demo .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   INTELLIGENT INTERACTION LAYER
   ============================================================ */

/* No-JS fallback — show all reveal elements immediately */
.no-js .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Reading progress bar ---------- */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--copper-600), var(--copper-400), var(--copper-300));
  z-index: 200;
  pointer-events: none;
  transition: width .08s linear;
  box-shadow: 0 0 12px rgba(168, 115, 70, 0.6);
}

/* ---------- Header compression on scroll ---------- */
header.site { transition: padding .35s cubic-bezier(.2, .7, .2, 1), background .35s ease, box-shadow .35s ease; }
header.site.compact { background: rgba(6, 13, 26, 0.92); box-shadow: 0 1px 0 rgba(168, 115, 70, 0.18); }
header.site.compact .nav { padding: 10px 0; }
header.site.compact .brand-shield { height: 32px; width: auto; transition: height .35s ease; }
header.site.compact .wordmark .name { font-size: 1.2rem; transition: font-size .35s ease; }
header.site.compact .wordmark .tag { opacity: 0; height: 0; margin-top: 0; transition: opacity .25s ease, height .35s ease, margin-top .35s ease; }
header.site .brand-shield { transition: width .35s ease, height .35s ease; }
header.site .wordmark .name { transition: font-size .35s ease; }
header.site .wordmark .tag { transition: opacity .25s ease, height .35s ease, margin-top .35s ease; }

/* ---------- Magnetic primary CTAs ---------- */
.btn-primary { will-change: transform; transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .15s ease, color .15s ease; }
.nav-cta { will-change: transform; transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .15s ease, color .15s ease; }

/* (hero spotlight removed — was distracting in small windows) */

/* ---------- Section heading animated underline on reveal ---------- */
section h2.reveal-underline { position: relative; display: inline-block; padding-bottom: 14px; }
section h2.reveal-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--copper-500);
  transition: width 1.1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: .25s;
}
section h2.reveal-underline.in::after { width: 60%; }

/* ---------- Better focus rings (keyboard nav) ---------- */
:focus-visible {
  outline: 2px solid var(--copper-400);
  outline-offset: 3px;
  border-radius: 1px;
}
.btn:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}
form input:focus-visible,
form textarea:focus-visible,
form select:focus-visible {
  outline: none;
  /* Keep the existing box-shadow focus state from form definitions */
}

/* ---------- Section index card — internal scroll-driven hover lift ---------- */
.section-index a .num { transition: transform .3s cubic-bezier(.2, .7, .2, 1), color .25s ease; }
.section-index a:hover .num { transform: translateX(4px); }
.section-index a h3 { transition: transform .3s cubic-bezier(.2, .7, .2, 1), color .25s ease; }
.section-index a:hover h3 { transform: translateX(4px); }

/* ---------- Smooth-scrolling anchor offset for sticky header ---------- */
html { scroll-padding-top: 80px; }

/* ---------- Inline link hover removed for buttons-as-anchors in cream sections ---------- */
section.cream a.btn { background-image: none; }
section a.btn { background-image: none; }

/* ---------- Animated counter (data-count) ---------- */
.count-up { font-variant-numeric: tabular-nums; }

/* ---------- Subtle marquee across pull-quote borders ---------- */
.pullquote { position: relative; overflow: hidden; }
.pullquote::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-400), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0% { background-position: -50% 0; }
  100% { background-position: 150% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pullquote::after { animation: none; }
}

/* ---------- Improved testimonial card hover ---------- */
.testimonial { border-left: 0 solid var(--copper-500); transition: background .25s ease, border-left-width .3s cubic-bezier(.2, .7, .2, 1), padding-left .3s cubic-bezier(.2, .7, .2, 1); }
.testimonial:hover { border-left-width: 4px; padding-left: 28px; }

/* ---------- Visually-hidden utility ---------- */
.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;
}

/* ---------- Demo widget output card hover ---------- */
.demo-output .file-card { transition: opacity .3s ease, transform .3s ease, border-color .3s ease; }
.demo-output:hover .file-card { border-color: var(--copper-400); }

/* ============================================================
   MOBILE NAVIGATION  (checkbox-driven, <= 920px)
   Static markup, no JavaScript required. The #nav-switch checkbox lives
   in the header markup as the first child of .nav; the <label> styled as
   the hamburger toggles it. This renders and functions identically with
   or without JS, so it survives no-JS review renders.
   ============================================================ */

/* The toggle checkbox — visually hidden but kept focusable for keyboard use. */
.nav-switch {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hamburger label — hidden on desktop, shown <= 920px */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--copper-600);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover { border-color: var(--copper-400); background: rgba(168,115,70,0.06); }
.nav-switch:focus-visible ~ .nav-toggle {
  outline: 2px solid var(--copper-400);
  outline-offset: 3px;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--copper-300);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
}

@media (max-width: 920px) {
  /* Show the hamburger; collapse the desktop link row and CTA. */
  .nav-toggle { display: flex; }
  nav.links { display: none; }
  .nav > .nav-cta { display: none; }

  /* Checked → drop-down panel: links and CTA stack full-width below the
     brand row. Both span the full grid so they land on their own rows. */
  .nav-switch:checked ~ nav.links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1 / -1;
    gap: 0;
    margin-top: 14px;
    padding-top: 6px;
    border-top: 1px solid var(--navy-rule);
  }
  .nav-switch:checked ~ nav.links a {
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--cream-100);
    text-align: center;
    padding: 14px 4px;
    border-bottom: 1px solid var(--navy-rule);
    letter-spacing: -0.01em;
  }
  .nav-switch:checked ~ nav.links a:hover { color: var(--copper-400); }
  .nav-switch:checked ~ nav.links a.current { color: var(--copper-400); }
  .nav-switch:checked ~ nav.links a.current::after { display: none; }
  .nav-switch:checked ~ .nav-cta {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 18px;
  }

  /* Hamburger morphs to an X when the menu is open. */
  .nav-switch:checked ~ .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-switch:checked ~ .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .nav-switch:checked ~ .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle .bar { transition: none; }
}

/* ============================================================
   LOGO SPARKLE — cursor-crossing effect on shields
   ============================================================ */
.spark-host { position: relative; }
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--copper-100) 0%, var(--copper-400) 35%, transparent 70%);
  filter: drop-shadow(0 0 6px rgba(236, 201, 160, 0.6));
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 5;
  animation: sparkleOut 900ms cubic-bezier(.2, .7, .2, 1) forwards;
  will-change: transform, opacity;
}
.sparkle.s-cross {
  background: linear-gradient(45deg, transparent 45%, var(--copper-300) 50%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, var(--copper-300) 50%, transparent 55%);
  background-size: 100% 1.5px, 1.5px 100%;
  background-position: center;
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  border-radius: 0;
  filter: drop-shadow(0 0 4px var(--copper-400));
}
@keyframes sparkleOut {
  0%   { transform: translate(-50%, -50%) translate(0,0) scale(0.4) rotate(0deg); opacity: 0; }
  20%  { transform: translate(-50%, -50%) translate(0,0) scale(1.3) rotate(20deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) translate(var(--dx, 0), var(--dy, -28px)) scale(0) rotate(120deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sparkle { display: none; }
}

/* ============================================================
   FOUNDER PHOTOS — graceful image-or-initials block
   ============================================================ */
.shop-photo {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--copper-500);
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(168, 115, 70, 0.35);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.shop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-photo .initials {
  display: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 2rem;
  color: var(--copper-300);
  letter-spacing: -0.02em;
}
.shop-photo.no-image img { display: none; }
.shop-photo.no-image .initials { display: flex; }
.shop-photo.no-image {
  background:
    radial-gradient(circle at 30% 30%, rgba(168, 115, 70, 0.25), transparent 70%),
    var(--navy-900);
}
.testimonial:hover .shop-photo {
  transform: scale(1.04);
  box-shadow: 0 18px 40px -10px rgba(168, 115, 70, 0.55);
}
@media (max-width: 880px) {
  .shop-photo { width: 84px; height: 84px; margin-bottom: 18px; }
}

/* ============================================================
   FORM PANELS — dark navy on cream sections (better contrast)
   ============================================================ */

/* Pricing form (.gate) restyled */
section.cream form.gate {
  background:
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-1000) 100%);
  border: 1px solid var(--copper-500);
  box-shadow: 0 28px 60px -28px rgba(6, 13, 26, 0.55), 0 1px 0 rgba(168, 115, 70, 0.2) inset;
  position: relative;
}
section.cream form.gate::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--copper-700), var(--copper-400), var(--copper-700));
}
section.cream form.gate label,
section.cream form.gate fieldset legend {
  color: var(--copper-400) !important;
}
section.cream form.gate input,
section.cream form.gate textarea,
section.cream form.gate select {
  background: var(--navy-1000);
  border: 1px solid var(--navy-line);
  color: var(--cream-50);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
section.cream form.gate input::placeholder,
section.cream form.gate textarea::placeholder {
  color: var(--ink-mute);
}
section.cream form.gate input:focus,
section.cream form.gate textarea:focus,
section.cream form.gate select:focus {
  border-color: var(--copper-500);
  box-shadow: 0 0 0 3px rgba(168, 115, 70, 0.22);
  background: var(--navy-950);
}
section.cream form.gate .checks label {
  color: var(--cream-100) !important;
  letter-spacing: 0.01em !important;
}
section.cream form.gate .checks input[type="checkbox"] {
  accent-color: var(--copper-500);
}
section.cream form.gate button {
  background: var(--copper-500);
  color: var(--navy-1000);
}
section.cream form.gate button:hover {
  background: var(--copper-400);
  color: var(--navy-1000);
}
section.cream form.gate .privacy {
  color: var(--ink-soft);
}
section.cream form.gate .privacy a { color: var(--copper-300); }
section.cream form.gate.sent .thanks h3 { color: var(--cream-50); }
section.cream form.gate.sent .thanks p { color: var(--cream-200); }
section.cream form.gate.sent .thanks a { color: var(--copper-300); }

/* ---------- Contact form — dark panel on the cream section ----------
   Consolidated 2026-05-20: layout + colors live here only (the stale inline
   <style> block in contact.html was removed). The panel is a SOLID navy so the
   navy-1000 fields always read one step darker than the panel they sit in. */
section.cream form.contact-form {
  display: grid;
  gap: 18px;
  max-width: 540px;
  margin-top: 28px;
  background: var(--navy-900);
  border: 1px solid var(--copper-500);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 28px 60px -28px rgba(6, 13, 26, 0.55);
  position: relative;
}
section.cream form.contact-form::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--copper-700), var(--copper-400), var(--copper-700));
}
section.cream form.contact-form .row {
  display: grid;
  gap: 18px;
  /* minmax(0,1fr) lets the columns shrink below the inputs' intrinsic width
     so the two-field rows can never overflow the panel. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 600px) {
  section.cream form.contact-form .row { grid-template-columns: 1fr; }
}
section.cream form.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-300);
}
section.cream form.contact-form input,
section.cream form.contact-form textarea {
  width: 100%;
  min-width: 0;
  background: var(--navy-1000);
  border: 1px solid var(--navy-line);
  color: var(--cream-50);
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  border-radius: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
section.cream form.contact-form input::placeholder,
section.cream form.contact-form textarea::placeholder {
  color: var(--ink-mute);
}
section.cream form.contact-form input:focus,
section.cream form.contact-form textarea:focus {
  outline: none;
  border-color: var(--copper-500);
  box-shadow: 0 0 0 3px rgba(168, 115, 70, 0.22);
}
section.cream form.contact-form textarea { min-height: 140px; resize: vertical; }
section.cream form.contact-form button {
  justify-self: start;
  margin-top: 4px;
  cursor: pointer;
}

/* Contact form thank-you state (shown after the email client is opened) */
form[data-form="waitlist"] .thanks { display: none; }
form[data-form="waitlist"].sent > *:not(.thanks) { display: none; }
form[data-form="waitlist"].sent .thanks { display: block; }
section.cream form.contact-form .thanks { display: none; }
section.cream form.contact-form.sent > *:not(.thanks) { display: none; }
section.cream form.contact-form.sent .thanks { display: block; }
section.cream form.contact-form.sent .thanks h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--cream-50);
  margin: 0 0 12px;
}
section.cream form.contact-form.sent .thanks p {
  color: var(--cream-200);
  font-size: 15px;
  margin: 0 0 8px;
}
section.cream form.contact-form.sent .thanks a { color: var(--copper-300); }

/* Reciprocity card stays cream — its purpose is to feel inviting next to the dark form */
section.cream .reciprocity-card {
  box-shadow: 0 16px 40px -20px rgba(168, 115, 70, 0.25);
  border: 1px solid var(--copper-700);
}

/* Skip-to-content (accessibility) — added 2026-06-10 upgrade pass */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--copper-600);
  color: var(--navy-1000);
  padding: 10px 18px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   POLISH PASS — 2026-06-10 (Cowork, draft-only)
   Rendering, typography, print, and motion-respect refinements.
   No layout, palette, or component design changes.
   ========================================================================== */

/* Light-on-dark text renders heavy without antialiasing on macOS/iOS */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* Balanced headline ragging; no widows in running text (progressive) */
h1, h2, h3, h4 { text-wrap: balance; }
p, .lede { text-wrap: pretty; }

/* Anchor/skip-link targets clear the sticky header */
[id] { scroll-margin-top: 96px; }

/* Smooth scroll only for people who haven't asked for reduced motion */
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Scrollbar tuned to the surface (subtle, not themed-loud) */
html { scrollbar-color: #20344F var(--navy-1000); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-1000); }
::-webkit-scrollbar-thumb { background: #20344F; border-radius: 6px; border: 2px solid var(--navy-1000); }
::-webkit-scrollbar-thumb:hover { background: var(--copper-600); }

/* Print: ink-friendly, chrome-free (B2B readers print these pages) */
@media print {
  body { background: #fff; color: #1a1a1a; font-size: 11pt; }
  header.site, footer.site, .nav-cta, .hero-cta, .btn, .skip-link,
  .demo, .section-index, .reveal-veil { display: none !important; }
  section, section.cream { background: #fff !important; color: #1a1a1a !important; padding: 18pt 0 !important; border: 0 !important; }
  h1, h2, h3, h4, p, .lede, li, blockquote { color: #1a1a1a !important; opacity: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #1a1a1a !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  img { max-width: 220px; }
}

/* Brand lockup enlargement — Jeffrey-directed 2026-06-10.
   Shield was 38px tall (only ~25px wide at 1:1.5 — interior detail mudded);
   wordmark barely outranked nav links (1.46x). Now 52px / 1.6rem (~1.83x). */
@media (max-width: 920px) {
  .brand-shield { height: 44px; }
  .wordmark .name { font-size: 1.4rem; }
}
