/* =========================================================
   Pebbles Wireman — site styles
   Mobile-first: base styles target phones, media queries add
   tablet (min-width: 720px) and desktop (min-width: 1024px).
   ========================================================= */

@view-transition { navigation: auto; }

:root {
  --navy-950: #070e22;
  --navy-900: #0b1530;
  --navy-800: #13214a;
  --navy-700: #1d2f63;
  --gold-300: #f1dcaa;
  --gold-400: #e2c27d;
  --gold-500: #c9a45c;
  --gold-600: #a8843f;
  --cream: #fcf9f3;
  --paper: #f5eee1;
  --ink: #18203a;
  --ink-soft: #4a5370;
  --line: rgba(24, 32, 58, 0.12);
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(11, 21, 48, 0.08);
  --shadow: 0 18px 40px -18px rgba(11, 21, 48, 0.35);
  --shadow-lg: 0 40px 80px -30px rgba(11, 21, 48, 0.55);
  --gutter: clamp(16px, 5vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 0.5em; color: var(--navy-900); text-wrap: balance; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-400); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* Single-column grids on phones: minmax(0, 1fr) keeps wide content (images, long words) from
   pushing the page wider than the screen. Wider layouts set their own columns further down. */
.hero-grid, .featured-grid, .book-detail, .about-grid, .about-page, .mooky-band-grid, .event-list,
.post-grid, .post-feature, .post-nav, .onesheet-grid, .video-grid, .testimonial-grid, .contact-grid,
.field-row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
.narrow-wide { max-width: 960px; }
.center { text-align: center; }
.center.cta-row, .cta-row.center { justify-content: center; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.9rem;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow-gold { color: var(--gold-400); }
.display { font-size: clamp(2.5rem, 8vw, 4.75rem); letter-spacing: -0.01em; }
.display-md { font-size: clamp(2.1rem, 6vw, 3.4rem); }
.h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
.h3 { font-size: clamp(1.4rem, 3.5vw, 1.75rem); }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.6; }
.lead-dark { font-size: 1.15rem; color: var(--ink-soft); }
.section-sub { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }
.center .section-sub, .section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.motto { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-500); }

.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink-soft); }
.prose-lg { font-size: 1.1rem; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--gold-500); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.2em;
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy-800);
}
.prose blockquote p { color: inherit; }
.prose-light p, .prose-light li { color: rgba(255, 255, 255, 0.82); }
.prose-light strong { color: #fff; }

.pull-quote {
  margin: 1.6em 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.45rem, 3.6vw, 1.9rem);
  line-height: 1.3;
  color: var(--navy-800);
  position: relative;
  padding-left: 1.1em;
}
.pull-quote::before {
  content: "“";
  position: absolute;
  left: -0.05em;
  top: -0.25em;
  font-size: 3em;
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.6;
}
/* Same size and color as the opening mark; line-height 0 keeps it from stretching the last line. */
.pull-quote::after {
  content: "”";
  display: inline-block;
  margin-left: 0.04em;
  font-size: 3em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--gold-500);
  opacity: 0.6;
}

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--navy-900);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--fg);
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(120%); }
.btn-primary { --bg: var(--navy-900); }
.btn-primary:hover { --bg: var(--navy-700); }
.btn-gold { --bg: linear-gradient(135deg, var(--gold-300), var(--gold-500)); --fg: var(--navy-950); box-shadow: 0 8px 24px -10px rgba(226, 194, 125, 0.7); }
.btn-ghost-light { --bg: rgba(255, 255, 255, 0.06); --fg: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, 0.14); }
.btn-sm { min-height: 40px; padding: 0.6em 1.2em; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
}
/* The frosted bar lives on a pseudo-element, not the header itself: a backdrop-filter on the
   header would trap the full-screen mobile menu (position: fixed) inside the 68px-tall bar. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(11, 21, 48, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(226, 194, 125, 0.18);
  transition: opacity 0.4s;
}
.site-header.is-scrolled::before,
body:not(.page-dark-top) .site-header::before { opacity: 1; }
body.nav-open .site-header::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; white-space: nowrap; position: relative; z-index: 2; }
.brand:hover { color: #fff; }
.brand-cred { color: var(--gold-400); font-weight: 600; }

/* Highlighted "Boundless Tour 2027" link: in the header between the name and the menu,
   and at the top of the phone menu. */
