/* ==========================================================================
   Kayla Hall Massage — redesign
   Palette pulled from the lotus logo: ink black, marigold gold, warm paper.
   ========================================================================== */

:root {
  --paper: #f4eee3;
  --paper-2: #eadfcb;
  --paper-3: #e0d0b4;
  --ink: #1c1a17;
  --ink-soft: #4a453d;
  --gold: #e9a23b;          /* decorative + text on dark only */
  --gold-deep: #8c5a10;     /* text on paper (5:1) */
  --clay: #c4683f;
  --night: #12110f;
  --night-2: #1d1b18;
  --on-night: #f4eee3;
  --on-night-soft: #c9bfae;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.motion-off { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Film grain over everything for a printed, tactile feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, picture, svg, iframe { display: block; max-width: 100%; }
main:focus { outline: none; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
em { font-style: italic; }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-night :focus-visible { outline-color: var(--gold); }

.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;
}

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 200;
  padding: .75rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.2em; height: 1px;
  background: currentColor;
}
.on-night .eyebrow { color: var(--gold); }

.display-xl { font-size: clamp(3rem, 1.6rem + 7vw, 8.5rem); }
.display-l  { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.6rem); }
.display-m  { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); }
.accent { color: var(--gold-deep); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.on-night .accent { color: var(--gold); }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink-soft); max-width: 36ch; }
.on-night .lede { color: var(--on-night-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 48px;
  padding: .85em 1.6em;
  border: 1.5px solid var(--bg);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 700 .95rem/1 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--gold); text-decoration: none; }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: currentColor; }
