/* ==========================================================================
   Summer Massage 4U — seaside wellness
   Design tokens → base → components → sections → responsive
   ========================================================================== */

:root {
  /* Palette — warm sand, ivory, olive, wood, a touch of ink */
  --ivory: #f7f2ea;
  --cream: #efe7da;
  --sand: #e4d7c3;
  --sand-deep: #cbb89b;
  --linen: #d9cbb4;
  --olive: #5f6043;
  --olive-soft: #8a8a68;
  --wood: #8b6a4b;
  --brown: #3b3027;
  --brown-deep: #2b241d;
  --ink: #1c1814;
  --line: rgba(59, 48, 39, 0.16);
  --line-strong: rgba(59, 48, 39, 0.32);
  --line-light: rgba(247, 242, 234, 0.38);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --section: clamp(6rem, 14vw, 12rem);
  --max: 1440px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Fine film grain — fixed and non-interactive, so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1.25em; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--sand-deep); color: var(--ink); }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.section { padding: var(--section) 0; }

/* ---------- Typography ---------- */

.eyebrow {
  margin: 0 0 1.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow--light { color: rgba(247, 242, 234, 0.85); }
.eyebrow--center { text-align: center; }

.display {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
}
.display--xl { font-size: clamp(3rem, 1.4rem + 6vw, 8rem); line-height: 0.98; }

.lede {
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem);
  line-height: 1.8;
  color: var(--brown);
}

/* ---------- Buttons ---------- */

.btn {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0 2.1rem;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--light { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn--light:hover { --bg: transparent; --fg: var(--ivory); }

.btn--outline-light { --fg: var(--ivory); --bd: var(--line-light); }
.btn--outline-light:hover { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }

.btn--dark { --bg: var(--olive); --fg: var(--ivory); --bd: var(--olive); }
.btn--dark:hover { --bg: var(--brown-deep); --bd: var(--brown-deep); }

.btn--outline:hover { --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink); }

.btn--ghost { --fg: currentColor; --bd: currentColor; }

.btn--line {
  min-height: 2.6rem;
  padding: 0 1.4rem;
  font-size: 0.66rem;
}
.btn--line:hover { --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink); }

.btn--sm { min-height: 2.5rem; padding: 0 1.4rem; font-size: 0.66rem; }
.btn--lg { min-height: 3.75rem; padding: 0 3rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.link-arrow::after {
  content: "";
  width: 3rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.7s var(--ease-slow);
}
.link-arrow:hover::after { transform: scaleX(1.6); }

.text-link {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.4s var(--ease);
}
.text-link:hover { opacity: 0.7; }
.text-link--light { color: var(--ivory); }

/* ---------- Image frames: slow zoom on hover ---------- */

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 2.4s var(--ease-slow);
}
@media (hover: hover) {
  .frame:hover img { transform: scale(1.045); }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1.4s var(--ease-slow), transform 1.4s var(--ease-slow);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--ivory);
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem var(--gutter);
  transition: padding 0.6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 242, 234, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .site-header__inner { padding-top: 1rem; padding-bottom: 1rem; }
