/* Layout: calm single column, wide photo bands, wave dividers between sea and shore sections.
   Deliberately one light theme: sea salt, sand, basalt, and deep tide water. */
:root {
  --salt: #f6f5f1;       /* page background */
  --sand: #ebe5da;       /* soft sections */
  --driftwood: #8a7f70;  /* muted text, rules */
  --basalt: #2a2e2f;     /* body text */
  --tide: #2c5a5f;       /* accent: deep ocean teal */
  --tide-deep: #1f4246;
  --seaglass: #b7d0ca;   /* light ocean accent */
  --ember: #c4622d;      /* Mauna Kea sunset orange: main buttons */
  --ember-deep: #a44f22;
  --foam: #ffffff;

  --font-display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --font-body: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --font-voice: "Cormorant Garamond", Georgia, serif; /* wisdom teachings and quotes */

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: 2.4rem;
  --step-4: clamp(2.5rem, 6vw, 3.9rem);

  --wrap: 72rem;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--basalt);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--tide); text-underline-offset: 3px; }
a:hover { color: var(--tide-deep); }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--basalt);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); letter-spacing: 0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tide);
  font-weight: 600;
}
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--basalt); max-width: 36em; }
.muted { color: var(--driftwood); }
.measure { max-width: 38em; }

/* ---------- containers ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-sand { background: var(--sand); }
.section-tide { background: var(--tide); color: var(--foam); }
.section-tide h2, .section-tide h3 { color: var(--foam); }
.section-tide .eyebrow { color: var(--seaglass); }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--salt);
}
#site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--salt) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--driftwood) 25%, transparent);
}
.bar {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: 1.1rem 0.9rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.brand {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.1;
  color: var(--basalt); text-decoration: none; text-align: center; text-wrap: balance;
}
#site-menu {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem 2rem;
}
#site-menu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.75rem;
}
#site-menu ul a {
  color: var(--basalt); text-decoration: none; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding-block: 0.25rem; border-bottom: 1px solid transparent;
}
#site-menu ul a:hover { color: var(--tide); }
#site-menu ul a[aria-current="page"] { color: var(--tide); border-bottom-color: var(--tide); }
@media (max-width: 600px) {
  #site-menu ul { gap: 0.3rem 1.1rem; }
  #site-menu ul a { font-size: 0.82rem; letter-spacing: 0.06em; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--ember); color: var(--foam);
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 600; letter-spacing: 0.04em; font-size: 0.95rem;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--ember-deep); color: var(--foam); }
.btn-small { padding: 0.55rem 1.15rem; font-size: 0.85rem; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--tide); border: 1px solid var(--tide); }
.btn-ghost:hover { background: var(--tide); color: var(--foam); }
.section-tide .btn { background: var(--ember); color: var(--foam); }
.section-tide .btn:hover { background: var(--ember-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 em { font-family: var(--font-voice); font-style: italic; color: var(--tide); }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); }

/* Waves */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); margin-bottom: -1px; }
.wave path { fill: var(--sand); }
.wave.to-tide path { fill: var(--tide); }
.wave.to-salt path { fill: var(--salt); }
.wave-flip { transform: scaleY(-1); }

