/* ==========================================================================
   MAISON LUMIÈRE — Design System
   Editorial light base with dark "atelier" blocks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces */
  --paper: #F6F1E9;
  --paper-2: #EFE7DA;
  --paper-3: #E6DBC9;
  --noir: #0E0B09;
  --noir-2: #171210;
  --noir-3: #221A16;

  /* Ink */
  --ink: #14100C;
  --ink-2: #4A4038;
  --ink-3: #7C7065;

  /* On dark */
  --chalk: #F3EDE4;
  --chalk-2: #B5AA9C;
  --chalk-3: #7A7066;

  /* Accent */
  --gold: #B08B4F;
  --gold-2: #C9A76B;
  --gold-3: #E4CEA3;

  /* Lines */
  --rule: rgba(20, 16, 12, 0.14);
  --rule-strong: rgba(20, 16, 12, 0.28);
  --rule-dark: rgba(243, 237, 228, 0.16);

  /* Type */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.4vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.5rem);
  --step-5: clamp(3.2rem, 1.4rem + 8vw, 9rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --shell: 1440px;
  --block: clamp(5rem, 11vw, 11rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.6s;

  --nav-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Keeps the layout from shifting when the mobile menu locks body scroll. */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

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

/* Without this the width/height attributes win over any CSS aspect-ratio. */
img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 100, 'SOFT' 20;
}

.display {
  font-size: var(--step-5);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.h-xl {
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.h-lg {
  font-size: var(--step-3);
  line-height: 1.05;
}

.h-md {
  font-size: var(--step-2);
  line-height: 1.15;
}

/* Small caps label used above every section title. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--plain::before {
  display: none;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 300;
}

.muted {
  color: var(--ink-3);
}

/* An italic "wonky" accent word inside display headings. */
.accent {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 1;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

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

.block {
  padding-block: var(--block);
  position: relative;
  /* Clips the light-leak blobs, which are deliberately positioned off-edge. */
  overflow: hidden;
}

.block--tight {
  padding-block: calc(var(--block) * 0.6);
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
}

/* Section header: label + title on the left, optional note on the right. */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head__title {
  margin-top: 1.2rem;
}

.section-head__note {
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 34ch;
  padding-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. Atmosphere — film grain + light leaks
   -------------------------------------------------------------------------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Soft warm glow, echoing the backlit mirrors in the photography. */
.leak {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
}

.leak--gold {
  background: radial-gradient(circle, rgba(201, 167, 107, 0.55), transparent 70%);
}

.leak--warm {
  background: radial-gradient(circle, rgba(228, 206, 163, 0.4), transparent 70%);
}

/* --------------------------------------------------------------------------
   6. Custom cursor (pointer devices only)
   -------------------------------------------------------------------------- */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out), opacity 0.3s;
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor.is-ready {
  opacity: 1;
}

.cursor.is-hot {
  width: 62px;
  height: 62px;
  background-color: rgba(176, 139, 79, 0.22);
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-line: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 2.2em;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-line);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

/* Fill wipes up from the bottom on hover. */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn:hover {
  color: var(--paper);
  border-color: var(--gold);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-line: var(--rule-strong);
}

.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--chalk);
  --btn-line: var(--rule-dark);
}

.btn--solid-light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-line: var(--paper);
}

.btn--block {
  width: 100%;
}

/* Underline that wipes in from the left. */
.link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   8. Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Over the hero the bar is transparent with light text. */
.nav--over {
  color: var(--chalk);
}

.nav--solid {
  background: rgba(246, 241, 233, 0.86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--rule);
  color: var(--ink);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  line-height: 1;
}

.brand__mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  font-variation-settings: 'opsz' 144;
}

.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.65;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.4rem);
}

.nav__link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active {
  opacity: 1;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* The CTA follows the bar's own colour so it stays legible in both states. */
.nav__cta {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  padding: 0.75em 1.6em;
  font-size: 0.72rem;
}

.nav--over .nav__cta {
  --btn-line: rgba(243, 237, 228, 0.4);
}

.nav--solid .nav__cta {
  --btn-line: var(--rule-strong);
}

.nav__toggle {
  display: none;
  width: 30px;
  height: 18px;
  position: relative;
  z-index: 1002;
}

.nav__toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), opacity 0.25s;
}