.site-header.is-hidden { transform: translateY(-100%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  line-height: 1;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark {
  flex: none;
  width: 2.15rem;
  height: 2.3rem;
  transition: transform 0.8s var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 0.9rem;
  border-left: 1px solid currentColor;
  border-left-color: color-mix(in srgb, currentColor 30%, transparent);
}
.brand__name {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__place {
  margin-top: 0.55rem;
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav__list { display: flex; gap: 2.6rem; }
.nav__list a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.45rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-slow);
}
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__book { margin-left: 0.5rem; }
.site-header:not(.is-scrolled) .site-header__book:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.site-header.is-scrolled .site-header__book:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  padding: 0;
}
.menu-toggle__line {
  position: absolute;
  left: 0.5rem; right: 0.5rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.menu-toggle__line:nth-of-type(2) { top: calc(50% - 4px); }
.menu-toggle__line:nth-of-type(3) { top: calc(50% + 4px); left: 1.1rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); left: 0.5rem; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.5rem;
  padding: 7rem var(--gutter) 3rem;
  background: var(--brown-deep);
  color: var(--ivory);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__list a {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  text-decoration: none;
}
.mobile-menu__meta {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
}
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--ivory); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ==========================================================================
   1. Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory);
  background: var(--brown-deep);
}
.hero__media,
.hero__veil { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: hero-settle 3.2s var(--ease-slow) both;
}
.hero__veil {
  background:
    linear-gradient(90deg, rgba(31, 24, 18, 0.62) 0%, rgba(31, 24, 18, 0.28) 45%, rgba(31, 24, 18, 0) 75%),
    linear-gradient(0deg, rgba(31, 24, 18, 0.5) 0%, rgba(31, 24, 18, 0) 45%),
    linear-gradient(180deg, rgba(31, 24, 18, 0.35) 0%, rgba(31, 24, 18, 0) 22%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(7rem, 16vh, 11rem);
}
.hero__title {
  margin: 0 0 1.75rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 1.2rem + 7.4vw, 9.5rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span {
  display: inline-block;
  animation: rise 1.8s var(--ease-slow) both;
}
.hero__title .line:nth-child(2) > span { animation-delay: 0.15s; }

.hero__eyebrow,
.hero__sub,
.hero__actions { animation: fade-up 1.6s var(--ease-slow) both; }
.hero__eyebrow { animation-delay: 0.1s; }
.hero__sub { animation-delay: 0.5s; }
.hero__actions { animation-delay: 0.7s; }

.hero__sub {
  max-width: 28rem;
  margin-bottom: 2.75rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  letter-spacing: 0.04em;
  color: rgba(247, 242, 234, 0.88);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.25rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  color: rgba(247, 242, 234, 0.8);
  text-decoration: none;
  transform: translateX(-50%);
  animation: fade-up 1.6s 1.1s var(--ease-slow) both;
}
.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 3.5rem;
  overflow: hidden;
  background: rgba(247, 242, 234, 0.25);
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  animation: scroll-line 2.8s var(--ease) infinite;
}
.scroll-cue__label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding-left: 0.4em;
}

@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ==========================================================================
   2. Introduction
   ========================================================================== */

.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.intro__text {
  grid-column: 1 / span 5;
  grid-row: 1;
  max-width: 34rem;
}
.intro__media {
  grid-column: 7 / span 6;
  grid-row: 1;
}
.frame--tall { aspect-ratio: 4 / 5; }
.intro__text p:not(.eyebrow):not(.lede) { color: var(--wood); font-style: italic; font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }

/* ==========================================================================
   3. The Space
   ========================================================================== */

.space {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 0;
  padding-right: var(--gutter);
  background:
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 30%, var(--cream) 100%);
}

.space__collage {
  grid-column: 1 / span 7;
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: auto auto;
  padding-bottom: clamp(3rem, 8vw, 8rem);
}
.space__img--main {
  grid-column: 1 / span 7;
  grid-row: 1;
}
.space__img--main .frame { aspect-ratio: 3 / 2.2; border-radius: 0 var(--radius) var(--radius) 0; }

.space__img--linen {
  grid-column: 5 / span 3;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: calc(-1 * clamp(3rem, 8vw, 8rem));
  transform: translateY(0);
  z-index: 2;
}
.space__img--linen .frame { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(43, 36, 29, 0.45); outline: 10px solid var(--cream); }

.space__img--still {
  grid-column: 7 / span 2;
  grid-row: 1;
  align-self: start;
  margin-top: -12%;
  margin-right: calc(-1 * clamp(1rem, 3vw, 3rem));
  z-index: 3;
}
.space__img--still .frame { aspect-ratio: 1; outline: 8px solid var(--cream); }

.space__text {
  grid-column: 9 / span 4;
  max-width: 30rem;
  padding-top: 4rem;
}

.qualities {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.qualities li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
}
.qualities span {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--olive-soft);
}

/* ==========================================================================
   4. Ocean moment
   ========================================================================== */

.horizon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
  background: var(--brown-deep);
}
.horizon__media,
.horizon__veil,
.finale__media,
.finale__veil { position: absolute; inset: 0; }
.horizon__media img,
.finale__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 3.5s var(--ease-slow);
}
.horizon__media.is-visible img,
.finale__media.is-visible img { transform: scale(1); }
/* The source photo is a wide panorama: a gentler settle-in zoom and a height
   capped near its aspect ratio keep it from being enlarged past its detail. */
.horizon { min-height: clamp(34rem, 46vw, 100svh); }
.horizon__media img { object-position: 30% 50%; transform: scale(1.04); }
.finale__media img { object-position: 30% 50%; }

