/* ==========================================================================
   Salt Enterprises Collective — global theme
   ========================================================================== */

:root {
  /* Color tokens */
  --ivory: #FBF8F2;
  --white: #FFFFFF;
  --navy: #001E46;
  --navy-deep: #05182D;
  --navy-hi: #06345E;
  --gold: #DBB560;
  --gold-hi: #FEE6A0;
  --gold-deep: #A67020;
  --gold-text: #8A5D1A;
  --ink: #0B1B33;
  --muted: #4B5A70;
  --hairline: #E7DFCF;
  --hairline-dark: rgba(219, 181, 96, 0.18);
  --ivory-70: rgba(251, 248, 242, 0.72);

  --gold-gradient: linear-gradient(135deg, #FEE6A0 0%, #DBB560 38%, #A67020 70%, #DBB560 100%);
  --navy-depth: radial-gradient(120% 90% at 30% 20%, #06345E 0%, #001E46 45%, #05182D 100%);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(52px, 9vw, 96px);
  --fs-h1: clamp(40px, 6vw, 56px);
  --fs-h2: clamp(32px, 4.4vw, 40px);
  --fs-h3: clamp(24px, 2.6vw, 28px);
  --fs-body-l: clamp(17px, 1.4vw, 19px);
  --fs-body: 16px;
  --fs-small: 14px;

  /* Layout */
  --max: 1240px;
  --gutter: 16px;
  --section: 96px;
  --radius-sm: 2px;
  --radius: 6px;
  --shadow-soft: 0 18px 40px -22px rgba(0, 30, 70, 0.28), 0 2px 6px rgba(0, 30, 70, 0.04);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-micro: 260ms;
  --t-reveal: 950ms;

  --nav-h: 96px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --section: 160px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--navy); color: var(--ivory); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: var(--ivory);
  padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.7); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--deep { background: var(--navy-deep); color: var(--ivory); }
.section--white { background: var(--white); }
.section + .section:not(.section--navy):not(.section--deep):not(.section--white) { border-top: 1px solid var(--hairline); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.display { font-size: var(--fs-display); line-height: 1.02; }
.h1 { font-size: var(--fs-h1); line-height: 1.08; }
.h2 { font-size: var(--fs-h2); line-height: 1.12; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 600; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 500; }

.on-dark .display, .on-dark .h1, .on-dark .h2, .on-dark .h3,
.section--navy .h1, .section--navy .h2, .section--navy .h3,
.section--deep .h1, .section--deep .h2, .section--deep .h3 { color: var(--ivory); }
.on-dark em, .section--navy .h2 em, .section--deep .h2 em, .section--navy .h1 em { color: var(--gold); }

.lead { font-size: var(--fs-body-l); line-height: 1.6; max-width: 64ch; color: var(--muted); font-weight: 300; }
.on-dark .lead, .section--navy .lead, .section--deep .lead { color: var(--ivory-70); }
.body { max-width: 64ch; color: var(--muted); }
.body p { margin-bottom: 1.1em; }
.small { font-size: var(--fs-small); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--caps); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 12px; line-height: 1.4;
  color: var(--gold-text);
  margin-bottom: 28px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--gold-gradient); flex: none;
}
.eyebrow--left::after { display: none; }
.on-dark .eyebrow, .section--navy .eyebrow, .section--deep .eyebrow { color: var(--gold); }

.label {
  font-family: var(--caps); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 12px; color: var(--gold-text);
}
.on-dark .label, .section--navy .label, .section--deep .label { color: var(--gold); }

.gold-rule { display: block; width: 64px; height: 1px; background: var(--gold-gradient); border: 0; margin: 0; }

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; color: var(--gold-text);
  padding-bottom: 4px;
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms var(--ease);
}
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); }
.text-link .arrow { transition: transform var(--t-micro) var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }
.on-dark .text-link, .section--navy .text-link, .section--deep .text-link { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--ivory); --btn-line: var(--gold);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 16px 32px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg); border-radius: var(--radius-sm);
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: 0.01em;
  overflow: hidden; white-space: nowrap;
  transition: background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 12px; height: 1px;
  background: var(--btn-line); transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:hover { --btn-bg: var(--navy-hi); }