/* ---------- photo placeholders ---------- */
/* Replace each .photo with <img src="images/your-photo.jpg" alt="..."> when you have photos. */
.photo {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 2px; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 110%, var(--tide) 0%, transparent 60%),
    linear-gradient(180deg, #dfe8e6 0%, var(--seaglass) 55%, #7fa6a2 100%);
  display: flex; align-items: flex-end;
}
.photo.wide { aspect-ratio: 16 / 9; }
.photo.square { aspect-ratio: 1; }
.photo.sand {
  background:
    radial-gradient(60% 40% at 30% 70%, #d9cfbf 0%, transparent 70%),
    linear-gradient(160deg, #f1ece3 0%, #ddd3c4 100%);
}
.photo.basalt {
  background:
    radial-gradient(80% 60% at 70% 20%, #6c7474 0%, transparent 70%),
    linear-gradient(200deg, #4a5152 0%, #2a2e2f 100%);
}
.photo-label {
  margin: 0.75rem; padding: 0.35rem 0.7rem; border-radius: 2px;
  background: color-mix(in srgb, var(--foam) 85%, transparent); color: var(--basalt);
  font-size: 0.78rem; letter-spacing: 0.04em; line-height: 1.4;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- three paths ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.paths > * { min-width: 0; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.path { display: flex; flex-direction: column; gap: 1rem; }
.path .photo { aspect-ratio: 3 / 2; }
.path h3 { font-size: var(--step-2); }
.path .more { margin-top: auto; font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.path .more::after { content: " →"; }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- teaching card (book pairing) ---------- */
.teaching {
  background: var(--foam); padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 3px solid var(--seaglass);
  display: flex; flex-direction: column; gap: 1rem;
}
.teaching blockquote {
  margin: 0; font-family: var(--font-voice); font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-style: italic; line-height: 1.35; color: var(--basalt);
}
.field-note {
  display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem;
  font-size: var(--step--1); color: var(--driftwood); margin: 0;
  font-variant-numeric: tabular-nums;
}
.field-note dt { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; padding-top: 0.15rem; }
.field-note dd { margin: 0; color: var(--basalt); }

/* ---------- steps (real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps > li { min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; counter-increment: step; }
.steps > li::before {
  content: counter(step); font-family: var(--font-display); font-size: 1.1rem; color: var(--tide);
  width: 2.4rem; height: 2.4rem; border: 1px solid var(--tide); border-radius: 50%;
  display: grid; place-items: center;
}
.section-tide .steps > li::before { color: var(--foam); border-color: var(--seaglass); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- offerings list ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid color-mix(in srgb, var(--driftwood) 35%, transparent); }
.offers > * { min-width: 0; }
.offer {
  padding-block: 1.75rem; padding-right: 2rem; display: flex; flex-direction: column; gap: 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--driftwood) 35%, transparent);
}
.offer .meta { font-size: var(--step--1); color: var(--driftwood); letter-spacing: 0.04em; }
@media (max-width: 700px) { .offers { grid-template-columns: 1fr; } }

/* ---------- projects grid ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.projects > * { min-width: 0; }
.project { display: flex; flex-direction: column; gap: 0.75rem; }
.project .photo { aspect-ratio: 4 / 3; }
.project .meta { font-size: var(--step--1); color: var(--driftwood); text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 860px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } }

/* ---------- book series ---------- */
.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.series > * { min-width: 0; }
.volume { display: flex; flex-direction: column; gap: 0.6rem; }
.volume .photo { aspect-ratio: 2 / 3; }
.volume .status { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tide); font-weight: 600; }
@media (max-width: 700px) { .series { grid-template-columns: 1fr 1fr; } }

/* ---------- quote / testimonial ---------- */
.quote { text-align: left; max-width: 44rem; display: flex; flex-direction: column; gap: 1rem; }
.quote p.q { font-family: var(--font-voice); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35; }
.quote .who { font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- call to action band ---------- */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.cta > div { min-width: 0; max-width: 38rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- booking page ---------- */
.booking-box {
  background: var(--foam); padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start;
  border-top: 3px solid var(--tide);
}
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.checklist li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; }
.checklist li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.6rem; border-radius: 50%; background: var(--seaglass); }

/* ---------- footer ---------- */
#site-footer { background: var(--basalt); color: #d9d6cf; padding-block: 3.5rem 2rem; }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
}
.footer-inner > * { min-width: 0; }
.footer-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--foam); }
.footer-tag { font-size: var(--step--1); color: #a9a59d; margin-top: 0.4rem; max-width: 22rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a, .footer-social a { color: #d9d6cf; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover, .footer-social a:hover { color: var(--seaglass); }
.footer-contact { font-size: 0.95rem; display: flex; flex-direction: column; gap: 0.5rem; overflow-wrap: anywhere; }
.footer-social { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-copy {
  max-width: var(--wrap); margin: 2.5rem auto 0; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  font-size: 0.8rem; color: #8e8a83;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

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

/* ---------- products & services with Stripe buttons ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2rem; }
.products > * { min-width: 0; }
.product {
  background: var(--foam); padding: clamp(1.4rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 0.8rem;
}
.section-sand .product { background: var(--salt); }
.product .photo { aspect-ratio: 3 / 2; margin: calc(-1 * clamp(1.4rem, 3vw, 2rem)); margin-bottom: 0.4rem; }
.product .price { font-family: var(--font-display); font-size: var(--step-1); color: var(--tide); font-variant-numeric: tabular-nums; }
.product .meta { font-size: var(--step--1); color: var(--driftwood); letter-spacing: 0.04em; }
.product .btn { margin-top: auto; align-self: flex-start; }
.secure-note { font-size: var(--step--1); color: var(--driftwood); }
.pillars { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pillars li {
  border: 1px solid var(--seaglass); color: var(--tide-deep); background: var(--foam);
  padding: 0.3rem 0.9rem; border-radius: 999px; font-size: 0.9rem; letter-spacing: 0.04em;
}

/* ---------- sand texture ---------- */
.section-sand { background: var(--sand) url("images/sand.webp") repeat; background-size: 512px; }

/* ---------- ethereal beach photography ----------
   Drop photos into the images folder with these names and they appear automatically:
   mauna-kea-beach.jpg, hendrys-beach.jpg, sea-foam.jpg.
   Until then a soft sky / sea / foam / sand wash shows in their place. */
:root {
  --mist: #eef4f3;
  --beach-wash: linear-gradient(180deg, #eef3f3 0%, #dbe9e7 34%, #b9d6d1 47%, #f4f8f7 56%, #eef0ea 66%, #e9e1d3 100%);
}
.band {
  position: relative; margin: 0;
  height: clamp(260px, 42vw, 580px);
  background-image: var(--photo, none), var(--beach-wash);
  background-size: cover; background-position: center;
}
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 38%; pointer-events: none;
}
.band::before { top: 0; background: linear-gradient(180deg, var(--salt), color-mix(in srgb, var(--salt) 0%, transparent)); }
.band::after { bottom: 0; background: linear-gradient(0deg, var(--salt), color-mix(in srgb, var(--salt) 0%, transparent)); }
.band figcaption {
  position: absolute; z-index: 1; bottom: clamp(0.75rem, 2vw, 1.5rem);
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  max-width: var(--wrap); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem;
}
.band-place { font-family: var(--font-voice); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--basalt); }
.band-where { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--driftwood); }
.section-sand + .band::before { background: linear-gradient(180deg, var(--sand), color-mix(in srgb, var(--sand) 0%, transparent)); }

/* Home hero: full-width beach photo behind a soft white mist */
.hero-photo {
  position: relative; overflow: hidden;
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--salt) 94%, transparent) 0%, color-mix(in srgb, var(--salt) 78%, transparent) 42%, color-mix(in srgb, var(--salt) 0%, transparent) 78%),
    linear-gradient(0deg, var(--salt) 0%, color-mix(in srgb, var(--salt) 0%, transparent) 22%),
    var(--photo, none), var(--beach-wash);
  background-size: cover; background-position: center;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(5rem, 11vw, 9rem);
}
.hero-text { max-width: 36rem; }
.hero-credit {
  position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 1rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--driftwood);
}
@media (max-width: 800px) {
  .hero-photo {
    background-image:
      linear-gradient(180deg, color-mix(in srgb, var(--salt) 92%, transparent) 0%, color-mix(in srgb, var(--salt) 84%, transparent) 70%, var(--salt) 100%),
      var(--photo, none), var(--beach-wash);
  }
}

/* Lighter, airier booking band */
.section-tide { background: linear-gradient(180deg, var(--salt) 0%, var(--mist) 100%); color: var(--basalt); }
.section-tide h2, .section-tide h3 { color: var(--basalt); }
.section-tide .eyebrow { color: var(--tide); }

