/* ==========================================================================
   Daniel J. Klapper: personal site
   Aesthetic: primarily white, navy accents; classic, tailored, editorial.
   Mobile-first. Brand tokens live in :root; change them there.
   ========================================================================== */

:root {
  /* Navy: the single accent color (Fox & Chester standard) */
  --navy: #0b1f3a;
  --navy-700: #14305a;
  --navy-600: #24426f;
  --navy-tint: #eef1f6;

  /* Paper and ink */
  --white: #ffffff;
  --paper: #f6f2e9;        /* ivory: main page background */
  --ivory: #ece6d9;        /* deeper ivory for alternating sections */
  --ink: #1a1f29;
  --muted: #5b6270;
  --hairline: #dcd3c2;     /* warm hairline rules */
  --hairline-strong: #c6bca8;

  /* EB Garamond throughout: headings, body, labels, buttons */
  --font-display: "EB Garamond", Garamond, "Times New Roman", Times, Georgia, serif;
  --font-body: "EB Garamond", Garamond, "Times New Roman", Times, Georgia, serif;

  --header-h: 68px;
  --gutter: 20px;
  --maxw: 1200px;
  --tracking-caps: 0.18em;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 500; color: var(--navy); line-height: 1.1; }
h1 { font-size: clamp(3rem, 11vw, 6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.25rem, 6vw, 3.4rem); letter-spacing: -0.005em; }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--navy-600); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

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

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 14px; background: var(--navy); color: var(--white);
}
.skip-link:focus { top: 12px; }

/* Small caps label used throughout (Ralph Lauren-style tracking) */
.eyebrow, .section-mark, .service-label, .cred-item dt, .affiliations-label,
.highlight-kicker, .site-nav a, .btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

/* ---------- Buttons: square, navy, tailored ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  line-height: 1; text-decoration: none; border-radius: 0;
  border: 1px solid var(--navy); background: var(--navy); color: var(--white);
  cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--paper); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.76rem; }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: grid; grid-template-columns: 1fr; align-items: center; height: var(--header-h); }
.wordmark { display: flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; color: var(--navy); }
.wordmark:hover { color: var(--navy); }
.wordmark-crest { width: 36px; height: 36px; color: var(--navy); flex: none; }
.wordmark-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.site-nav, .header-end { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 0; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow { color: var(--muted); margin-bottom: 20px; }
.hero h1 { margin-bottom: 16px; }
.hero-tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem); line-height: 1.3; color: var(--navy-700);
  margin-bottom: 22px;
}
.hero-lede { font-size: 1.25rem; color: var(--muted); max-width: 46ch; }
.hero-actions { margin-top: 30px; }
.hero-note { margin: 14px 0 0; font-size: 1rem; color: var(--muted); }

/* Portrait: a frame within a frame, like a picture hung in a study */
.hero-portrait { margin: 0; position: relative; width: 100%; max-width: 420px; justify-self: center; padding: 14px; border: 1px solid var(--hairline-strong); }
.portrait-placeholder, .hero-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait-placeholder {
  display: grid; place-items: center;
  background-color: var(--navy);
  /* Subtle chalk pinstripe, like suiting cloth */
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 18px);
}
.portrait-crest { width: 38%; height: auto; aspect-ratio: 1; color: rgba(255,255,255,0.55); }

.cred-strip {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 56px; padding: 22px 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--navy-700); text-align: center;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-ivory { background: var(--ivory); }
.section-mark { color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.section-mark span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); text-transform: none; }
.section-mark::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--hairline-strong); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .section-mark { justify-content: center; }
.section-intro, .lead { color: var(--muted); max-width: 60ch; }
.lead { font-size: 1.2rem; }

/* About */
.split { display: grid; gap: 40px; }
.cred-list { margin: 0; border-top: 1px solid var(--navy); }
.cred-item { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.cred-item dt { color: var(--muted); }
.cred-item dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.3; color: var(--navy); }