.btn > span { position: relative; }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy); --btn-line: var(--navy); }
.btn--gold:hover { --btn-bg: #E4C477; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--ink); }
.btn--outline:hover { --btn-bg: var(--navy); --btn-fg: var(--ivory); border-color: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--ivory); border-color: rgba(251, 248, 242, 0.5); }
.btn--outline-light:hover { --btn-bg: var(--ivory); --btn-fg: var(--navy); border-color: var(--ivory); --btn-line: var(--gold-deep); }
.btn--sm { min-height: 44px; padding: 12px 22px; font-size: 14px; }
.btn--sm::after { bottom: 9px; left: 18px; right: 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease), backdrop-filter 400ms var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--ivory);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  transition: height 400ms var(--ease);
}
.nav__logo { display: block; flex: none; }
.nav__logo img {
  width: 64px; height: 64px;
  transition: width 400ms var(--ease), height 400ms var(--ease);
}
.nav__links { display: none; align-items: center; gap: 40px; }
.nav__link {
  position: relative; font-family: var(--caps); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 13px; padding: 8px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0.28em; bottom: 2px; height: 1px;
  background: var(--gold-gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--hairline);
  color: var(--ink);
}
.nav.is-scrolled .nav__inner { height: 72px; }
.nav.is-scrolled .nav__logo img { width: 44px; height: 44px; }
.nav.is-scrolled .btn--gold { --btn-bg: var(--navy); --btn-fg: var(--ivory); --btn-line: var(--gold); }
.nav.is-scrolled .btn--gold:hover { --btn-bg: var(--navy-hi); }

.nav__toggle {
  position: relative; z-index: 120; width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor;
  transition: transform 400ms var(--ease), opacity 200ms linear;
}
.nav__toggle span:nth-child(1) { transform: translateY(-5px); }
.nav__toggle span:nth-child(2) { transform: translateY(5px); }
.menu-open .nav__toggle { color: var(--ivory); }
.menu-open .nav__toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links, .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--navy-depth); background-color: var(--navy-deep);
  color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 48px;
  visibility: hidden; opacity: 0;
  transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
  overflow-y: auto;
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity 500ms var(--ease), visibility 0s; }
.menu-open .nav { background: transparent; border-color: transparent; color: var(--ivory); backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu__list { display: grid; gap: 8px; }
.menu__link {
  display: inline-block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 11vw, 64px); line-height: 1.15; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), color 250ms;
}
.menu__link:hover, .menu__link[aria-current="page"] { color: var(--gold); font-style: italic; }
.menu-open .menu__link { opacity: 1; transform: none; }
.menu-open .menu__list li:nth-child(1) .menu__link { transition-delay: 120ms; }
.menu-open .menu__list li:nth-child(2) .menu__link { transition-delay: 200ms; }
.menu-open .menu__list li:nth-child(3) .menu__link { transition-delay: 280ms; }
.menu-open .menu__list li:nth-child(4) .menu__link { transition-delay: 360ms; }
.menu-open .menu__list li:nth-child(5) .menu__link { transition-delay: 440ms; }
.menu__foot {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hairline-dark);
  display: grid; gap: 8px; font-size: 15px; color: var(--ivory-70);
  opacity: 0; transition: opacity 700ms var(--ease) 500ms;
}
.menu-open .menu__foot { opacity: 1; }
.menu__foot a:hover { color: var(--gold); }
.menu .btn { margin-top: 24px; justify-self: start; }

