/* ==========================================================================
   Ninth Remedy — site styles
   Palette and type are the established brand direction; treat the custom
   properties below as the single source of truth for both.
   ========================================================================== */

:root {
  --bg:        #10160F;
  --bg-alt:    #161F14;
  --surface:   #1B2619;
  --surface-2: #202C1D;

  --ink:       #ECE6D6;
  --ink-muted: #A79E8A;

  --gold:      #CBA467;
  --gold-soft: #E2C692;
  --rose:      #C08479;

  --line:      #33402F;
  --line-soft: rgba(203, 164, 103, 0.18);

  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --body:    "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shell:  1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  --step:    clamp(4.5rem, 10vw, 8.5rem);  /* vertical section rhythm */
  --radius:  2px;
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anchors land below the sticky masthead rather than under it. */
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: #10160F; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: 0.7rem 1.4rem;
  background: var(--gold);
  color: #10160F;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* -------------------------------------------------------------- layout -- */

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

.section { padding-block: var(--step); }
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 50ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }

.section-lede {
  max-width: 42ch;
  margin-top: 1.25rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-line: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border: 1px solid var(--btn-line);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: #10160F; }
.btn--gold:hover { --btn-bg: var(--gold-soft); --btn-line: var(--gold-soft); }

.btn--ghost { --btn-line: rgba(236, 230, 214, 0.35); }
.btn--ghost:hover { --btn-line: var(--gold); --btn-fg: var(--gold-soft); }

.btn--sm { padding: 0.62rem 1.25rem; font-size: 0.7rem; letter-spacing: 0.14em; }
.btn--block { display: flex; width: 100%; }

/* ------------------------------------------------------------ masthead -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 22, 15, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.masthead.is-stuck {
  background: rgba(16, 22, 15, 0.95);
  border-bottom-color: var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}
.brand__mark { width: 32px; height: 32px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.brand__tag {
  font-size: 0.6rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
}

.nav { display: flex; gap: 2rem; }
.nav a {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

/* The drawer carries its own booking button; the masthead one is hidden
   at the same width, so there is always exactly one visible. */
.nav__book { display: none; }

.masthead__actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bars {
  display: grid;
  gap: 6px;
  justify-items: center;
}
.nav-toggle__bars i {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88svh;
  padding-block: clamp(5.5rem, 14vh, 9rem) clamp(4rem, 9vh, 6.5rem);
  overflow: hidden;
  isolation: isolate;
  /* A faint warm bloom behind the copy keeps the flat panel layout from
     reading as a plain dark rectangle. */
  background:
    radial-gradient(90% 70% at 12% 18%, rgba(203, 164, 103, 0.10) 0%, rgba(16, 22, 15, 0) 60%),
    radial-gradient(70% 60% at 88% 90%, rgba(192, 132, 121, 0.09) 0%, rgba(16, 22, 15, 0) 62%);
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  align-items: center;
  width: 100%;
}

/* The clip is 720x1280, so on desktop it is shown in its own portrait panel
   at close to native size instead of being zoomed into a landscape band. */
.hero__media {
  position: relative;
  margin: 0 0 0 auto;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 9 / 16;
  background: #0B1009;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero__media::after {
  /* Hairline frame offset behind the panel, echoing the About portrait. */
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  pointer-events: none;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.88) contrast(1.03);
}

.hero__scrim { display: none; }

.hero__title {
  margin-bottom: 1.6rem;
  /* Sized so "Curious Alchemy" stays on one line in the narrower copy
     column; the phone layout gets the full-width value back below. */
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: 1.04;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}
.hero__lede {
  max-width: 34rem;
  margin-bottom: 2.5rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  opacity: 0.88;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: var(--line-soft);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: trickle 2.6s var(--ease) infinite;
}
@keyframes trickle {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* --------------------------------------------------------------- quote -- */

.quote {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.quote__inner { max-width: 40rem; margin-inline: auto; }
.quote__rule {
  display: block;
  width: 54px;
  height: 1px;
  margin: 0 auto 2.25rem;
  background: var(--gold);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.34;
  color: var(--ink);
}
.quote__by {
  margin-top: 1.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------- about -- */

.about { padding-block: var(--step); }

.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: start;
}

.about__figure {
  position: relative;
  margin: 0;
  /* The offset gold rule behind the photo echoes the hairline detailing
     used through the rest of the page. */
}
.about__figure::before {
  content: "";
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  pointer-events: none;
}
.about__figure img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
}

.about__body { padding-top: 0.5rem; }

.badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.75rem 0 2rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(203, 164, 103, 0.06);
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}
.badge__star { color: var(--gold); }

.prose p { color: var(--ink-muted); }
.prose p:first-child { color: var(--ink); font-size: 1.08rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 2.5rem;
}
.chips li {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------- divider -- */

.divider {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(26rem, 60vh, 40rem);
  overflow: hidden;
  border-block: 1px solid var(--line);
  isolation: isolate;
}
.divider picture { position: absolute; inset: 0; z-index: -2; }
.divider__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.5;
}
.divider__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(16, 22, 15, 0.55) 48%, rgba(16, 22, 15, 0.2) 100%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(16, 22, 15, 0) 25%, rgba(16, 22, 15, 0) 72%, var(--bg) 100%);
}
.divider__inner { width: 100%; }
.divider__line {
  max-width: 30rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 4.4vw, 2.75rem);
  line-height: 1.24;
}
.divider__line em { font-style: italic; color: var(--gold-soft); }