.highlights { display: grid; margin-top: 64px; border-top: 1px solid var(--hairline); }
.highlight { padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.highlight-kicker { display: block; margin-bottom: 8px; color: var(--muted); }
.highlight p { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; color: var(--navy); }

.affiliations { margin-top: 64px; text-align: center; }
.affiliations-label { color: var(--muted); margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; }
.logo-row li {
  padding: 0 18px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.03em; color: var(--navy);
  border-left: 1px solid var(--hairline-strong);
}
.logo-row li:first-child { border-left: 0; }
@media (max-width: 639px) { .logo-row li { border-left: 0; } }
/* Affiliations: even grid so dividers only sit between columns */
@media (min-width: 640px) {
  .affil-grid { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; row-gap: 14px; }
  .affil-grid li { justify-content: center; border-left: 0; }
  .affil-grid li:nth-child(2n) { border-left: 1px solid var(--hairline-strong); }
}
@media (min-width: 960px) {
  .affil-grid { grid-template-columns: repeat(3, auto); }
  .affil-grid li:nth-child(2n) { border-left: 0; }
  .affil-grid li:not(:nth-child(3n+1)) { border-left: 1px solid var(--hairline-strong); }
}
.logo-row img { height: 32px; width: auto; }

/* Editorial band */
.band {
  --band-image: none;
  position: relative; color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(11,31,58,0.86), rgba(11,31,58,0.92)),
    var(--band-image),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px);
  background-size: cover; background-position: center;
}
.band-inner { padding-top: 88px; padding-bottom: 88px; text-align: center; max-width: 900px; }
.band-crest { width: 56px; height: 56px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.band-quote { margin: 0 auto; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 4.4vw, 2.5rem); line-height: 1.35; }

/* Focus areas: editorial list */
.services { border-top: 1px solid var(--navy); counter-reset: none; }
.service { display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 30px 0; border-bottom: 1px solid var(--hairline-strong); }
.service-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--muted); line-height: 1.3; }
.service-title h3 { margin-bottom: 6px; }
.service-label { margin: 0; color: var(--muted); }
.service-desc { grid-column: 2; margin: 8px 0 0; color: var(--muted); max-width: 52ch; }

/* Testimonials */
.quotes { display: grid; gap: 48px; }
.quote { margin: 0; text-align: center; }
.quote blockquote { margin: 0 0 16px; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1.4; color: var(--navy); }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: 1rem; color: var(--muted); }

/* Booking */
.booking-grid { display: grid; gap: 40px; }
.booking-copy > p { color: var(--muted); max-width: 44ch; }
.booking-points { display: grid; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline-strong); }
.booking-points li { position: relative; padding-left: 26px; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.booking-points li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 1px; background: var(--navy); }
.booking-panel {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 24px; background: var(--paper); border: 1px solid var(--hairline-strong);
  outline: 1px solid var(--hairline-strong); outline-offset: -14px; /* frame within a frame, as on the portrait */
}
.booking-crest { width: 56px; height: 56px; color: var(--navy); margin-bottom: 20px; }
.booking-panel-title { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 1.2; color: var(--navy); }
.booking-panel-note { max-width: 36ch; margin-bottom: 28px; color: var(--muted); font-size: 1.05rem; }
.booking-alt { margin: 22px 0 0; font-size: 1rem; color: var(--muted); }