/* ---------- Intro loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--navy-depth); background-color: var(--navy-deep);
  display: none; align-items: center; justify-content: center;
}
.intro .loader { display: flex; }
.intro body { overflow: hidden; }
.loader__mark { position: relative; width: 168px; height: 168px; }
.loader__mark img { position: absolute; inset: 24px; width: 120px; height: 120px; opacity: 0; transform: scale(0.96); }
.loader__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.loader__ring circle { fill: none; stroke: url(#gold); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy-depth); background-color: var(--navy);
  color: var(--ivory); overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 0 96px;
  isolation: isolate;
}
.hero__ring {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(1100px, 150vw); aspect-ratio: 1;
  right: -38%; top: 50%; translate: 0 -50%;
}
@media (min-width: 768px) { .hero__ring { right: -22%; width: min(1100px, 110vw); } }
@media (min-width: 1024px) { .hero__ring { width: min(1040px, 78vw); right: -16%; } }
.hero__ring-spin { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.hero__ring svg { width: 100%; height: 100%; overflow: visible; }
.hero__ring circle { fill: none; stroke: url(#gold); }
.hero__ring .r1 { stroke-width: 1.4; }
.hero__ring .r2 { stroke-width: 1; opacity: 0.45; }
.hero__ring .r3 { stroke-width: 1; opacity: 0.18; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__glow {
  position: absolute; z-index: -2; inset: auto auto -30% -20%; width: 70vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(219, 181, 96, 0.07), transparent);
  pointer-events: none;
}

.hero__content { max-width: 880px; }
.hero__title { color: var(--ivory); margin-bottom: 8px; }
.hero__title em { color: var(--gold); }
.hero__ribbon { width: min(520px, 86%); height: auto; margin: 4px 0 36px; overflow: visible; }
.hero__ribbon path { fill: none; stroke: url(#gold); stroke-width: 1.6; stroke-linecap: round; }
.hero__sub { font-size: var(--fs-body-l); font-weight: 300; line-height: 1.65; color: var(--ivory-70); max-width: 52ch; margin-bottom: 44px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 32px; translate: -50% 0;
  display: none; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--caps); font-size: 10px; letter-spacing: 0.32em; color: rgba(251, 248, 242, 0.55);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent);
  animation: scrollcue 2.4s var(--ease-io) infinite;
  transform-origin: top;
}
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 768px) and (min-height: 760px) { .hero__scroll { display: flex; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-depth); background-color: var(--navy); color: var(--ivory);
  padding: calc(var(--nav-h) + 96px) 0 112px;
}
@media (min-width: 1024px) { .page-hero { padding: calc(var(--nav-h) + 128px) 0 144px; } }
.page-hero .hero__ring { width: min(820px, 130vw); right: -30%; }
@media (min-width: 1024px) { .page-hero .hero__ring { right: -10%; } }
.page-hero .h1, .page-hero .display { color: var(--ivory); max-width: 18ch; margin-bottom: 28px; }
.page-hero .h1 em, .page-hero .display em { color: var(--gold); }
.page-hero .lead { color: var(--ivory-70); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 72px; max-width: 760px; }
.section-head .h2 { margin-bottom: 24px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 32px; align-items: end; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 7fr 5fr; gap: 64px; }
  .section-head--split .lead { margin: 0; }
}

/* ---------- Gap section ---------- */
.gap { display: grid; gap: 56px; }
@media (min-width: 1024px) { .gap { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; } }
.gap .h2 { max-width: 14ch; }
.pains { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.pain {
  display: grid; grid-template-columns: 56px 1fr; gap: 8px 24px;
  padding: 32px 0; border-bottom: 1px solid var(--hairline);
}
.pain__icon { grid-row: span 2; width: 40px; height: 40px; color: var(--gold-text); }
.pain__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.pain p { margin: 0; color: var(--muted); max-width: 52ch; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 24px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease);
}
@media (min-width: 1024px) { .card { padding: 48px; } }
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.card__num {
  font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 40px; letter-spacing: 0.02em;
}
.card h3 { margin-bottom: 16px; }
.card p { color: var(--muted); margin-bottom: 32px; }
.card .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 64px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.pillar { text-align: center; }
.pillar__ring { position: relative; width: 168px; height: 168px; margin: 0 auto 40px; }
.pillar__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.pillar__ring circle { fill: none; stroke: url(#gold); stroke-width: 1.25; }
.pillar__ring .ring-faint { stroke: rgba(219, 181, 96, 0.18); stroke-width: 1; }
.pillar__ring .ring-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .pillar__ring .ring-draw { stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease); }
.js .is-in .pillar__ring .ring-draw { stroke-dashoffset: 0; }
.pillar__num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--gold);
}
.pillar h3 {
  font-family: var(--caps); font-weight: 500; font-size: 20px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ivory); margin-bottom: 16px; padding-left: 0.28em;
}
.pillar p { color: var(--ivory-70); max-width: 32ch; margin: 0 auto; }