/* Softer type for an airy feel */
h1, h2 { letter-spacing: 0.015em; }
.lede { color: color-mix(in srgb, var(--basalt) 85%, var(--salt)); }
.section-sand { background-color: #f1ece3; }

/* ---------- elegant type ----------
   Display: Cormorant Garamond, light and high-contrast. Body and labels: Jost, light and airy. */
:root {
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-voice: "Cormorant Garamond", Georgia, serif;
  --step-1: 1.4rem;
  --step-2: 2rem;
  --step-3: clamp(2.2rem, 4.5vw, 3rem);
  --step-4: clamp(2.9rem, 7vw, 4.75rem);
}
body { font-weight: 300; letter-spacing: 0.01em; }
strong, b { font-weight: 500; }
h1, h2, h3 { font-weight: 300; letter-spacing: 0.01em; line-height: 1.1; }
h3 { font-weight: 400; font-size: 1.55rem; }
.path h3 { font-size: var(--step-2); }
.hero h1 em, h1 em { font-weight: 300; }
.brand {
  font-weight: 300; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: clamp(1.35rem, 5.2vw, 2.6rem); padding-left: 0.16em;
}
#site-menu ul a { font-weight: 400; font-size: 0.85rem; letter-spacing: 0.2em; }
.eyebrow { font-weight: 400; letter-spacing: 0.24em; font-size: 0.78rem; }
.lede { font-weight: 300; font-size: 1.25rem; line-height: 1.65; }
.btn { font-weight: 400; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; padding: 0.95rem 1.8rem; }
.btn-small { font-size: 0.72rem; padding: 0.6rem 1.2rem; }
.pillars li { font-family: var(--font-voice); font-style: italic; font-size: 1.1rem; letter-spacing: 0.02em; padding: 0.2rem 1rem; }
.teaching blockquote, .quote p.q { font-weight: 300; }
.price { font-weight: 400; }
.footer-name { font-weight: 300; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.3rem; }
@media (max-width: 600px) {
  #site-menu ul a { font-size: 0.74rem; letter-spacing: 0.14em; }
}
.hero-text { max-width: 42rem; }

/* ---------- Mauna Kea brand orange (#FC860C) ----------
   Dark text keeps the button labels readable on this bright orange. */
:root { --ember: #fc860c; --ember-deep: #e87408; }
.btn, .section-tide .btn { background: var(--ember); color: var(--basalt); font-weight: 500; }
.btn:hover, .section-tide .btn:hover { background: var(--ember-deep); color: var(--basalt); }
.btn-ghost { background: transparent; color: var(--tide); }
.btn-ghost:hover { background: var(--tide); color: var(--foam); }
.brand { font-size: clamp(1.55rem, 6.3vw, 3.75rem); letter-spacing: 0.14em; padding-left: 0.14em; }
@media (max-width: 600px) { .brand { letter-spacing: 0.1em; padding-left: 0.1em; white-space: nowrap; } }
@media (max-width: 600px) { #site-menu ul { gap: 0.3rem 0.8rem; } #site-menu ul a { font-size: 0.7rem; letter-spacing: 0.11em; } }
/* Peace · Fulfillment · Joy · Clarity · Abundance as a quiet italic line, no bubbles */
.pillars { gap: 0.2rem 0; }
.pillars li { border: 0; background: none; border-radius: 0; padding: 0; color: var(--tide); font-size: 1.35rem; }
.pillars li + li::before { content: "·"; margin: 0 0.6rem; color: var(--driftwood); font-style: normal; }
@media (max-width: 600px) { .pillars li { font-size: 1.1rem; } .pillars li + li::before { margin: 0 0.4rem; } }

/* ---------- book preview: click through one spread at a time (no JavaScript) ---------- */
.book .spread { display: none; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; scroll-margin-top: 17rem; }
.book .spread > * { min-width: 0; }
.book .spread:target, .book:not(:has(.spread:target)) #p1 { display: grid; }
.spread-words { margin: 0; font-family: var(--font-voice); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.35; }
.book-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--driftwood) 30%, transparent); }
.book-count { font-size: 0.8rem; letter-spacing: 0.18em; color: var(--driftwood); font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { .book .spread { grid-template-columns: 1fr; } }

/* ---------- book cover in the home hero ---------- */
.hero-photo .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
.hero-cover { display: block; justify-self: center; width: min(100%, 22rem); text-decoration: none; }
.hero-cover .photo { aspect-ratio: 2 / 3; box-shadow: 0 1.5rem 3rem -1.5rem color-mix(in srgb, var(--basalt) 45%, transparent); }
.hero-cover img { border-radius: 2px; }
@media (max-width: 800px) {
  .hero-photo .hero-grid { grid-template-columns: 1fr; }
  .hero-cover { order: -1; width: min(70%, 15rem); }
}
.band { background-position: center 40%; }
/* Hero heart photo: landscape, edges feathered into the sparkling sea */
.hero-photo .hero-grid { grid-template-columns: 1fr 1fr; }
.hero-cover { width: min(100%, 40rem); justify-self: end; }
.hero-cover .photo {
  aspect-ratio: 3 / 2; box-shadow: none; background: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
}
.hero-cover .photo img { object-position: 55% 40%; }
@media (max-width: 800px) { .hero-cover { width: 100%; justify-self: center; } }
.hero-photo .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
.hero-cover .photo {
  aspect-ratio: 4 / 3;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
}
.hero-cover .photo img { object-position: 50% 30%; }
@media (max-width: 800px) { .hero-photo .hero-grid { grid-template-columns: 1fr; } }
@media (min-width: 801px) {
  .hero-photo .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-cover { width: calc(100% + 10vw); max-width: 56rem; margin-right: -8vw; margin-block: -2rem; }
}
@media (max-width: 800px) { .hero-cover { width: calc(100% + 32px); margin-inline: -16px; } }
.hero-cover .photo {
  aspect-ratio: 2 / 1;
  -webkit-mask-image: radial-gradient(ellipse 52% 62% at 50% 46%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 62% at 50% 46%, #000 62%, transparent 100%);
}
.hero-cover .photo img { object-position: 50% 0%; }
.hero-cover .photo {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 72%, transparent 100%);
  mask-composite: intersect;
}
@media (min-width: 801px) { .hero-cover { align-self: start; margin-top: -2.5rem; } }
@media (min-width: 801px) { .hero-cover { margin-top: 4.5rem; } }
@media (min-width: 801px) { .hero-cover { width: calc(100% + 18vw); max-width: 66rem; margin-right: -14vw; margin-left: -4vw; margin-top: 3rem; } }
h2 em { font-family: var(--font-voice); font-style: italic; color: var(--tide); }
.quote .eyebrow { margin-bottom: 0.25rem; }
.offers > .offer:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Home: mindfulness to heartfulness */
.heartfulness .measure { margin-inline: auto; text-align: center; }
@media (min-width: 900px) { .heartfulness .offers { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .heartfulness .offers > .offer:last-child { grid-column: auto; } .heartfulness .offer { padding-right: 2rem; } }

/* Services: 8mm movie screen (CSS only) */
.screen-wrap { margin: clamp(1.5rem, 4vw, 2.5rem) auto 0; padding-inline: 1rem; max-width: 880px; }
.screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: #1d1a16; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(42,46,47,.12), 0 0 70px 6px rgba(255, 226, 170, 0.35), 0 30px 60px -30px rgba(42,46,47,.5); animation: screen-flicker 5s steps(1) infinite; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.04);
  filter: sepia(0.38) saturate(1.25) contrast(0.92) brightness(1.06) blur(0.4px);
  animation: screen-show 42s linear infinite, screen-weave 0.9s steps(1) infinite; animation-delay: calc(var(--i) * 6s), 0s; }
@keyframes screen-show { 0% { opacity: 0; } 2.5% { opacity: 1; } 14.3% { opacity: 1; } 17% { opacity: 0; } 100% { opacity: 0; } }
@keyframes screen-weave { 0% { transform: scale(1.04) translate(0, 0); } 25% { transform: scale(1.04) translate(0.6px, -1px); } 50% { transform: scale(1.04) translate(-0.5px, 0.8px); } 75% { transform: scale(1.04) translate(0.4px, 0.5px); } }
@keyframes screen-flicker { 0%, 100% { filter: brightness(1); } 12% { filter: brightness(0.97); } 14% { filter: brightness(1.02); } 46% { filter: brightness(0.98); } 71% { filter: brightness(1.015); } 73% { filter: brightness(0.975); } }
/* warm light leak, soft vignette */
.screen::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 214, 150, 0.16) 0%, rgba(40, 24, 8, 0.12) 55%, rgba(20, 12, 4, 0.72) 100%), linear-gradient(100deg, rgba(255, 140, 50, 0.16), transparent 30%); }
/* film grain and faint scratches */
.screen::after { content: ""; position: absolute; inset: -60px; z-index: 2; pointer-events: none; opacity: 0.34; mix-blend-mode: overlay;
  background: repeating-linear-gradient(90deg, transparent 0 213px, rgba(255,255,255,.5) 213px 214px, transparent 214px 517px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: screen-grain 0.6s steps(1) infinite; }
@keyframes screen-grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-31px, 17px); } 40% { transform: translate(23px, -39px); } 60% { transform: translate(-47px, -11px); } 80% { transform: translate(37px, 43px); } }
.screen-line { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; padding: 8% 10%; margin: 0;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.55rem, 4.4vw, 3rem); line-height: 1.2; color: #fbf3df; text-shadow: 0 1px 22px rgba(20, 12, 4, 0.75), 0 0 3px rgba(20, 12, 4, 0.5); }
.screen-line em { color: #ffe1ad; }
@media (prefers-reduced-motion: reduce) { .screen, .screen img, .screen::after { animation: none; } .screen img:first-of-type { opacity: 1; } }

/* About: portrait sits high, intro text wraps around it */
.about-hero { padding-top: clamp(1.25rem, 3vw, 2rem); }
.about-hero .wrap::after { content: ""; display: block; clear: both; }
.about-hero .photo { float: left; width: min(28%, 260px); margin: 0.4rem clamp(1.5rem, 3.5vw, 2.75rem) 1rem 0; box-shadow: 0 10px 30px -18px rgba(30, 50, 55, 0.45); }
.about-intro { display: block; }
.about-intro > * + * { margin-top: 1.1rem; }
.about-intro h1 { padding-top: 0.5rem; }
.about-intro .actions { margin-top: 1.6rem; }
@media (max-width: 560px) { .about-hero .photo { width: 40%; max-width: 170px; margin: 0.3rem 1rem 0.5rem 0; } }
.about-intro .lede { max-width: none; }

/* Projects: second book */
.photo.book-cover { aspect-ratio: 4 / 3; }
.h1-size { font-size: var(--step-4); line-height: 1.08; }
.h2-size { font-size: var(--step-3); }

/* Inspirations: film clips */
.films { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 760px) { .films { grid-template-columns: 1fr; } }
.film > * + * { margin-top: 0.75rem; }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse at 50% 45%, #4a3f33 0%, #26211c 70%, #16130f 100%); box-shadow: 0 20px 40px -26px rgba(42,46,47,.55); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-soon { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; color: #f1e3c4; letter-spacing: 0.04em; }

/* Home hero rebalanced: the image leads, the words sit quietly beside it */
.hero-photo {
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--salt) 90%, transparent) 0%, color-mix(in srgb, var(--salt) 66%, transparent) 26%, color-mix(in srgb, var(--salt) 0%, transparent) 48%),
    linear-gradient(0deg, var(--salt) 0%, color-mix(in srgb, var(--salt) 0%, transparent) 16%),
    var(--photo, none), var(--beach-wash);
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 6.5rem);
}
.hero-photo .hero-text { max-width: 25rem; gap: 1.4rem; }
.hero-photo h1 { font-size: clamp(2.1rem, 3.5vw, 3.3rem); }
.hero-photo .lede { font-size: 1.05rem; }
@media (min-width: 801px) {
  .hero-photo .hero-grid { grid-template-columns: 0.62fr 1.38fr; align-items: end; min-height: min(70vh, 44rem); }
  .hero-photo .hero-text { align-self: end; padding-bottom: 1rem; }
  .hero-cover { align-self: center; width: calc(100% + 12vw); max-width: 78rem; margin: 0 -10vw 0 -2vw; }
  .hero-cover .photo { aspect-ratio: 2 / 1; }
  .hero-cover .photo img { object-position: 50% 0%; }
}
@media (max-width: 800px) {
  .hero-photo {
    background-image:
      linear-gradient(180deg, color-mix(in srgb, var(--salt) 0%, transparent) 0%, color-mix(in srgb, var(--salt) 30%, transparent) 46%, color-mix(in srgb, var(--salt) 90%, transparent) 64%, var(--salt) 100%),
      var(--photo, none), var(--beach-wash);
    padding-top: 0.5rem;
  }
  .hero-cover .photo { aspect-ratio: 4 / 3; }
}
.hero-photo .lede { color: var(--basalt); }