/* Footer: the one full navy surface besides the band */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 64px 0 calc(40px + 80px); font-size: 1rem; text-align: center; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: rgba(255,255,255,0.75); }
.footer-crest { width: 52px; height: 52px; color: var(--white); margin-bottom: 16px; }
.footer-name { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.footer-role { margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { font-size: 0.8rem; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; text-decoration: none; }
.footer-legal { max-width: 760px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.copyright { margin: 14px 0 0; }

/* Featured on, results highlights, giving back */
.featured-label { margin-top: 36px; }
.results-highlights { margin-top: 0; }
.results-note { margin: 24px 0 0; font-size: 0.95rem; font-style: italic; color: var(--muted); }

.giving {
  padding: 80px 0; color: rgba(255,255,255,0.85);
  background-color: var(--navy);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px);
}
.giving h2 { color: var(--white); }
.giving .section-mark { color: rgba(255,255,255,0.65); }
.giving .section-mark span { color: var(--white); }
.giving .section-mark::after { background: rgba(255,255,255,0.3); }
.giving .section-head { margin-bottom: 40px; }
.giving-list { margin-top: 0; border-color: rgba(255,255,255,0.2); }
.giving-list .highlight { border-color: rgba(255,255,255,0.2); }
.giving-list .highlight-kicker { color: rgba(255,255,255,0.65); }
.giving-list .highlight p { color: var(--white); }

/* Featured podcast with media links (brand-colored icons) */
.logo-row .featured-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.media-links { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: 1.05rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.media-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); text-decoration: underline; text-decoration-color: var(--hairline-strong); }
.media-links a:hover { text-decoration-color: var(--navy); }
.media-links svg { width: 22px; height: 22px; flex: none; }
.icon-spotify { fill: #1DB954; }
.icon-linkedin { fill: #0A66C2; }

/* Footnote marker and fine print */
.fn-ref { display: inline-block; margin-left: 1px; padding: 0 4px; font-size: 0.8em; vertical-align: super; line-height: 0; text-decoration: none; color: var(--navy-600); }
.fn-ref:hover { color: var(--navy); }
.footnote { font-size: 0.78rem; font-style: italic; color: rgba(255,255,255,0.5); scroll-margin-top: calc(var(--header-h) + 24px); }
.footnote:target { color: rgba(255,255,255,0.85); }

/* Footer policy links */
.footer-policies { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 18px; }
.footer-policies a { color: rgba(255,255,255,0.8); font-size: 0.85rem; }

/* Legal pages (privacy, cookies, terms) */
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 8vw, 4rem); margin-bottom: 8px; }
.legal-date { color: var(--muted); font-style: italic; margin-bottom: 28px; }
.legal .lead { padding-bottom: 32px; margin-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.legal h2 { font-size: clamp(1.6rem, 4vw, 2rem); margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; display: grid; gap: 10px; }
.legal li::marker { color: var(--navy); }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--hairline);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .mobile-cta, .btn { transition: none; } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .cred-strip { flex-direction: row; justify-content: center; gap: 0; }
  .cred-strip li { padding: 0 24px; border-left: 1px solid var(--hairline-strong); }
  .cred-strip li:first-child { border-left: 0; }
  .highlights { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .highlight { padding: 0 28px; border-bottom: 0; border-left: 1px solid var(--hairline-strong); }
  .highlight:first-child { padding-left: 0; border-left: 0; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --header-h: 84px; --gutter: 40px; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 32px; }
  .site-nav a { text-decoration: none; color: var(--ink); }
  .site-nav a:hover { color: var(--navy); text-decoration: underline; }
  .header-end { display: flex; justify-content: flex-end; }
  .wordmark { flex-direction: column; gap: 4px; }
  .wordmark-crest { width: 30px; height: 30px; }
  .wordmark-text { font-size: 1.15rem; letter-spacing: 0.14em; }

  .hero { padding-top: 88px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 80px; }
  .hero-portrait { justify-self: end; }
  .cred-strip { margin-top: 88px; }

  .section { padding: 120px 0; }
  .giving { padding: 120px 0; }
  .split { grid-template-columns: 1.2fr 1fr; gap: 96px; align-items: start; }
  .band-inner { padding-top: 120px; padding-bottom: 120px; }

  .service { grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 40px; padding: 40px 0; align-items: baseline; }
  .service-desc { grid-column: 3; margin: 0; }
  .service-num { font-size: 1.6rem; }

  .booking-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .booking-panel { padding: 64px 48px; }

  .site-footer { padding-bottom: 48px; }
  .mobile-cta { display: none; }
}

/* ==========================================================================
   Expansion: multi-page site (paths, stats, subpages, insights, checklist)
   ========================================================================== */

/* Phones/tablets: show the primary nav as a centered row under the wordmark */
@media (max-width: 959px) {
  :root { --header-h: 104px; }
  .header-inner { height: auto; padding: 12px 0 8px; row-gap: 6px; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; }
  .site-nav a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: 0.7rem; }
}
.site-nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 960px) { .site-nav ul { gap: 20px; } .site-nav a { letter-spacing: 0.14em; } }
@media (min-width: 1200px) { .site-nav ul { gap: 26px; } }

