/* ============================================================
   Coherence page — the parchment reverse of the brand.
   Loads AFTER main.css. Header/footer chrome stays dark.
   Adapted from design-system coherence/coherence.css (re-drop
   2026-07-14) with the committed variants baked in: parchment
   paper, hard chrome seam, framed hand-off panel (glimpse
   variant off), quiet Map card on the deep band.
   (Original with all variants: reference/design-drop/coherence/)
   ============================================================ */

/* ---------- light tokens (paper: parchment) ---------- */
:root {
  --paper:      rgb(236, 231, 217);
  --panel:      rgb(246, 243, 236);
  --paper-deep: rgb(223, 215, 196);
  --ink-soft: rgb(105, 85, 73);     /* AA on parchment */
  --bronze:   rgb(138, 108, 56);    /* gold, darkened for light ground */
  --wine:     rgb(133, 66, 72);     /* eyebrow highlight + step thread */
}

body.page-coherence { background: var(--paper); color: var(--ink); }
body.page-coherence main a:not(.btn) { color: var(--bronze); }
body.page-coherence main a:not(.btn):hover { opacity: .75; }

/* dark chrome stays dark (header carries data-always-solid);
   re-assert cream text — the parchment body color would otherwise inherit in */
body.page-coherence .site-header { background: var(--bg); color: var(--cream); }
body.page-coherence .menu-overlay { color: var(--cream); }
body.page-coherence .site-footer { color: var(--cream); }

/* buttons flip: ink on paper */
body.page-coherence main .btn { background: var(--ink); color: var(--cream); }
body.page-coherence main .btn:hover { opacity: .88; }

/* ---------- tonal bands — alternating grounds per section ---------- */
.band-b { background: var(--panel); }
.band-c { background: var(--paper-deep); }

/* ---------- hero ---------- */
.c-hero {
  position: relative;
  padding: calc(var(--header-h) + 120px) 24px 96px;
  text-align: center;
}
.c-hero__inner { position: relative; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.c-eyebrow { letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.c-eyebrow__mark { font-style: normal; color: var(--wine); }
.c-hero h1 { color: var(--ink); max-width: 18ch; }
.c-hero__body { max-width: 560px; color: var(--ink-soft); }

/* ---------- conversation hand-off panel (embed target) ---------- */
.c-panel {
  width: 100%; max-width: 620px; margin-top: 22px;
  background: var(--panel);
  border: 1px solid rgba(42, 28, 23, .12);
  border-radius: 56px;
  padding: 52px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center;
}
.c-panel .hero__key { width: 56px; height: 17px; }
.c-panel__tag { color: var(--ink-soft); }

/* ---------- shared section bones ---------- */
.c-section { padding: 104px 24px; }
.c-section__head { max-width: 640px; margin: 0 auto 56px; display: flex; flex-direction: column; gap: 16px; }
.c-section__head--flush { margin-left: 0; margin-right: 0; }
.c-section__head .display-2 { color: var(--ink); }

/* audio affordance — placeholder, audio pending */

/* ---------- how it works: the wine thread ---------- */
.c-steps { max-width: 640px; margin: 0 auto; position: relative; display: flex; flex-direction: column; gap: 56px; }
.c-steps::before { content: ""; position: absolute; left: 27px; top: 14px; bottom: 14px; width: 1px; background: rgba(133, 66, 72, .4); }
.c-step { position: relative; display: flex; gap: 32px; }
.c-step__num {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wine); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic; font-size: 21px;
  position: relative; z-index: 1;
  /* ring masks the thread behind each circle — matches the band-b ground */
  box-shadow: 0 0 0 6px var(--panel);
  margin: 0;
}
.c-step__txt { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.c-step h3 { color: var(--ink); line-height: 1.2; }
.c-step__txt p { color: var(--ink-soft); }

/* ---------- map artwork ---------- */
.c-photo {
  border-radius: var(--radius-card);
  background: var(--paper-deep);
  color: var(--ink-soft);
}
.c-photo--map { width: 100%; height: 280px; }
.c-photo--filled { padding: 0; border: 0; overflow: hidden; }
.c-photo__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- walk away ---------- */
.c-away { max-width: 640px; margin: 0 auto; }
.c-away ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.c-away li {
  padding: 22px 0;
  border-top: 1px solid rgba(42, 28, 23, .14);
  color: var(--ink);
  font-size: 22px; line-height: 1.5; letter-spacing: -0.02em;
}
.c-away li:last-child { border-bottom: 1px solid rgba(42, 28, 23, .14); }
.c-away li em { font-style: italic; color: var(--bronze); }

/* ---------- Coherence Map block (quiet card on the deep band) ---------- */
.c-map__wrap {
  max-width: 960px; margin: 0 auto;
  display: flex; gap: 56px; align-items: center;
  background: var(--panel);
  border: 1px solid rgba(42, 28, 23, .1);
  border-radius: 56px;
  padding: 64px;
}
.c-map__text { flex: 1.2; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.c-map__media { flex: 1; }
.c-map__text h2 { color: var(--ink); white-space: nowrap; font-size: clamp(30px, 3.6vw, 46px); }
.c-map__text p { color: var(--ink-soft); margin: 0; }
.c-map__price { color: var(--ink); }
.c-map__fine { font-size: 17px; color: var(--ink-soft); opacity: .85; }

/* waitlist capture (static mock — Beehiiv, map-waitlist tag, wiring pending) */
/* live Beehiiv v3 waitlist form (renders its own styling; sized by beehiiv) */
.c-capture-live { width: 100%; max-width: 420px; min-height: 52px; }
.c-capture-live iframe { border: 0; width: 100%; }

/* ---------- FAQ: quiet accordions, one open at a time ---------- */
.c-faq { max-width: 640px; margin: 0 auto; }
.c-faq details { border-top: 1px solid rgba(42, 28, 23, .14); }
.c-faq details:last-of-type { border-bottom: 1px solid rgba(42, 28, 23, .14); }
.c-faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
}
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after { content: "+"; font-family: var(--font-ui); font-weight: 400; font-size: 22px; color: var(--bronze); flex: none; }
.c-faq details[open] summary::after { content: "\2212"; }
.c-faq details p { padding: 0 0 26px; margin: 0; color: var(--ink-soft); max-width: 56ch; }

/* ---------- closing ---------- */
.c-close { text-align: center; padding: 128px 24px 152px; }
.c-close__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.c-close blockquote { margin: 0; color: var(--ink); }
.c-close .c-toolong { color: var(--wine); }
.c-close .c-shifted {
  text-decoration: underline;
  text-decoration-color: var(--wine);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

/* ---------- responsive ---------- */
@media (max-width: 809.98px) {
  .c-hero { padding: calc(var(--header-h) + 72px) 24px 72px; }
  .c-section { padding: 80px 24px; }
  .c-panel { padding: 40px 28px; border-radius: 44px; }
  .c-steps { gap: 44px; }
  .c-steps::before { left: 23px; }
  .c-step { gap: 24px; }
  .c-step__num { width: 48px; height: 48px; font-size: 19px; }
  .c-map__wrap { flex-direction: column; gap: 40px; padding: 48px 32px; border-radius: 44px; }
  .c-map__text h2 { font-size: clamp(26px, 8vw, 34px); }
  .c-photo--map { height: 240px; }
  .c-away li { font-size: 20px; }
  .c-close { padding: 96px 24px 112px; }
}
