/* =====================================================================
   JMR HEALTH AGENCY · Design System v1
   "Editorial precision with a high-voltage edge."
   ---------------------------------------------------------------------
   Tokens · Type · Layout · Components · Motion · Pages · Utilities
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  /* Color · the palette is deliberately small */
  --ink:        #0B1A2A;        /* deep editorial navy, near-black */
  --ink-2:      #14253A;
  --ink-soft:   rgba(11, 26, 42, 0.72);
  --charcoal:   #1B2433;
  --stone:      #5A5246;
  --stone-2:    #7A7263;
  --cream:      #F5EFE3;        /* warm paper background */
  --vellum:     #ECE7DD;        /* subtle warm grey — for cards/containers */
  --sand:       #DCD3C0;        /* divider/border (slightly deeper) */
  --sand-2:     #CFC4AC;
  --volt:       #C8FF4A;        /* signal accent, used sparingly */
  --volt-deep:  #9FE82E;
  --sienna:     #C75A2C;        /* warm secondary pop */
  --plum:       #2B1530;
  --white:      #FFFFFF;

  /* Type — tensyr stack (Maggie-approved) */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body:    "Outfit", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-mono:    "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Layout */
  --max-w:    1280px;
  --pad-x:    clamp(20px, 4vw, 56px);
  --gutter:   clamp(20px, 2.5vw, 40px);

  /* Motion */
  --ease:     cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-snap: cubic-bezier(0.7, 0, 0.2, 1);
  --t-fast:   180ms;
  --t-base:   320ms;
  --t-slow:   620ms;

  /* Borders */
  --hair:     1px solid rgba(11, 26, 42, 0.12);
  --hair-on-ink: 1px solid rgba(245, 239, 227, 0.14);
}