/* Secondary text link with arrow */
.text-link { font-size: 0.8rem; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--hairline-strong); padding-bottom: 3px; }
.text-link:hover { border-bottom-color: var(--navy); }
.text-link::after { content: "\00a0\2192"; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Three paths: Buy / Scale / Sell */
.paths { display: grid; gap: 0; border-top: 1px solid var(--navy); }
.path { padding: 32px 0; border-bottom: 1px solid var(--hairline-strong); display: flex; flex-direction: column; gap: 10px; }
.path-label { font-size: 0.8rem; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); margin: 0; }
.path h3 { font-size: clamp(1.8rem, 4vw, 2.2rem); font-weight: 500; margin: 0; }
.path p { margin: 0; color: var(--muted); max-width: 42ch; }
.path .text-link { align-self: flex-start; margin-top: 8px; }
@media (min-width: 640px) {
  .paths { grid-template-columns: repeat(2, 1fr); }
  .path { padding: 32px 28px 36px; }
  .path:nth-child(odd) { padding-left: 0; }
  .path:nth-child(even) { border-left: 1px solid var(--hairline-strong); }
}
@media (min-width: 1100px) {
  .paths { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--hairline-strong); }
  .path { padding: 36px 28px 40px; border-bottom: 0; border-left: 1px solid var(--hairline-strong); }
  .path:nth-child(odd) { padding-left: 28px; }
  .path:first-child { border-left: 0; padding-left: 0; }
}

/* Stats row */
.stats { display: grid; margin-top: 64px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stat { padding: 26px 0; border-top: 1px solid var(--hairline); }
.stat:first-child { border-top: 0; }
.stat-figure { display: block; font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--navy); }
.stat-label { display: block; margin-top: 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); max-width: 30ch; }
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 30px 28px; border-top: 0; border-left: 1px solid var(--hairline); }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

/* Under one roof: the companies */
.roof { display: grid; gap: 0; border-top: 1px solid var(--navy); }
.roof-item { padding: 28px 0; border-bottom: 1px solid var(--hairline-strong); }
.roof-item h3 { margin: 0 0 6px; font-size: 1.7rem; font-weight: 500; }
.roof-role { margin: 0 0 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); }
.roof-item p:last-child { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .roof { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hairline-strong); }
  .roof-item { padding: 32px 32px 36px; border-bottom: 0; border-left: 1px solid var(--hairline-strong); }
  .roof-item:first-child { padding-left: 0; border-left: 0; }
}
.disciplines { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin: 40px 0 0; padding: 0; list-style: none; }
.disciplines li { padding: 0 16px; font-style: italic; font-size: 1.15rem; color: var(--navy-700); border-left: 1px solid var(--hairline-strong); }
.disciplines li:first-child { border-left: 0; }
@media (max-width: 639px) { .disciplines li { border-left: 0; padding: 0 10px; } }

/* Checklist invitation */
.invite { display: grid; gap: 24px; align-items: center; padding: 40px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--hairline-strong); }
.invite h2 { font-size: clamp(1.9rem, 4.6vw, 2.5rem); margin-bottom: 8px; }
.invite p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) { .invite { grid-template-columns: 1fr auto; gap: 48px; } }