.tour-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(rgba(11, 21, 48, 0.55), rgba(11, 21, 48, 0.55)) padding-box,
    linear-gradient(120deg, var(--gold-300), var(--gold-600) 50%, var(--gold-300)) border-box;
  box-shadow: 0 0 20px -4px rgba(226, 194, 125, 0.55);
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, color 0.3s;
}
.tour-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(241, 220, 170, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: pill-shine 5s ease-in-out infinite;
}
.tour-pill:hover, .tour-pill[aria-current="page"] { color: #fff; transform: translateY(-1px); box-shadow: 0 0 28px -2px rgba(226, 194, 125, 0.8); }
.tour-pill-year { color: #fff; font-weight: 700; }
.tour-pill-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); animation: dot-pulse 2.2s ease-out infinite; }
@keyframes pill-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(226, 194, 125, 0.7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(226, 194, 125, 0); } }
.header-inner > .tour-pill { flex: none; margin-left: auto; margin-right: 12px; }

/* Small laptops: room is tight next to the full menu, so shorten to "Tour 2027" and tighten spacing. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-inner > .tour-pill .tour-pill-word { display: none; }
  .brand { font-size: 1.3rem; }
  .site-header .site-nav a:not(.btn) { padding-left: 9px; padding-right: 9px; }
  .site-header .site-nav a:not(.btn)::after { left: 9px; right: 9px; }
}
@media (max-width: 519px) { .header-inner > .tour-pill { display: none; } }
body.nav-open .header-inner > .tour-pill { visibility: hidden; }

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.menu-bar { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { transform: translateY(-4.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: radial-gradient(120% 80% at 50% 0%, var(--navy-700), var(--navy-950));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s 0.25s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
/* Once the opaque menu has faded in, stop drawing the page underneath it (saves a lot of work on phones). */
body.nav-open main, body.nav-open .site-footer { visibility: hidden; transition: visibility 0s 0.25s; }
.site-nav ul { list-style: none; margin: auto; padding: calc(var(--header-h) + 12px) 0 32px; display: grid; gap: 6px; text-align: center; }
.site-nav a:not(.btn) {
  display: block;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.site-nav a[aria-current="page"]:not(.btn) { color: var(--gold-400); }
.site-nav .nav-tour { margin-bottom: 10px; }
.site-nav .nav-tour a.tour-pill { display: inline-flex; min-height: 48px; padding: 0 22px 0 18px; font: 600 0.92rem/1 var(--font-body); letter-spacing: 0.08em; color: var(--gold-300); }
.site-nav .btn { margin-top: 18px; min-height: 52px; padding: 0.8em 2.2em; font-size: 1.05rem; }
.site-nav .nav-social { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.site-nav .nav-social:empty { display: none; }
.site-nav .nav-social .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font: 500 0.95rem var(--font-body);
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.site-nav .nav-social .social-link:hover { color: var(--gold-300); border-color: var(--gold-400); background: rgba(255, 255, 255, 0.06); }
.site-nav.is-open li { animation: nav-in 0.4s var(--ease) both; }
.site-nav.is-open li:nth-child(2) { animation-delay: 0.03s; }
.site-nav.is-open li:nth-child(3) { animation-delay: 0.06s; }
.site-nav.is-open li:nth-child(4) { animation-delay: 0.09s; }
.site-nav.is-open li:nth-child(5) { animation-delay: 0.12s; }
.site-nav.is-open li:nth-child(6) { animation-delay: 0.15s; }
.site-nav.is-open li:nth-child(7) { animation-delay: 0.18s; }
.site-nav.is-open li:nth-child(8) { animation-delay: 0.21s; }
.site-nav.is-open li:nth-child(9) { animation-delay: 0.24s; }
@keyframes nav-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .site-nav { position: static; height: auto; overflow: visible; opacity: 1; visibility: visible; background: none; transition: none; }
  .site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
  .site-nav .nav-tour { display: none; }
  .header-inner > .tour-pill { margin: 0 auto; }
  .site-nav a:not(.btn) {
    position: relative;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
  }
  .site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 1px;
    background: var(--gold-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }
  .site-nav a:not(.btn):hover { color: #fff; }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"]:not(.btn) { color: #fff; }
  .site-nav .btn { margin: 0 0 0 6px; min-height: 40px; padding: 0.6em 1.2em; font-size: 0.85rem; }
  .site-nav .nav-social { gap: 2px; margin: 0 0 0 8px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
  .site-nav .nav-social .social-link { width: 40px; min-height: 40px; padding: 0; justify-content: center; border-color: transparent; color: rgba(255, 255, 255, 0.86); }
  .site-nav .nav-social .social-link::after { display: none; }
  .site-nav .nav-social .social-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav .nav-social .social-link:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
}

/* ---------- Shared dark "sky" backdrop ---------- */
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(226, 194, 125, 0.22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(29, 47, 99, 0.9), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950) 70%);
  overflow: hidden;
}
.hero-sky::before, .hero-sky::after {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-sky::before { background: radial-gradient(circle, rgba(226, 194, 125, 0.55), transparent 60%); top: -30vmax; right: -20vmax; }
.hero-sky::after { background: radial-gradient(circle, rgba(70, 100, 190, 0.6), transparent 60%); bottom: -35vmax; left: -25vmax; animation-duration: 24s; }
@keyframes drift { to { transform: translate3d(-6vmax, 4vmax, 0) scale(1.1); } }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-h) + 28px) 0 72px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 80% 30%, rgba(226, 194, 125, 0.25), transparent 60%),
    linear-gradient(165deg, var(--navy-800) 0%, var(--navy-950) 75%);
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.8; }
.wave { fill: none; stroke: url(#gold-a); stroke-linecap: round; }
/* The two lower lines pass behind the intro text, so they stay faint to keep the text easy to read. */
.wave-1 { stroke-width: 2; opacity: 0.35; animation: wave-sway 14s ease-in-out infinite alternate; }
.wave-2 { stroke-width: 1; opacity: 0.25; animation: wave-sway 18s ease-in-out infinite alternate-reverse; }
.wave-3 { stroke-width: 1.2; opacity: 0.45; animation: wave-sway 22s ease-in-out infinite alternate; }
@keyframes wave-sway { from { transform: translateX(-3%) translateY(0); } to { transform: translateX(3%) translateY(-18px); } }

.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-text { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.9rem, 12vw, 6.2rem);
  font-weight: 700;
  line-height: 0.98;
  margin-bottom: 0.25em;
  color: #fff;
  background: linear-gradient(100deg, #fff 30%, var(--gold-300) 50%, #fff 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s ease-in-out 1.2s infinite;
}
.hero-title span { font-size: 0.5em; -webkit-text-fill-color: var(--gold-400); }
@keyframes shimmer { 0%, 60% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.hero-heading { font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 4.5vw, 2.2rem); line-height: 1.25; color: var(--gold-300); margin-bottom: 0.7em; max-width: 22ch; }
.hero-lead { color: rgba(255, 255, 255, 0.8); font-size: clamp(1rem, 2.4vw, 1.15rem); max-width: 52ch; }
.hero .eyebrow { line-height: 1.6; }

.hero-in { animation: rise 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } }

.hero-portrait { position: relative; justify-self: center; width: min(56vw, 240px); order: -1; }
.hero-portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 999px 999px 28px 28px;
  box-shadow: var(--shadow-lg);
}
/* A thin gold frame with a light that travels around it. */
@property --ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.portrait-ring {
  position: absolute;
  inset: -14px;
  border-radius: 999px 999px 40px 40px;
  padding: 1.5px;
  background: conic-gradient(from var(--ring-angle), rgba(226, 194, 125, 0.35), var(--gold-300) 8%, rgba(226, 194, 125, 0.35) 22%, rgba(226, 194, 125, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ring 8s linear infinite;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 194, 125, 0.4), transparent 70%);
  filter: blur(50px);
}
@keyframes ring { to { --ring-angle: 360deg; } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-400); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 720px) {
  .hero-portrait { width: 360px; }
  .scroll-cue { display: block; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.25fr 0.9fr; gap: 64px; }
  .hero-portrait { order: 0; width: 100%; max-width: 440px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--navy-950); border-block: 1px solid rgba(226, 194, 125, 0.25); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; gap: 28px; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--gold-300); white-space: nowrap; }