.horizon__veil {
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(31, 24, 18, 0.32), rgba(31, 24, 18, 0) 70%),
    linear-gradient(180deg, rgba(31, 24, 18, 0.25) 0%, rgba(31, 24, 18, 0) 30%, rgba(31, 24, 18, 0) 70%, rgba(31, 24, 18, 0.35) 100%);
}
.horizon__content,
.finale__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
}
.horizon .display,
.finale .display { color: var(--ivory); text-shadow: 0 2px 40px rgba(31, 24, 18, 0.25); }
.horizon .display em,
.finale .display em { color: var(--ivory); }
.horizon__sub,
.finale__sub {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.88);
}

/* ==========================================================================
   5. Experiences
   ========================================================================== */

.treatments { background: var(--ivory); }

.treatments__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.treatments__head .eyebrow { grid-column: 1 / -1; }
.treatments__head .display { grid-column: 1 / span 7; margin-bottom: 0; }
.treatments__note {
  grid-column: 9 / span 4;
  margin: 0;
  font-size: 0.95rem;
  color: var(--wood);
}

.treatments__layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.treatments__preview {
  grid-column: 1 / span 4;
  position: sticky;
  top: 7rem;
}
.frame--preview {
  aspect-ratio: 4 / 5;
}
.frame--preview img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 2.4s var(--ease-slow);
}
.frame--preview img.is-active { opacity: 1; transform: scale(1); }

.treatment-list {
  grid-column: 6 / span 7;
  border-top: 1px solid var(--line-strong);
}
.treatment {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr auto auto;
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1.5rem, 2.4vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line-strong);
  transition: padding 0.7s var(--ease-slow);
}
.treatment::before {
  content: "";
  position: absolute;
  inset: 0 auto -1px 0;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-slow);
  pointer-events: none;
}
.treatment.is-active::before { transform: scaleX(1); }

.treatment__thumb { display: none; }
.treatment__index {
  align-self: start;
  padding-top: 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--olive-soft);
}
.treatment__name {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  transition: transform 0.8s var(--ease-slow), color 0.6s var(--ease);
}
.treatment.is-active .treatment__name { transform: translateX(0.6rem); }
.treatment__desc {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--wood);
}
.treatment__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  text-align: right;
}
.treatment__duration {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}
.treatment__price {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--olive-soft);
}

/* ==========================================================================
   6. The View
   ========================================================================== */

.view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--sand);
}
.view__media {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}
.view__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.6s var(--ease-slow);
}
@media (hover: hover) {
  .view__media:hover img { transform: scale(1.035); }
}
.view__text {
  align-self: center;
  max-width: 36rem;
  padding: var(--section) clamp(2rem, 7vw, 7rem);
}
.view .display {
  text-transform: uppercase;
  font-size: clamp(2.3rem, 1.4rem + 3vw, 4.6rem);
  line-height: 1.02;
}
.view .display em { text-transform: none; font-size: 1.08em; }
.view__text p:not(.eyebrow) { color: var(--brown); }

/* ==========================================================================
   7. Testimonials
   ========================================================================== */

.reviews { background: var(--ivory); }
.reviews .eyebrow { margin-bottom: clamp(3.5rem, 6vw, 5.5rem); font-weight: 400; }

.reviews__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}
.review {
  display: flex;
  flex-direction: column;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-strong);
}
.stars {
  margin: 0 0 1.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  color: var(--wood);
}
.review blockquote { margin: 0 0 2rem; flex: 1; }
.review blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem);
  line-height: 1.38;
  color: var(--ink);
}
.review__author {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}
.review__author span { color: var(--olive-soft); letter-spacing: 0.18em; }

/* ==========================================================================
   8. Location
   ========================================================================== */

.location {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--section);
}
.location__media { grid-column: 1 / span 6; }
.location__media .frame { aspect-ratio: 4 / 3.4; }
.location__text { grid-column: 8 / span 5; }

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin: 0 0 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.details dt {
  margin-bottom: 0.6rem;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
}
.details dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
}
.details a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease-slow); }
.details a:hover { background-size: 100% 1px; }

.location__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ==========================================================================
   9. Final CTA
   ========================================================================== */