/* Insights teaser + index */
.essay-grid { display: grid; gap: 0; border-top: 1px solid var(--navy); }
.essay-card { padding: 28px 0; border-bottom: 1px solid var(--hairline-strong); display: flex; flex-direction: column; gap: 10px; }
.essay-card h3 { margin: 0; font-size: 1.6rem; font-weight: 500; line-height: 1.2; }
.essay-card h3 a { text-decoration: none; color: var(--navy); }
.essay-card h3 a:hover { text-decoration: underline; }
.essay-card p { margin: 0; color: var(--muted); }
.essay-card .text-link { align-self: flex-start; margin-top: 4px; }
@media (min-width: 900px) {
  .essay-grid { grid-template-columns: repeat(3, 1fr); }
  .essay-card { padding: 32px 32px 36px; border-left: 1px solid var(--hairline-strong); }
  .essay-card:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
.section-foot { margin-top: 36px; }

/* Subpage hero */
.page-hero { padding: 56px 0 8px; }
.page-hero-grid { display: grid; gap: 36px; align-items: end; }
.page-hero h1 { font-size: clamp(2.6rem, 7.5vw, 4.6rem); line-height: 1.05; margin-bottom: 20px; }
.page-hero .hero-lede { max-width: 58ch; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.page-hero-rule { margin-top: 56px; border: 0; border-top: 1px solid var(--hairline); }
@media (min-width: 960px) { .page-hero { padding-top: 96px; } }

/* Prose blocks on subpages */
.prose { max-width: 66ch; }
.prose p { font-size: 1.2rem; line-height: 1.75; color: var(--ink); }
.prose h2 { margin-top: 0; }
.pull { margin: 8px 0 0; padding-left: 20px; border-left: 2px solid var(--navy); font-style: italic; font-size: clamp(1.4rem, 3.4vw, 1.75rem); line-height: 1.4; color: var(--navy); }

/* About page figure */
.about-figure { margin: 0; padding: 14px; border: 1px solid var(--hairline-strong); }
.about-figure img { display: block; width: 100%; height: auto; }
.about-figure figcaption { margin-top: 12px; font-size: 0.85rem; font-style: italic; color: var(--muted); text-align: center; }

/* Essay pages */
.essay { padding: 56px 0 24px; }
.essay-inner { max-width: 720px; }
.essay h1 { font-size: clamp(2.4rem, 6.5vw, 3.8rem); line-height: 1.08; margin-bottom: 18px; }
.essay-meta { margin: 0 0 36px; font-style: italic; color: var(--muted); }
.essay-body p { font-size: 1.22rem; line-height: 1.8; }
.essay-body p:first-child::first-letter { float: left; font-size: 3.6em; line-height: 0.82; padding: 6px 10px 0 0; color: var(--navy); }
.essay-end { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
@media (min-width: 960px) { .essay { padding-top: 96px; } }

/* Forms (Business Readiness Checklist) */
.form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.78rem; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--navy); }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1.1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--hairline-strong); border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--hairline-strong); font-size: 1.05rem; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-note { font-size: 0.95rem; font-style: italic; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
.checklist-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .checklist-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.check-list li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--hairline); font-size: 1.15rem; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 14px; border: 1px solid var(--navy); }