.values-line {
  margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--hairline-dark);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; text-align: center;
}
.values-line .label { color: var(--gold); }
.values-line span.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.6; }
.values-line p { width: 100%; margin: 8px 0 0; color: var(--ivory-70); }

/* ---------- Timeline ---------- */
.timeline { position: relative; --p: 1; }
.timeline__track, .timeline__progress { position: absolute; background: var(--hairline); }
.timeline__progress { background: var(--gold-gradient); }
.timeline__steps { display: grid; gap: 56px; position: relative; }
.step { position: relative; padding-left: 64px; }
.step__dot {
  position: absolute; left: 0; top: 0; width: 41px; height: 41px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--hairline);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--muted);
  transition: border-color 600ms var(--ease), color 600ms var(--ease), box-shadow 600ms var(--ease), background-color 600ms var(--ease);
}
.step h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--muted); line-height: 1.2; margin: 4px 0 12px; transition: color 600ms var(--ease); }
.step p { color: var(--muted); margin: 0; max-width: 34ch; opacity: 0.7; transition: opacity 600ms var(--ease); }
.step.is-active .step__dot { border-color: var(--gold); color: var(--gold-text); background: var(--white); box-shadow: 0 0 0 6px rgba(219, 181, 96, 0.14); }
.step.is-active h3 { color: var(--navy); }
.step.is-active p { opacity: 1; }

/* vertical (mobile) */
.timeline__track, .timeline__progress { left: 20px; top: 20px; bottom: 20px; width: 1px; }
.timeline__progress { transform-origin: top; transform: scaleY(var(--p)); }
@media (min-width: 900px) {
  .timeline__steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .timeline__track, .timeline__progress { left: 20px; right: 20px; top: 20px; bottom: auto; width: auto; height: 1px; }
  .timeline__progress { transform-origin: left; transform: scaleX(var(--p)); }
  .step { padding-left: 0; padding-top: 72px; }
}

/* ---------- Founder ---------- */
.founder { display: grid; gap: 64px; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 5fr 7fr; gap: 96px; } }
.portrait { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.portrait__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.portrait__ring circle { fill: none; stroke: url(#gold); stroke-width: 1.25; }
.portrait__frame {
  position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: var(--navy);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-photo {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background: var(--navy-depth); color: var(--ivory-70); padding: 18%;
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.9;
}
.placeholder-photo strong { display: block; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.founder__text .h2 { margin-bottom: 28px; max-width: 16ch; }
.founder__text .body { margin-bottom: 36px; font-size: 17px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--navy); margin-bottom: 28px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-depth); background-color: var(--navy); color: var(--ivory);
  text-align: center;
}
.cta-band .h1 { color: var(--ivory); max-width: 20ch; margin: 0 auto 44px; }
.cta-band .h1 em { color: var(--gold); }
.cta-band .btn-row { justify-content: center; }
.cta-band__ring {
  position: absolute; z-index: -1; width: min(900px, 160vw); aspect-ratio: 1; left: 50%; top: 50%;
  translate: -50% -50%; pointer-events: none; opacity: 0.5;
}
.cta-band__ring circle { fill: none; stroke: url(#gold); stroke-width: 1; }
.cta-band__contact { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; color: var(--ivory-70); font-size: 15px; }
.cta-band__contact a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--ivory-70); padding: 96px 0 40px; font-size: 15px; }
.footer__top { display: grid; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid var(--hairline-dark); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 4fr 2fr 3fr 3fr; gap: 48px; } }
.footer__brand img { width: 96px; height: 96px; margin-bottom: 24px; }
.footer__brand p { max-width: 32ch; }
.footer h2 { font-family: var(--caps); font-weight: 500; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color var(--t-micro) var(--ease); }
.footer a:hover { color: var(--gold); }
.footer dl { margin: 0; display: grid; gap: 10px; }
.footer dt { display: inline; color: rgba(251, 248, 242, 0.45); margin-right: 8px; font-size: 13px; }
.footer dd { display: inline; margin: 0; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline-dark);
  display: grid; place-items: center; color: var(--gold);
  transition: border-color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease);
}
.socials a:hover { border-color: var(--gold); background: rgba(219, 181, 96, 0.08); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; color: rgba(251, 248, 242, 0.5); }