.finale {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
  background: var(--brown-deep);
}
.finale__veil {
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(31, 24, 18, 0.42), rgba(31, 24, 18, 0.12) 75%),
    linear-gradient(0deg, rgba(31, 24, 18, 0.55) 0%, rgba(31, 24, 18, 0) 35%);
}
.finale .display { text-transform: uppercase; }
.finale .display em { text-transform: none; }
.finale__sub { margin-bottom: 3rem; }
.finale__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.footer {
  background: var(--brown-deep);
  color: rgba(247, 242, 234, 0.82);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--gutter);
  border-top: 1px solid rgba(247, 242, 234, 0.12);
}
.brand--footer { margin-right: auto; color: var(--ivory); }
.brand--footer .brand__mark { width: 2.6rem; height: 2.75rem; color: var(--sand); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; }
.footer__links a,
.footer__copy {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.4s var(--ease);
}
.footer__links a:hover { color: var(--ivory); }
.footer__links .icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--sand);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.footer__links a:hover .icon { color: var(--ivory); transform: translateY(-1px); }
.footer__copy { margin: 0; opacity: 0.55; letter-spacing: 0.16em; }

/* ==========================================================================
   Booking dialog
   ========================================================================== */

.booking {
  width: min(100% - 2rem, 40rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--brown);
  overflow: auto;
  overscroll-behavior: contain;
}
.booking::backdrop {
  background: rgba(28, 24, 20, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.booking[open] { animation: dialog-in 0.7s var(--ease-slow) both; }
.booking[open]::backdrop { animation: backdrop-in 0.6s var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

.booking__panel { position: relative; padding: clamp(2.25rem, 5vw, 3.5rem); }
.booking__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  transition: border-color 0.4s var(--ease), transform 0.6s var(--ease-slow);
}
.booking__close:hover { border-color: var(--ink); transform: rotate(90deg); }
.booking__close span::before,
.booking__close span::after {
  content: "";
  position: absolute;
  left: 30%; right: 30%; top: 50%;
  height: 1px;
  background: var(--ink);
  transform: rotate(45deg);
}
.booking__close span::after { transform: rotate(-45deg); }

.booking__title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--ink);
}
.booking__intro { max-width: 28rem; margin-bottom: 2.25rem; font-size: 0.95rem; color: var(--wood); }

