/* =========================================================
   Paul Kleyman — Option B (v2)
   Editorial / full-bleed, Fraunces display + Inter body,
   Golden Gate "International Orange" accent.
   ========================================================= */

:root {
  --ink:      #16150f;
  --soft-ink: #3d3a33;
  --muted:    #837d72;
  --line:     #bcc7d5;
  --bg:       #d5dfeb;   /* blue-grey */
  --bg-soft:  #e3eaf1;   /* lighter cool off-white */
  --accent:   #c1452a;   /* International Orange (Golden Gate) */
  --accent-dk:#98331d;
  --accent-tint: rgba(193,69,42,.10);
  --max:      74rem;
  --measure:  40rem;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; line-height: 1.1; margin: 0; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* eyebrows / labels — accent */
.label, .kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.1rem;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 1.25rem 2rem;
}
.site-header .brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0; color: #fff; transition: color .35s ease; }
.site-header .menu { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-header .menu a {
  font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.85); transition: color .3s ease; padding: .2rem 0;
  border-bottom: 1px solid transparent;
}
.site-header .menu a:hover, .site-header .menu a.active { color: #fff; border-bottom-color: var(--accent); }

.site-header.solid { background: rgba(22,21,15,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom-color: rgba(255,255,255,.10); }
.site-header.solid .brand { color: #fff; }
.site-header.solid .menu a { color: rgba(255,255,255,.78); }
.site-header.solid .menu a:hover, .site-header.solid .menu a.active { color: #fff; border-bottom-color: var(--accent); }

/* ---------- hero (full-bleed) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  background-image: url('../images/golden-gate.jpg');
  background-size: cover; background-position: center 45%;
  background-color: #10131f;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,22,.45) 0%, rgba(10,12,22,.05) 30%, rgba(10,12,22,.6) 100%);
}
.hero .hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 2rem 5.5rem; color: #fff; }
.hero .label { color: #f5b79c; }
.hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.8rem); font-weight: 500; color: #fff; max-width: 20ch;
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
}
.hero h1 em { font-style: italic; font-weight: 400; color: #ffd9c7; }
.scroll-cue {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- sections ---------- */
.section { padding: 6.5rem 0; }
.section.tight { padding: 4.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }

/* intro (text + portrait) */
.intro { display: grid; grid-template-columns: 1fr auto; gap: 3.5rem; align-items: start; }
.intro .body { max-width: 40rem; }
.intro .lede { font-size: clamp(1.3rem, 2.1vw, 1.6rem); font-weight: 400; line-height: 1.55; color: var(--soft-ink); margin: 0 0 1.5rem; }
.intro .lede em, .copy em, .intro p em { font-family: var(--serif); font-style: italic; }
.intro p { margin: 0 0 1.3rem; }
.intro .portrait { box-sizing: content-box; display: block; width: 360px; height: auto; filter: grayscale(1) contrast(1.03); background: #fff; border: 18px solid #fff; border-radius: 2px; box-shadow: 0 14px 36px rgba(28,42,66,.24); }
@media (max-width: 780px){
  .intro { grid-template-columns: 1fr; gap: 2.2rem; }
  .intro .portrait { width: 320px; max-width: 82vw; height: auto; }
}

/* inline lead-ins (TOPICS:, AUDIENCES:, LESSONS…) — kept verbatim, styled as accent */
.lead-in { font-family: var(--serif); font-weight: 600; font-size: 1.08em; letter-spacing: .01em; color: var(--accent); }

/* verbatim body copy blocks */
.copy { max-width: 44rem; }
.copy p { margin: 0 0 1.4rem; font-size: 1.13rem; line-height: 1.75; }
.copy a, .intro a { color: var(--accent); border-bottom: 1px solid rgba(193,69,42,.35); }
.copy a:hover, .intro a:hover { color: var(--accent-dk); border-bottom-color: var(--accent-dk); }

/* pulled inline emphasis */
.hl { color: var(--accent-dk); font-weight: 500; }

/* topic list */
.tlist { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 46rem; }
.tlist li { position: relative; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--line); font-size: 1.15rem; line-height: 1.6; }
.tlist li::before { content: "→"; position: absolute; left: 0; top: 1rem; color: var(--accent); font-weight: 600; }

/* ---------- full-bleed quote banner ---------- */
.banner {
  position: relative; min-height: 80vh; display: flex; align-items: center;
  background-image: url('../images/bay-bridge.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
  background-color: #2a2b28;
}
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(16,18,24,.52); }
.banner .quote { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 2rem; color: #fff; }
.banner .quote .kicker { color: #f5b79c; }
.banner blockquote {
  font-family: var(--serif); margin: 0; font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 400;
  font-style: italic; line-height: 1.28; max-width: 24ch; text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.banner cite { display: block; margin-top: 1.6rem; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: #f5b79c; }
@media (max-width: 760px){ .banner { background-attachment: scroll; } }

/* ---------- featured book ---------- */
.book-feature { display: grid; grid-template-columns: 184px 1fr; gap: 2.4rem; align-items: center; max-width: 48rem; margin: 2.75rem 0; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 1.9rem 2.1rem; }
.book-cover { box-sizing: border-box; width: 184px; aspect-ratio: 2 / 3; background: #16150f; color: #fff; border-left: 6px solid var(--accent); border-radius: 2px 6px 6px 2px; box-shadow: 0 14px 32px rgba(28,42,66,.30); padding: 20px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.book-cover .bc-title { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.book-cover .bc-sub { font-family: var(--serif); font-style: italic; font-size: .92rem; color: #f5b79c; margin-top: .4rem; }
.book-cover .bc-author { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.bf-text .kicker { margin-bottom: .5rem; }
.bf-text h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.15; margin: 0 0 .7rem; color: var(--ink); }
.bf-text .bf-desc { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--soft-ink); }
@media (max-width: 620px){ .book-feature { grid-template-columns: 1fr; justify-items: start; gap: 1.6rem; } }

/* ---------- photo gallery ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 60rem; margin-top: 1.5rem; align-items: start; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(22,21,15,.05); }
.gallery figcaption { margin-top: .75rem; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--soft-ink); }
.gallery figcaption::before { content: ""; display: inline-block; width: 1.4rem; height: 2px; background: var(--accent); vertical-align: middle; margin-right: .6rem; }
@media (max-width: 680px){ .gallery { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- link lists (writing) ---------- */
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.link-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.link-list a { display: inline; font-size: 1.14rem; font-weight: 400; color: var(--accent); border-bottom: 1px solid rgba(193,69,42,.35); }
.link-list a:hover { color: var(--accent-dk); border-bottom-color: var(--accent-dk); }
.link-list .pub { color: var(--muted); font-style: italic; font-size: 1rem; }
.link-list .pdf-tag { display: inline-block; font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--accent); border: 1px solid var(--accent); border-radius: 2px; padding: 2px 6px; margin-left: .5rem; vertical-align: middle; }
.subhead { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0; color: var(--accent); margin: 2.4rem 0 .8rem; }
.subhead:first-of-type { margin-top: 1rem; }

/* ---------- inner page header ---------- */
.page-hero { padding: 9rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .label { margin-bottom: 1rem; }

/* bio */
.bio-block { margin: 0 0 2.5rem; max-width: 52rem; }
.bio-block h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 0; color: var(--accent); margin: 0 0 .8rem; }
.bio-block ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.bio-block li { margin: .35rem 0; }
.bio-cols { columns: 2; column-gap: 3rem; }
.bio-cols li { break-inside: avoid; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.3rem; }
.prose.statement { max-width: 52rem; }
.prose.statement p { font-size: 1.28rem; line-height: 1.6; color: var(--soft-ink); }
.prose em { font-family: var(--serif); font-style: italic; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(193,69,42,.35); }
.prose a:hover { color: var(--accent-dk); border-bottom-color: var(--accent-dk); }
@media (max-width: 620px){ .bio-cols { columns: 1; } }

/* testimonials */
.quotes { columns: 2; column-gap: 2.2rem; max-width: 62rem; }
.quotes figure {
  --card: var(--accent);
  --card-bg: #faf2e4;   /* light, soft cream tint */
  margin: 0 0 2.2rem; break-inside: avoid;
  background: var(--card-bg);
  border: 1px solid rgba(193,69,42,.16);
  border-left: 3px solid var(--card);
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.55rem;
  box-shadow: 0 1px 2px rgba(22,21,15,.035);
}
.quotes blockquote { font-family: var(--serif); margin: 0 0 1rem; font-size: 1.16rem; font-weight: 400; font-style: italic; line-height: 1.5; color: var(--soft-ink); }
.quotes .who { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--card); }
.quotes .role { display: block; font-size: .82rem; color: var(--muted); margin-top: .2rem; line-height: 1.5; font-style: normal; }
@media (max-width: 720px){ .quotes { columns: 1; } }

/* text link */
.textlink { display: inline-block; margin-top: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.textlink:hover { color: var(--accent-dk); border-bottom-color: var(--accent-dk); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 5rem 0 3rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.site-footer .fname { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: #fff; }
.site-footer .ftag { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .5rem; max-width: 26ch; }
.site-footer .foot-email { font-size: .9rem; color: rgba(255,255,255,.72); margin: .7rem 0 0; }
.site-footer .foot-email a { color: #f5b79c; border-bottom: 1px solid rgba(245,183,156,.4); }
.site-footer .foot-email a:hover { color: #fff; border-bottom-color: #fff; }
.site-footer .foot-email:empty { display: none; }
.site-footer nav { display: flex; flex-direction: column; gap: .7rem; }
.site-footer nav a { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.site-footer nav a:hover { color: #fff; }
.site-footer .fine { margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- contact form ---------- */
.contact-form { max-width: 40rem; }
.contact-form .field { margin-bottom: 1.3rem; }
.contact-form label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; box-sizing: border-box; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fbf9f4; border: 1px solid var(--line); border-radius: 6px; padding: .8rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(193,69,42,.15);
}
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; background: var(--accent); border: none; border-radius: 999px;
  padding: .9rem 2rem; cursor: pointer; transition: background .2s ease;
}
.btn-submit:hover { background: var(--accent-dk); }
.or-email { margin-top: 2.25rem; font-size: .95rem; color: var(--soft-ink); }
.btn-mail {
  display: inline-block; margin-left: .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); background: transparent; border: 1px solid var(--accent);
  border-radius: 999px; padding: .55rem 1.2rem; text-decoration: none; transition: background .2s ease, color .2s ease;
}
.btn-mail:hover { background: var(--accent); color: #fff; }

@media (max-width: 640px){
  body { font-size: 17px; }
  .section { padding: 4.5rem 0; }
  .site-header .menu { gap: 1.1rem; }
  .site-header .menu a { font-size: .68rem; letter-spacing: .1em; }
  .site-header .brand { font-size: 1.1rem; }
}
