/* ============================================================
   David Reff & Company — davidreff.com
   Direction: Spare Editorial with an executive spine
   Palette:
     --paper   #FBFAF7  warm ivory
     --ink     #1B1916  near-black warm ink
     --oxblood #6E2431  accent (links, CTA, Q marks)
     --stone   #6E675D  captions, quiet text
     --rule    #DDD8CE  hairlines
   Type: Newsreader (display + body) / Archivo (utility)
   Signature: the interview "Q." motif
   ============================================================ */

:root {
  --paper: #FBFAF7;
  --ink: #1B1916;
  --oxblood: #0B5EA8;
  --oxblood-dark: #084A85;
  --stone: #6E675D;
  --rule: #DDD8CE;
  --measure: 66ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.145rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.wordmark {
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .amp { color: var(--oxblood); font-style: italic; }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav a {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--oxblood);
}
.btn-cta {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--oxblood);
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
  border-radius: 2px;
  text-decoration: none;
  border-bottom: none !important;
}
.btn-cta:hover { background: var(--oxblood-dark); color: #fff; }

/* mobile nav */
.nav-toggle { display: none; }
@media (max-width: 720px) {
  .site-nav { gap: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a:not(.btn-cta) { font-size: 0.7rem; }
}

/* ---------- Page scaffold ---------- */
main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.reading {
  max-width: var(--measure);
  margin: 0 auto;
}
.eyebrow {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: 5.5rem 0 3.5rem;
  text-align: left;
}
.hero h1 {
  font-family: "Newsreader", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 1.1rem 0 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--oxblood); }
.hero .lede {
  font-size: 1.28rem;
  line-height: 1.55;
  max-width: 52ch;
  color: var(--ink);
}
.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-primary {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--oxblood);
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--oxblood-dark); }
.link-quiet {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.link-quiet:hover { border-bottom-color: var(--oxblood); color: var(--oxblood); }

/* proof line */
.proof-line {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.15rem 0;
  margin: 3.5rem 0;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.proof-item {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--stone);
}
.proof-item strong {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* ---------- Signature: the Q/A motif ---------- */
.qa { margin: 2.6rem 0; }
.qa .q {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.4;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.9rem;
}
.qa .q::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-style: normal;
  font-weight: 600;
  color: var(--oxblood);
  font-size: 1.15rem;
}
.qa .a { padding-left: 2.6rem; position: relative; }
.qa .a::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-weight: 600;
  color: var(--stone);
  font-size: 1rem;
  font-family: "Newsreader", serif;
}
.qa .a p + p { margin-top: 0.9rem; }

/* ---------- Sections & typography ---------- */
.section { padding: 3rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
h2 {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0.9rem 0 1.2rem;
  letter-spacing: -0.005em;
}
h3 {
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}
p + p { margin-top: 1rem; }
.reading a { color: var(--oxblood); text-decoration: none; border-bottom: 1px solid var(--rule); }
.reading a:hover { border-bottom-color: var(--oxblood); }

/* page title block */
.page-title { padding: 4rem 0 1rem; }
.page-title h1 {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  margin-top: 1rem;
  letter-spacing: -0.01em;
}
.page-title .lede {
  margin-top: 1.1rem;
  font-size: 1.22rem;
  color: var(--stone);
  max-width: 54ch;
}

/* ---------- Audio placeholder ---------- */
.audio-slot {
  margin: 2.5rem 0;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--oxblood);
  background: #F5F3EC;
  padding: 1.3rem 1.5rem;
  border-radius: 2px;
}
.audio-slot .label {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.audio-slot p { margin-top: 0.4rem; color: var(--stone); font-size: 1rem; }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 2rem 0; }
.steps li {
  padding: 1.5rem 0 1.5rem 3.4rem;
  border-top: 1px solid var(--rule);
  position: relative;
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps .step-n {
  position: absolute;
  left: 0;
  top: 1.45rem;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--oxblood);
}
.steps h3 { margin: 0 0 0.4rem; }
.steps p { color: var(--ink); font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq-item { padding: 1.8rem 0; border-top: 1px solid var(--rule); }
.faq-item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq-item h3 { margin: 0 0 0.6rem; font-style: italic; font-weight: 400; font-size: 1.28rem; }
.faq-item p { font-size: 1.05rem; }

/* ---------- Track record ledger ---------- */
.ledger { list-style: none; margin: 2rem 0; }
.ledger li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.2rem;
}
.ledger li:last-child { border-bottom: 1px solid var(--rule); }
.ledger .tag {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  padding-top: 0.35rem;
}
@media (max-width: 620px) {
  .ledger li { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ---------- Closing CTA band ---------- */
.close-cta {
  margin: 4rem 0 0;
  border-top: 1px solid var(--ink);
  padding: 3rem 0 4.5rem;
  text-align: center;
}
.close-cta h2 { font-size: 1.75rem; max-width: 30ch; margin: 0 auto 1rem; }
.close-cta p { color: var(--stone); max-width: 48ch; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}
.footer-inner {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2.2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--stone);
}
.footer-inner a { color: var(--stone); text-decoration: none; border-bottom: 1px solid var(--rule); }
.footer-inner a:hover { color: var(--oxblood); }
.footer-inner .foot-mark { font-family: "Newsreader", serif; font-size: 0.95rem; color: var(--ink); }

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 2px;
}