.marquee span:nth-child(even) { color: var(--gold-600); font-style: normal; font-size: 1rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-paper { background: var(--paper); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head-row .h2 { margin-bottom: 0; }

.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 9vw, 96px)) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
}
.page-hero h1, .page-hero .display { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); }
.page-hero .narrow.center .lead { margin-left: auto; margin-right: auto; max-width: 52ch; }
.page-hero-full { min-height: 100svh; display: flex; align-items: center; }

/* ---------- Tilt cards (book covers) ---------- */
.tilt {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: block;
  border-radius: 4px 10px 10px 4px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow: var(--shadow), -6px 0 0 -2px rgba(0, 0, 0, 0.12) inset;
  will-change: transform;
}
.tilt img { border-radius: inherit; width: 100%; }
.tilt::before {
  /* the book's spine shading */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 14px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.15) 40%, transparent);
  z-index: 1;
  pointer-events: none;
}
.tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.tilt.is-tilting { transition: transform 0.12s linear; box-shadow: var(--shadow-lg); }
.tilt.is-tilting .tilt-shine { opacity: 1; }
.tilt-lg { box-shadow: var(--shadow-lg); }

/* ---------- Book grid & cards ---------- */
/* Phones: a compact row (small cover beside the text). Wider screens: cover on top in a grid.
   Columns use minmax(0, 1fr) so a large cover image can never stretch the page wider than the screen
   (Safari on iPhone otherwise sizes the column from the image file and zooms the whole page out). */
