/* ============================================================
   Casey McGinty — landing pages (/leadership-coaching, /ahlemon-saga,
   /catching-gold, /music-publishing). Standalone, readable without JS,
   built from tokens.css and the Study's section-panel language: script
   title in rust, italic serif subs, Lato body, gold-rule pull quotes.
   One bold move per page: the hero.
   ============================================================ */
@import url('tokens.css');

@font-face { font-family: 'Juniper and Sage'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('fonts/JuniperandSage-Regular.woff2') format('woff2'), url('fonts/JuniperandSage-Regular.woff') format('woff'); }

:root {
  --f-script: 'Juniper and Sage', cursive;
  --paper: #faf6ee;          /* the Study's section background */
  --hero-ink: #231b14;       /* saga hero: ink, a shade warmer than --ink */
  --accent-deep: #7e3218;    /* rust hover, as in the Study's .lnk:hover */
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--fg-1); font: var(--body-weight) var(--body-size)/var(--body-leading) var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bone); padding: 10px 14px; border-radius: var(--radius-md); z-index: 10; }
.skip:focus { left: 16px; }

/* ── header ─────────────────────────────────────────────── */
.lp-head { position: sticky; top: 0; z-index: 5; background: rgba(250,246,238,0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border-faint); }
/* simple nav: signature centred (→ the Study), the page's main CTA top-right */
.lp-head .in { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.lp-head .logo { grid-column: 2; }
.lp-head .head-cta { grid-column: 3; justify-self: end; padding: 11px 20px; font-size: 0.68rem; white-space: nowrap; }
/* the Study's header mark: Casey's name in his signature script (#secthead .sh-logo) */
.lp-head .logo { font-family: var(--f-script); font-size: 2.365rem; line-height: 1; color: #5e3a21; text-decoration: none; white-space: nowrap; padding: 4px 0; }
.lp-head .logo:hover { color: var(--rust); }
.lp-head nav { margin-left: auto; }
.lp-head nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.lp-head nav a { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 6px 0; display: inline-block; }
.lp-head nav a:hover { color: var(--rust); }
.lp-head nav a[aria-current="page"] { color: var(--rust); box-shadow: inset 0 -2px 0 var(--gold); }
.lp-head .study { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--bone); background: var(--rust); border-radius: 30px; padding: 10px 16px; white-space: nowrap; }
.lp-head .study:hover { background: var(--accent-deep); color: var(--bone); }

/* ── hero ───────────────────────────────────────────────── */
.hero { max-width: 1120px; margin: 0 auto; padding: 72px 24px 56px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .script { font-family: var(--f-script); font-size: 4.4rem; line-height: 1; color: var(--rust); margin: 0 0 14px; font-weight: 400; }
.hero h1 { font-family: var(--f-display); font-weight: 600; font-size: 2.35rem; line-height: 1.15; letter-spacing: -0.005em; margin: 0; color: var(--ink); max-width: 22ch; text-wrap: balance; }
.hero .answer { font-size: 1.12rem; line-height: 1.7; margin: 22px 0 0; max-width: 52ch; }
.hero .answer strong { color: var(--ink); }
.hero figure { margin: 0; }
.hero .portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero .portrait.wide img { aspect-ratio: 3/2; }
.hero figcaption { font-family: var(--f-display); font-style: italic; color: var(--muted); font-size: 1rem; margin-top: 10px; text-align: center; }
.btnrow { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.lnk { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--bone);
  background: var(--rust); border-radius: 30px; padding: 15px 24px; min-height: 44px; display: inline-flex; align-items: center; line-height: 1.2; transition: background var(--dur-base); }
.lnk:hover { background: var(--accent-deep); color: var(--bone); }
.lnk.ghost { color: var(--rust); background: transparent; border: 1px solid var(--rust); }
.lnk.ghost:hover { background: var(--sand); color: var(--rust); }

/* saga: the dark band — the one bold move on that page */
.band-dark { background: radial-gradient(120% 90% at 70% 10%, #3a2c1f 0%, var(--hero-ink) 60%); color: var(--fg-on-dark); }
.band-dark .hero h1 { color: var(--bone); }
.band-dark .hero .script { color: var(--gold); }
.band-dark .hero .answer { color: var(--fg-on-dark); }
.band-dark .hero .answer strong { color: var(--bone); }
.band-dark a { color: var(--gold); }
.band-dark .lnk { background: var(--gold); color: var(--ink); }
.band-dark .lnk:hover { background: #d8b25a; color: var(--ink); }
.band-dark .lnk.ghost { background: transparent; color: var(--bone); border-color: rgba(244,239,227,0.5); }
.band-dark .lnk.ghost:hover { background: rgba(255,255,255,0.06); color: var(--bone); }
.covers { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.covers img { width: 46%; max-width: 300px; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5)); }
.covers img + img { margin-left: -6%; transform: translateY(18px) rotate(3deg); }
.covers img:first-child { transform: rotate(-3deg); position: relative; z-index: 1; }
.cover-one img { width: 70%; max-width: 340px; margin: 0 auto; filter: drop-shadow(0 18px 28px rgba(60,36,8,0.28)); }

/* ── body sections ──────────────────────────────────────── */
main section { max-width: 1120px; margin: 0 auto; padding: 56px 24px; }
main section + section { border-top: 1px solid transparent; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
h2 { font-family: var(--f-display); font-weight: 600; font-size: 2rem; line-height: 1.2; color: var(--rust); margin: 0 0 18px; }
h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: var(--ink); margin: 0 0 6px; }
.sub { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.3rem; color: var(--muted); line-height: 1.4; margin: -8px 0 24px; max-width: 54ch; }
.rule { height: 1px; border: 0; margin: 0 auto; max-width: 1072px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ruled list — the Study's workshop form: hairline between items, no boxes */
.ruled { list-style: none; margin: 0; padding: 0; max-width: 70ch; }
.ruled li { padding: 18px 0; border-top: 1px solid var(--rule); }
.ruled li:first-child { border-top: 0; padding-top: 4px; }
.ruled p { margin: 4px 0 0; }

.bullets { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.bullets li { position: relative; padding-left: 22px; margin: 0 0 12px; }
.bullets li::before { content: "•"; position: absolute; left: 4px; color: var(--gold); }

/* pull quotes: gold left rule, no box (the Study's .tbox) */
.quotes { display: grid; gap: 34px; max-width: 70ch; }
.quote { margin: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); }
.quote blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.24rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.quote figcaption b { color: var(--ink); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* books */
.book { display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: start; padding: 32px 0; border-top: 1px solid var(--rule); }
.book:first-of-type { border-top: 0; }
.book img { filter: drop-shadow(0 14px 26px rgba(60,36,8,0.24)); }
.tag { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8a5d24; margin: 0 0 8px; }
.blurb p { margin: 0 0 0.6em; }
.blurb p.last { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--rust); }
.verse { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.55; color: var(--rust); margin: 8px 0 0; }

/* FAQ — plain <details>, readable without JS */
.faq { max-width: 70ch; }
.faq details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--f-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }

/* closing call */
.cta { background: var(--bone); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cta .in { max-width: 820px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.cta .script { font-family: var(--f-script); font-size: 3.4rem; line-height: 1; color: var(--rust); margin: 0 auto 12px; max-width: none; }
.cta p { max-width: 56ch; margin: 0 auto; }
.cta .btnrow { justify-content: center; }

/* more from Casey */
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.more a { text-decoration: none; color: inherit; display: block; padding-top: 14px; border-top: 2px solid var(--gold); }
.more a:hover h3 { color: var(--rust); }
.more p { margin: 4px 0 0; color: var(--muted); font-size: 0.98rem; }

/* footer */
.lp-foot { text-align: center; padding: 48px 24px 56px; color: var(--muted); font-size: 0.92rem; }
.lp-foot img { height: 100px; width: auto; margin: 0 auto 18px; }
.lp-foot ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.lp-foot p { max-width: none; margin: 0 auto; text-align: center; }
.lp-foot .credit { margin-top: 6px; font-size: 0.82rem; letter-spacing: 0.02em; }
.lp-foot a { color: var(--muted); text-underline-offset: 3px; display: inline-block; padding: 12px 2px; }
.lp-foot a:hover { color: var(--rust); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 44px 20px 40px; }
  .hero .portrait { max-width: 440px; }
  .band-dark .hero figure { order: -1; }
  .two { grid-template-columns: 1fr; gap: 32px; }
  .more ul { grid-template-columns: 1fr; gap: 18px; }
  .lp-head nav { display: none; }
  .lp-head .study { margin-left: auto; }
}
@media (max-width: 620px) {
  .hero .script { font-size: 3.2rem; }
  .hero h1 { font-size: 1.85rem; }
  h2 { font-size: 1.65rem; }
  .book { grid-template-columns: 1fr; gap: 20px; }
  .book img { max-width: 200px; }
  main section { padding: 40px 20px; }
  .lp-head .in { padding: 8px 16px; }
  .lp-head .in { grid-template-columns: auto 1fr; gap: 10px; padding: 8px 16px; }
  .lp-head .logo { grid-column: 1; font-size: 1.55rem; }
  .lp-head .head-cta { grid-column: 2; padding: 9px 12px; font-size: 0.6rem; letter-spacing: 0.1em; min-height: 40px; }
  .lp-head .in { gap: 12px; }
  .lp-head .study { padding: 9px 12px; letter-spacing: 0.1em; font-size: 0.64rem; }
  .cta .script { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