/* ===== v2: visual weight upgrade ===== */
.hero-band {
  background: #0E2A47;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-band .hero { position: relative; z-index: 1; padding: 6rem 0 5rem; }
.hero-band .eyebrow { color: #E3C56D; }
.hero-band h1 { color: var(--paper); font-size: clamp(2.6rem, 6.5vw, 4.6rem); max-width: 20ch; }
.hero-band h1 em { color: var(--paper); }
.hero-band .lede { color: #D8D4CB; font-size: 1.32rem; }
.hero-band .link-quiet { color: #D8D4CB; border-bottom-color: #4A463F; }
.hero-band .link-quiet:hover { color: #7FBDEB; border-bottom-color: #7FBDEB; }
.amp-mark {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-52%);
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18rem, 42vw, 34rem);
  line-height: 1;
  color: rgba(0, 112, 192, 0.28);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }

.proof-line { border: none; padding: 0; margin: 3.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.proof-item { background: var(--paper); padding: 1.4rem 1.5rem; }
.proof-item strong { font-size: 1.15rem; }
@media (max-width: 720px) { .proof-line { grid-template-columns: 1fr; } }

.qa .q { font-size: 1.5rem; }
.qa .q::before { font-size: 1.6rem; top: -0.05em; }

/* ===== v3: logo integration ===== */
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo-mark { height: 1.7rem; width: auto; display: block; }
.hero-band .amp-mark { display: none; }
.hero-logo {
  position: absolute; right: 2vw; top: 50%; transform: translateY(-50%);
  height: clamp(14rem, 30vw, 24rem); width: auto; opacity: 0.16;
  pointer-events: none; user-select: none; z-index: 0;
}
@media (max-width: 720px) { .hero-logo { display: none; } }

/* ===== v4: one-piece logo lockup in header ===== */
.wordmark span, .wordmark .amp { display: none; }
.logo-full { height: 4.8rem; width: auto; display: block; }

/* v4.1: larger logo, header breathing room */
.header-inner { padding-top: 1rem; padding-bottom: 1rem; }
@media (max-width: 720px) { .logo-full { height: 3.2rem; } }

/* v5.1: nav drops below logo on narrower screens to give it room */
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { margin-left: 0; width: 100%; padding-top: 0.4rem; }
}

/* v8: hero copy rhythm */
.hero .lede + .lede { margin-top: 1.15rem; }
.hero .pivot { font-style: italic; }
.hero .pivot-answer { color: #E3C56D; font-weight: 500; }

/* v10: design propagation — dark title band on inner pages */
.page-band {
  background: #0E2A47;
  position: relative;
  overflow: hidden;
}
.page-band .page-title { position: relative; z-index: 1; padding: 3.6rem 0 3rem; }
.page-band .eyebrow { color: #E3C56D; }
.page-band h1 { color: var(--paper); }
.page-band .lede { color: #D8D4CB; }
.page-band .hero-logo { height: clamp(10rem, 22vw, 16rem); opacity: 0.16; }

/* v12: headline highlight (no italics) + Imlay quote */
.hero-band h1 .hl { color: #7FBDEB; font-style: normal; }
.hero-quote {
  font-family: "Newsreader", serif;
  font-size: 1.32rem;
  color: #D8D4CB;
  margin: 0 0 1.6rem;
  padding-left: 1rem;
  border-left: 2px solid #E3C56D;
}
.hero-quote .attrib { color: #9BA3AD; font-size: 0.95rem; white-space: nowrap; }

/* v11: hero restructure — mark as real element beside copy */
.hero-row { display: flex; align-items: center; gap: 3rem; }
.hero-copy { flex: 1; min-width: 0; }
.hero-mark {
  height: clamp(8rem, 13vw, 11rem); width: auto;
  opacity: 0.95; flex-shrink: 0;
  user-select: none; pointer-events: none;
}
@media (max-width: 720px) { .hero-mark { display: none; } }

/* v13: blue accent in dark page bands */
.page-band .lede .hl, .hero-band .lede .hl { color: #7FBDEB; font-style: normal; }