/* ---------- 2. Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--volt); color: var(--ink); }

/* ---------- 3. Typography ------------------------------------------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--volt);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(200, 255, 74, 0.18);
}
.eyebrow.on-ink { color: rgba(245, 239, 227, 0.6); }
.eyebrow.on-ink::before { background: var(--volt); }

.section-index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--stone);
  text-transform: uppercase;
}
.section-index .num { color: var(--ink); font-weight: 600; margin-right: 8px; }
.on-ink .section-index { color: rgba(245, 239, 227, 0.55); }
.on-ink .section-index .num { color: var(--cream); }

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.04;
  color: var(--ink);
}
h1, .h1 {
  font-size: clamp(44px, 7.4vw, 112px);
  letter-spacing: -0.035em;
  line-height: 0.94;
}
h2, .h2 {
  font-size: clamp(36px, 5.2vw, 76px);
  letter-spacing: -0.028em;
  line-height: 0.98;
}
h3, .h3 {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.018em;
  line-height: 1.08;
}
h4, .h4 {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.012em;
  line-height: 1.18;
}
.display-italic { font-style: italic; font-weight: 500; }
.serif-em { font-family: var(--f-display); font-style: italic; font-weight: 500; }

.lede {
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}
.on-ink .lede { color: rgba(245, 239, 227, 0.72); }

.fine {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

/* ---------- 4. Layout primitives ------------------------------------ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(72px, 10vw, 144px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section.ink { background: var(--ink); color: var(--cream); }
.section.ink h1, .section.ink h2, .section.ink h3, .section.ink h4 { color: var(--cream); }
.section.vellum { background: var(--vellum); }
.divider { height: 1px; background: var(--sand); margin: 0; }
.on-ink .divider, .ink .divider { background: rgba(245, 239, 227, 0.14); }

.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-6  { grid-column: span 6; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

@media (max-width: 900px) {
  .col-8, .col-7, .col-6, .col-5, .col-4, .col-3 { grid-column: span 12; }
}

/* ---------- 5. Brand bar (top ribbon) -------------------------------- */
.brandbar {
  background: var(--ink);
  color: rgba(245, 239, 227, 0.78);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
}
.brandbar .wrap-wide { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brandbar .marquee {
  display: flex; gap: 28px; align-items: center;
  animation: bar-scroll 38s linear infinite;
  white-space: nowrap;
}
.brandbar .marquee span { display: inline-flex; align-items: center; gap: 14px; }
.brandbar .marquee span::after { content: "·"; color: var(--volt); margin-left: 14px; }
.brandbar .pin { color: var(--volt); }
@keyframes bar-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brandbar .right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.brandbar .right a { transition: color var(--t-fast) var(--ease); }
.brandbar .right a:hover { color: var(--volt); }
@media (max-width: 720px) {
  .brandbar .right { display: none; }
}

/* ---------- 6. Header / nav ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 227, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(11, 26, 42, 0.08);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.site-header.is-scrolled { background: rgba(245, 239, 227, 0.94); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}
/* New brand logo — Maggie-forward (italic M centerpiece, j/r flanks, volt dot) */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.logomark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--f-display);
  line-height: 1;
  color: var(--ink);
  padding-bottom: 14px;
}
.logomark::after {
  /* baseline rule */
  content: "";
  position: absolute;
  left: 0; right: 30%;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.logomark .j,
.logomark .r {
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  opacity: 0.6;
  letter-spacing: -0.01em;
}
.logomark .m {
  font-style: italic;
  font-weight: 500;
  font-size: 40px;
  margin: 0 4px;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.logomark .voltdot {
  position: absolute;
  right: 32%;
  bottom: 4px;
  width: 5px; height: 5px;
  background: var(--volt);
  border-radius: 50%;
}
.logomark .cap {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: absolute;
  left: 0;
  bottom: -6px;
  white-space: nowrap;
  opacity: 0.7;
}
/* dark-bg variant */
.on-ink .logomark,
.site-footer .logomark { color: var(--cream); }
.on-ink .logomark .voltdot,
.site-footer .logomark .voltdot { background: var(--volt); }

/* compact/small variant in headers */
.brand .logomark { padding-bottom: 16px; }
.brand .logomark .m { font-size: 38px; }
.brand .logomark .j, .brand .logomark .r { font-size: 15px; }

/* =====================================================================
   LOGO OPTIONS — three alternative lockups to consider.
   Each is built so it can drop straight into the .brand wrapper in the
   header. Switch by changing the markup, not the CSS.
   ===================================================================== */

/* ---------- OPTION A: "Sharp Caps Mark" -----------------------------
   J · M · R as equal-size editorial caps with a volt-yellow rule
   running underneath. Clean, readable, magazine-masthead feel. */
.logo-a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: var(--ink);
}
.logo-a .letters {
  font-family: var(--f-display);
  font-weight: 600;
  font-style: italic;
  font-size: 30px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  position: relative;
  padding-bottom: 8px;
}
.logo-a .letters span { display: inline-block; }
.logo-a .letters .sep {
  color: var(--volt);
  font-style: normal;
  font-weight: 700;
  transform: translateY(-3px);
}
.logo-a .letters::after {
  content: "";
  position: absolute;
  left: 0; right: 30%;
  bottom: 0;
  height: 2px;
  background: var(--ink);
}
.logo-a .letters::before {
  content: "";
  position: absolute;
  left: 70%; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--volt);
}
.logo-a .sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 5px;
}

/* ---------- OPTION B: "Notched Block" -------------------------------
   A solid navy tile holding the italic M as the mark, "JMR Health"
   set in caps next to it. Strong identity, faces-style logo. */