/* Home hero: stronger words, quieter buttons */
.hero-photo .hero-text { max-width: 31rem; }
.hero-photo h1 { font-size: clamp(2.7rem, 4.7vw, 4.4rem); font-weight: 400; line-height: 1.04; }
.hero-photo h1 em { font-weight: 400; }
.hero-photo .lede { font-size: 1.2rem; font-weight: 400; }
.hero-photo .actions { gap: 0.6rem; flex-wrap: wrap; }
.hero-photo .actions .btn { padding: 0.6rem 1.15rem; font-size: 0.68rem; letter-spacing: 0.16em; min-height: 0; }
@media (min-width: 801px) { .hero-photo .hero-grid { grid-template-columns: 0.78fr 1.22fr; } .hero-cover { margin-left: -6vw; } }

/* Home hero v3: heart fills the view, headline only; intro line and small buttons sit below */
.hero-photo { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem);
  background-image:
    linear-gradient(90deg, color-mix(in srgb, var(--salt) 78%, transparent) 0%, color-mix(in srgb, var(--salt) 40%, transparent) 20%, color-mix(in srgb, var(--salt) 0%, transparent) 38%),
    linear-gradient(0deg, var(--salt) 0%, color-mix(in srgb, var(--salt) 0%, transparent) 14%),
    var(--photo, none), var(--beach-wash); }