.nav__toggle span:nth-child(1) {
  top: 0;
}
.nav__toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.nav__toggle span:nth-child(3) {
  bottom: 0;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(2rem, 5vh, 4rem);
  overflow: hidden;
  color: var(--chalk);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroDrift 22s var(--ease-in-out) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-1.5%, -1.5%, 0);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to bottom,
      rgba(14, 11, 9, 0.55) 0%,
      rgba(14, 11, 9, 0.22) 35%,
      rgba(14, 11, 9, 0.72) 100%
    ),
    linear-gradient(to right, rgba(14, 11, 9, 0.5) 0%, transparent 65%);
}

.hero__body {
  padding-top: calc(var(--nav-h) + 2rem);
}

/* Capped below --step-5: the German headline runs long and must clear the fold. */
.hero__title {
  margin-top: 0.9rem;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

/* Each line sits in a clipping mask so it can slide up on load. The padding
   keeps descenders inside the clip; the negative margin cancels the gap. */
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;
  margin-bottom: -0.13em;
}

.mask > span {
  display: block;
  transform: translateY(105%);
  animation: revealFailsafe 0.01s linear 3s forwards;
}

.js .is-loaded .mask > span,
.no-js .mask > span {
  transform: translateY(0);
  transition: transform 1.05s var(--ease-out);
}

.is-loaded .mask:nth-child(2) > span {
  transition-delay: 0.11s;
}
.is-loaded .mask:nth-child(3) > span {
  transition-delay: 0.22s;
}

.hero__sub {
  margin-top: clamp(1.2rem, 2.4vw, 2rem);
  max-width: 46ch;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(243, 237, 228, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

/* Meta rail along the bottom of the hero. */
.hero__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2rem, 6vh, 4.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(243, 237, 228, 0.22);
}

.hero__meta-list {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.hero__meta-item {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(243, 237, 228, 0.7);
}

.hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--chalk);
  margin-top: 0.4rem;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(243, 237, 228, 0.7);
  white-space: nowrap;
}

.scroll-cue__line {
  display: block;
  width: 52px;
  height: 1px;
  background: rgba(243, 237, 228, 0.35);
  position: relative;
  overflow: hidden;
}

.scroll-cue__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-3);
  animation: cueSlide 2.4s var(--ease-in-out) infinite;
}

@keyframes cueSlide {
  0% {
    transform: translateX(-100%);
  }
  60%,
  100% {
    transform: translateX(100%);
  }
}

/* --------------------------------------------------------------------------
   10. Marquee
   -------------------------------------------------------------------------- */

.marquee {
  background: var(--noir);
  color: var(--chalk);
  padding-block: 1.6rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-style: italic;
  letter-spacing: 0.01em;
  opacity: 0.82;
}

.marquee__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   11. Manifest / About
   -------------------------------------------------------------------------- */

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

.manifest__body > * + * {
  margin-top: 1.6rem;
}

.manifest__figure {
  position: relative;
  align-self: stretch;
}

.manifest__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Gold hairline frame offset behind the photo. */
.manifest__figure::after {
  content: '';
  position: absolute;
  inset: -1.5rem -1.5rem 1.5rem 1.5rem;
  border: 1px solid var(--gold);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}

.stat__num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--gold);
}

.stat__label {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   12. Services — editorial index
   -------------------------------------------------------------------------- */

.index {
  border-top: 1px solid var(--rule);
}

.index__row {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 0.9fr) 3rem;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding-block: clamp(1.6rem, 3.2vw, 2.6rem);
  border-bottom: 1px solid var(--rule);
  transition: color 0.5s var(--ease-out);
}

/* Ink wash sweeps in behind the row on hover. */
.index__row::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}

.index__row:hover {
  color: var(--paper);
}

.index__row:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.index__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.index__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144;
}

.index__desc {
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--ink-3);
  transition: color 0.5s var(--ease-out);
}

.index__row:hover .index__desc {
  color: rgba(243, 237, 228, 0.72);
}

.index__arrow {
  justify-self: end;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.35;
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}

.index__row:hover .index__arrow {
  opacity: 1;
  transform: rotate(-45deg);
}