/* ---------- Services page ---------- */
.svc-index { display: grid; gap: 0; border-top: 1px solid var(--hairline-dark); margin-top: 56px; max-width: 760px; }
@media (min-width: 768px) { .svc-index { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.svc-index a {
  display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hairline-dark);
  color: var(--ivory); transition: color var(--t-micro) var(--ease), padding var(--t-micro) var(--ease);
}
.svc-index a:hover { color: var(--gold); padding-left: 6px; }
.svc-index span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; min-width: 24px; }

.svc { display: grid; gap: 48px; scroll-margin-top: 80px; }
@media (min-width: 1024px) { .svc { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; } .svc__head { position: sticky; top: 120px; } }
.svc__num {
  font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 9vw, 112px); line-height: 0.9;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; margin-bottom: 24px;
}
.svc__head .h2 { margin-bottom: 20px; }
.svc__head .lead { margin-bottom: 32px; }
.svc__blocks { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.svc__block { display: grid; gap: 12px; padding: 36px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 768px) { .svc__block { grid-template-columns: 200px 1fr; gap: 32px; } }
.svc__block p { margin: 0; color: var(--muted); font-size: 17px; max-width: 56ch; }
.svc__block--result p { font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--navy); font-style: italic; }
.svc__cta { padding-top: 36px; }

/* ---------- About page ---------- */
.chapter { display: grid; gap: 32px; }
@media (min-width: 1024px) { .chapter { grid-template-columns: 4fr 8fr; gap: 96px; } }
.chapter__label { display: flex; flex-direction: column; gap: 12px; }
.chapter__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-text); }
.chapter .h2 { max-width: 14ch; }
.chapter .body { font-size: 18px; line-height: 1.75; }
.chapter .body p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 4.2em; line-height: 0.85; padding: 6px 8px 0 0; color: var(--navy);
}
.chapter__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chapter__list li {
  padding: 8px 16px; border: 1px solid var(--hairline); border-radius: 999px;
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy); background: var(--white);
}

.pullquote { text-align: center; position: relative; }
.pullquote blockquote { margin: 0 auto; }
.pullquote blockquote p { max-width: 18ch; margin-inline: auto; }
.pullquote p {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.1; letter-spacing: -0.01em; color: var(--ivory); margin: 0;
}
.pullquote p .q { color: var(--gold); }
.pullquote figcaption { margin-top: 36px; }
.pullquote .gold-rule { margin: 0 auto 48px; }