.field .choice { font-size: 1.05rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.band-quote p { margin: 0; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field input::placeholder { color: #9a9284; font-style: italic; }
.req { color: var(--navy-600); }

/* ==========================================================================
   Motion (only when JS adds html.motion; never for prefers-reduced-motion)
   ========================================================================== */
html.motion .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
html.motion .reveal.is-in { opacity: 1; transform: none; }
html.motion .section-mark::after { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s; }
html.motion .is-in .section-mark::after, html.motion .section-mark.is-in::after { transform: scaleX(1); }
.site-header { transition: box-shadow 0.4s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--hairline), 0 10px 30px rgba(11, 31, 58, 0.07); }
.text-link::after { display: inline-block; transition: transform 0.3s ease; }
.text-link:hover::after { transform: translateX(4px); }
.about-figure picture { display: block; overflow: hidden; }
.about-figure img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.about-figure:hover img { transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) {
  .text-link::after, .about-figure img, .site-header { transition: none; }
}


/* About photo: a slow settle from a slight zoom as it comes into view */
html.motion .about-figure img { transform: scale(1.09); transition: transform 7s cubic-bezier(0.15, 0.6, 0.2, 1); }
html.motion .about-figure.is-in img { transform: none; }

/* Section numerals ink in after the label arrives */
html.motion .section-mark span { opacity: 0; filter: blur(4px); transition: opacity 1.2s ease 0.3s, filter 1.4s ease 0.3s; }
html.motion .is-in .section-mark span, html.motion .section-mark.is-in span { opacity: 1; filter: none; }

/* Soft cross-fade between pages (supporting browsers; ignored elsewhere) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; animation-timing-function: ease; }
}

/* ==========================================================================
   Podcast player (/podcast/)
   ========================================================================== */
.section-tight { padding-top: 8px; }
.listen { max-width: 920px; margin: 0 auto; }
.player {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 360px; padding: 28px 22px 0; color: var(--white);
  background-color: var(--navy);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
@media (min-width: 800px) { .player { min-height: 440px; padding: 36px 36px 0; } }
.player audio { display: none; }
.player-show { margin: 0 0 14px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.62); text-align: center; }
.player-crest { flex: none; width: clamp(96px, 16vw, 150px); height: clamp(96px, 16vw, 150px); margin: auto 0; color: rgba(255,255,255,0.88); }
.player-caption { margin: 14px 0 14px; max-width: 640px; min-height: 1.5em; text-align: center; font-style: italic; font-size: 1.1rem; line-height: 1.5; color: var(--white); }
.player-bar { align-self: stretch; padding: 0 0 18px; border-top: 1px solid rgba(255,255,255,0.14); }
.player-seek, .player-vol { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.player-seek { display: block; width: 100%; height: 18px; margin: -9px 0 4px; }
.player-seek::-webkit-slider-runnable-track, .player-vol::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--white), var(--white)) 0 / var(--fill, 0%) 100% no-repeat, rgba(255,255,255,0.25); }
.player-seek::-moz-range-track, .player-vol::-moz-range-track { height: 2px; background: rgba(255,255,255,0.25); }
.player-seek::-moz-range-progress, .player-vol::-moz-range-progress { height: 2px; background: var(--white); }
.player-seek::-webkit-slider-thumb, .player-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--white); border: 0; }
.player-seek::-moz-range-thumb, .player-vol::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 0; }
.player-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.player-time { font-size: 0.9rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.player-main { display: flex; align-items: center; gap: 6px; }
.player-side { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: rgba(255,255,255,0.85); cursor: pointer; font-family: var(--font-body); font-size: 0.95rem; transition: color 0.2s ease; }
.p-btn:hover, .p-btn[aria-pressed="true"] { color: var(--white); }
.p-btn[aria-pressed="false"] { color: rgba(255,255,255,0.55); }
.p-btn:focus-visible, .player-seek:focus-visible, .player-vol:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; }
.p-btn svg { width: 24px; height: 24px; fill: currentColor; }
[data-back] svg, [data-fwd] svg { width: 28px; height: 28px; }
.p-play { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,0.6); border-radius: 50%; color: var(--white); }
.p-play svg { width: 26px; height: 26px; }
.p-play .i-pause, .player.is-playing .p-play .i-play, .p-btn .i-mute, .player.is-muted .i-vol { display: none; }
.player.is-playing .p-play .i-pause, .player.is-muted .i-mute { display: block; }
.p-speed { width: 44px; letter-spacing: 0.02em; }
.player-vol { width: 72px; height: 18px; }
@media (max-width: 639px) {
  .player-controls { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .player-main { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .player-vol { width: 56px; }
}