.index__arrow svg {
  width: 14px;
  height: 14px;
}

/* Image that trails the cursor across the index. */
.index-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 330px;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transform: translate3d(-50%, -50%, 0) scale(0.9);
  transition: opacity 0.4s var(--ease-out), scale 0.5s var(--ease-out);
}

.index-preview.is-visible {
  opacity: 1;
  scale: 1;
}

.index-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: none), (pointer: coarse) {
  .index-preview {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   13. Prices
   -------------------------------------------------------------------------- */

.prices {
  background: var(--paper-2);
}

.price-group {
  border-bottom: 1px solid var(--rule);
}

.price-group:first-of-type {
  border-top: 1px solid var(--rule);
}

.price-group__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1.3rem, 2.6vw, 2rem);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.price-group__summary::-webkit-details-marker {
  display: none;
}

.price-group__summary:hover {
  color: var(--gold);
}

.price-group__name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}

.price-group__toggle {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  position: relative;
}

.price-group__toggle::before,
.price-group__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}

.price-group__toggle::after {
  transform: rotate(90deg);
}

.price-group[open] .price-group__toggle::after {
  transform: rotate(0deg);
}

.price-list {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  columns: 2;
  column-gap: clamp(2rem, 5vw, 5rem);
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.65rem;
  break-inside: avoid;
  border-bottom: 1px dotted var(--rule);
}

.price-list__name {
  flex: none;
  max-width: 70%;
}

/* Dotted leader between the service and the price. */
.price-list__fill {
  flex: 1;
  height: 1px;
  align-self: center;
  border-bottom: 1px dotted var(--rule-strong);
  opacity: 0.5;
}

.price-list__value {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  font-variation-settings: 'opsz' 144;
}

.price-note {
  margin-top: 2rem;
  font-size: var(--step--1);
  color: var(--ink-3);
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   14. Dark blocks
   -------------------------------------------------------------------------- */

.dark {
  background: var(--noir);
  color: var(--chalk);
  position: relative;
  overflow: hidden;
}

.dark .eyebrow {
  color: var(--gold-2);
}

.dark .section-head__note,
.dark .muted {
  color: var(--chalk-2);
}

.dark .rule,
.dark .stats {
  border-color: var(--rule-dark);
}

/* --------------------------------------------------------------------------
   15. Atmosphere gallery — horizontal scroll
   -------------------------------------------------------------------------- */

.atmos {
  position: relative;
  /* Must override .dark's overflow:hidden — a clipping ancestor would become
     the sticky child's scroll container and stop it pinning to the viewport.
     The track is clipped by .atmos__sticky instead. */
  overflow: visible;
}

.atmos__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.atmos__head {
  padding-inline: var(--gutter);
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  max-width: var(--shell);
  margin-inline: auto;
  width: 100%;
}

.atmos__track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-inline: var(--gutter);
  will-change: transform;
}

/* Trailing spacer: padding-right on an overflowing flex container is not
   counted in scrollWidth, so the last item would end flush with the edge. */
.atmos__track::after {
  content: '';
  flex: none;
  width: calc(var(--gutter) - clamp(1rem, 2.5vw, 2rem));
  min-width: 1px;
}

.atmos__item {
  position: relative;
  flex: none;
  width: clamp(240px, 30vw, 420px);
  overflow: hidden;
}

.atmos__item img {
  width: 100%;
  height: clamp(300px, 52vh, 540px);
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.6s;
  filter: brightness(0.82) saturate(0.92);
}

.atmos__item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1);
}

.atmos__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--chalk-2);
}

.atmos__caption b {
  font-weight: 500;
  color: var(--chalk);
}

.atmos__progress {
  max-width: var(--shell);
  width: 100%;
  margin: clamp(1.5rem, 4vh, 2.5rem) auto 0;
  padding-inline: var(--gutter);
}

.atmos__progress-rail {
  height: 1px;
  background: var(--rule-dark);
  position: relative;
}

.atmos__progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 12%;
  background: var(--gold-2);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   16. Team
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}

.team-card {
  background: var(--noir);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: background-color 0.5s var(--ease-out);
}

