/* Saint Bartholomew — homepage styles */

:root {
  --ink: #111111;
  --gold: #A78A64;
  --gold-text: #806A4D;
  --ivory: #F7F3EC;
  --footer: #F3F0E8;
  --stone: #826E56;
  --rule: #DDD8D0;
  --sans: 'EB Garamond', Georgia, serif;
  --display: 'trajan-pro-3', 'Trajan Pro', 'Cinzel', Georgia, serif;
  --serif: 'EB Garamond', Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { opacity: .75; }
img { display: block; }

/* Header */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px 14px;
  border-bottom: 1px solid var(--rule);
  background: #FFFFFF;
}
.menu-button {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  padding: 12px 8px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink);
  cursor: pointer;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; }
.brand-statue { height: 38px; width: auto; }
.brand-wordmark { width: 156px; max-width: 60vw; height: auto; }

/* Shared panel pieces */
.split { display: flex; flex-wrap: wrap; }

.panel {
  flex: 1 1 520px;
  min-width: 0;
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 56px 32px 80px;
  text-decoration: none;
  text-align: center;
}
.panel:hover { opacity: 1; }

.panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel-copy { position: relative; display: flex; flex-direction: column; align-items: center; }

.eyebrow { font-size: 18px; font-weight: 300; margin-bottom: 22px; }
.headline {
  margin: 0 0 64px;
  font-family: var(--display);
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  max-width: 640px;
}
.cta {
  font-size: 13px;
  letter-spacing: 0.24em;
  padding: 0 0 6px 0.24em;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

/* Clinic panel */
.panel-clinic { background: var(--stone); color: #FFFFFF; }
.panel-clinic .panel-bg { object-position: 50% 0%; }
.panel-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,14,10,0.10) 0%, rgba(18,14,10,0.20) 35%, rgba(18,14,10,0.78) 100%);
}

/* AI panel — "step into the painting" */
.panel-ai { background: var(--ivory); color: var(--ink); }
.panel-ai .eyebrow { font-weight: 400; }
.panel-art { position: absolute; inset: 0; overflow: hidden; }
.ai-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;
  transform-origin: 15% 69%;
  transition: transform 6s cubic-bezier(.2,.6,.2,1);
}
.ai-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(247,243,236,0.45) 0%, rgba(247,243,236,0.60) 38%, rgba(247,243,236,0.93) 58%, rgba(247,243,236,0.97) 100%);
}
.ai-veil { position: absolute; inset: 0; background: var(--ivory); opacity: 0; pointer-events: none; transition: opacity .45s ease 1.1s; }
.ai-copy { transition: opacity .5s ease; }

.panel-ai:hover .ai-bg { transform: scale(1.06); }
.panel-ai.entering .ai-bg { transform: scale(7); transition: transform 1.5s cubic-bezier(.7,0,.2,1); }
.panel-ai.entering .ai-copy { opacity: 0; }
.panel-ai.entering .ai-veil { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .ai-bg, .panel-ai:hover .ai-bg, .panel-ai.entering .ai-bg { transition: none; transform: none; }
}

/* The Cricket Doctor */
.cricket {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 96px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #1A1A1A;
  color: #FFFFFF;
}
.cricket .panel-bg { object-position: 50% 30%; }
.cricket-shade { position: absolute; inset: 0; background: rgba(0,0,0,0.58); }
.cricket .headline { margin-bottom: 48px; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.14; max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 56px; }
.cta-row .cta { padding-top: 12px; }

/* Footer */
.site-footer { background: var(--footer); color: var(--ink); font-family: var(--serif); padding: 88px 48px 40px; }
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 56px 80px;
  align-items: flex-start;
  padding-bottom: 96px;
}
.footer-brand { flex: 1 1 280px; padding-top: 4px; }
.footer-brand img { width: 230px; max-width: 100%; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.footer-col { width: 170px; }
.footer-col h3 { margin: 0 0 18px; font-size: 19px; font-weight: 700; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.footer-col a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid #D9D3C7;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 15px;
  color: #57514A;
}

/* ===== Inner pages (modelled on brunellocucinelli.com) ===== */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Full-screen hero with the header laid over it */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  background: #2B2620;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,11,8,0.62) 0%, rgba(14,11,8,0.30) 26%, rgba(14,11,8,0.34) 60%, rgba(14,11,8,0.62) 100%);
}

.overlay-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 24px 0;
}
.utility { position: absolute; top: 14px; display: flex; gap: 4px; }
.utility-left { left: 20px; }
.utility a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #FFFFFF; }
.brand-white .brand-statue { height: 44px; }
.brand-white .brand-wordmark { width: 176px; }

.section-nav {
  display: flex;
  justify-content: center;
  gap: 8px 36px;
  margin-top: 30px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  flex: none;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: #FFFFFF;
}

.hero-copy {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 120px;
}
.hero-title { margin: 0 0 18px; font-family: var(--sans); font-weight: 300; font-size: clamp(36px, 3.4vw, 52px); letter-spacing: 0.01em; line-height: 1.1; }
.hero-sub { margin: 0 0 44px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 300; }
.hero .cta-row { gap: 20px 64px; }
.hero .cta, .visit .cta { font-size: 14px; letter-spacing: 0.22em; padding: 10px 6px 8px calc(6px + 0.22em); }

.ai-pill {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 8px;
  background: rgba(14,11,8,0.55);
  color: #FFFFFF;
  font-size: 16px;
  text-decoration: none;
  backdrop-filter: blur(6px);
}