.hero-photo h1 { font-size: clamp(2.3rem, 3.7vw, 3.5rem); }
@media (min-width: 801px) {
  .hero-photo .hero-grid { grid-template-columns: 0.5fr 1.5fr; min-height: min(76vh, 48rem); align-items: center; }
  .hero-photo .hero-text { align-self: end; max-width: 20rem; padding-bottom: 2.5rem; }
  .hero-cover { width: calc(100% + 14vw); max-width: 92rem; margin: 0 -10vw 0 -4vw; }
  .hero-cover .photo { aspect-ratio: 16 / 9; }
}
.hero-after { padding-block: clamp(1.25rem, 3vw, 2rem) 0; }
.hero-after .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; flex-wrap: wrap; }
.hero-after .lede { margin: 0; max-width: 36rem; font-size: 1.1rem; }
.hero-after .actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0; }
.hero-after .btn { padding: 0.55rem 1.1rem; font-size: 0.66rem; letter-spacing: 0.16em; }
.heartfulness { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (max-width: 800px) {
  .hero-photo { padding-bottom: 2rem; }
  .hero-cover .photo { aspect-ratio: 1 / 1; }
}
@media (min-width: 801px) {
  .hero-photo { background-image:
    radial-gradient(ellipse 48% 44% at 14% 94%, color-mix(in srgb, var(--salt) 92%, transparent) 0%, color-mix(in srgb, var(--salt) 70%, transparent) 45%, color-mix(in srgb, var(--salt) 0%, transparent) 100%),
    linear-gradient(0deg, var(--salt) 0%, color-mix(in srgb, var(--salt) 0%, transparent) 12%),
    var(--photo, none), var(--beach-wash); }
}
.film-feature { max-width: 62rem; margin-inline: auto; width: 100%; }
.film-feature .film-frame { border-radius: 18px; box-shadow: 0 0 60px 4px rgba(255, 226, 170, 0.28), 0 30px 60px -30px rgba(42,46,47,.55); }
.film-feature h3 { font-size: var(--step-2, 1.9rem); margin-top: 1.25rem; text-align: center; }
.film-feature p { text-align: center; }
@media (min-width: 801px) { .hero-photo .hero-text { max-width: none; position: relative; z-index: 2; } .hero-photo h1 { white-space: nowrap; } }

/* Home: Pamela's opening line */
.thread-line { font-family: var(--font-voice, var(--font-display)); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.3; color: var(--tide); margin-bottom: clamp(1.5rem, 4vw, 2.75rem); padding-bottom: clamp(1.5rem, 4vw, 2.75rem); border-bottom: 1px solid color-mix(in srgb, var(--driftwood) 30%, transparent); }

/* ---------- book request pop-up (CSS-only, opens via #request-book) ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 16px; }
.modal:target { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(31, 66, 70, 0.55); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: 100%; max-width: 30rem; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--salt); padding: clamp(1.5rem, 4vw, 2.25rem); border-top: 3px solid var(--tide);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; gap: 0.75rem;
  animation: modal-in 0.25s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-card h2 { font-size: 1.9rem; line-height: 1.1; margin: 0; }
.modal-card .eyebrow { margin: 0; }
.modal-note { margin: 0 0 0.25rem; color: var(--driftwood); font-size: 0.95rem; line-height: 1.55; }
.modal-close {
  position: absolute; top: 0.6rem; right: 0.9rem; font-size: 1.8rem; line-height: 1;
  color: var(--driftwood); text-decoration: none;
}
.modal-close:hover { color: var(--tide); }
.request-form { display: flex; flex-direction: column; gap: 0.85rem; }
.request-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.request-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--driftwood); min-width: 0; }
.request-form label .muted { text-transform: none; letter-spacing: 0.02em; }
.request-form input, .request-form textarea {
  font: inherit; font-size: 1rem; letter-spacing: normal; text-transform: none; color: var(--basalt);
  background: transparent; border: 0; border-bottom: 1px solid #cfc6b6; border-radius: 0; padding: 0.4rem 0; width: 100%;
}
.request-form textarea { resize: vertical; }
.request-form input:focus, .request-form textarea:focus { outline: none; border-bottom-color: var(--tide); }
.request-form .copies { max-width: 6rem; }
.request-form .btn { align-self: flex-start; border: 0; cursor: pointer; margin-top: 0.4rem; font-family: inherit; }
.request-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 30rem) { .request-form .form-row { grid-template-columns: 1fr; } }

/* Page headings sit below the site name in scale */
:root { --step-4: clamp(2.1rem, 4.2vw, 2.9rem); --step-3: clamp(1.75rem, 3.2vw, 2.2rem); }
.about-intro h1 { font-size: var(--step-4); }
/* About portrait: 5x7 print proportion, a bit larger */
.about-hero .photo { width: min(42%, 440px); aspect-ratio: 4 / 5; }
.about-hero .photo img { object-position: 30% 40%; }
@media (max-width: 560px) { .about-hero .photo { width: 50%; max-width: 230px; } }

/* Projects: book cover mockups */
.book-mock { margin: 0; justify-self: center; width: min(100%, 520px); }
.book-mock img { display: block; width: 100%; height: auto; }

/* Projects: plays in the works */
.plays { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 760px) { .plays { grid-template-columns: 1fr; } }
.play { background: var(--foam, #fff); padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 3px solid var(--tide); }
.play > * + * { margin-top: 0.7rem; }
.play h3 { font-size: var(--step-3); }
.play .meta { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tide); }
.play-by { font-style: italic; color: var(--driftwood); }

/* Projects page: tighter spacing between projects, less scroll */
main:has(#hearts-of-hendrys, #in-the-works) .section { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
main:has(#hearts-of-hendrys, #in-the-works) .section[style*="padding-top"] { padding-top: 0; }
main:has(#hearts-of-hendrys, #in-the-works) .band { height: clamp(180px, 26vw, 360px); }

/* Play posters */
.play { display: grid; grid-template-columns: minmax(0, 40%) 1fr; gap: clamp(1rem, 2.5vw, 1.5rem); align-items: start; }
.play > * + * { margin-top: 0; }
.play-text > * + * { margin-top: 0.7rem; }
.play-poster { width: 100%; height: auto; display: block; box-shadow: 0 10px 24px -14px rgba(30, 40, 45, 0.45); }
@media (max-width: 1000px) and (min-width: 761px) { .play { grid-template-columns: 1fr; } .play-poster { max-width: 240px; } }
@media (max-width: 480px) { .play { grid-template-columns: 1fr; } .play-poster { max-width: 210px; } }

/* Projects dropdown (no JS: details/summary, opens on hover where hover exists) */
#site-menu .has-sub { position: relative; }
#site-menu .has-sub details { position: relative; }
#site-menu .has-sub summary {
  list-style: none; cursor: pointer; color: var(--basalt); text-transform: uppercase;
  font-weight: 400; font-size: 0.85rem; letter-spacing: 0.2em; padding-block: 0.25rem; border-bottom: 1px solid transparent;
}
#site-menu .has-sub summary::-webkit-details-marker { display: none; }
#site-menu .has-sub summary::after { content: ""; display: inline-block; width: 0.38em; height: 0.38em; margin-left: 0.5em; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-0.2em) rotate(45deg); }
#site-menu .has-sub summary:hover, #site-menu .has-sub summary.current { color: var(--tide); }
#site-menu .has-sub summary.current { border-bottom-color: var(--tide); }
#site-menu ul.sub {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 30;
  flex-direction: column; gap: 0; min-width: 11rem; margin-top: 0.4rem; padding: 0.4rem 0;
  background: var(--salt, #f6f4ef); box-shadow: 0 12px 28px -14px rgba(30, 40, 45, 0.4); border-top: 2px solid var(--tide);
}
#site-menu ul.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
#site-menu details[open] > ul.sub { display: flex; }
@media (hover: hover) { #site-menu .has-sub:hover ul.sub, #site-menu .has-sub:focus-within ul.sub { display: flex; } }
#site-menu ul.sub a { display: block; padding: 0.55rem 1.1rem; border-bottom: 0; white-space: nowrap; text-align: center; }
#site-menu ul.sub a[aria-current="page"] { color: var(--tide); }
@media (max-width: 600px) { #site-menu .has-sub summary { font-size: 0.7rem; letter-spacing: 0.11em; } }

/* Testimonials under Hearts of Mauna Kea: CSS-only rotation (no JS), 5 quotes, 8s each */
.testimonials { padding-block: 0 clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.testimonials .eyebrow { margin-bottom: 0.9rem; }
.quote-rotator { display: grid; max-width: 44rem; margin: 0 auto; }
.quote { grid-area: 1 / 1; margin: 0; text-align: center; opacity: 0; visibility: hidden; animation: quote-cycle 40s infinite; }
.quote:nth-child(2) { animation-delay: 8s; }
.quote:nth-child(3) { animation-delay: 16s; }
.quote:nth-child(4) { animation-delay: 24s; }
.quote:nth-child(5) { animation-delay: 32s; }
.quote blockquote { margin: 0; font-family: var(--font-voice, var(--font-display)); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--basalt); }
.quote figcaption { margin-top: 0.8rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tide); }
.quote figcaption span { display: block; margin-top: 0.25rem; letter-spacing: 0.08em; text-transform: none; font-size: 0.85rem; color: var(--driftwood); }
@keyframes quote-cycle { 0% { opacity: 0; visibility: visible; } 2.5%, 18% { opacity: 1; visibility: visible; } 20% { opacity: 0; visibility: hidden; } 100% { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .quote { animation: none; opacity: 1; visibility: visible; grid-area: auto; }
  .quote-rotator { gap: 1.75rem; }
}

/* About: stronger theme headings (lineages, specialties) */
.bold-heads h3 { font-weight: 600; color: var(--basalt); font-size: clamp(1.4rem, 2.4vw, 1.7rem); letter-spacing: 0.01em; }

/* About portrait: white polaroid frame, slight tilt */
.about-hero .photo {
  background: #fff; overflow: visible;
  box-shadow: 0 2px 4px rgba(30, 40, 45, 0.08), 0 18px 36px -16px rgba(30, 40, 45, 0.45);
  margin-top: 0.9rem;
}
.about-hero .photo img { inset: 12px 12px 46px; width: calc(100% - 24px); height: calc(100% - 58px); border-radius: 0; }
@media (max-width: 560px) { .about-hero .photo img { inset: 7px 7px 26px; width: calc(100% - 14px); height: calc(100% - 33px); } }

.about-hero .photo img { object-position: 50% 40%; }

/* Intro (lede) text in Cormorant Garamond, sized up for legibility (trial, 2026-11-19) */
.lede, .hero-after .lede, .hero-photo .lede {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400;
  font-size: clamp(1.35rem, 2.1vw, 1.6rem); line-height: 1.45; color: var(--basalt);
}

/* Book preview sign-in */
.book-login { min-height: 60vh; display: grid; align-items: center; }
.login-card { max-width: 30rem; margin: 0 auto; background: var(--foam, #fff); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 3px solid var(--tide); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.3); }
.login-card h1 { font-size: var(--step-3); }
.login-error { margin: 0; padding: 0.7rem 0.9rem; background: #fbeee6; border-left: 3px solid #c2522d; color: #7a2e14; font-size: 0.95rem; }

/* Books: image under "Turn the pages" */
.inside-photo { display: block; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.inside-stage {
  display: grid; place-items: center; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9;
  background: var(--photo) center / cover no-repeat, #1d1a16; padding: clamp(1rem, 4vw, 2.5rem);
  box-shadow: 0 18px 40px -24px rgba(30, 40, 45, 0.45);
}
.inside-framed {
  display: block; width: auto; height: 74%; max-width: 80%; object-fit: contain;
  background: #fff; padding: clamp(6px, 1.2vw, 12px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 22px 44px -16px rgba(0, 0, 0, 0.6);
}
@media (max-width: 560px) { .inside-stage { aspect-ratio: 4 / 3; } .inside-framed { height: 80%; max-width: 88%; } }

/* Inspirations: reading (book cover hotlinked from Open Library over a typographic fallback) */
.reading { align-items: center; }
.book-cover-link { justify-self: center; display: block; width: min(100%, 300px); text-decoration: none; }
.book-cover {
  display: block; aspect-ratio: 2 / 3; position: relative; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 24px 44px -18px rgba(30, 40, 45, 0.55);
  transition: transform .3s ease;
}
.book-cover-link:hover .book-cover { transform: translateY(-4px); }
.book-cover-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; gap: .6rem; padding: 1.5rem; text-align: center;
  background: linear-gradient(160deg, #e9e3d6, #cfdcdb); color: var(--basalt);
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; line-height: 1.15;
}
.book-cover-fallback small { font-family: var(--font-body); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.book-cover-img { position: absolute; inset: 0; background: var(--cover) center / cover no-repeat; }

/* Books: framed Buddha photo on its own (no background image), 2026-11-22 */
.inside-framed { height: auto; width: 100%; max-width: 760px; margin: 0 auto; }
@media (max-width: 560px) { .inside-framed { height: auto; max-width: 100%; } }

/* ---------- book reader: page-turning book in the private area (book-preview.html) ---------- */
.reader-section { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem); }
.reader-head { text-align: center; margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }
.reader-head h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.reader { --ar: 1; --page: #fbfaf7; --hmax: calc(100svh - 16rem); }
.reader-stage { position: relative; display: flex; justify-content: center; perspective: 2600px; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; cursor: pointer; }
.reader-book { position: relative; width: min(100%, max(16rem, var(--hmax)) * var(--ar)); aspect-ratio: var(--ar); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4, .1, .2, 1); }
.reader-book.two-up { width: min(100%, max(16rem, var(--hmax)) * var(--ar) * 2); aspect-ratio: calc(var(--ar) * 2); }
.reader-book.two-up.is-closed { transform: translateX(-25%); }
.reader-book.two-up.is-end { transform: translateX(25%); }
.reader-page { position: absolute; top: 0; bottom: 0; background: var(--page); overflow: hidden; box-shadow: 0 1px 2px rgba(42, 46, 47, .08), 0 18px 40px -18px rgba(31, 66, 70, .35); }
.reader-page img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.reader-page.is-blank { background: transparent; box-shadow: none; }
.reader-right { left: 0; right: 0; }
.two-up .reader-left { left: 0; width: 50%; }
.two-up .reader-right { left: 50%; width: 50%; }
.reader-book:not(.two-up) .reader-left { display: none; }
/* soft fold shadow along the spine */
.two-up .reader-left:not(.is-blank)::after, .two-up .reader-right:not(.is-blank)::after { content: ""; position: absolute; top: 0; bottom: 0; width: 9%; pointer-events: none; }
.two-up .reader-left::after { right: 0; background: linear-gradient(to left, rgba(42, 46, 47, .16), transparent); }
.two-up .reader-right::after { left: 0; background: linear-gradient(to right, rgba(42, 46, 47, .14), transparent); }
.reader-page.is-html { display: grid; place-items: center; padding: clamp(1.25rem, 6%, 3rem); }
.reader-text { max-width: 30rem; display: grid; gap: .9em; text-align: center; font-size: clamp(.82rem, 1.25vw, 1rem); line-height: 1.65; overflow: auto; max-height: 100%; }
.reader-text .eyebrow { margin: 0; }
.reader-text h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
.reader-text .lede { font-family: var(--font-voice); font-size: 1.2em; line-height: 1.45; }
/* the turning sheet */
.reader-leaf { position: absolute; top: 0; bottom: 0; z-index: 3; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.45, .05, .25, 1); }
.reader-leaf .reader-page { inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.reader-leaf .leaf-back { transform: rotateY(180deg); }
.reader-leaf::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .85s; background: linear-gradient(to right, rgba(42, 46, 47, .18), transparent 60%); }
.reader-leaf.turning::after { opacity: 1; }
.two-up .reader-leaf.go-next { left: 50%; width: 50%; transform-origin: left center; }
.two-up .reader-leaf.go-next.turning { transform: rotateY(-180deg); }
.two-up .reader-leaf.go-prev { left: 0; width: 50%; transform-origin: right center; }
.two-up .reader-leaf.go-prev.turning { transform: rotateY(180deg); }
.reader-leaf.single { left: 0; width: 100%; transform-origin: left center; }
.reader-leaf.single .leaf-back { background: var(--sand); }
.reader-leaf.single.go-next.turning { transform: rotateY(-180deg); opacity: 0; transition: transform .75s cubic-bezier(.45, .05, .25, 1), opacity .75s ease-in; }
.reader-leaf.single.go-prev { transform: rotateY(-180deg); opacity: 0; }
.reader-leaf.single.go-prev.turning { transform: rotateY(0deg); opacity: 1; transition: transform .75s cubic-bezier(.45, .05, .25, 1), opacity .4s ease-out; }
/* controls */
.reader-arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tide) 45%, transparent); background: color-mix(in srgb, var(--foam) 85%, transparent); box-shadow: 0 2px 10px rgba(31, 66, 70, .15); color: var(--tide); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.reader-arrow:hover:not(:disabled) { background: var(--tide); color: var(--foam); }
.reader-arrow:disabled { opacity: 0; pointer-events: none; }
.reader-prev { left: 0; }
.reader-next { right: 0; }
@media (min-width: 1180px) { .reader-stage { padding-inline: 3.75rem; } }
.reader-arrow svg { width: 1.1rem; height: 1.1rem; }
.reader-count { margin: clamp(.9rem, 2vw, 1.25rem) 0 0; text-align: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--driftwood); font-variant-numeric: tabular-nums; }
.reader-slider { display: block; width: min(100%, 28rem); margin: .6rem auto 0; accent-color: var(--tide); }
.reader-hint { text-align: center; margin-top: .75rem; font-size: .8rem; color: var(--driftwood); }
.reader-foot { text-align: center; margin-top: clamp(2rem, 5vw, 3rem); display: grid; gap: 1rem; justify-items: center; }
.reader:not(.is-ready) .reader-arrow, .reader:not(.is-ready) .reader-slider { visibility: hidden; }
@media (max-width: 759px) { .reader { --hmax: calc(100svh - 13rem); } .reader-arrow { width: 2.4rem; height: 2.4rem; } .reader-prev { left: -6px; } .reader-next { right: -6px; } }
@media (prefers-reduced-motion: reduce) { .reader-book, .reader-leaf { transition: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* pages rebuilt from the Mixbook layout (server/mixbook_import.py): 1em = 1 pt of the printed page */
.reader-page.is-raw { container-type: size; }
.mb-page { position: absolute; inset: 0; overflow: hidden; --pt: calc(100cqh / 576); font-size: calc(14 * var(--pt)); color: #000; font-family: "Cormorant Garamond", Georgia, serif; }
.mb-photo { position: absolute; overflow: hidden; }
.mb-photo img { position: absolute; max-width: none; object-fit: fill; }
.mb-text { position: absolute; white-space: pre-wrap; overflow-wrap: break-word; }
.mb-text p { margin: 0; }
.mb-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #fff; }
.mb-svg text { font-variant-numeric: lining-nums; white-space: pre; }
.reader-section .wrap { --wrap: 112rem; }
/* phones: the printed text is tiny at phone size, so the page's words are repeated below it */
.reader-words { display: none; }
@media (max-width: 759px) {
  .reader-words:not(:empty) { display: block; white-space: pre-line; margin: 1.25rem auto 0; max-width: 34rem; padding: 1.1rem 1.2rem; background: var(--foam); border: 1px solid color-mix(in srgb, var(--driftwood) 22%, transparent); font-family: var(--font-voice); font-size: 1.1rem; line-height: 1.55; }
}

/* Inspirations: smaller featured film so the low-resolution Benigni clip looks sharper (2026-11-24) */
.film-feature { max-width: 44rem; }

/* About: what this work does (2026-11-27) */
.impact { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem); }
.impact li { border-top: 1px solid rgba(42, 46, 47, 0.18); padding-top: 1rem; }
.impact h3 { font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin: 0 0 0.35rem; }
.impact p { margin: 0; }
.impact-line { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(1.35rem, 2.3vw, 1.7rem); text-align: center; max-width: 40rem; margin: 0 auto; }
@media (max-width: 720px) { .impact { grid-template-columns: 1fr; } }

/* About: interlocking white circles with golden light (2026-11-27) */
#what-this-work-does .stack-lg { align-items: center; }
#what-this-work-does .measure { text-align: center; margin-inline: auto; }
.circles {
  --d: clamp(190px, 21vw, 240px);
  list-style: none; margin: 1rem auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, calc(var(--d) * 0.43)); justify-content: center;
}
.circles li {
  width: var(--d); aspect-ratio: 1; border-radius: 50%; justify-self: center; grid-column: span 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 calc(var(--d) * 0.14);
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 62%, rgba(255,250,238,0.6) 100%);
  border: 1px solid rgba(201, 158, 74, 0.55);
  box-shadow: 0 0 34px 6px rgba(244, 196, 104, 0.38), inset 0 0 22px rgba(244, 196, 104, 0.18);
}
.circles li:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
.circles li:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
.circles li:nth-child(3) { grid-column: 5 / span 2; grid-row: 1; }
.circles li:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
.circles li:nth-child(5) { grid-column: 4 / span 2; grid-row: 2; }
.circles li:nth-child(6) { grid-column: 6 / span 2; grid-row: 2; }
.circles li:nth-child(n+4) { margin-top: calc(var(--d) * -0.14); }
.circles h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.15; margin: 0 0 0.4rem; }
.circles p { margin: 0; font-size: 0.88rem; line-height: 1.4; }
@media (max-width: 640px) {
  .circles { --d: min(46vw, 190px); grid-template-columns: repeat(4, calc(var(--d) * 0.43)); }
  .circles li:nth-child(1) { grid-column: 1 / span 2; grid-row: 1; }
  .circles li:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
  .circles li:nth-child(3) { grid-column: 2 / span 2; grid-row: 2; }
  .circles li:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
  .circles li:nth-child(5) { grid-column: 3 / span 2; grid-row: 3; }
  .circles li:nth-child(6) { grid-column: 2 / span 2; grid-row: 4; }
  .circles li:nth-child(n+2) { margin-top: 0; }
  .circles li:nth-child(n+3) { margin-top: calc(var(--d) * -0.14); }
  .circles li { padding: 0 calc(var(--d) * 0.12); }
  .circles h3 { font-size: 1rem; margin-bottom: 0.25rem; }
  .circles p { font-size: 0.76rem; line-height: 1.3; }
}

/* About: shorter page, less empty space (2026-11-27) */
main:has(.about-hero) .section { padding-block: clamp(2rem, 4.5vw, 3.25rem); }
main:has(.about-hero) .page-hero { padding-bottom: clamp(2rem, 4.5vw, 3.25rem); }
main:has(.about-hero) .band { height: clamp(160px, 22vw, 300px); }
#what-this-work-does .stack-lg { gap: clamp(1.25rem, 3vw, 2rem); }
main:has(.about-hero) .wrap.quote { margin-inline: auto; text-align: center; max-width: 46rem; }

/* About: two interlocking circles with ethereal light (replaces six circles, 2026-11-27) */
.orbs { --d: clamp(300px, 34vw, 400px); display: flex; justify-content: center; align-items: center; margin: 1.5rem auto 0.5rem; }
.orb {
  position: relative; width: var(--d); aspect-ratio: 1; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; padding: calc(var(--d) * 0.15);
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.72) 55%, rgba(255,251,240,0.42) 100%);
  border: 1px solid rgba(226, 190, 120, 0.35);
  box-shadow: 0 0 22px 2px rgba(255, 236, 196, 0.55), 0 0 70px 18px rgba(246, 210, 140, 0.28), 0 0 140px 40px rgba(250, 226, 180, 0.22), inset 0 0 40px rgba(255, 228, 170, 0.22);
  animation: orb-breathe 9s ease-in-out infinite;
}
.orb + .orb { margin-left: calc(var(--d) * -0.2); animation-delay: -4.5s; }
@keyframes orb-breathe {
  0%, 100% { box-shadow: 0 0 22px 2px rgba(255,236,196,0.55), 0 0 70px 18px rgba(246,210,140,0.28), 0 0 140px 40px rgba(250,226,180,0.22), inset 0 0 40px rgba(255,228,170,0.22); }
  50% { box-shadow: 0 0 30px 4px rgba(255,236,196,0.7), 0 0 90px 26px rgba(246,210,140,0.34), 0 0 170px 54px rgba(250,226,180,0.26), inset 0 0 50px rgba(255,228,170,0.3); }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
.orb ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; text-align: center; position: relative; }
.orb li { display: flex; flex-direction: column; align-items: center; }
.orb li::before { content: "✦"; color: rgba(196, 150, 62, 0.75); font-size: 0.6rem; margin-bottom: 0.2rem; }
.orb .t { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.15; letter-spacing: 0.01em; }
.orb .d { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.25; opacity: 0.85; }
@media (max-width: 640px) {
  .orbs { --d: min(86vw, 330px); flex-direction: column; }
  .orb + .orb { margin-left: 0; margin-top: calc(var(--d) * -0.14); }
  .orb ul { gap: 0.6rem; }
}
.orb:first-child { padding-right: calc(var(--d) * 0.24); padding-left: calc(var(--d) * 0.1); }
.orb + .orb { padding-left: calc(var(--d) * 0.24); padding-right: calc(var(--d) * 0.1); }
.orb li::before { font-size: 0.75rem; }
@media (max-width: 640px) {
  .orb:first-child { padding: calc(var(--d) * 0.12) calc(var(--d) * 0.12) calc(var(--d) * 0.2); }
  .orb + .orb { padding: calc(var(--d) * 0.2) calc(var(--d) * 0.12) calc(var(--d) * 0.12); }
}

/* About: one continuous sand background, no white block between sections (2026-11-27) */
main:has(.about-hero) .section-sand + .section-sand { padding-top: 0; }
/* Circles: left-aligned bullet list, centered as a block in each circle's open area */
.orb ul { text-align: left; gap: 0.9rem; }
.orb li { display: grid; grid-template-columns: 1.1rem 1fr; column-gap: 0.35rem; align-items: baseline; }
.orb li::before { grid-row: 1 / span 2; margin: 0; font-size: 0.8rem; line-height: 1.4; }
.orb .t, .orb .d { grid-column: 2; }
.orb:first-child { padding: 0 calc(var(--d) * 0.26) 0 calc(var(--d) * 0.12); }
.orb + .orb { padding: 0 calc(var(--d) * 0.1) 0 calc(var(--d) * 0.28); }
@media (max-width: 640px) {
  .orb:first-child { padding: calc(var(--d) * 0.1) calc(var(--d) * 0.14) calc(var(--d) * 0.22); }
  .orb + .orb { padding: calc(var(--d) * 0.22) calc(var(--d) * 0.14) calc(var(--d) * 0.1); }
}
.orb:first-child { padding: 0 calc(var(--d) * 0.19) 0 calc(var(--d) * 0.09); }
.orb + .orb { padding: 0 calc(var(--d) * 0.08) 0 calc(var(--d) * 0.2); }
.orb ul { width: max-content; max-width: 100%; }
.orb .t { font-size: clamp(1.08rem, 1.45vw, 1.22rem); }
.orb .d { font-size: clamp(0.98rem, 1.2vw, 1.06rem); }
@media (max-width: 640px) {
  .orb:first-child { padding: calc(var(--d) * 0.1) calc(var(--d) * 0.1) calc(var(--d) * 0.22); }
  .orb + .orb { padding: calc(var(--d) * 0.22) calc(var(--d) * 0.1) calc(var(--d) * 0.1); }
}
/* Circles: no star icons (2026-11-27) */
.orb li::before { content: none; display: none; }
.orb li { grid-template-columns: 1fr; }
.orb .t, .orb .d { grid-column: 1; }
/* Circles: delicate fine-line gold ring markers instead of stars */
.orb li { grid-template-columns: 0.95rem 1fr; column-gap: 0.45rem; }
.orb .t, .orb .d { grid-column: 2; }
.orb li::before {
  content: ""; display: block; grid-row: 1; align-self: center; justify-self: center;
  width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(190, 146, 64, 0.8);
  box-shadow: 0 0 6px rgba(240, 200, 120, 0.7);
}

/* About: close remaining gaps (2026-11-27) */
main:has(.about-hero) .page-hero { padding-bottom: clamp(1.25rem, 3vw, 2rem); }
main:has(.about-hero) #what-this-work-does { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); }
main:has(.about-hero) .section-sand + .section-sand { padding-top: 0; }
#what-this-work-does .orbs { margin-top: 0.5rem; margin-bottom: 0; }
main:has(.about-hero) .split { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; text-align: center; gap: 1rem; }
main:has(.about-hero) .split .stack { align-items: center; }
/* Circles bigger, longer phrases (2026-11-27) */
.orbs { --d: clamp(340px, 40vw, 500px); }
.orb .t { font-size: clamp(1.15rem, 1.6vw, 1.38rem); }
.orb .d { font-size: clamp(1rem, 1.3vw, 1.15rem); }
.orb ul { gap: 1.05rem; width: auto; }
@media (max-width: 640px) { .orbs { --d: min(94vw, 380px); } .orb ul { gap: 0.75rem; } }
.orb .d { text-wrap: balance; }

/* Footer: compact layout (2026-11-28) */
#site-footer { padding-block: clamp(1.75rem, 3.5vw, 2.5rem) 1.25rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand contact" "links links"; gap: 1.1rem 2.5rem; align-items: start; }
.footer-inner > div:first-child { grid-area: brand; }
.footer-links { grid-area: links; flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(217, 214, 207, 0.14); }
.footer-links a { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-contact { grid-area: contact; text-align: right; gap: 0.25rem; }
.footer-contact .footer-social:empty { display: none; }
.footer-tag { max-width: 34rem; }
.footer-copy { margin-top: 1rem; padding-top: 0; border-top: 0; font-size: 0.75rem; }
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; grid-template-areas: "brand" "contact" "links"; gap: 0.75rem; }
  .footer-contact { text-align: left; }
  .footer-links { gap: 0.45rem 1.1rem; }
}

/* Footer fonts: option A chosen by Pamela (2026-11-28) */
.footer-tag { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.15rem; color: #c9c4ba; }
.footer-links a { font-family: "Cormorant Garamond", serif; text-transform: none; font-variant: small-caps; font-size: 1.15rem; letter-spacing: 0.12em; }
.footer-contact a { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.1rem; }
/* Footer fonts: Pamela switched to option C (2026-11-28) */
.footer-links a { font-family: "Marcellus", serif; font-variant: normal; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.18em; }
.footer-contact a { font-family: "Marcellus", serif; font-style: normal; font-size: 0.95rem; letter-spacing: 0.04em; }

/* Home: larger featured book section (2026-11-28) */
#home-rocks .wrap.split { grid-template-columns: 1.45fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); }
#home-rocks .photo.wide { aspect-ratio: 4 / 3; border-radius: 6px; box-shadow: 0 24px 50px -28px rgba(42, 46, 47, 0.55); }
#home-rocks h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
#home-rocks .stack > p:not(.eyebrow):not(.secure-note) { font-size: clamp(1.05rem, 1.35vw, 1.18rem); line-height: 1.7; }
@media (max-width: 800px) { #home-rocks .wrap.split { grid-template-columns: 1fr; } }

/* Home hero words: all white with a fine gold line (option D, 2026-11-28) */
.hero-photo h1, .hero-photo h1 em { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 0 18px rgba(0,0,0,.35); }
.hero-photo h1 em { display: inline-block; border-top: 1px solid #d8b46a; padding-top: .15em; margin-top: .1em; }
/* About: tighter space after the circles and between the text sections (2026-11-28) */
main:has(.about-hero) #what-this-work-does { padding-bottom: 1.75rem; }
main:has(.about-hero) .section-sand:has(.quote) { padding-bottom: 1.75rem; }

/* Home hero second line: deep navy slate (option B, 2026-11-28) */
.hero-photo h1 em{color:#2b3a55;text-shadow:0 0 12px rgba(255,255,255,.7)}