.team-card:hover {
  background: var(--noir-3);
}

/* Monogram tile stands in for a portrait — no fake faces. */
.team-card__mono {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--gold-2);
  margin-bottom: 1.6rem;
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}

.team-card:hover .team-card__mono {
  background: var(--gold);
  color: var(--noir);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 144;
}

.team-card__role {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-2);
}

.team-card__bio {
  margin-top: 1.1rem;
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--chalk-2);
}

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */

.voices {
  position: relative;
}

.voices__stage {
  display: grid;
  min-height: 20rem;
}

.voice {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out),
    visibility 0.7s;
}

.voice.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.voice__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 20ch;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
}

.voice__quote::before {
  content: '“';
  color: var(--gold);
}

.voice__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.8rem, 4vw, 3rem);
}

.voice__mono {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  color: var(--gold);
  flex: none;
}

.voice__name {
  font-weight: 500;
}

.voice__role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.voices__controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.voices__btn {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease-out), color 0.4s, border-color 0.4s;
}

.voices__btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.voices__btn svg {
  width: 15px;
  height: 15px;
}

.voices__count {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.voices__count b {
  color: var(--ink);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */

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

.faq__list {
  border-top: 1px solid var(--rule);
}

.faq__item {
  border-bottom: 1px solid var(--rule);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  cursor: pointer;
  list-style: none;
  font-size: var(--step-1);
  font-weight: 400;
  transition: color 0.3s;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--gold);
}

.faq__sign {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
}

.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}

.faq__sign::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__sign::after {
  transform: rotate(0);
}

.faq__a {
  padding-bottom: 1.6rem;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   19. Booking
   -------------------------------------------------------------------------- */

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

.contact-list {
  border-top: 1px solid var(--rule-dark);
}

.contact-list__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--rule-dark);
  font-size: var(--step--1);
}

.contact-list__key {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: var(--gold-2);
  padding-top: 0.25rem;
}

.contact-list__val {
  line-height: 1.7;
}

.contact-list__val a:hover {
  color: var(--gold-2);
}

/* Form shell sits on a slightly lifted dark panel. */
.form {
  background: var(--noir-2);
  border: 1px solid var(--rule-dark);
  padding: clamp(1.6rem, 4vw, 3rem);
}

.form__steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}

.form__step-pip {
  flex: 1;
  height: 2px;
  background: var(--rule-dark);
  position: relative;
  overflow: hidden;
}

.form__step-pip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.form__step-pip.is-done::after {
  transform: scaleX(1);
}

.form__legend {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-2);
  margin-bottom: 0.6rem;
  display: block;
}

.form__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
  font-variation-settings: 'opsz' 144;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
  animation: stepIn 0.5s var(--ease-out) both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Selectable service chips (step 1). */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.7em 1.3em;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--chalk-2);
  transition: border-color 0.35s, color 0.35s, background-color 0.35s;
}

.chip:hover {
  border-color: var(--gold);
  color: var(--chalk);
}

.chip.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--noir);
}

.field {
  position: relative;
  margin-bottom: 1.4rem;
}

.field__input {
  width: 100%;
  padding: 1.1rem 0 0.7rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--chalk);
  transition: border-color 0.4s;
}

.field__input::placeholder {
  color: transparent;
}

.field__input:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

/* Floating label driven purely by :focus / :not(:placeholder-shown). */
.field__label {
  position: absolute;
  left: 0;
  top: 1.1rem;
  font-size: var(--step-0);
  color: var(--chalk-3);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.35s var(--ease-out), color 0.35s;
}

.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-1.15rem) scale(0.72);
  color: var(--gold-2);
}

select.field__input {
  appearance: none;
  cursor: pointer;
}

select.field__input option {
  background: var(--noir-2);
  color: var(--chalk);
}

textarea.field__input {
  resize: vertical;
  min-height: 6rem;
}

.field__error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: #E08A6E;
  min-height: 1rem;
}

.form__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.form__summary {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-dark);
  font-size: var(--step--1);
  color: var(--chalk-2);
}

.form__summary b {
  color: var(--chalk);
  font-weight: 500;
}

.form__done {
  display: none;
  text-align: center;
  padding-block: 2rem;
}