.book-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; } }
@media (min-width: 1024px) { .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.book-card { display: flex; flex-direction: row; align-items: flex-start; gap: 18px; min-width: 0; height: 100%; }
.book-cover { position: relative; flex: 0 0 112px; aspect-ratio: 3 / 4; margin: 0; background: none; box-shadow: none; }
.book-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 0;
  filter: drop-shadow(0 12px 16px rgba(11, 21, 48, 0.28));
  transition: filter 0.4s var(--ease);
}
.book-cover.tilt { box-shadow: none; }
.book-cover.tilt::before { display: none; }
.book-cover.is-tilting img { filter: drop-shadow(0 24px 30px rgba(11, 21, 48, 0.4)); }
.book-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.book-card h3 { font-size: 1.4rem; margin-bottom: 0.3em; }
@media (min-width: 560px) {
  .book-card { flex-direction: column; gap: 0; }
  .book-cover { flex: none; width: 100%; margin-bottom: 22px; }
  .book-cover img { object-position: 50% 100%; }
  .book-card h3 { font-size: 1.6rem; }
}
.book-card h3 a { color: inherit; text-decoration: none; }
.book-card h3 a:hover { color: var(--gold-600); }
.book-tagline { color: var(--ink-soft); font-size: 0.95rem; }
.book-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.book-card .eyebrow { margin-bottom: 0.5rem; }