/* ---------------------------------------------------------- treatments -- */

.group-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: var(--gold-soft);
}
.group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.group-note {
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}

.cards {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.group-title + .cards { margin-top: 2rem; }

.card {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--surface);
  /* Drawn as a shadow rather than a border so the 1px grid gap reads as a
     single shared hairline and empty trailing cells stay invisible. */
  box-shadow: 0 0 0 1px var(--line);
  transition: background-color 0.3s var(--ease);
}
.card:hover { background: var(--surface-2); }

.card__index {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.6;
}

.card__title {
  font-size: 1.28rem;
  line-height: 1.24;
  margin-bottom: 0.5rem;
}

.card__price {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
}

.card__text {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(203, 164, 103, 0.07), rgba(192, 132, 121, 0.05));
}
.band__text {
  max-width: 34rem;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.12rem, 2.4vw, 1.45rem);
  line-height: 1.4;
}

/* -------------------------------------------------------- enhancements -- */

.lists {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.list__title {
  font-size: 1.22rem;
  color: var(--gold-soft);
}
.list__note {
  margin: 0.4rem 0 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-list__name { font-size: 0.95rem; }
.price-list__name small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.price-list__dots {
  flex: 1;
  min-width: 1rem;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 2px, transparent 2px 6px);
}
.price-list__price {
  min-width: 3.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
  text-align: right;
  color: var(--gold);
}

.consult {
  max-width: 52rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--gold);
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-style: italic;
}

/* --------------------------------------------------------------- visit -- */

.visit {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  align-items: start;
}

.details__row {
  display: grid;
  gap: 0.35rem 2rem;
  grid-template-columns: 7rem minmax(0, 1fr);
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.details__row:last-child { border-bottom: 1px solid var(--line); }
.details dt {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.28rem;
}
.details dd { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.details dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.details dd a:hover { color: var(--gold-soft); border-bottom-color: var(--gold); }
.details dd small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--ink-muted);
}

.hours {
  max-width: 21rem;
  margin-bottom: 0.9rem;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.22rem 0;
  font-size: 0.94rem;
}
.hours li span:first-child { color: var(--ink-muted); }
.hours li span:last-child { font-variant-numeric: tabular-nums; }

.visit__book {
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.visit__book-title { font-size: 1.4rem; margin-bottom: 0.75rem; }
.visit__book-note {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.visit__book-note strong { color: var(--ink); font-weight: 500; }

.qr {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.qr img {
  width: 132px;
  height: 132px;
  margin: 0 auto 0.85rem;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius);
}
.qr p {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* -------------------------------------------------------------- footer -- */

.footer {
  padding-block: clamp(3.5rem, 7vw, 5rem) clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  text-align: center;
}
.footer__mark { width: 46px; height: 46px; margin: 0 auto 1.1rem; }
.footer__name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer__tag {
  margin: 0.4rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin: 2.5rem 0;
  padding-block: 2rem;
  border-block: 1px solid var(--line);
}
.footer__links a {
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}
.footer__links a:hover { color: var(--gold-soft); }

.footer__legal {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

/* ------------------------------------------------------ mobile bookbar -- */

.bookbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(16, 22, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.bookbar.is-visible { transform: translateY(0); }
.bookbar__label {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- reveals -- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* Staggering siblings keeps card grids from popping in as one block. */
.cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4) { transition-delay: 0.08s; }
.cards .reveal:nth-child(5) { transition-delay: 0.16s; }
.lists .reveal:nth-child(2) { transition-delay: 0.1s; }
.lists .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero__inner { display: block; }
  .hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: auto;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }
  .hero__media::after { display: none; }
  /* A phone viewport is narrower than the clip, so cover shows the whole
     vertical frame - the same composition the desktop panel shows. */
  .hero__video { opacity: 0.72; border-radius: 0; }
  .hero__title { font-size: clamp(2.6rem, 9vw, 4.4rem); }
  .hero__scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(to top, var(--bg) 0%, rgba(16, 22, 15, 0.58) 38%, rgba(16, 22, 15, 0.3) 100%),
      radial-gradient(130% 80% at 22% 82%, rgba(16, 22, 15, 0.78) 0%, rgba(16, 22, 15, 0) 64%);
  }
}

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 26rem; }
  .visit { grid-template-columns: 1fr; }
  .visit__book { max-width: 26rem; }
}

@media (max-width: 800px) {
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgba(16, 22, 15, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
  }
  .nav a::after { display: none; }
  .nav .nav__book {
    display: inline-flex;
    margin-top: 1.5rem;
    border-bottom: 1px solid var(--gold);
    color: #10160F;
    font-size: 0.78rem;
  }
  .nav .nav__book:hover { color: #10160F; }

  .nav-toggle { display: grid; place-items: center; }
  .masthead__book { display: none; }
  .brand__tag { display: none; }
  .bookbar { display: flex; }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .hero { min-height: 92svh; }
  .details__row { grid-template-columns: 1fr; }
  .details dt { padding-top: 0; }
  .band { flex-direction: column; align-items: flex-start; }
  .quote blockquote p br { display: none; }
}

/* --------------------------------------------------- reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* The hero video is paused in JS as well; hiding it guarantees the
     poster frame is what actually shows. */
  .hero__video { display: none; }
  .hero__media {
    background-image: url("../img/hero-poster.a90c86c7.jpg");
    background-size: cover;
    background-position: center;
  }
  .hero__scroll span { animation: none; transform: translateY(0); }
}