.form__done.is-active {
  display: block;
  animation: stepIn 0.6s var(--ease-out) both;
}

.form__done-mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   20. CTA band
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta__title {
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-inline: auto;
}

.cta__text {
  margin: 1.5rem auto 2.5rem;
  max-width: 46ch;
  color: var(--chalk-2);
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--noir);
  color: var(--chalk);
  padding-top: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer__desc {
  margin-top: 1.5rem;
  max-width: 34ch;
  color: var(--chalk-2);
  font-size: var(--step--1);
  line-height: 1.75;
}

.footer__title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-2);
  margin-bottom: 1.3rem;
}

.footer__links li + li {
  margin-top: 0.7rem;
}

.footer__links a {
  font-size: var(--step--1);
  color: var(--chalk-2);
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--gold-2);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.socials a {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease-out), color 0.4s, border-color 0.4s;
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--noir);
}

.socials svg {
  width: 16px;
  height: 16px;
}

/* Oversized wordmark bleeding along the bottom edge. */
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 237, 228, 0.16);
  user-select: none;
  padding-bottom: 0.08em;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.6rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.72rem;
  color: var(--chalk-3);
}

.footer__bottom a:hover {
  color: var(--gold-2);
}

/* Fictional-project disclaimer. */
.disclaimer {
  background: var(--noir-3);
  color: var(--chalk-2);
  font-size: 0.72rem;
  line-height: 1.7;
  text-align: center;
  padding: 1rem var(--gutter);
  border-top: 1px solid var(--rule-dark);
}

.disclaimer b {
  color: var(--gold-2);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   22. Inner pages
   -------------------------------------------------------------------------- */

.page-head {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(4rem, 10vw, 9rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background: var(--noir);
  color: var(--chalk);
  overflow: hidden;
}

.page-head__title {
  font-size: var(--step-4);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-top: 1.2rem;
  max-width: 16ch;
}

.page-head__note {
  margin-top: 1.5rem;
  max-width: 52ch;
  color: var(--chalk-2);
  font-weight: 300;
  font-size: var(--step-1);
}

.crumbs {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--chalk-3);
}

.crumbs a:hover {
  color: var(--gold-2);
}

/* Service detail rows */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.detail--flip .detail__figure {
  order: 2;
}

.detail__figure {
  position: relative;
  overflow: hidden;
}

.detail__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.detail__figure:hover img {
  transform: scale(1.04);
}

.detail__num {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--paper);
  mix-blend-mode: difference;
}

.detail__title {
  font-size: var(--step-3);
  letter-spacing: -0.03em;
  margin-top: 1rem;
}

.detail__text {
  margin-top: 1.4rem;
  color: var(--ink-2);
  max-width: 54ch;
}

.detail__list {
  margin-top: 2rem;
  columns: 2;
  column-gap: 2.5rem;
}

.detail__list li {
  position: relative;
  padding-left: 1.4rem;
  padding-block: 0.45rem;
  font-size: var(--step--1);
  break-inside: avoid;
  color: var(--ink-2);
}

.detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.detail__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.detail__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}

.detail__price span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 0.3rem;
}

/* Gallery page */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.filter {
  padding: 0.6em 1.3em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: background-color 0.35s var(--ease-out), color 0.35s, border-color 0.35s;
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.4rem);
  /* Dense packing keeps the rows solid when the filter hides items. */
  grid-auto-flow: dense;
}