.logo-b {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.logo-b .tile {
  width: 44px;
  height: 44px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-b .tile::after {
  /* corner notch */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 10px; height: 10px;
  background: var(--volt);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.logo-b .tile .m {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  transform: translateY(-1px);
}
.logo-b .word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-b .word .name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo-b .word .sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 5px;
}

/* ---------- OPTION C: "Cut Mark" -----------------------------------
   J M R in clean tight caps with a volt-yellow diagonal slash cutting
   through them. Edgy and a little defiant — looks like a stamp.
   Plus a subtle frame line. */
.logo-c {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: var(--ink);
  position: relative;
}
.logo-c .frame {
  position: relative;
  padding: 6px 12px 6px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-left: 2px solid var(--ink);
}
.logo-c .frame .letters {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.06em;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.logo-c .frame .slash {
  position: absolute;
  left: -2px; right: -4px;
  top: 50%;
  height: 3px;
  background: var(--volt);
  transform: rotate(-8deg);
  transform-origin: left center;
  z-index: 0;
  mix-blend-mode: multiply;
}
.logo-c .sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 6px;
  padding-left: 6px;
}
.logo-c .frame .stamp {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
  background: var(--ink);
  padding: 2px 6px;
  align-self: center;
}

/* very large for hero/footer signature use */
.logomark.xl .m { font-size: 88px; }
.logomark.xl .j, .logomark.xl .r { font-size: 34px; }
.logomark.xl::after { bottom: 14px; }
.logomark.xl .voltdot { width: 7px; height: 7px; bottom: 8px; }
.logomark.xl .cap { font-size: 10px; bottom: -10px; }

.nav-links {
  display: flex;
  gap: clamp(16px, 2.4vw, 38px);
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 8px 2px;
  letter-spacing: -0.005em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 4px;
  height: 1px;
  background: var(--ink);
  transition: right var(--t-base) var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--charcoal); }
.nav-cta .dot {
  width: 6px; height: 6px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200, 255, 74, 0.2);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  align-items: center; justify-content: center;
}
.nav-toggle .bars { width: 16px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--ink);
  transition: transform var(--t-base) var(--ease), top var(--t-base) var(--ease);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 8px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: fixed;
    inset: 80px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--pad-x);
    font-size: 28px;
    font-family: var(--f-display);
  }
  .nav-links.is-open a { padding: 14px 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .bars::before { top: 4px; transform: rotate(45deg); }
  body.nav-open .nav-toggle .bars::after  { top: 4px; transform: rotate(-45deg); }
}

/* ---------- 7. Buttons ---------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--volt);
  transform: translateY(100%);
  transition: transform var(--t-base) var(--ease-snap);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow {
  display: inline-block;
  width: 14px;
  transition: transform var(--t-base) var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }
.btn.lg { padding: 20px 32px; font-size: 15px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(11, 26, 42, 0.22);
}
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--cream); }

.on-ink .btn-ghost {
  color: var(--cream);
  border-color: rgba(245, 239, 227, 0.25);
}
.on-ink .btn-ghost::before { background: var(--cream); }
.on-ink .btn-ghost:hover { color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap var(--t-base) var(--ease);
}
.link-arrow:hover { gap: 18px; }

/* ---------- 8. HERO ------------------------------------------------- */
.hero {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 75% 18%, rgba(200, 255, 74, 0.18), transparent 60%),
    radial-gradient(55% 55% at 12% 78%, rgba(199, 90, 44, 0.16), transparent 65%),
    radial-gradient(40% 40% at 60% 90%, rgba(43, 21, 48, 0.65), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
.hero .grid-12 { align-items: end; min-height: 56vh; }
.hero .lead-col { grid-column: 1 / span 8; }
.hero .meta-col { grid-column: 9 / span 4; align-self: end; }
@media (max-width: 900px) {
  .hero .lead-col, .hero .meta-col { grid-column: span 12; }
}

.hero h1 {
  color: var(--cream);
  margin-top: 24px;
}
.hero h1 .accent {
  color: var(--volt);
  font-style: italic;
}
.hero h1 .strike {
  position: relative;
  display: inline-block;
  color: rgba(245, 239, 227, 0.55);
}
.hero h1 .strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 54%;
  height: 6px;
  background: var(--sienna);
  transform: rotate(-1.5deg);
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  border-top: var(--hair-on-ink);
  margin-top: 64px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 780px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
.hero-stats .stat .n {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.03em;
}
.hero-stats .stat .n .small { font-size: 0.5em; color: var(--volt); margin-left: 4px; }
.hero-stats .stat .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.55);
  margin-top: 10px;
}

.hero-aside {
  border-left: 1px solid rgba(245, 239, 227, 0.16);
  padding-left: 28px;
}
.hero-aside .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.6);
}
.hero-aside .quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  margin-top: 16px;
  letter-spacing: -0.01em;
}
.hero-aside .attrib {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(245, 239, 227, 0.7);
}