.values-strip { display: grid; gap: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
@media (min-width: 900px) { .values-strip { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 48px 0; text-align: center; border-bottom: 1px solid var(--hairline); }
.value:last-child { border-bottom: 0; }
@media (min-width: 900px) { .value { padding: 56px 32px; border-bottom: 0; border-right: 1px solid var(--hairline); } .value:last-child { border-right: 0; } }
.value .label { display: block; margin-bottom: 16px; }
.value h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.value p { color: var(--muted); margin: 0 auto; max-width: 30ch; }

.closing { text-align: center; }
.closing .display { max-width: 16ch; margin: 0 auto 48px; font-size: clamp(44px, 7vw, 80px); }
.closing .btn-row { justify-content: center; }

/* ---------- Contact page ---------- */
.contact { display: grid; gap: 72px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 7fr 5fr; gap: 96px; } }
.form { display: grid; gap: 36px; }
.form-row { display: grid; gap: 36px; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; gap: 40px; } }
.field { display: grid; gap: 10px; position: relative; }
.field label, .field legend {
  font-family: var(--caps); font-weight: 500; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--navy); padding: 0;
}
.field .req { color: var(--gold-text); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0;
  padding: 10px 0 14px; transition: border-color var(--t-micro) var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #8994A3; font-weight: 300; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--gold); }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease); pointer-events: none;
}
.field:focus-within::after { transform: scaleX(1); }
.field--choice::after, fieldset.field::after { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field .hint { font-size: 13px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); font-size: 15px; color: var(--ink); background: var(--white);
  transition: border-color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.choice input:hover + span { border-color: var(--gold); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; max-width: 36ch; }
.form__status { margin: 0; font-size: 15px; min-height: 1.6em; }
.form__status.is-ok { color: var(--navy); }
.form__status.is-error { color: #9B2C2C; }
.honey { position: absolute !important; left: -9999px !important; }

.contact-card {
  background: var(--navy-depth); background-color: var(--navy); color: var(--ivory); border-radius: var(--radius);
  padding: 48px 32px; position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .contact-card { padding: 56px 48px; position: sticky; top: 112px; } }
.contact-card .h3 { color: var(--ivory); margin-bottom: 32px; }
.contact-list { display: grid; gap: 24px; }
.contact-list .label { display: block; margin-bottom: 6px; color: var(--gold); }
.contact-list a, .contact-list span.v { font-size: 18px; color: var(--ivory); }
.contact-list a:hover { color: var(--gold); }
.contact-card .socials { margin-top: 40px; }

.booking {
  border: 1px dashed rgba(138, 93, 26, 0.5); border-radius: var(--radius); background: var(--white);
  min-height: 420px; display: grid; place-items: center; text-align: center; padding: 48px 24px;
}
.booking .label { display: block; margin-bottom: 16px; }
.booking p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.booking iframe { width: 100%; min-height: 680px; border: 0; }

/* ---------- Reveal system ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

.js [data-split] .line { display: block; overflow: hidden; padding: 0 0.12em 0.1em 0; margin: 0 -0.12em -0.1em 0; }
.js [data-split] .line-inner { display: block; transform: translate3d(0, 110%, 0); transition: transform 1000ms var(--ease); }
.js [data-split].is-in .line-inner { transform: none; }
.js [data-split]:not(.is-split) { opacity: 0; }

.js [data-reveal="media"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1200ms var(--ease); }
.js [data-reveal="media"] img, .js [data-reveal="media"] .placeholder-photo { transform: scale(1.08); transition: transform 1600ms var(--ease); }
.js [data-reveal="media"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="media"].is-in img, .js [data-reveal="media"].is-in .placeholder-photo { transform: scale(1); }

/* Hero pre-state (driven by main.js) */
.js .hero [data-hero] { opacity: 0; transform: translate3d(0, 24px, 0); }
.js .hero .hero__ribbon path, .js .page-hero .hero__ribbon path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero__ring circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero.is-ready [data-hero] { opacity: 1; transform: none; transition: opacity 1000ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 500ms); }
.js .hero.is-ready .hero__ribbon path { stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms var(--ease) 700ms; }
.js .is-ready .hero__ring circle { stroke-dashoffset: 0; transition: stroke-dashoffset 2200ms var(--ease-io); }
.js .is-ready .hero__ring .r2 { transition-delay: 250ms; }
.js .is-ready .hero__ring .r3 { transition-delay: 450ms; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.mb-48 { margin-bottom: 48px; }
.divider { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .hero__ring-spin { animation: none; }
  .js [data-reveal], .js [data-reveal="media"], .js .hero [data-hero] { transform: none !important; clip-path: none !important; transition: opacity 600ms linear !important; transition-delay: 0s !important; }
  .js [data-reveal="media"] img, .js [data-reveal="media"] .placeholder-photo { transform: none !important; }
  .js [data-split] .line-inner { transform: none !important; transition: none !important; }
  .js [data-split] { transition: opacity 600ms linear; }
  .js .hero__ring circle, .js .hero__ribbon path, .js .pillar__ring .ring-draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .card, .btn, .step * { transition-duration: 1ms !important; }
  .card:hover { transform: none; }
  .hero__scroll::after { animation: none; }
}

/* ---------- Dark-ground overrides ---------- */
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .contact-card .eyebrow { color: var(--gold); }
.cta-band { border-top: 0 !important; }
.menu-open .nav { z-index: 130; }
.menu-open .nav__cta { visibility: hidden; }
.section--white + .section, .section + .section--white { border-top: 0; }
.js .page-hero [data-hero] { opacity: 0; transform: translate3d(0, 24px, 0); }
.js .page-hero.is-ready [data-hero] { opacity: 1; transform: none; transition: opacity 1000ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 300ms); }
.js .page-hero.is-ready .hero__ribbon path { stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms var(--ease) 500ms; }
@media (prefers-reduced-motion: reduce) {
  .js .page-hero [data-hero] { transform: none !important; transition: opacity 600ms linear !important; }
}
.contact-card { align-self: start; }

/* ---------- Nav: five links ---------- */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav__links { gap: 26px; }
  .nav__link { letter-spacing: 0.22em; font-size: 12px; }
}