.filter-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 32px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 500 0.92rem var(--font-body);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filter-tab:hover { border-color: var(--gold-500); }
.filter-tab[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.filter-item { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.filter-item.is-hidden { display: none; }

/* ---------- Featured book ---------- */
.featured-grid { display: grid; gap: 48px; align-items: center; }
.featured-cover { position: relative; width: min(100%, 380px); justify-self: center; }
.featured-halo { position: absolute; inset: -10%; background: radial-gradient(circle, rgba(226, 194, 125, 0.45), transparent 65%); filter: blur(30px); z-index: -1; animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: 0.7; } }
@media (min-width: 900px) { .featured-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; } }

/* ---------- Book detail ---------- */
.book-detail { display: grid; gap: 40px; align-items: center; }
.book-detail-cover { width: min(80%, 380px); justify-self: center; }
.book-detail h1 { margin-bottom: 0.25em; }
.book-detail .lead { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 3.4vw, 1.7rem); color: var(--gold-300); }
@media (min-width: 900px) { .book-detail { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } .book-detail-cover { width: 100%; } }

/* ---------- About ---------- */
.about-grid, .about-page { display: grid; gap: 40px; align-items: center; }
.about-photo { position: relative; width: min(100%, 440px); justify-self: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-photo::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: -1;
}
@media (min-width: 720px) { .about-photo::before { inset: 18px -18px -18px 18px; } }
.about-teaser { overflow: hidden; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
  .about-page { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
  .about-photo-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Mooky ---------- */
.mooky-band { color: #fff; background: radial-gradient(80% 80% at 100% 0%, rgba(226, 194, 125, 0.18), transparent 60%), var(--navy-900); overflow: hidden; }
.mooky-band h2 { color: #fff; }
.mooky-band p { color: rgba(255, 255, 255, 0.8); }
.mooky-band-grid { display: grid; gap: 40px; align-items: center; }
.mooky-strip img, .mooky-gallery img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.mooky-gallery { margin: 0 0 24px; }
@media (min-width: 900px) { .mooky-band-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 20px; }
.event-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 164, 92, 0.5); }
.event-date {
  display: grid;
  place-items: center;
  align-content: center;
  width: 64px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #fff;
  line-height: 1;
}
.event-month { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); }
.event-day { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-top: 4px; }
.event-body h3 { font-size: 1.5rem; margin-bottom: 0.25em; }
.event-meta { margin: 0 0 0.2em; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.event-desc p { margin: 0.6em 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.event-actions { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 6px; }
.event-img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); order: -1; }
@media (min-width: 720px) {
  .event-card { grid-template-columns: auto minmax(0, 1fr) 200px; align-items: center; padding: 22px 24px; gap: 24px; }
  .event-img { grid-column: auto; order: 0; aspect-ratio: 4 / 3; }
}
.past-events { margin-top: 48px; }
.past-events summary { cursor: pointer; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy-900); min-height: 44px; display: flex; align-items: center; }
.event-list-past { margin-top: 20px; }
.event-list-past .event-card { opacity: 0.7; filter: grayscale(0.5); }
.empty-note { padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }
.event-card.is-past-hidden { display: none; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-card-body { padding: 22px 22px 26px; }
.post-card-body .eyebrow { margin-bottom: 0.6rem; }
.post-card h3 { font-size: 1.55rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p:last-child { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.post-feature { display: grid; gap: 28px; margin-bottom: 56px; align-items: center; }
.post-feature-img { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.post-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-feature:hover .post-feature-img img { transform: scale(1.04); }
.post-feature h2 a { color: inherit; text-decoration: none; }
.post-feature p { color: var(--ink-soft); }
@media (min-width: 900px) { .post-feature { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

.page-hero-post { padding-bottom: clamp(120px, 18vw, 200px); }
.post-layout { max-width: 820px; margin-top: clamp(-160px, -14vw, -90px); position: relative; }
.post-figure { margin: 0 auto 48px; max-width: 560px; }
.post-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.post-body { margin: 0 auto; font-size: 1.12rem; }
.post-body p { color: var(--ink); }
.post-nav { display: grid; gap: 16px; padding-top: 48px; padding-bottom: clamp(64px, 10vw, 120px); }
.post-nav-link { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--navy-900); transition: border-color 0.3s, transform 0.3s var(--ease); }
.post-nav-link span { display: block; font: 600 0.72rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 4px; }
.post-nav-link:hover { border-color: var(--gold-500); transform: translateY(-2px); color: var(--navy-900); }
@media (min-width: 720px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav-next { text-align: right; } }

/* ---------- Speaking CTA ---------- */
.speaking-cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 12vw, 140px) 0; color: #fff; }
.speaking-cta h2 { color: #fff; }
.speaking-cta .lead { color: rgba(255, 255, 255, 0.8); margin-left: auto; margin-right: auto; max-width: 50ch; }

/* ---------- Speaking page ---------- */
.tour-hero { min-height: min(92svh, 820px); display: flex; align-items: center; }
.tour-hero .hero-particles { z-index: -1; }
.tour-year {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(9rem, 38vw, 26rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(226, 194, 125, 0.4);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  animation: rise 1.6s var(--ease) both;
}
.tour-title {
  font-size: clamp(3rem, 13vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 0.35em;
  background: linear-gradient(100deg, var(--gold-300) 20%, #fff 45%, var(--gold-400) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rise 1.1s var(--ease) both, shimmer 7s ease-in-out 1.5s infinite;
  animation-delay: var(--d, 0s), 1.5s;
}
.tour-hero .lead { margin-left: auto; margin-right: auto; max-width: 54ch; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(252, 249, 243, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 52px; padding: 0 14px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.25s, border-color 0.25s; }
.subnav a:hover { color: var(--navy-900); border-color: var(--gold-500); }
.subnav a:last-child { margin-left: auto; color: var(--gold-600); font-weight: 600; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 64px); }

.tour-months { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 560px) { .tour-months { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .tour-months { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1200px) { .tour-months { grid-template-columns: repeat(12, 1fr); } }
.tour-month {
  display: grid;
  gap: 2px;
  padding: 14px 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tour-month-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy-900); }
.tour-month-count { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); opacity: 0.7; }
.tour-month.has-stops { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: transparent; box-shadow: var(--shadow); }
.tour-month.has-stops .tour-month-name { color: #fff; }
.tour-month.has-stops .tour-month-count { color: var(--gold-400); opacity: 1; }
.tour-month:hover { transform: translateY(-3px); }
.empty-note-lg { padding: clamp(28px, 6vw, 48px); background: #fff; }
.empty-note-lg .h3 { color: var(--navy-900); margin-bottom: 0.3em; font-family: var(--font-display); font-weight: 600; }
.empty-note-lg .btn { margin-top: 6px; }
.badge { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: rgba(201, 164, 92, 0.15); color: var(--gold-600); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.onesheet-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .onesheet-grid { grid-template-columns: repeat(2, 1fr); } }
.onesheet-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.onesheet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 164, 92, 0.5); }
.onesheet-thumb { position: relative; display: block; align-self: start; text-decoration: none; transform: rotate(-3deg); transition: transform 0.5s var(--ease); }
.onesheet-card:hover .onesheet-thumb { transform: rotate(0deg) translateY(-4px) scale(1.04); }
.onesheet-thumb > img { width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow); }
.onesheet-tag { position: absolute; right: -6px; bottom: 10px; padding: 2px 7px; border-radius: 4px; background: var(--gold-500); color: var(--navy-950); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; box-shadow: var(--shadow-sm); }

/* A miniature drawing of a one sheet, styled like Pebbles' printed sheets. */
.mini-sheet { display: flex; flex-direction: column; aspect-ratio: 8.5 / 11; border-radius: 4px; overflow: hidden; background: #f8f6f0; box-shadow: var(--shadow); }
.mini-sheet-head { position: relative; flex: 0 0 24%; background: #223245; padding: 7px 6px; }
.mini-sheet-bar { display: block; width: 14px; height: 2px; background: var(--gold-500); margin-bottom: 4px; }
.mini-sheet-name { display: block; width: 54%; font: 700 5px/1.1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.mini-sheet-head img { position: absolute; right: 5px; top: 3px; width: 26%; height: calc(100% - 6px); object-fit: cover; object-position: 50% 20%; border: 1.5px solid var(--gold-500); }
.mini-sheet-body { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 7px 6px; }
.mini-sheet-kicker { width: 45%; height: 2px; background: var(--gold-500); opacity: 0.8; }
.mini-sheet-title { font: 700 7px/1.15 var(--font-display); color: #223245; margin: 2px 0 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-sheet-line { height: 2px; background: rgba(34, 50, 69, 0.18); border-radius: 1px; }
.mini-sheet-line.short { width: 60%; }
.mini-sheet-foot { flex: 0 0 11%; background: #223245; }

.onesheet-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.onesheet-body h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
.onesheet-body .eyebrow { margin-bottom: 0.4rem; }
.onesheet-bestfor { font-size: 0.9rem; color: var(--ink); background: var(--paper); border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 0.9em; }
.onesheet-bestfor strong { color: var(--gold-600); }
.onesheet-desc p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.8em; }
.onesheet-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.btn-note { font-weight: 500; opacity: 0.75; }
@media (max-width: 420px) { .onesheet-card { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 18px; } }

.section-dark { background: radial-gradient(70% 60% at 100% 0%, rgba(226, 194, 125, 0.15), transparent 60%), var(--navy-900); color: rgba(255, 255, 255, 0.8); }
.section-dark h2, .section-dark h3 { color: #fff; }
.video-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video-card { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-lg); }
.video-frame iframe, .video-frame video, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { padding: 0; cursor: pointer; background: var(--navy-950); }
.video-play img { transition: transform 0.8s var(--ease), opacity 0.4s; opacity: 0.85; }
.video-play:hover img { transform: scale(1.04); opacity: 1; }
.video-play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-950); box-shadow: 0 0 0 10px rgba(226, 194, 125, 0.25); transition: transform 0.4s var(--ease); }
.video-play-icon svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover .video-play-icon { transform: scale(1.1); }
.video-card figcaption { padding-top: 16px; }
.video-card h3 { font-size: 1.5rem; margin-bottom: 0.2em; }
.video-desc p { font-size: 0.95rem; }

.testimonial-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { margin: 0; padding: 32px 28px 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; }
.testimonial::before { content: "“"; position: absolute; top: -8px; left: 22px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--gold-500); opacity: 0.5; }
.testimonial blockquote { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.3rem; font-style: italic; line-height: 1.45; color: var(--navy-800); }
.testimonial blockquote p { margin: 0 0 0.6em; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--ink-soft); }
.testimonial figcaption strong { color: var(--ink); }
.testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 0.8fr; gap: 56px; align-items: start; } }
.contact-form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field em { font-weight: 400; color: var(--ink-soft); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: 1rem var(--font-body); /* 16px stops iOS from zooming in on focus */
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(226, 194, 125, 0.25); }
.contact-form .btn { justify-self: start; }
.form-error { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: #fdecea; color: #8a1f17; font-size: 0.95rem; }
.form-error a { color: inherit; word-break: break-word; }
.contact-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); background: var(--paper); }
.contact-card a { word-break: break-word; }
.contact-card .h3 { margin-top: 0.4em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, 0.75); padding: 72px 0 28px; }
.footer-glow { position: absolute; left: 50%; top: -200px; width: 700px; height: 400px; margin-left: -350px; background: radial-gradient(closest-side, rgba(226, 194, 125, 0.18), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr auto auto; gap: 64px; } }
.footer-brand { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; margin-bottom: 0.3em; }
.footer-mission { max-width: 42ch; font-size: 0.95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 32px; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-400); }
.footer-contact { display: grid; align-content: start; gap: 4px; word-break: break-word; }
.footer-social { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-base { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.footer-base p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  @view-transition { navigation: none; }
}