/* ===== Editorial hero visual — the "specimen card" ===== */
.hero .meta-col { align-self: stretch; }
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: stretch;
}
.spec-card {
  position: relative;
  flex: 1;
  background: linear-gradient(180deg, rgba(20, 37, 58, 0.6) 0%, rgba(11, 26, 42, 0.9) 100%);
  border: 1px solid rgba(245, 239, 227, 0.14);
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.spec-card::before {
  /* corner accent */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 64px; height: 1px;
  background: var(--volt);
}
.spec-card::after {
  /* glow halo */
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(60% 60% at 70% 20%, rgba(200, 255, 74, 0.16), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.spec-card .spec-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.55);
}
.spec-card .spec-meta .pill {
  color: var(--volt);
  border: 1px solid rgba(200, 255, 74, 0.4);
  padding: 4px 10px;
}

/* The big typographic moment — j M r */
.spec-card .specimen {
  margin: 28px 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  position: relative;
}
.spec-card .specimen .axis {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(245, 239, 227, 0.45);
  text-transform: uppercase;
}
.spec-card .specimen .axis.l { text-align: right; padding-bottom: 18px; }
.spec-card .specimen .axis.r { padding-bottom: 18px; }
.spec-card .specimen .glyph {
  position: relative;
  font-family: var(--f-display);
  line-height: 0.86;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
}
.spec-card .specimen .glyph .j,
.spec-card .specimen .glyph .r {
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  opacity: 0.55;
}
.spec-card .specimen .glyph .m {
  font-style: italic;
  font-weight: 500;
  font-size: 132px;
  margin: 0 4px;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 55%, rgba(245,239,227,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.spec-card .specimen .glyph .dot {
  position: absolute;
  right: 2px;
  bottom: 14px;
  width: 8px; height: 8px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(200, 255, 74, 0.6);
}
.spec-card .specimen-caption {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.6);
  border-top: 1px solid rgba(245, 239, 227, 0.18);
  padding-top: 12px;
}

/* Plan blueprint rows */
.spec-card .blueprint {
  margin-top: 24px;
  display: grid;
  gap: 1px;
  background: rgba(245, 239, 227, 0.1);
  border: 1px solid rgba(245, 239, 227, 0.1);
}
.spec-card .blueprint .row {
  background: rgba(11, 26, 42, 0.6);
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.spec-card .blueprint .row .n { color: var(--volt); }
.spec-card .blueprint .row .lbl { color: var(--cream); }
.spec-card .blueprint .row .val { color: rgba(245, 239, 227, 0.5); font-size: 9px; }
.spec-card .blueprint .row.is-primary { background: var(--ink-2); }
.spec-card .blueprint .row.is-primary .val { color: var(--volt); }

.spec-card .spec-footer {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.spec-card .spec-footer .quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.28;
  color: rgba(245, 239, 227, 0.78);
  letter-spacing: -0.005em;
  max-width: 22ch;
}
.spec-card .spec-footer .sig {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt);
  text-align: right;
  white-space: nowrap;
}

/* Soft entrance — animate the card on load */
@keyframes spec-rise {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.spec-card { animation: spec-rise 900ms var(--ease) 200ms both; }

@media (max-width: 900px) {
  .hero-visual { min-height: 460px; }
  .spec-card .specimen .glyph .m { font-size: 100px; }
}

/* hero scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  right: var(--pad-x);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.5);
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue::before {
  content: "";
  width: 56px; height: 1px;
  background: rgba(245, 239, 227, 0.4);
  position: relative; overflow: hidden;
}
.scroll-cue .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--volt);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.7); }
}

/* ---------- 9. Marquee (carriers) ----------------------------------- */
.carriers {
  background: var(--ink);
  color: var(--cream);
  border-top: var(--hair-on-ink);
  border-bottom: var(--hair-on-ink);
  padding: 28px 0;
  overflow: hidden;
}
.carriers .row {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: bar-scroll 32s linear infinite;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  color: rgba(245, 239, 227, 0.86);
}
.carriers .row .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--volt);
  display: inline-block;
  flex: 0 0 8px;
}

/* ---------- 10. Cards / services ------------------------------------ */
.card {
  background: var(--vellum);
  border: 1px solid var(--sand);
  padding: clamp(24px, 2.2vw, 36px);
  position: relative;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  display: flex; flex-direction: column;
  min-height: 100%;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 2px;
  background: var(--volt);
  transition: width var(--t-base) var(--ease-snap);
}
.card:hover { transform: translateY(-2px); border-color: var(--ink); }
.card:hover::before { width: 60%; }
.card .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin-bottom: 18px;
}
.card .num span { color: var(--ink); }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.card .read {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.card .read::after {
  content: "→";
  transition: transform var(--t-base) var(--ease);
}
.card:hover .read::after { transform: translateX(4px); }

/* feature card (dark variant) */
.card-feature {
  background: var(--ink);
  color: var(--cream);
  border-color: transparent;
}
.card-feature p { color: rgba(245, 239, 227, 0.72); }
.card-feature .num { color: var(--volt); }
.card-feature .num span { color: var(--cream); }
/* H tags on dark feature cards — cream so they're readable on the ink bg */
.card-feature h2,
.card-feature h3,
.card-feature h4 { color: var(--cream); }

/* services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- 11. Audience tiles -------------------------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--sand);
  border: 1px solid var(--sand);
}
@media (max-width: 820px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-tile {
  background: var(--vellum);
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background var(--t-base) var(--ease);
}
.audience-tile .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex; align-items: center; gap: 10px;
}
.audience-tile .tag::before { content: ""; width: 18px; height: 1px; background: var(--ink); }
.audience-tile h3 { font-size: clamp(28px, 3vw, 46px); max-width: 14ch; margin-top: 18px; }
.audience-tile p { color: var(--ink-soft); margin-top: 14px; max-width: 48ch; font-size: 16px; }
.audience-tile .foot {
  margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.audience-tile.is-primary { background: var(--ink); color: var(--cream); }
.audience-tile.is-primary h3, .audience-tile.is-primary .tag { color: var(--cream); }
.audience-tile.is-primary .tag::before { background: var(--volt); }
.audience-tile.is-primary p { color: rgba(245, 239, 227, 0.72); }
.audience-tile .badge {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--volt);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- 12. Split / image-text ---------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse > .media { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > .media { order: 0; }
}
.split .copy h2 { margin-bottom: 24px; }
.split .copy .lede { margin-bottom: 28px; }

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
  border: 1px solid var(--sand-2);
  overflow: hidden;
}
.portrait-frame::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
}
.portrait-frame .ribbon {
  position: absolute;
  top: 24px; left: -8px;
  background: var(--ink);
  color: var(--cream);
  padding: 6px 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.portrait-frame .caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; justify-content: space-between;
}
.portrait-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Shared landscape couple-photo frame (for Joe + Maggie together) */
.couple-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
  border: 1px solid var(--sand-2);
  overflow: hidden;
}
.couple-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.couple-frame .ribbon {
  position: absolute;
  top: 24px; left: -8px;
  background: var(--ink);
  color: var(--cream);
  padding: 6px 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.couple-frame .caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.couple-frame::after {
  /* subtle bottom gradient so caption is legible regardless of photo */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(11,26,42,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.couple-frame .voltdot {
  position: absolute;
  top: 22px; right: 22px;
  width: 10px; height: 10px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(200,255,74,0.5);
  z-index: 2;
}

/* About-page editorial intro: small photo + pull-quote split */
.about-intro {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
@media (max-width: 820px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
}
.about-intro__photo .about-portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
}
.about-intro__photo .about-portrait img {
  object-position: center 25%;
}
.about-intro__copy .pull {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 22ch;
}
.about-intro__copy .pull .serif-em {
  color: var(--sienna);
}
.intro-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Bio stack alongside the photo */
.bio-stack { display: grid; gap: 28px; }
.bio-stack .bio-block {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--sand);
}
.bio-stack .bio-block:first-child { border-top: 0; padding-top: 0; }
.bio-stack .bio-marker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--volt);
  background: var(--ink);
  padding: 4px 8px;
  height: fit-content;
  text-align: center;
  width: fit-content;
}
.bio-stack .bio-block h4 {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.012em;
}
.bio-stack .bio-block h4 .role {
  font-style: italic;
  font-weight: 400;
  color: var(--stone);
}
.bio-stack .bio-block p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- 13. Process / numbered list ----------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(245, 239, 227, 0.14);
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.process .step {
  background: var(--ink);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.process .step .step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--volt);
}
.process .step h4 {
  margin-top: 24px;
  font-size: clamp(22px, 1.8vw, 28px);
  color: var(--cream);
}
.process .step p {
  margin-top: 14px;
  color: rgba(245, 239, 227, 0.72);
  font-size: 15px;
  line-height: 1.55;
}
.process .step .glyph {
  position: absolute;
  right: 16px; bottom: 16px;
  width: 64px; height: 64px;
  opacity: 0.5;
  color: var(--volt);
}