.on-night .btn { --bg: var(--paper); --fg: var(--ink); }
.on-night .btn--ghost { --bg: transparent; --fg: var(--on-night); }
.btn--sm { min-height: 42px; padding: .7em 1.2em; font-size: .88rem; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 10%, transparent);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand img { width: 38px; height: auto; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand span small {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .3em;
}

.nav { display: flex; align-items: center; gap: .4rem; }
.nav__list {
  display: flex;
  align-items: center;
  gap: .2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__list a {
  position: relative;
  display: inline-block;
  padding: .55rem .85rem;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .35rem;
  height: 1.5px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__list a[aria-current="page"] { color: var(--gold-deep); }
.ext-icon { display: inline-block; width: .7em; height: .7em; margin-left: .25em; vertical-align: .05em; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.motion-toggle .i-play { display: none; }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }

.menu-toggle { display: none; }
.menu-toggle .burger { position: relative; width: 18px; height: 12px; }
.menu-toggle .burger::before,
.menu-toggle .burger::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle .burger::before { top: 2px; }
.menu-toggle .burger::after { top: 9px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 5.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 5.5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; }
  .nav .btn--book { display: none; }
  .nav__panel {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--night);
    color: var(--on-night);
    clip-path: circle(0 at calc(100% - 2.5rem) 2.4rem);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s linear .7s;
  }
  .nav__panel.is-open {
    clip-path: circle(150% at calc(100% - 2.5rem) 2.4rem);
    visibility: visible;
    transition: clip-path .7s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .nav__list a {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    font-weight: 400;
    padding: .15rem 0;
  }
  .nav__list a::after { left: 0; right: 0; bottom: .2rem; background: var(--gold); }
  .nav__list a[aria-current="page"] { color: var(--gold); }
  .nav__panel .panel-book { display: inline-flex; align-self: flex-start; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.menu-open .brand, body.menu-open .icon-btn { color: var(--on-night); }
  body.menu-open .brand small { color: var(--on-night-soft); }
  body.menu-open .icon-btn { border-color: color-mix(in srgb, var(--on-night) 35%, transparent); }
}
@media (min-width: 961px) {
  .nav__panel { display: flex; align-items: center; gap: .6rem; }
  .nav__panel .panel-book { display: none; }
}
@media (max-width: 420px) {
  .brand span { font-size: 1.05rem; }
  .brand span small { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero .hero-quote {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 0 0 .35em;
}
.hero .hero-quote .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero .hero-quote .line > span { display: inline-block; }

.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
}
.blob--gold { width: 46vmax; height: 46vmax; background: radial-gradient(circle, #f3bf6b, transparent 65%); top: -18vmax; right: -12vmax; }
.blob--clay { width: 34vmax; height: 34vmax; background: radial-gradient(circle, #e09a74, transparent 65%); bottom: -14vmax; left: -10vmax; opacity: .4; }

.ghost-word {
  position: absolute;
  z-index: -1;
  left: -2vw;
  bottom: 4vh;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(7rem, 26vw, 26rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 16%, transparent);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.arch {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}
.arch__frame {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: 0 40px 80px -40px rgba(60, 35, 10, .45);
}
.arch__frame picture,
.portrait__mask picture,
.photo-card picture { position: absolute; inset: -10% 0; }
.arch__frame img,
.portrait__mask img,
.photo-card img,
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media picture { height: 100%; }
.gift-media picture { display: block; }
.arch__outline {
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1.5px solid var(--gold-deep);
  border-radius: 999px 999px var(--radius) var(--radius);
  z-index: -1;
}


.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(var(--ink-soft), transparent);
  animation: drip 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .arch { justify-self: center; max-width: min(78vw, 380px); margin-top: 1rem; }
  .scroll-cue { display: none; }
}

/* Small page hero (about / reviews) */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(3rem, 10vw, 7rem)) 0 clamp(3rem, 8vw, 6rem);
  overflow: clip;
}
.page-hero .lede { max-width: 48ch; }

/* ---------- Marquee ---------- */
.marquee {
  --gap: 2.5rem;
  display: flex;
  overflow: hidden;
  gap: var(--gap);
  padding: 1.4rem 0;
  background: var(--night);
  color: var(--paper);
  border-block: 1px solid var(--night-2);
  transform: rotate(-1.6deg);
  margin: 2rem -2vw;
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--gap);
  min-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 3rem);
  font-style: italic;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee__track img { width: 28px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(5rem, 12vw, 10rem) 0; }
.section--tight { padding: clamp(3rem, 8vw, 6rem) 0; }
.on-night { background: var(--night); color: var(--on-night); }
.on-sand { background: var(--paper-2); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.split--flip > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
}

/* Organic portrait */
.portrait { position: relative; max-width: 480px; margin-inline: auto; width: 100%; }
.portrait__mask {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 62% 38% 46% 54% / 48% 40% 60% 52%;
  animation: morph 16s ease-in-out infinite alternate;
}
.portrait__sun {
  position: absolute;
  z-index: -1;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  top: -6%;
  right: -10%;
}
.portrait__ring {
  position: absolute;
  z-index: -1;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  bottom: -4%;
  left: -8%;
}
@keyframes morph {
  50% { border-radius: 42% 58% 60% 40% / 56% 46% 54% 44%; }
  100% { border-radius: 54% 46% 38% 62% / 42% 60% 40% 58%; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}
.stats div { margin: 0; }
.stats dt { font-size: .78rem; color: var(--ink-soft); font-weight: 600; order: 2; }
.stats dd {
  margin: 0 0 .2rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  line-height: 1;
}
.stats div { display: flex; flex-direction: column; }
@media (max-width: 480px) { .stats { gap: .75rem; } .stats dt { font-size: .7rem; } }

/* Full-bleed parallax band */
.band {
  position: relative;
  min-height: clamp(420px, 85vh, 820px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  text-align: center;
  isolation: isolate;
}
.band__media { position: absolute; inset: -20% 0; z-index: -2; }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18,17,15,.25), rgba(18,17,15,.62));
}
.band blockquote { margin: 0; padding-inline: var(--gutter); max-width: 18ch; }
.band blockquote p {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.2rem + 5vw, 6rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.band blockquote em { color: var(--gold); }
.band cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

/* Services menu */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.service {
  padding: 1.75rem 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.service h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); margin-bottom: .75rem; }
.prices { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.prices li {
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: .88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.prices span { font-weight: 600; color: var(--ink-soft); margin-right: .2em; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Booking */
.float-mark {
  position: absolute;
  right: -4vw;
  top: 8%;
  width: clamp(180px, 28vw, 420px);
  opacity: .07;
  pointer-events: none;
}
.book-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 3rem; }
.book-head h2 { margin: 0; }
.book-head p { max-width: 38ch; margin: 0; }
.book-frame {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(.5rem, 2vw, 1.25rem);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8);
}
.book-frame iframe { width: 100%; height: 1000px; border: 0; border-radius: calc(var(--radius) - 10px); }
.book-note { margin-top: 1.25rem; font-size: .92rem; color: var(--on-night-soft); }
.book-note a { color: var(--gold); }
.status-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #7bd389; margin-right: .5rem; box-shadow: 0 0 0 0 rgba(123,211,137,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(123,211,137,0); } 100% { box-shadow: 0 0 0 0 rgba(123,211,137,0); } }

/* Reviews */
.rating {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.rating__score { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 9vw, 11rem); line-height: .85; letter-spacing: -.04em; }
.stars { display: inline-flex; gap: .2rem; color: var(--gold-deep); }
.on-night .stars { color: var(--gold); }
.stars svg { width: 1.25rem; height: 1.25rem; }
.rating__meta p { margin: .5rem 0 0; color: var(--ink-soft); }

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  padding: 0;
}
.review {
  position: relative;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { box-shadow: 0 30px 60px -35px rgba(60, 35, 10, .45); }
.review::before {
  content: "\201C";
  position: absolute;
  top: -.15em;
  right: .2em;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--gold);
  opacity: .5;
}
.review blockquote { margin: 1rem 0 0; }
.review blockquote p:first-child { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.2; margin-bottom: .6em; }
.review blockquote p { color: var(--ink-soft); }
.review blockquote p:first-child { color: var(--ink); }
.review figcaption { font-weight: 700; font-size: .9rem; }
.review figcaption::before { content: "— "; color: var(--gold-deep); }
.reviews li:nth-child(even) { margin-top: clamp(0rem, 6vw, 5rem); }
@media (max-width: 760px) {
  .reviews { grid-template-columns: 1fr; }
  .reviews li:nth-child(even) { margin-top: 0; }
  .rating { grid-template-columns: 1fr; }
}

.bars { display: grid; gap: .75rem; margin: 0; max-width: 520px; }
.bars div { display: grid; grid-template-columns: 7.5rem 1fr 3rem; align-items: center; gap: 1rem; }
.bars dt { font-weight: 600; font-size: .95rem; }
.bars dd { margin: 0; display: contents; }
.bars .track { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.bars .fill { display: block; height: 100%; width: var(--w); background: var(--gold-deep); border-radius: inherit; transform-origin: left; }
.bars .num { font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; }
html.js .bars .fill { transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
html.js .is-in .bars .fill, html.js .bars.is-in .fill { transform: scaleX(1); }

/* Gift card */
.gift-media { position: relative; }
.gift-media img {
  border-radius: var(--radius);
  transform: rotate(-4deg);
  box-shadow: 0 40px 80px -40px rgba(60, 35, 10, .55);
  transition: transform .8s var(--ease);
}
.gift-media:hover img { transform: rotate(-1deg) scale(1.02); }
.gift-media .tag {
  position: absolute;
  right: -1rem;
  top: -1.5rem;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  transform: rotate(8deg);
}

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.map {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  filter: grayscale(.4) sepia(.2) contrast(1.05);
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-list li { padding: 1.4rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.contact-list li:first-child { border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.contact-list .label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem; }
.contact-list a, .contact-list address { font-family: var(--font-display); font-style: normal; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.25; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--gold-deep); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

/* About page bits */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; border-left: 1.5px solid var(--gold-deep); }
.timeline li { position: relative; padding: 0 0 2.25rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold-deep); }
.timeline .year { font-family: var(--font-display); font-size: 2rem; line-height: 1; display: block; margin-bottom: .35rem; }
.timeline h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin: 0 0 .25rem; }
.timeline p { margin: 0; color: var(--ink-soft); }

.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }

/* CTA */
.cta { text-align: center; }
.cta h2 { max-width: 14ch; margin-inline: auto; }
.cta .actions { justify-content: center; }
.cta .mark { width: 72px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding: clamp(4rem, 10vw, 7rem) 0 2rem; overflow: clip; }
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 13rem);
  line-height: .9;
  letter-spacing: -.04em;
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
}
.footer-word em { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid #34302a; }
.footer-grid h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a, .footer-grid address { color: var(--on-night); font-style: normal; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.socials { display: flex !important; gap: .6rem !important; }
.socials a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid #4a443b;
  border-radius: 50%;
  transition: background-color .3s, color .3s, border-color .3s;
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; color: var(--on-night-soft); }

/* ---------- Motion: reveal + parallax ---------- */
[data-speed] { will-change: transform; }

html.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* Clip the child, not the observed element: IntersectionObserver treats a
   fully clipped target as invisible, so it would never reveal. */
html.js .reveal-clip > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal-clip.is-in > * { clip-path: inset(0 0 0 0); }

html.js .hero .hero-quote .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease); }
html.js .hero .hero-quote .line:nth-child(2) > span { transition-delay: .12s; }
html.js .hero .hero-quote .line:nth-child(3) > span { transition-delay: .24s; }
html.js.loaded .hero .hero-quote .line > span { transform: none; }

/* Motion off: OS preference or the on-page toggle */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .reveal, html.js .reveal-clip > *, html.js .hero .hero-quote .line > span { opacity: 1; transform: none; clip-path: none; }
  html.js .bars .fill { transform: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; white-space: normal; }
  .marquee__track[aria-hidden] { display: none; }
}
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation-play-state: paused !important; }
html.motion-off .reveal, html.motion-off .reveal-clip > *, html.motion-off .hero .hero-quote .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
html.motion-off .bars .fill { transform: none !important; }
html.motion-off [data-speed] { transform: none !important; }

/* Windows high contrast */
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  body::after, .blob, .ghost-word { display: none; }
}

@media print {
  .site-header, .marquee, .blob, .ghost-word, body::after, .book-frame, .map { display: none !important; }
  body { background: #fff; }
}

/* Keep the decorative outline word from competing with body copy on phones */
@media (max-width: 860px) {
  .ghost-word { -webkit-text-stroke-color: color-mix(in srgb, var(--ink) 8%, transparent); }
  .page-hero .ghost-word { bottom: auto; top: calc(var(--header-h) - 1rem); }
}