/* ---------- Donate ---------- */
.give-wrap { display: grid; gap: 64px; }
@media (min-width: 1024px) { .give-wrap { grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; } }
.give-wrap__text .h1 { margin-bottom: 28px; max-width: 14ch; }
.give-wrap__text .lead { margin-bottom: 40px; }
.notice { border-left: 1px solid var(--gold); padding: 4px 0 4px 24px; max-width: 52ch; }
.notice .label { display: block; margin-bottom: 8px; }
.notice p { margin: 0; color: var(--muted); }

.give-card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 40px 28px; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .give-card { padding: 48px; } }
@media (min-width: 1024px) { .give-card { position: sticky; top: 112px; } }
.give-card .h3 { margin-bottom: 32px; }
.give { display: grid; gap: 28px; }
.give__buttons { display: grid; gap: 14px; }
.give-card__hint { color: var(--muted); margin: -16px 0 28px; font-size: 15px; }
.page-hero .lead + .lead { margin-top: 20px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:disabled::after { display: none; }
.give__status { margin: 0; color: var(--muted); font-size: 14px; }
.give__status:empty { display: none; }
.give__secure { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 13px; color: var(--muted); }
.give__secure svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq__item { display: grid; gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 768px) { .faq__item { grid-template-columns: 5fr 7fr; gap: 40px; } }
.faq dt { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.faq dd { margin: 0; color: var(--muted); }
.faq__more { margin-top: 48px; color: var(--muted); }

.help-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.give-thanks {
  margin: 72px auto 0; max-width: 30ch; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.3; color: var(--navy);
}

/* ---------- Mailing list (above the footer on every page) ---------- */
.newsletter__inner { display: grid; gap: 48px; }
@media (min-width: 1024px) { .newsletter__inner { grid-template-columns: 6fr 6fr; gap: 96px; align-items: center; } }
.newsletter__text .h1 { margin-bottom: 24px; }
.newsletter__text .lead { margin-bottom: 20px; }
.newsletter__promise { margin: 0; color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; max-width: 44ch; }
.newsletter__form {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 36px 24px; display: grid; gap: 20px;
}
@media (min-width: 768px) { .newsletter__form { padding: 44px 40px; } }
.newsletter__fields { display: grid; gap: 28px; }
.newsletter__fields .btn { justify-self: start; }
@media (min-width: 600px) { .newsletter__fields { grid-template-columns: 1fr 1fr; } .newsletter__fields .btn { grid-column: 1 / -1; } }
.newsletter__note { margin: 0; font-size: 13px; color: var(--muted); }
.newsletter__form .form__status:empty { display: none; }

/* ---------- Booking embed (live) ---------- */
.booking--live { display: block; padding: 0; border-style: solid; border-color: var(--hairline); overflow: hidden; }

/* ---------- Admin link (home footer) ---------- */
.footer__admin {
  display: inline-flex; align-items: center; gap: 8px; color: rgba(251, 248, 242, 0.5);
  font-family: var(--caps); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
}
.footer__admin svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer__admin:hover { color: var(--gold); }
.footer__bottom { align-items: center; }

/* ---------- Consultation scheduler (contact.html) ---------- */
.booker {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 32px 20px; min-height: 420px;
}
@media (min-width: 768px) { .booker { padding: 48px; } }
.booker__fallback, .booker__done { text-align: center; max-width: 52ch; margin: 0 auto; display: grid; gap: 16px; justify-items: center; padding: 24px 0; }
.booker__fallback p, .booker__done p { color: var(--muted); margin: 0; }
.booker__fallback .btn-row, .booker__done .btn-row { justify-content: center; margin-top: 12px; }
.booker__notice { margin: 0 0 24px; padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--ivory); color: var(--ink); }

.booker__pick { display: grid; gap: 40px; }
@media (min-width: 900px) { .booker__pick { grid-template-columns: 7fr 5fr; gap: 56px; } }
.booker__month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.booker__title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy); }
.booker__nav {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline); font-size: 22px; line-height: 1; color: var(--navy);
  transition: border-color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease);
}
.booker__nav:hover:not(:disabled) { border-color: var(--gold); background: var(--ivory); }
.booker__nav:disabled { opacity: 0.3; cursor: default; }
.booker__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.booker__dow { text-align: center; font-family: var(--caps); font-size: 11px; letter-spacing: 0.15em; color: var(--muted); padding-bottom: 6px; }
.booker__day {
  aspect-ratio: 1; border-radius: 50%; font-size: 15px; color: rgba(11, 27, 51, 0.35);
  display: grid; place-items: center; max-width: 52px; margin: 0 auto; width: 100%;
}
.booker__day.is-open { color: var(--navy); font-weight: 600; background: var(--ivory); border: 1px solid var(--hairline); }
.booker__day.is-open:hover { border-color: var(--gold); }
.booker__day.is-selected { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.booker__day:disabled { cursor: default; }
.booker__day-title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy); outline: none; }
.booker__tz { font-size: 13px; color: var(--muted); margin: 6px 0 20px; }
.booker__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; max-height: 360px; overflow-y: auto; padding: 2px; }
.booker__slot {
  min-height: 46px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; color: var(--navy); background: var(--white);
  transition: border-color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}