/* Shared section heads */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow, .statement .eyebrow, .founder-copy .eyebrow, .visit .eyebrow { display: block; }
.section-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.2vw, 50px); line-height: 1.14; }

/* The House statement */
.statement { background: var(--ivory); text-align: center; padding: 128px 24px; scroll-margin-top: 0; }
.statement-title { margin: 0 auto 32px; max-width: 860px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3vw, 48px); line-height: 1.18; }
.statement-body { margin: 0 auto; max-width: 620px; font-size: 18px; font-weight: 300; line-height: 1.7; color: #3B3631; }

/* The Method */
.method { background: #FFFFFF; padding: 120px 48px; }
.systems {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 40px;
}
.systems li { border-top: 1px solid var(--rule); padding-top: 28px; }
.numeral { display: block; font-family: var(--display); font-size: 28px; margin-bottom: 18px; color: var(--stone); }
.systems h3, .steps h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.2; }
.systems p, .steps p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.7; color: #3B3631; }
.method-score { margin: 72px auto 0; max-width: 640px; text-align: center; font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.4; }

/* The Path */
.path { background: var(--ivory); padding: 120px 48px; }
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 56px;
}
.step-num { display: block; font-size: 13px; letter-spacing: 0.24em; margin-bottom: 18px; color: #6B5B49; }

/* The Founder */
.founder { display: flex; flex-wrap: wrap; background: #FFFFFF; }
.founder-image { flex: 1 1 480px; min-width: 0; }
.founder-image img { width: 100%; height: 100%; max-height: 900px; object-fit: cover; object-position: 50% 20%; }
.founder-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 96px clamp(32px, 7vw, 120px);
}
.founder-copy .section-title { margin-bottom: 28px; }
.founder-copy p { margin: 0 0 18px; max-width: 520px; font-size: 18px; font-weight: 300; line-height: 1.7; color: #3B3631; }
.founder-copy .cta { margin-top: 22px; padding: 8px 0 6px 0.24em; }

/* Care note */
.care-note { background: var(--footer); padding: 56px 24px; text-align: center; border-top: 1px solid var(--rule); }
.care-note p { margin: 0 auto; max-width: 640px; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: #3B3631; }

/* Visit */
.visit { background: #1C1A17; color: #FFFFFF; text-align: center; padding: 128px 24px; }
.visit .section-title { margin-bottom: 52px; }
.visit .cta-row { gap: 20px 64px; }

@media (max-width: 1000px) {
  .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .steps, .systems { grid-template-columns: minmax(0, 1fr); }
  .method, .path { padding: 88px 24px; }
  .statement, .visit { padding: 96px 24px; }
  .section-nav { justify-content: flex-start; gap: 8px 28px; margin-top: 22px; padding: 0 4px; }
  .utility { position: static; order: -1; justify-content: center; gap: 0; margin: -10px 0 4px; }
  .utility a { width: 42px; height: 42px; }
  .ai-pill { left: 16px; bottom: 16px; font-size: 15px; }
  .hero-copy { padding-bottom: 104px; }
}

/* Holding page for routes that aren't built yet (404.html) */
.holding {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 32px;
  background: var(--ivory);
}
.holding .headline { margin-bottom: 48px; }

@media (max-width: 640px) {
  .panel, .cricket { min-height: 620px; }
  .site-footer { padding: 64px 24px 32px; }
}

/* ===== Brand typography and colour (StB Brand Guidelines) =====
   Trajan for headings, labels and the wordmark; EB Garamond for body text,
   captions and quotes. Ink Black #111111 with Sacred Gold #A78A64 for emphasis.
   Trajan Pro 3 is an Adobe font: it takes over automatically once an Adobe
   Fonts kit is linked in each page's <head>. Until then Cinzel stands in. */
body { font-size: 18px; }
.eyebrow { font-size: 20px; font-weight: 400; }
.hero-sub { font-weight: 400; font-size: clamp(19px, 1.5vw, 23px); }
.headline, .section-title, .hero-title { font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; line-height: 1.22; }
.headline { font-size: clamp(28px, 2.7vw, 42px); }
.cricket .headline { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.22; }
.hero-title { font-size: clamp(28px, 3vw, 46px); }
.section-title { font-size: clamp(26px, 2.4vw, 38px); }
.cta, .section-nav a, .menu-button { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.2em; }
.hero .cta, .visit .cta { font-size: 14px; letter-spacing: 0.2em; }
.statement-title { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 44px); line-height: 1.25; }
.statement-body, .founder-copy p { font-weight: 400; font-size: 20px; color: #3A3632; }
.systems p, .steps p { font-weight: 400; font-size: 18px; color: #3A3632; }
.systems h3, .steps h3 { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: 0.06em; line-height: 1.35; }
.numeral { color: var(--gold); font-size: 30px; }
.step-num { font-family: var(--display); color: var(--gold-text); font-size: 14px; letter-spacing: 0.2em; }
.method-score { font-family: var(--serif); }
.method-score em { font-style: normal; color: var(--gold-text); }
.ai-pill { font-size: 17px; }
.visit { background: var(--ink); }
.footer-col h3 { font-family: var(--display); font-size: 15px; font-weight: 400; letter-spacing: 0.16em; }
.hero-copy { text-shadow: 0 1px 18px rgba(0,0,0,0.55), 0 0 2px rgba(0,0,0,0.35); }

/* Schedule a Call (/book): two panels, modelled on brunellocucinelli.com */
.booking-panels {
  max-width: 1640px;
  margin: 0 auto;
  padding: 48px 48px 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.booking-panel { flex: 1 1 520px; min-width: 0; margin: 0; }
.booking-panel figcaption { margin-top: 14px; font-size: 20px; }
.booking-card { position: relative; overflow: hidden; height: clamp(700px, calc(100vh - 150px), 840px); }
.booking-card-text { display: flex; align-items: flex-end; justify-content: center; color: #FFFFFF; text-align: center; background: var(--ink); }
.booking-card-text .panel-bg { object-position: 50% 30%; }
.booking-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.35) 40%, rgba(17,17,17,0.85) 100%); }
.booking-copy { position: relative; padding: 48px clamp(28px, 5vw, 72px) 56px; max-width: 620px; }
.booking-copy .eyebrow { display: block; }
.booking-copy .section-title { margin-bottom: 24px; }
.booking-copy p { margin: 0; font-size: 20px; line-height: 1.6; }
.booking-copy p + p { margin-top: 16px; }
.booking-card-calendar { background: var(--ivory); display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.calendar-head { text-align: center; margin-bottom: clamp(20px, 2.4vw, 32px); }
.calendar-kicker { display: block; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.calendar-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; color: var(--ink); }
.calendar-rule { display: block; width: 48px; height: 1px; background: var(--gold); margin: 20px auto 16px; }
.calendar-note { margin: 0; font-size: 18px; font-style: italic; color: var(--stone); }
.calendar-sheet { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #FFFFFF; border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 12px 32px -18px rgba(17,17,17,0.18); }
.booking-frame { display: block; width: 100%; min-width: 280px; min-height: 100%; border: 0; }
.booking-fallback { text-align: center; padding-top: 120px; }
@media (max-width: 760px) {
  .booking-panels { padding: 40px 12px 16px; }
  .booking-card-text { height: 640px; }
  .booking-card-text .panel-bg { object-position: 50% 0%; }
  .booking-card-calendar { height: auto; padding: 32px 0 0; }
  .calendar-sheet { height: 820px; flex: none; border-left: 0; border-right: 0; }
}

/* Compact header that slides in once the page is scrolled */
.scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-bottom: 1px solid var(--rule);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
.scroll-header.is-visible { transform: none; visibility: visible; transition: transform .35s ease; }
.sh-side { position: absolute; top: 10px; display: flex; }
.sh-left { left: 16px; }
.sh-right { right: 16px; }
.sh-side a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.sh-nav { display: flex; gap: 0 36px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 0 16px; }
.sh-nav::-webkit-scrollbar { display: none; }
.sh-nav a { flex: none; padding: 14px 0; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-decoration: none; color: var(--ink); }
[id] { scroll-margin-top: 64px; }
@media (max-width: 1360px) { .sh-side { display: none; } }
@media (max-width: 900px) { .scroll-header { justify-content: flex-start; } .sh-nav { gap: 0 28px; } }
@media (prefers-reduced-motion: reduce) { .scroll-header, .scroll-header.is-visible { transition: none; } }

/* Intake (/intake): same two-panel layout as /book */
.intake-card-text .panel-bg { object-position: 50% 30%; }
.intake-card-form { background: #000000; display: flex; align-items: center; justify-content: center; }
.intake-card-form > [data-tf-live] { width: 100%; }
@media (max-width: 760px) {
  .intake-card-form { height: 640px; }
  .intake-card-text .panel-bg { object-position: 64% 30%; }
}

/* Clinic page: "The House" as two panels (video + text) */
.house-panels { padding-top: 96px; padding-bottom: 72px; }
.house-video { background: var(--ink); }
.house-video .panel-bg { object-position: 50% 72%; }
.house-text { background: var(--ivory); display: flex; align-items: center; justify-content: center; text-align: center; }
.house-copy { max-width: 560px; padding: 48px clamp(28px, 5vw, 64px); }
.house-copy .eyebrow { display: block; }
.house-copy .statement-title { margin-bottom: 28px; font-size: clamp(28px, 2.4vw, 40px); }
@media (max-width: 760px) {
  .house-panels { padding-top: 48px; padding-bottom: 32px; }
  .house-video { height: 600px; }
  .house-text { height: auto; }
  .house-copy { padding: 64px 24px; }
}
/* Smaller House panels so the video stays sharp */
.house-panels { max-width: 1160px; }
.house-panels .booking-card { height: clamp(560px, calc(100vh - 220px), 700px); }
@media (max-width: 760px) {
  .house-panels .house-video { height: 560px; }
  .house-panels .house-text { height: auto; }
}

/* The Work: four tall panels with captions (clinic page) */
.work { padding: 104px 10px 112px; background: #FFFFFF; }
.work-title { margin: 0 0 22px; text-align: center; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 1.8vw, 28px); letter-spacing: 0.2em; padding-left: 0.2em; }
.work-panels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.work-panel img { width: 100%; height: auto; aspect-ratio: 7 / 10; object-fit: cover; }
.work-panel h3 { margin: 16px 0 8px; font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: 0.05em; line-height: 1.35; }
.work-panel .numeral { display: inline; margin: 0 6px 0 0; font-size: 18px; color: var(--gold-text); }
.work-panel p { margin: 0; padding-right: 12px; font-size: 17px; line-height: 1.6; color: #3A3632; }
.work .method-score { margin-top: 72px; padding: 0 24px; }
@media (max-width: 1000px) { .work-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 600px) {
  .work { padding: 72px 0 80px; }
  .work-panels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 0 10px; scrollbar-width: none; }
  .work-panels::-webkit-scrollbar { display: none; }
  .work-panel { flex: 0 0 82%; scroll-snap-align: start; }
}
@media (max-width: 600px) { .work .work-panels { padding: 0 10px; scroll-padding-left: 10px; } .work-panel p { padding-right: 4px; } }

.work-sub { max-width: 560px; margin: 0 auto 48px; padding: 0 24px; text-align: center; font-size: 18px; line-height: 1.6; color: #3A3632; }
.work-sub p { margin: 0; }
.work-sub em { font-style: normal; color: var(--gold-text); }

/* How You Begin: three panels (clinic page) */
.path-panels-section { background: var(--ivory); }
.path-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1500px; margin: 0 auto; }
.path-link { display: block; text-decoration: none; color: inherit; }
.path-link:hover { opacity: 1; }
.path-link:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 1000px) { .path-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* How You Begin fits within one screen on desktop */
@media (min-width: 1001px) {
  .path-panels-section { min-height: calc(100vh - 64px); padding: 48px 10px 40px; display: flex; flex-direction: column; justify-content: center; }
  .path-panels-section .work-title { margin-bottom: 28px; }
  .path-panels { width: 100%; max-width: min(1500px, calc((100vh - 390px) * 2.1 + 20px)); }
  .path-panels .work-panel h3 { margin-top: 12px; }
  .path-panels .work-panel p { font-size: 16px; line-height: 1.5; }
}
/* The Work fits within one screen on desktop */
@media (min-width: 1001px) {
  .work-section { min-height: calc(100vh - 64px); padding: 44px 10px 36px; display: flex; flex-direction: column; justify-content: center; }
  .work-section .work-title { margin-bottom: 16px; }
  .work-section .work-sub { margin-bottom: 28px; font-size: 17px; }
  .work-section .work-panels { width: 100%; max-width: min(1500px, calc((100vh - 500px) * 2.8 + 30px)); margin: 0 auto; }
  .work-section .work-panel h3 { margin-top: 12px; font-size: 16px; }
  .work-section .work-panel .numeral { font-size: 16px; }
  .work-section .work-panel p { font-size: 15px; line-height: 1.5; }
}
.path-cta { text-align: center; margin-top: 36px; }
.path-cta .cta { display: inline-block; font-size: 14px; padding: 10px 6px 8px calc(6px + 0.2em); }
@media (min-width: 1001px) {
  .path-panels { max-width: min(1500px, calc((100vh - 460px) * 2.1 + 20px)); }
  .path-cta { margin-top: 28px; }
}

/* ===== Site menu drawer ===== */
.menu-button { display: inline-flex; align-items: center; gap: 10px; }
.menu-icon { display: none; }
.menu-icon svg, .header-book svg { display: block; }
.header-book, .sh-toggle, .sh-brand, .sh-book, .overlay-toggle, .overlay-book { display: none; }
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,0.45); opacity: 0; transition: opacity .3s ease; }
.drawer-panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(440px, 100%);
  background: #FFFFFF;
  display: flex; flex-direction: column;
  padding: 18px 28px 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .35s ease;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.drawer-close { width: 44px; height: 44px; margin-left: -12px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.drawer-brand img { width: 170px; height: auto; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.drawer-cta { align-self: flex-start; margin-top: 36px; font-size: 14px; padding: 10px 6px 8px calc(6px + 0.2em); color: var(--ink); }
.drawer-social { display: flex; gap: 4px; margin-top: auto; padding-top: 40px; margin-left: -12px; }
.drawer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .drawer-backdrop, .drawer-panel { transition: none; } }

/* ===== Phones: Cucinelli-style header (menu icon left, logo centre, icon right) ===== */
@media (max-width: 760px) {
  /* white header on home, booking and intake */
  .site-header { padding: 10px 12px 12px; }
  .menu-button { left: 8px; padding: 0; width: 44px; height: 44px; justify-content: center; }
  .menu-label { display: none; }
  .menu-icon { display: block; }
  .header-book { display: inline-flex; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }

  /* clinic hero: icons over the photo; socials and section links move to the menu */
  .overlay-header .utility, .overlay-header .section-nav { display: none; }
  .overlay-header { padding-top: 14px; }
  .overlay-toggle, .overlay-book { display: inline-flex; position: absolute; top: 14px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #FFFFFF; cursor: pointer; }
  .overlay-toggle { left: 8px; }
  .overlay-book { right: 8px; }
  .hero-copy { padding-top: 24px; }

  /* scroll bar: menu icon, wordmark, calendar */
  .scroll-header { height: 56px; justify-content: center; }
  .sh-nav { display: none; }
  .sh-toggle, .sh-book { display: inline-flex; position: absolute; top: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
  .sh-toggle { left: 8px; }
  .sh-book { right: 8px; }
  .sh-brand { display: block; }
  .sh-brand img { width: 150px; height: auto; }
  [id] { scroll-margin-top: 56px; }

  /* homepage Cricket Doctor band */
  .cricket { padding: 80px 24px; }
  .cricket .eyebrow { font-size: 17px; }

  /* footer: two columns instead of one long list */
  .site-footer { padding: 56px 24px 32px; }
  .footer-top { gap: 40px; padding-bottom: 48px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; width: 100%; }
  .footer-col { width: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  /* founder section */
  .founder-image img { height: auto; max-height: 560px; aspect-ratio: 4 / 5; }
  .founder-copy { padding: 56px 24px 72px; }
}
/* Phones: clinic hero text sits low over a darker lower half */
@media (max-width: 760px) {
  .hero-copy { justify-content: flex-end; padding: 24px 20px 112px; }
  .hero-shade { background: linear-gradient(to bottom, rgba(14,11,8,0.55) 0%, rgba(14,11,8,0.15) 22%, rgba(14,11,8,0.15) 40%, rgba(14,11,8,0.72) 68%, rgba(14,11,8,0.88) 100%); }
}

/* ===== Daily Letter pop-up ===== */
button.cta { background: none; border: 0; border-bottom: 1px solid currentColor; color: inherit; cursor: pointer; font-family: var(--display); font-weight: 500; }
.hero button.cta { text-shadow: inherit; }
.letter-dialog { padding: 0; border: 0; background: transparent; max-width: min(560px, calc(100vw - 32px)); width: 100%; color: #FFFFFF; overflow: visible; }
.letter-dialog::backdrop { background: rgba(17,17,17,0.6); }
.letter-dialog[open] { animation: letter-in .3s ease; }
@keyframes letter-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.letter-card { position: relative; overflow: hidden; min-height: min(760px, calc(100vh - 32px)); display: flex; align-items: flex-end; background: var(--ink); }
.letter-bg { position: absolute; top: 0; left: 0; width: 100%; height: 62%; object-fit: cover; object-position: 50% 20%; }
.letter-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.2) 34%, rgba(17,17,17,0.85) 56%, #111111 64%); }
.letter-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: #FFFFFF; cursor: pointer; }
.letter-copy { position: relative; padding: 48px clamp(24px, 6vw, 48px) 44px; text-align: center; }
.letter-copy .section-title { margin-bottom: 20px; font-size: clamp(24px, 3vw, 32px); }
.letter-copy > p { margin: 0 0 32px; font-size: 18px; line-height: 1.6; }
.letter-form label { display: block; margin-bottom: 14px; font-size: 17px; }
.letter-row { display: flex; border-bottom: 1px solid rgba(255,255,255,0.85); }
.letter-row input { flex: 1; min-width: 0; padding: 12px 4px; background: transparent; border: 0; color: #FFFFFF; font-family: var(--serif); font-size: 18px; }
.letter-row input::placeholder { color: rgba(255,255,255,0.6); }
.letter-row input:focus { outline: none; }
.letter-row:focus-within { border-bottom-color: #FFFFFF; box-shadow: 0 1px 0 #FFFFFF; }
.letter-submit { flex: none; padding: 12px 4px 12px 16px; min-height: 44px; background: none; border: 0; color: #FFFFFF; cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.2em; }
.letter-status { min-height: 1.5em; margin: 14px 0 0; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .letter-dialog[open] { animation: none; } }
@media (max-width: 600px) {
  .letter-bg { height: auto; aspect-ratio: 900 / 889; object-position: 50% 0%; }
  .letter-shade { background: linear-gradient(to bottom, rgba(17,17,17,0.1) 0%, rgba(17,17,17,0.2) 26%, rgba(17,17,17,0.9) 42%, #111111 48%); }
  .letter-copy > p { font-size: 17px; }
}
.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; }

.letter-form.is-done .letter-row { display: none; }
.letter-form.is-done .letter-status { margin-top: 0; font-size: 18px; line-height: 1.6; }
.letter-form.is-done .letter-status strong { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0.06em; }

/* ===== Sean Light (/sean) ===== */
.sean-portrait .panel-bg { object-position: 55% 20%; }
.sean-intro-text { background: var(--ivory); display: flex; align-items: center; justify-content: center; text-align: center; }
.sean-intro-text .section-title { margin-bottom: 24px; }
.sean-story { padding-top: 112px; padding-bottom: 112px; }
.sean-prose { max-width: 680px; margin: 0 auto; text-align: left; }
.sean-prose p { margin: 0 0 22px; font-size: 20px; line-height: 1.7; color: #3A3632; }
.sean-idea { background: var(--ink); color: #FFFFFF; padding: 120px 24px; }
.sean-idea-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.sean-idea .eyebrow { display: block; color: #D9C9B0; }
.sean-idea .section-title { margin-bottom: 32px; }
.sean-idea p { margin: 0 0 22px; font-size: 20px; line-height: 1.7; color: #E9E4DC; text-align: left; }
.sean-career { background: #FFFFFF; }
.sean-career .work-panel img { object-position: 50% 20%; }
.sean-credentials { background: var(--ivory); padding: 112px 48px; }
.cred-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 56px; }
.cred-grid h3 { margin: 0 0 18px; padding-top: 20px; border-top: 1px solid var(--rule); font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: 0.08em; }
.cred-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.5; color: #3A3632; }
.sean-close { background: #FFFFFF; text-align: center; padding: 120px 24px; }
.sean-quote { margin: 0 auto 48px; max-width: 760px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.4; }
.sean-close .cta-row { gap: 20px 64px; }
.sean-close .cta { display: inline-block; font-size: 14px; padding: 10px 6px 8px calc(6px + 0.2em); }
@media (max-width: 900px) { .cred-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .sean-intro .sean-portrait { height: 520px; }
  .sean-intro .sean-intro-text { height: auto; }
  .sean-story, .sean-idea, .sean-close { padding: 80px 24px; }
  .sean-credentials { padding: 80px 24px; }
  .sean-prose p, .sean-idea p { font-size: 18px; }
}

/* Sean page: the book */
.sean-book { background: #FFFFFF; padding: 112px 48px; border-top: 1px solid var(--rule); }
.sean-book-inner { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 88px; }
.sean-book-cover { flex: 0 1 340px; display: block; }
.sean-book-cover:hover { opacity: 1; }
.sean-book-cover img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(17,17,17,0.18)); transition: transform .4s ease; }
.sean-book-cover:hover img { transform: translateY(-4px); }
.sean-book-copy { flex: 1 1 360px; max-width: 480px; }
.sean-book-copy .eyebrow { display: block; }
.sean-book-copy .section-title { margin-bottom: 24px; }
.sean-book-copy p { margin: 0 0 36px; font-size: 20px; line-height: 1.7; color: #3A3632; }
.sean-book-copy .cta { display: inline-block; font-size: 14px; padding: 10px 6px 8px calc(6px + 0.2em); }
@media (max-width: 760px) {
  .sean-book { padding: 80px 24px; }
  .sean-book-inner { text-align: center; }
  .sean-book-cover { flex-basis: 240px; }
}
@media (prefers-reduced-motion: reduce) { .sean-book-cover img { transition: none; } }
.sean-download { display: inline-block; margin-top: 36px; font-size: 13px; padding: 10px 6px 8px calc(6px + 0.2em); }

/* Event page (/event): the two days and registration */
.event-hero .hero-bg { object-position: 80% 12%; }
.event-days { background: #FFFFFF; padding: 112px 48px; border-top: 1px solid var(--rule); }
.event-days-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 88px; }
.event-day { min-width: 0; }
.event-day .eyebrow { display: block; color: var(--gold-text); }
.event-day .section-title { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.event-sessions { list-style: none; margin: 0; padding: 0; }
.event-sessions li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.6; color: #3A3632; }
.event-sessions strong { font-weight: 500; color: var(--ink); }
.event-kind { padding-top: 4px; font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.event-register .house-copy { width: 100%; }
.event-facts { margin: 0 auto 28px; max-width: 420px; text-align: left; }
.event-facts div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.event-facts dt { font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); padding-top: 4px; }
.event-facts dd { margin: 0; font-size: 18px; line-height: 1.5; }
.event-register .calendar-note { margin-bottom: 36px; }
.event-register-cta { display: inline-block; font-size: 14px; padding: 10px 6px 8px calc(6px + 0.2em); }
@media (max-width: 900px) { .event-days-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .event-days { padding: 80px 24px; }
  .event-sessions li { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; font-size: 17px; }
}

/* Saint Bartholomew AI: coming soon (/ai) */
.ai-soon { position: relative; overflow: hidden; min-height: calc(100vh - 110px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 96px 24px; background: var(--ivory); }
.ai-soon-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 15% 50%; }
.ai-soon-tint { position: absolute; inset: 0; background: rgba(247,243,236,0.86); }
.ai-soon-copy { position: relative; max-width: 620px; }
.ai-soon-copy .eyebrow { display: block; }
.ai-soon-copy .headline { margin-bottom: 14px; }
.ai-soon-status { margin: 0 0 28px; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); }
.ai-soon-copy > p:not(.ai-soon-status) { margin: 0 0 44px; font-size: 20px; line-height: 1.6; color: #3A3632; }
.ai-soon .cta-row { gap: 20px 56px; }
.ai-soon .cta { display: inline-block; font-size: 14px; padding: 10px 6px 8px calc(6px + 0.2em); }
@media (max-width: 760px) { .ai-soon { padding: 72px 20px; } .ai-soon-copy > p:not(.ai-soon-status) { font-size: 18px; } }
.event-problem .eyebrow { display: block; }
.event-quote { margin: 48px auto; max-width: 720px; padding: 32px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.event-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.45; color: var(--ink); }
.event-standard { background: var(--ivory); padding: 112px 24px; text-align: center; }
.event-scores { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 112px; margin: 40px auto 48px; }
.event-scores > div { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 220px; }
.event-score { font-family: var(--display); font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.event-score-pass { color: var(--gold-text); }
.event-score-label { font-size: 17px; line-height: 1.4; color: #3A3632; }
.event-elements { background: #FFFFFF; }
.event-elements .work-title { margin-bottom: 56px; }
.event-elements .numeral { color: var(--gold); }
@media (max-width: 760px) { .event-standard { padding: 80px 24px; } .event-elements { padding: 80px 24px; } }

/* Event page: a letter from Sean */
.event-letter { background: var(--ivory); padding: 112px 24px; }
.letter-paper { max-width: 760px; margin: 0 auto; background: #FFFFFF; border: 1px solid var(--rule); padding: clamp(36px, 6vw, 80px) clamp(24px, 6vw, 88px); box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 24px 48px -32px rgba(17,17,17,0.22); }
.letter-head { display: flex; align-items: center; gap: 28px; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--rule); }
.letter-portrait { flex: none; width: 112px; height: 140px; object-fit: cover; object-position: 50% 20%; }
.letter-kicker { display: block; margin-bottom: 10px; font-family: var(--display); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.letter-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: 0.04em; line-height: 1.22; }
.letter-body p { margin: 0 0 22px; font-family: var(--serif); font-size: 20px; line-height: 1.75; color: #2A2723; }
.letter-body .letter-valediction { margin: 36px 0 4px; }
.letter-sign { font-size: 18px !important; line-height: 1.6 !important; }
.event-coming-soon { cursor: default; }
.event-coming-soon:hover { opacity: 1; }
@media (max-width: 600px) {
  .event-letter { padding: 72px 16px; }
  .letter-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .letter-body p { font-size: 18px; }
}
.letter-signature { display: block; width: 240px; max-width: 70%; height: auto; margin: 4px 0 6px -6px; }
.event-founder { background: var(--ivory); }
.event-onepager { margin: 28px 0 0; font-size: 17px; }
.event-onepager a { color: var(--gold-text); text-underline-offset: 4px; }

/* ===== PRI welcome page (/pri) ===== */
.pri-hero .hero-bg { object-position: 40% 30%; }
.pri-kicker { margin: 0 0 18px; font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: #E9DCC6; }
.pri-offer { margin: 36px 0 0; font-size: 19px; font-style: italic; }
.pri-pos-table { object-position: 40% 50% !important; }

/* Conor Harris */
.pri-conor { background: var(--ink); color: #FFFFFF; padding: 104px 24px; }
.pri-quote { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 48px 72px; }
.pri-quote-portrait { flex: none; width: 260px; height: 325px; object-fit: cover; object-position: 50% 15%; }
.pri-quote-copy .eyebrow { display: block; color: #D9C9B0; margin-bottom: 26px; }
.pri-quote blockquote { margin: 0; }
.pri-quote blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.45; }
.pri-quote figcaption { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; }
.pri-quote figcaption strong { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; }
.pri-quote figcaption span { font-size: 18px; color: #CFC7BB; }
.pri-quote-note { margin: 18px 0 0; font-size: 15px; color: #A79F94; }

/* The founder */
.pri-founder { background: var(--ivory); padding: 112px 48px; }
.pri-founder-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px 80px; align-items: center; }
.pri-founder-copy .eyebrow { display: block; }
.pri-founder-copy .section-title { margin-bottom: 28px; }
.pri-founder-copy p { margin: 0 0 18px; font-size: 20px; line-height: 1.7; color: #3A3632; }
.pri-creds { list-style: none; margin: 28px 0 36px; padding: 0; border-top: 1px solid var(--rule); }
.pri-creds li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
.pri-founder-copy .cta { display: inline-block; font-size: 14px; padding: 10px 6px 8px calc(6px + 0.2em); }
.pri-founder-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 6 / 5; }
.pri-photo { margin: 0; overflow: hidden; }
.pri-photo img { width: 100%; height: 100%; object-fit: cover; }
.pri-photo-tall { grid-row: span 2; }
.pri-founders-slot { max-width: 1240px; margin: 72px auto 0; }
.pri-founders-slot figcaption { margin-top: 14px; font-size: 20px; }

/* Draft placeholders (removed once the real media arrives) */
.pri-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px; background: repeating-linear-gradient(135deg, #E9E3D8 0 14px, #E2DACC 14px 28px); color: #5E554A; font-family: var(--display); font-size: 14px; letter-spacing: 0.12em; line-height: 1.5; }
.pri-placeholder small { font-family: var(--serif); font-size: 15px; letter-spacing: 0; font-style: italic; }
.pri-founders-slot .pri-placeholder { aspect-ratio: 16 / 7; }

/* Client stories */
.pri-voices { background: #FFFFFF; padding: 104px 48px 112px; }
.pri-voices .work-title { margin-bottom: 22px; }
.pri-videos { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; }
.pri-voices .work-sub { margin-bottom: 48px; }
.pri-videos .yt, .pri-videos iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.pri-video h3 { margin: 16px 0 6px; font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: 0.05em; }
.pri-video p { margin: 0; font-size: 17px; line-height: 1.6; color: #3A3632; }

/* Conversations */
.pri-conversations { background: var(--ivory); padding: 104px 48px 112px; }
.pri-convo-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
.pri-convo .eyebrow { display: block; margin: 24px 0 8px; font-size: 17px; color: var(--gold-text); }
.pri-convo h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); letter-spacing: 0.04em; line-height: 1.25; }
.pri-convo p { margin: 0 0 24px; font-size: 18px; line-height: 1.65; color: #3A3632; }
.pri-convo .cta { display: inline-block; font-size: 13px; padding: 10px 6px 8px calc(6px + 0.2em); }
.yt, .pri-convo iframe, .pri-videos iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--ink); cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.yt:hover img { transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: flex; align-items: center; justify-content: center; padding-left: 4px; border: 1px solid rgba(255,255,255,0.8); border-radius: 50%; background: rgba(17,17,17,0.45); color: #FFFFFF; backdrop-filter: blur(4px); }
.pri-offer-dark { margin: 0 0 20px; font-size: 19px; font-style: italic; color: var(--gold-text); }

@media (max-width: 1000px) {
  .pri-founder-inner { grid-template-columns: minmax(0, 1fr); }
  .pri-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pri-conor, .pri-founder, .pri-voices, .pri-conversations { padding: 80px 20px; }
  .pri-quote { flex-direction: column; align-items: flex-start; gap: 32px; }
  .pri-quote-portrait { width: 180px; height: 225px; }
  .pri-convo-grid, .pri-videos { grid-template-columns: minmax(0, 1fr); }
  .pri-founder-copy p { font-size: 18px; }
  .pri-founders-slot .pri-placeholder { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .yt img { transition: none; } }
.pri-athletes { max-width: 1040px; margin: 72px auto 0; padding-top: 56px; border-top: 1px solid rgba(255,255,255,0.18); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; }
.pri-athlete { margin: 0; }
.pri-athlete blockquote { margin: 0; }
.pri-athlete blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.5; }
.pri-athlete figcaption { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.pri-athlete figcaption strong { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }
.pri-athlete figcaption span { font-size: 17px; color: #CFC7BB; }
@media (max-width: 760px) { .pri-athletes { grid-template-columns: minmax(0, 1fr); margin-top: 56px; padding-top: 48px; } }
.pri-founders-slot { max-width: 560px; text-align: center; }
.pri-founders-slot img { width: 100%; height: auto; }

/* PRI page: the gap we close (score scale) */
.pri-standard { background: var(--ivory); padding: 112px 48px 120px; text-align: center; }
.pri-standard .eyebrow { display: block; }
.pri-standard .section-title { margin-bottom: 24px; }
.pri-standard-intro, .pri-standard-close { max-width: 640px; margin: 0 auto; font-size: 20px; line-height: 1.7; color: #3A3632; }
.pri-standard-close { margin-top: 24px; font-style: italic; color: var(--gold-text); }
.pri-scale { position: relative; max-width: 1040px; margin: 140px auto 40px; padding-bottom: 96px; }
.pri-scale-track { position: relative; height: 10px; background: #E4DDD1; }
.pri-scale-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.pri-scale-gap { position: absolute; left: 44%; width: 41%; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(167,138,100,0.55) 0 6px, rgba(167,138,100,0.2) 6px 12px); opacity: 0; transition: opacity .8s ease 1.2s; }
.pri-scale-gap span { position: absolute; left: 50%; top: 34px; transform: translateX(-50%); white-space: nowrap; font-family: var(--display); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.pri-scale-gap::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 10px; border: 1px solid var(--gold); border-top: 0; }
.pri-scale-band { position: absolute; left: 54%; width: 10%; top: -3px; bottom: -3px; border: 1px solid #8C8278; opacity: 0; transition: opacity .8s ease 1s; }
.pri-scale.is-in .pri-scale-fill { width: 44%; }
.pri-scale.is-in .pri-scale-gap, .pri-scale.is-in .pri-scale-band { opacity: 1; }
.pri-mark { position: absolute; left: calc(var(--x) * 1%); top: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: 160px; }
.pri-mark::before { content: ""; position: absolute; top: -32px; left: 50%; width: 1px; height: 26px; background: #8C8278; }
.pri-mark-num { font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.pri-mark-label { font-size: 15px; line-height: 1.35; color: #3A3632; }
.pri-mark-band .pri-mark-num { font-size: clamp(18px, 1.6vw, 22px); color: #6E655B; }
.pri-mark-band { top: auto; bottom: calc(100% + 12px); flex-direction: column-reverse; }
.pri-mark-band::before { top: auto; bottom: -12px; height: 9px; }
.pri-mark-pass .pri-mark-num { color: var(--gold-text); }
.pri-mark-pro .pri-mark-num { color: #6E655B; font-size: clamp(22px, 2.2vw, 30px); }
.pri-scale-ends { position: absolute; left: 0; right: 0; top: 18px; display: flex; justify-content: space-between; font-size: 14px; color: #8C8278; }
@media (prefers-reduced-motion: reduce) { .pri-scale-fill, .pri-scale-gap, .pri-scale-band { transition: none; } }
@media (max-width: 760px) {
  .pri-standard { padding: 80px 20px; }
  .pri-standard-intro, .pri-standard-close { font-size: 18px; }
  .pri-scale { margin-top: 120px; padding-bottom: 150px; }
  .pri-mark { width: 92px; }
  .pri-mark-label { font-size: 13px; }
  .pri-mark-pro { display: none; }
  .pri-mark-band { width: 160px; }
  .pri-mark-start { width: 110px; }
  .pri-scale-gap span { font-size: 12px; letter-spacing: 0.14em; }
}

.house-copy .statement-body + .statement-body { margin-top: 18px; }
.pri-athlete-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; }

/* The Secret Gift: the St. Nicholas painting on the homepage.
   The gold in his raised hand is a hidden link to /gift. */
.secret-gift { background: #FFFFFF; padding: 96px 24px 88px; text-align: center; border-top: 1px solid var(--rule); overflow: hidden; }
.secret-gift-figure { margin: 0 auto; max-width: 1040px; }
.secret-gift-canvas { position: relative; overflow: hidden; }
.secret-gift-canvas img { width: 100%; height: auto; transform-origin: 33% 21%; transition: transform 1.9s cubic-bezier(.65,0,.3,1), filter 1.9s ease; }
.secret-gift-door { position: absolute; left: 33.2%; top: 21.9%; width: 5.2%; min-width: 40px; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.secret-gift-door:hover { opacity: 1; }
.secret-gift-door::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,170,.7) 0%, rgba(255,236,170,0) 60%); opacity: 0; animation: secret-glint 8s ease-in-out infinite 3s; }
.secret-gift-door:hover::before, .secret-gift-door:focus-visible::before { animation: none; opacity: .9; transition: opacity .5s; }
.secret-gift-door:focus-visible { outline: none; }
@keyframes secret-glint { 0%, 88%, 100% { opacity: 0; } 93% { opacity: .8; } }
.secret-gift figcaption { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.secret-gift-title { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.secret-gift-credit { font-family: var(--serif); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.secret-gift-veil { position: fixed; inset: 0; z-index: 9999; background: #0d0b09; opacity: 0; pointer-events: none; transition: opacity .8s ease 1.1s; }
body.is-entering-gift .secret-gift-canvas img { transform: scale(9); filter: brightness(.25); }
body.is-entering-gift .secret-gift-veil { opacity: 1; pointer-events: auto; }
@media (max-width: 700px) {
  .secret-gift { padding: 64px 0 64px; }
  .secret-gift figcaption { padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .secret-gift-door::before { animation: none; }
  .secret-gift-canvas img, .secret-gift-veil { transition: none; }
}

/* Legal pages (privacy, terms) */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 112px; }
.legal .section-title { margin-bottom: 12px; }
.legal-date { color: var(--stone); font-size: 17px; margin: 0 0 40px; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 44px 0 14px; }
.legal p { font-size: 19px; line-height: 1.65; margin: 0 0 16px; }
.footer-legal a { color: inherit; text-decoration: none; margin-left: 20px; }
.footer-legal a:hover { text-decoration: underline; }