/* ---------- 14. Testimonials ---------------------------------------- */
.t-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
@media (max-width: 900px) { .t-row { grid-template-columns: 1fr; } }
.t-card {
  background: var(--vellum);
  border: 1px solid var(--sand);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.t-card .stars {
  color: var(--sienna);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.t-card .quote {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: -0.012em;
  flex: 1;
}
.t-card .who {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--sand);
  display: flex; justify-content: space-between; align-items: center;
}
.t-card .who .n { font-weight: 600; font-size: 14px; }
.t-card .who .role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- 15. FAQ ------------------------------------------------- */
.faq { border-top: 1px solid var(--sand); }
.faq details {
  border-bottom: 1px solid var(--sand);
  padding: 28px 0;
  cursor: pointer;
}
.faq details summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px;
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary .toggle {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--stone);
  flex: 0 0 auto;
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.faq details[open] summary .toggle { transform: rotate(45deg); color: var(--sienna); }
.faq details .a {
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 72ch;
  font-size: 16px;
}

/* ---------- 16. CTA banner ------------------------------------------ */
.cta-banner {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(64px, 8vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 90% 10%, rgba(200, 255, 74, 0.22), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(199, 90, 44, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-banner .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 900px) { .cta-banner .inner { grid-template-columns: 1fr; } }
.cta-banner h2 { color: var(--cream); }
.cta-banner h2 .em { color: var(--volt); font-style: italic; }
.cta-banner .quote-headline { transition: opacity var(--t-base) var(--ease); }
.cta-banner .quote-headline:hover { opacity: 0.78; }
.cta-banner .quote-headline:hover .em { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cta-banner .meta {
  border-left: 1px solid rgba(245, 239, 227, 0.18);
  padding-left: 28px;
}
.cta-banner .meta .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(245, 239, 227, 0.12); }
.cta-banner .meta .row:last-child { border-bottom: 0; }
.cta-banner .meta .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 239, 227, 0.55); }
.cta-banner .meta .v { font-size: 14px; }

/* ---------- 17. Footer ---------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 239, 227, 0.78);
  padding: 88px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer .top { grid-template-columns: 1fr; }
}
.site-footer h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}
.site-footer a { display: block; padding: 6px 0; font-size: 14px; transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: var(--volt); }
.site-footer .mega {
  font-family: var(--f-display);
  font-size: clamp(88px, 16vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(245, 239, 227, 0.06);
  margin-top: 56px;
  white-space: nowrap;
  user-select: none;
}
.site-footer .legal {
  border-top: 1px solid rgba(245, 239, 227, 0.12);
  margin-top: 24px;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 227, 0.55);
  text-transform: uppercase;
}
.site-footer .legal a { padding: 0; display: inline; }

/* ---------- 18. Page header (interior) ------------------------------ */
.page-head {
  padding: clamp(72px, 10vw, 144px) 0 clamp(48px, 6vw, 88px);
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 90% 20%, rgba(200, 255, 74, 0.12), transparent 60%);
  pointer-events: none;
}
.page-head .crumbs {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.55);
  display: flex; gap: 10px;
  margin-bottom: 32px;
}
.page-head .crumbs a:hover { color: var(--volt); }
.page-head .crumbs .sep { color: var(--volt); }
.page-head h1 { color: var(--cream); max-width: 18ch; }
.page-head .deck {
  margin-top: 28px;
  max-width: 60ch;
  color: rgba(245, 239, 227, 0.72);
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.5;
}