.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.5rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full,
.booking__form > .btn,
.booking__error { grid-column: 1 / -1; }
.field > span {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
}
.field em { font-style: normal; text-transform: none; letter-spacing: 0.04em; opacity: 0.7; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.4s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233b3027' stroke-width='1'/%3E%3C/svg%3E") right 0.2rem center / 10px no-repeat;
}
.field textarea { resize: vertical; min-height: 4rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input:user-invalid,
.field select:user-invalid { border-bottom-color: #9a5b3c; }
.booking__form > .btn { margin-top: 0.75rem; }
.booking__form > .btn[disabled] { opacity: 0.6; cursor: progress; }
.booking__error { margin: 0; font-size: 0.88rem; color: #8a4f33; }
.booking__done .btn { margin-top: 0.5rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet */
@media (max-width: 1100px) {
  .nav__list { gap: 1.8rem; }
  .space__text { grid-column: 8 / span 5; }
  .space__collage { grid-column: 1 / span 7; }
  .treatments__preview { grid-column: 1 / span 5; }
  .treatment-list { grid-column: 6 / span 7; }
  .treatment { grid-template-columns: 2.5rem 1fr auto; row-gap: 1.25rem; }
  .treatment .btn { grid-column: 2 / -1; justify-self: start; }
}

@media (max-width: 959px) {
  .nav,
  .site-header__book { display: none; }
  .menu-toggle { display: block; }

  /* Intro: image first, then text */
  .intro__grid { grid-template-columns: 1fr; row-gap: 3.5rem; }
  .intro__media,
  .intro__text { grid-column: 1; grid-row: auto; }
  .intro__media { margin: 0 calc(-1 * var(--gutter)); }
  .intro__media .frame { border-radius: 0; aspect-ratio: 4 / 4.6; }
  .intro { padding-top: 0; }

  /* Space */
  .space {
    grid-template-columns: 1fr;
    padding: var(--section) 0;
  }
  .space__collage {
    grid-column: 1;
    grid-template-columns: repeat(12, 1fr);
    padding-bottom: 0;
    margin-bottom: 5.5rem;
  }
  .space__img--main { grid-column: 1 / span 11; }
  .space__img--linen { grid-column: 6 / span 6; margin-bottom: -4.5rem; }
  .space__img--still { grid-column: 9 / span 4; margin-top: -10%; margin-right: 0; }
  .space__img--still .frame { outline-width: 6px; }
  .space__text { grid-column: 1; padding: 2rem var(--gutter) 0; max-width: 40rem; }

  /* Treatments: stacked editorial cards with image */
  .treatments__head { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .treatments__head .display,
  .treatments__note { grid-column: 1; }
  .treatments__layout { display: block; }
  .treatments__preview { display: none; }
  .treatment-list { border-top: 0; }
  .treatment {
    grid-template-columns: 1fr auto;
    row-gap: 1rem;
    padding: 0 0 2rem;
    margin-bottom: 2rem;
  }
  .treatment::before { display: none; }
  .treatment.is-active .treatment__name { transform: none; }
  .treatment__thumb {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
  }
  .treatment__index { grid-column: 1 / -1; padding: 0; }
  .treatment__main { grid-column: 1 / -1; }
  .treatment__meta {
    grid-column: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 1.25rem;
  }
  .treatment .btn { grid-column: 2; justify-self: end; }

  /* View */
  .view { grid-template-columns: 1fr; min-height: 0; }
  .view__media { min-height: 0; aspect-ratio: 4 / 4.8; }
  .view__text { max-width: none; padding: 5rem var(--gutter) 6rem; }

  /* Reviews */
  .reviews__list { grid-template-columns: 1fr; gap: 3rem; max-width: 40rem; margin: 0 auto; }

  /* Location */
  .location { grid-template-columns: 1fr; row-gap: 3.5rem; padding-top: 0; }
  .location__media,
  .location__text { grid-column: 1; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --section: 6.5rem; }

  .site-header__inner { padding-top: 1.1rem; padding-bottom: 1.1rem; }
  .brand { gap: 0.7rem; }
  .brand__mark { width: 1.85rem; height: 2rem; }
  .brand__text { padding-left: 0.7rem; }
  .brand__name { font-size: 0.72rem; letter-spacing: 0.24em; }
  .brand__place { margin-top: 0.45rem; letter-spacing: 0.42em; }

  .hero { align-items: flex-end; }
  .hero__media img { object-position: 72% 50%; }
  .hero__veil {
    background:
      linear-gradient(0deg, rgba(31, 24, 18, 0.78) 0%, rgba(31, 24, 18, 0.35) 45%, rgba(31, 24, 18, 0.05) 70%),
      linear-gradient(180deg, rgba(31, 24, 18, 0.4) 0%, rgba(31, 24, 18, 0) 20%);
  }
  .hero__content { padding-bottom: 7.5rem; }
  .hero__title { font-size: clamp(2.9rem, 13.2vw, 4.4rem); }
  .hero__sub { margin-bottom: 2rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero__actions .btn { width: 100%; }
  .scroll-cue { bottom: 1.5rem; }
  .scroll-cue__label { display: none; }
  .scroll-cue__line { height: 2.75rem; }

  .display { font-size: clamp(2.5rem, 10.5vw, 3.2rem); }
  .display--xl { font-size: clamp(3rem, 13vw, 4.2rem); }

  .horizon { min-height: 88svh; }
  .horizon__sub,
  .finale__sub { font-size: 0.66rem; letter-spacing: 0.24em; line-height: 2; max-width: 18rem; margin-inline: auto; }
  .finale__sub { margin-bottom: 2.5rem; }
  .finale .btn--lg { padding: 0 2rem; }

  .space__collage { margin-bottom: 4.5rem; }
  .space__img--main { grid-column: 1 / -1; }
  .space__img--main .frame { border-radius: 0; aspect-ratio: 4 / 3.6; }
  .space__img--linen { grid-column: 6 / span 7; margin-right: var(--gutter); margin-bottom: -3.5rem; }
  .space__img--linen .frame { outline-width: 6px; }
  .space__img--still { display: none; }
  .qualities li { font-size: 1.2rem; }

  .treatment__name { font-size: 2rem; }

  .details { grid-template-columns: 1fr; gap: 1.75rem; }
  .location__media { margin: 0 calc(-1 * var(--gutter)); }
  .location__media .frame { border-radius: 0; }
  .location__actions { flex-direction: column; }
  .location__actions .btn { width: 100%; }

  .booking {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .booking__form { grid-template-columns: 1fr; }
}

/* Large screens — let typography breathe even more */
@media (min-width: 1600px) {
  :root { --max: 1560px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