.booker__slot:hover { border-color: var(--navy); background: var(--navy); color: var(--ivory); }

.booker__form { gap: 28px; }
.booker__summary {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--ivory); border-left: 2px solid var(--gold); border-radius: var(--radius-sm);
}
.booker__summary .label { display: block; margin-bottom: 4px; }
.booker__when { font-family: var(--serif); font-size: 24px; color: var(--navy); margin: 0; }
.booker__done .h2 { margin: 0; }
.booker__done:focus { outline: none; }
.booker__check { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); position: relative; }
.booker__check::after { content: ""; position: absolute; left: 22px; top: 18px; width: 18px; height: 10px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.field[hidden] { display: none; }

/* ---------- Manage / cancel page ---------- */
.manage { background: var(--navy-depth); background-color: var(--navy); min-height: 100vh; }
.manage__wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.manage__card { width: min(100%, 560px); background: var(--white); border-radius: var(--radius); padding: 48px 28px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.manage__card .eyebrow { margin: 8px 0 0; }
.manage__card p { color: var(--muted); margin: 0; max-width: 46ch; }
.manage__card .booker__when { color: var(--navy); }
.manage__meta { font-family: var(--caps); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.manage__card .btn-row { justify-content: center; margin-top: 8px; }
.btn--danger { --btn-bg: #9B2C2C; --btn-fg: #fff; --btn-line: #fff; }
.btn--danger:hover { --btn-bg: #7F1D1D; }

/* Netlify's "Powered by Netlify" badge: hidden (allowed on paid Netlify plans) */
#nl-badge-frame { display: none !important; }