/* ---------- 19. Spec rows (services pages) -------------------------- */
.specs { border-top: 1px solid var(--sand); }
.spec-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 2fr 200px;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--sand);
  align-items: start;
}
@media (max-width: 820px) {
  .spec-row { grid-template-columns: 60px 1fr; }
  .spec-row .desc, .spec-row .cta-col { grid-column: span 2; }
}
.spec-row .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--stone);
  padding-top: 6px;
}
.spec-row h3 { font-size: clamp(22px, 1.8vw, 30px); letter-spacing: -0.015em; }
.spec-row .desc { color: var(--ink-soft); }
.spec-row .cta-col { text-align: right; }
@media (max-width: 820px) { .spec-row .cta-col { text-align: left; padding-top: 12px; } }

/* sticky aside */
.with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(40px, 5vw, 96px);
}
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; } }
.aside-card {
  position: sticky;
  top: 100px;
  background: var(--vellum);
  border: 1px solid var(--sand);
  padding: 24px;
}
.aside-card h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.aside-card h4 { margin: 12px 0 16px; }
.aside-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.aside-card ul li {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid var(--sand);
}
.aside-card ul li:last-child { border: 0; }

/* ---------- 20. Pull quote ------------------------------------------ */
.pullquote {
  padding: clamp(64px, 9vw, 128px) 0;
  background: var(--vellum);
  text-align: center;
}
.pullquote .mark { font-family: var(--f-display); font-style: italic; font-size: 96px; line-height: 0.6; color: var(--sienna); }
.pullquote .q {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 22ch;
  margin: 24px auto 0;
}
.pullquote .by {
  margin-top: 40px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- 21. Reveal animations ----------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.clip {
  clip-path: inset(0 0 100% 0);
  opacity: 1;
  transform: none;
  transition: clip-path var(--t-slow) var(--ease-snap);
}
.reveal.clip.in { clip-path: inset(0 0 0 0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }
html:not(.js-ready) .reveal,
html:not(.js-ready) .reveal.clip {
  opacity: 1;
  transform: none;
  clip-path: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal.clip { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- 22. Tags / chips ---------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--ink);
  border-radius: 999px;
}
.chip.volt { background: var(--volt); }
.chip.dark { background: var(--ink); color: var(--cream); }

/* ---------- 23. Contact page ---------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: "";
  position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,255,74,0.18), transparent 60%);
}
.contact-info h2 { color: var(--cream); }
.contact-info .meta-list { margin-top: 32px; display: grid; gap: 20px; }
.contact-info .row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(245,239,227,0.16); }
.contact-info .row:last-child { border: 0; }
.contact-info .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,239,227,0.55); padding-top: 4px; }
.contact-info .v { font-size: 16px; }
.contact-info .v a:hover { color: var(--volt); }

.form-shell {
  background: var(--vellum);
  border: 1px solid var(--sand);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
}
.form-shell .form-tag {
  position: absolute;
  top: 0; right: 24px;
  transform: translateY(-50%);
  background: var(--volt);
  color: var(--ink);
  padding: 6px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.form-shell h3 { margin-bottom: 18px; }
.form-shell iframe {
  width: 100%;
  min-height: 600px;
  border: 0;
  display: block;
  background: transparent;
}

/* ---------- 24. About page extras ----------------------------------- */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}
@media (max-width: 820px) { .bio-grid { grid-template-columns: 1fr; } }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.value {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.value .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--stone);
}
.value h4 { margin: 12px 0 10px; }
.value p { color: var(--ink-soft); font-size: 15.5px; }

