:root {
  color-scheme: light;
  --ivory: #faf7ef;
  --ink: #3b2c25;
  --muted: #65534a;
  --brown: #60473a;
  --green: #344639;
  --sand: #efe5d7;
  --line: #c9b9aa;
  --serif: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
}
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.masthead { padding-block: 1.5rem; border-bottom: 1px solid var(--line); text-align: center; }
.signature { margin: .5rem auto 0; font-size: .875rem; }
.wordmark { display: inline-grid; text-align: center; font: 2rem/1 var(--serif); letter-spacing: .13em; }
.wordmark span { margin-top: .5rem; font: .75rem/1 system-ui, sans-serif; letter-spacing: .28em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; }
h3 { font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.18; }
p { margin: 1rem 0 0; max-width: 44ch; color: var(--muted); text-wrap: pretty; }
.hero, .step, .report-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.hero { padding-block: 2.5rem 4rem; }
.photo {
  min-width: 0;
  margin: 0;
  background: var(--sand);
  border-radius: clamp(.625rem, 1.4vw, 1rem);
  box-shadow: 0 .25rem 1rem rgb(59 44 37 / 7%);
  overflow: hidden;
}
.photo img { width: 100%; aspect-ratio: 2 / 1; display: block; object-fit: cover; }
.photo figcaption { padding: .25rem .5rem; font-size: .8125rem; color: var(--muted); }
.hero-photo img {
  aspect-ratio: 16 / 9;
  scale: 1.02;
  transform-origin: right center;
}
.welcome-photo img { aspect-ratio: 4 / 3; }
.listening-photo img { height: auto; aspect-ratio: 3 / 2; }
.wash-photo img { aspect-ratio: 4 / 3; object-position: center 67%; }
.relaxation-video { width: min(100%, 16rem); justify-self: center; }
.relaxation-video video { display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--ink); }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  margin-top: 1.5rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: var(--brown);
  color: #fff;
  font: 600 1rem/1.4 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
a.button[href]:hover { background: var(--ink); }
.button[aria-disabled="true"] { background: #72635a; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--ivory); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.visit { padding-bottom: 4rem; }
.visit h2, .step { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.step { margin-top: 1.5rem; }
.report-layout { background: var(--sand); }
.courtesy { background: var(--sand); padding-block: clamp(2.5rem, 6vw, 5rem); }
.courtesy h2 { max-width: 22ch; }
.sample { width: min(100%, 17rem); justify-self: center; margin: 0; }
.sample figcaption { margin-top: .75rem; color: var(--muted); font-size: .875rem; text-align: center; }
.paper { padding: .75rem; background: var(--ivory); border: 1px solid var(--line); }
.cover { display: grid; gap: 1.5rem; padding: 1rem; background: var(--green); color: var(--ivory); }
.cover span { font-size: .75rem; letter-spacing: .12em; }
.cover strong { font: 1.5rem/1.15 var(--serif); }
.paper-content { display: grid; margin: 0; padding: .75rem .25rem 0; font-size: .875rem; list-style: none; }
.paper-content li { border-top: 1px solid var(--line); padding-block: .35rem; }
.booking { padding-block: 3rem; text-align: center; scroll-margin-top: 1rem; }
.booking dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem auto 0; max-width: 46rem; }
.booking dt { font-weight: 600; }
.booking dd { margin: .25rem 0 0; color: var(--muted); }
.map-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-underline-offset: .2em; }
.booking .note { margin: .5rem auto 0; font-size: .875rem; }
.footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; }
.footer strong { font: 1.25rem/1.2 var(--serif); }
.footer a { color: var(--ink); padding-block: .75rem; }

[data-story-panel] {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-photo img { animation: photo-arrival 900ms cubic-bezier(.22, 1, .36, 1) both; }
  [data-story-panel] {
    transition: transform 420ms cubic-bezier(.22, 1, .36, 1), background-color 300ms, box-shadow 300ms;
  }
  [data-story-panel].story-active {
    z-index: 1;
    transform: scale(1.025);
    background: var(--ivory);
    box-shadow: 0 16px 52px rgb(39 54 42 / 15%);
  }
  .report-layout.story-active { background: var(--sand); }

  @media (max-width: 74rem) {
    [data-story-panel].story-active { transform: scale(1.015); }
  }
}

@keyframes photo-arrival {
  from { opacity: .65; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .masthead { padding-block: 1rem; }
  .hero, .step, .report-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero { padding-block: 1rem 2.5rem; }
  .hero-photo { grid-row: 1; }
  .visit { padding-bottom: 2.5rem; }
  .booking dl { grid-template-columns: 1fr; }
  .button { width: 100%; }
}