.mosaic__item {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* Varied spans keep the grid from reading as a plain 3-column block. */
.mosaic__item--wide {
  grid-column: span 8;
}
.mosaic__item--half {
  grid-column: span 6;
}
.mosaic__item--full {
  grid-column: span 12;
}

.mosaic__item.is-hidden {
  display: none;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s;
}

.mosaic__item--wide img,
.mosaic__item--half img {
  aspect-ratio: 16 / 10;
}

.mosaic__item:hover img {
  transform: scale(1.05);
}

.mosaic__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper);
  background: linear-gradient(to top, rgba(14, 11, 9, 0.8), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.mosaic__item:hover .mosaic__cap {
  opacity: 1;
  transform: translateY(0);
}

.mosaic__cap span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Map placeholder on the contact page */
.map {
  position: relative;
  aspect-ratio: 21 / 8;
  background: var(--paper-3);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.map__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.6;
}

.map__pin {
  position: relative;
  text-align: center;
}

.map__dot {
  width: 14px;
  height: 14px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(176, 139, 79, 0.5);
  animation: pinPulse 2.4s var(--ease-out) infinite;
}

@keyframes pinPulse {
  to {
    box-shadow: 0 0 0 32px rgba(176, 139, 79, 0);
  }
}

/* --------------------------------------------------------------------------
   22b. Legal pages
   -------------------------------------------------------------------------- */

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.8;
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul {
  margin-top: 0.8rem;
}

.prose li {
  position: relative;
  padding-left: 1.4rem;
  padding-block: 0.3rem;
}

.prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fiction notice at the top of the legal pages. */
.notice {
  border: 1px solid var(--gold);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 3rem;
  max-width: 68ch;
}

.notice p {
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.75;
}

.notice strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   23. Scroll reveal
   -------------------------------------------------------------------------- */

/* Only hide content once JS confirms it can reveal it again. The delayed
   animation is a failsafe: if script.js never runs, nothing stays invisible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  animation: revealFailsafe 0.01s linear 4s forwards;
}

/* script.js sets .js-ready on boot, which cancels the failsafe and hands the
   reveal back to the IntersectionObserver. */
.js-ready [data-reveal],
.js-ready .mask > span {
  animation: none;
}

@keyframes revealFailsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-reveal='fade'] {
  transform: none;
}

.js [data-reveal='left'] {
  transform: translateX(-32px);
}

.js [data-reveal='right'] {
  transform: translateX(32px);
}

/* --------------------------------------------------------------------------
   24. Back to top
   -------------------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 800;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out),
    visibility 0.45s, background-color 0.4s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold);
}

.to-top svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .index__row {
    grid-template-columns: 3.5rem minmax(0, 1fr) 2.5rem;
  }

  .index__desc {
    display: none;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 68px;
  }

  .nav__toggle {
    display: block;
  }

  /* The open menu covers the bar, so the burger has to switch to light. */
  .nav__toggle.is-open span {
    background: var(--chalk);
  }

  .brand__mark {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }

  .brand__sub {
    display: none;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
    padding: var(--gutter);
    background: var(--noir);
    color: var(--chalk);
    transform: translateY(-100%);
    transition: transform 0.7s var(--ease-out);
    z-index: 1001;
  }

  .nav__menu.is-open {
    transform: translateY(0);
  }

  .nav__link {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .nav__cta {
    margin-top: 1rem;
    font-size: 0.75rem;
  }

  .section-head,
  .manifest__grid,
  .faq,
  .booking,
  .detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail--flip .detail__figure {
    order: 0;
  }

  .manifest__figure::after {
    inset: -1rem -1rem 1rem 1rem;
  }

  /* Horizontal gallery falls back to a native swipe track. */
  .atmos {
    height: auto !important;
  }

  .atmos__sticky {
    position: static;
    height: auto;
    padding-block: var(--block);
  }

  .atmos__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    transform: none !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }

  .atmos__item {
    scroll-snap-align: start;
    width: min(72vw, 340px);
  }

  .atmos__progress {
    display: none;
  }

  .mosaic__item,
  .mosaic__item--wide,
  .mosaic__item--half,
  .mosaic__item--full {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .price-list,
  .detail__list {
    columns: 1;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-list__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
  }

  .mosaic__item,
  .mosaic__item--wide,
  .mosaic__item--half,
  .mosaic__item--full {
    grid-column: span 12;
  }

  .index__row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2rem;
    gap: 1rem;
  }
}

/* --------------------------------------------------------------------------
   26. 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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .mask > span {
    transform: none;
  }

  .cursor,
  .index-preview {
    display: none;
  }

  .atmos {
    height: auto !important;
  }

  .atmos__sticky {
    position: static;
    height: auto;
    padding-block: var(--block);
  }

  .atmos__track {
    overflow-x: auto;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   27. Print
   -------------------------------------------------------------------------- */

@media print {
  .nav,
  .to-top,
  .grain,
  .cursor,
  .marquee {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