/* About-page editorial intro: small photo + pull-quote split */
.about-intro {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
@media (max-width: 820px) { .about-intro { grid-template-columns: 1fr; gap: 32px; } }
.about-intro__photo .about-portrait { aspect-ratio: 4 / 5; width: 100%; }
.about-intro__photo .about-portrait img { object-position: center 25%; }
.about-intro__copy .pull {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 22ch;
}
.about-intro__copy .pull .serif-em { color: var(--sienna); }
.intro-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Bio stack alongside the photo */
.bio-stack { display: grid; gap: 28px; }
.bio-stack .bio-block {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--sand);
}
.bio-stack .bio-block:first-child { border-top: 0; padding-top: 0; }
.bio-stack .bio-marker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--volt);
  background: var(--ink);
  padding: 4px 8px;
  height: fit-content;
  text-align: center;
  width: fit-content;
}
.bio-stack .bio-block h4 {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.012em;
}
.bio-stack .bio-block h4 .role { font-style: italic; font-weight: 400; color: var(--stone); }
.bio-stack .bio-block p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- 25. Resources page -------------------------------------- */
.article-list { border-top: 1px solid var(--sand); }
.article-row {
  display: grid;
  grid-template-columns: 100px 1fr 200px 80px;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--sand);
  align-items: center;
  transition: padding-left var(--t-base) var(--ease);
}
.article-row:hover { padding-left: 12px; }
@media (max-width: 820px) {
  .article-row { grid-template-columns: 80px 1fr 60px; }
  .article-row .when { display: none; }
}
.article-row .cat {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sienna);
}
.article-row h3 { font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -0.012em; }
.article-row .when { font-family: var(--f-mono); font-size: 12px; color: var(--stone); }
.article-row .arr { font-family: var(--f-mono); font-size: 16px; color: var(--stone); text-align: right; transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.article-row:hover .arr { transform: translateX(4px); color: var(--ink); }

/* ---------- 26. Utility --------------------------------------------- */
.center { text-align: center; }
.mt-1 { margin-top: var(--s-4); }
.mt-2 { margin-top: var(--s-5); }
.mt-3 { margin-top: var(--s-6); }
.mt-4 { margin-top: var(--s-7); }
.mt-5 { margin-top: var(--s-8); }
.mb-3 { margin-bottom: var(--s-6); }
.mb-5 { margin-bottom: var(--s-8); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.section-head h2 { max-width: 16ch; }
.section-head .meta {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 48ch;
}
.on-ink .section-head .meta { color: rgba(245, 239, 227, 0.7); }

.sig-line {
  position: relative;
  height: 1px;
  background: rgba(11, 26, 42, 0.14);
  margin: 0;
}
.sig-line::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  width: 80px; height: 3px;
  background: var(--ink);
}
.sig-line::after {
  content: "";
  position: absolute; left: 80px; top: -1px;
  width: 24px; height: 3px;
  background: var(--volt);
}
.on-ink .sig-line { background: rgba(245, 239, 227, 0.14); }
.on-ink .sig-line::before { background: var(--cream); }

.line-icon { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* === LOGO C — size variants for header (compact) and footer (XL) === */
.brand .logo-c .frame .letters { font-size: 22px; letter-spacing: 0.05em; }
.brand .logo-c .frame { padding: 3px 8px 3px 6px; }
.brand .logo-c .frame .slash { height: 2px; top: 56%; }
.brand .logo-c .sub { font-size: 8px; margin-top: 4px; }

.logo-c--xl .frame .letters { font-size: 52px; letter-spacing: 0.05em; }
.logo-c--xl .frame { padding: 8px 14px 8px 8px; border-left-width: 3px; }
.logo-c--xl .frame .slash { height: 5px; }
.logo-c--xl .sub { font-size: 10px; margin-top: 12px; letter-spacing: 0.24em; }

/* logo-c on dark backgrounds (the footer) */
.site-footer .logo-c { color: var(--cream); }
.site-footer .logo-c .frame { border-left-color: var(--cream); }
.site-footer .logo-c .sub { color: rgba(245,239,227,0.55); }

/* ---------- 27. Blog post body (prose) ----------------------------- */
.prose { max-width: 72ch; font-size: 17px; line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 2.2em;
  margin-bottom: 0.4em;
}
.prose h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.015em;
  margin-top: 1.8em;
  margin-bottom: 0.3em;
}
.prose h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  margin-top: 1.6em;
  margin-bottom: 0.2em;
  color: var(--ink);
}
.prose p { color: var(--ink-soft); }
.prose ul, .prose ol {
  margin-top: 1em;
  margin-left: 24px;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li {
  margin-top: 0.5em;
  color: var(--ink-soft);
  padding-left: 4px;
}
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease);
}
.prose a:hover { color: var(--sienna); }
.prose blockquote {
  border-left: 3px solid var(--volt);
  padding: 4px 24px;
  margin: 1.5em 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.prose .pull-stat {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 60px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  margin: 1em 0;
  display: block;
}
.prose .pull-stat .small { font-size: 0.4em; color: var(--stone); margin-left: 8px; font-style: normal; }
.prose .meta-line {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex; gap: 14px;
  margin-top: 16px;
}
.prose .meta-line span::before { content: "·"; margin-right: 14px; color: var(--volt); }
.prose .meta-line span:first-child::before { content: ""; margin: 0; }
.blog-aside { position: sticky; top: 100px; }

/* ---------- 28. Reviews page · RateApp widget frame ----------------- */
.reviews-frame {
  background: var(--vellum);
  border: 1px solid var(--sand);
  padding: clamp(24px, 3vw, 40px);
  min-height: 220px;
  position: relative;
}
.reviews-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 64px;
  height: 2px;
  background: var(--volt);
}
.reviews-frame [data-rateapp] { min-height: 180px; }
