:root {
  --bg: #0e0c0a;
  --bg-soft: #171412;
  --text: #f2ece4;
  --muted: #b7aa9a;
  --accent: #8a6a52;
  --accent-soft: rgba(138, 106, 82, 0.22);
  --line: rgba(242, 236, 228, 0.1);
  --shadow: rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(138, 106, 82, 0.14), transparent 24rem),
    linear-gradient(180deg, #0e0c0a 0%, #100d0b 44%, #0e0c0a 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("./assets/dark-paper-grain.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: saturate(0.6);
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 7.55rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

h3 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

p {
  color: var(--muted);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.17;
  mix-blend-mode: soft-light;
  background-image:
    repeating-radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 5px),
    repeating-radial-gradient(circle at 70% 84%, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 6px);
  background-size: 220px 220px, 180px 180px;
}

.music-player {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 18;
}

.music-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 20, 18, 0.72);
  box-shadow: inset 0 0 0 1px rgba(242, 236, 228, 0.12), 0 18px 48px rgba(0, 0, 0, 0.36);
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition:
    color 360ms ease,
    background-color 360ms ease,
    transform 360ms ease;
}

.music-toggle:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.music-toggle[aria-pressed="true"] {
  background: rgba(138, 106, 82, 0.34);
  color: var(--text);
}

.music-icon {
  position: relative;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor;
}

.music-icon::before,
.music-icon::after {
  position: absolute;
  content: "";
  background: currentColor;
}

.music-icon::before {
  left: 7px;
  top: 4px;
  width: 2px;
  height: 8px;
}

.music-icon::after {
  left: 4px;
  top: 10px;
  width: 6px;
  height: 4px;
  border-radius: 999px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 56px);
  color: rgba(242, 236, 228, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  color: var(--muted);
  transition: color 480ms ease;
}

nav a:hover {
  color: var(--text);
}

main {
  overflow: hidden;
}

section {
  position: relative;
}

.hero {
  min-height: 100svh;
  padding: 0 0 0 clamp(20px, 5vw, 72px);
}

.section-split,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  padding-top: 96px;
}

.lead {
  max-width: 31rem;
  margin-bottom: 40px;
  color: rgba(242, 236, 228, 0.76);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 2px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 480ms ease,
    background-color 480ms ease,
    color 480ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: var(--text);
}

.button.primary:hover {
  background: #9d7b61;
}

.button.secondary {
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button.secondary:hover {
  color: var(--text);
  background: rgba(242, 236, 228, 0.04);
}

.hero-media {
  height: 100svh;
  min-height: 680px;
}

figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 12, 10, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(14, 12, 10, 0.02), rgba(14, 12, 10, 0.58));
}

.content-grid,
.rituals,
.testimonials,
.booking {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(120px, 13vw, 180px) 0;
}

.intro-text {
  max-width: 620px;
}

.intro-text p {
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.6vw, 4.35rem);
  line-height: 1.1;
}

.intro-text p:not(:last-child) {
  margin-bottom: 24px;
}

.portrait-frame {
  aspect-ratio: 4 / 5.4;
  max-height: 760px;
}

.rituals {
  padding-top: clamp(96px, 10vw, 150px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 64px;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ritual-card,
.testimonial,
.booking-form {
  background: rgba(23, 20, 18, 0.76);
  box-shadow: inset 0 0 0 1px rgba(242, 236, 228, 0.06), 0 28px 90px var(--shadow);
}

.ritual-card {
  min-height: 420px;
  padding: clamp(26px, 4vw, 42px);
  transition:
    transform 700ms ease,
    box-shadow 700ms ease,
    background-color 700ms ease;
}

.ritual-card:hover {
  transform: translateY(-8px) scale(1.015);
  background: rgba(31, 27, 24, 0.9);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 82, 0.22), 0 36px 110px rgba(138, 106, 82, 0.15);
}

.ritual-index,
.duration {
  display: block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ritual-index {
  margin-bottom: 96px;
}

.duration {
  margin-top: 42px;
}

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

.about-media {
  aspect-ratio: 4 / 5;
  min-height: 620px;
}

.about-text {
  max-width: 520px;
}

.about-text h2 {
  font-size: clamp(3rem, 5.8vw, 5.7rem);
}

.about-text p:not(.eyebrow) {
  margin-bottom: 18px;
}

.gallery-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(120px, 13vw, 180px) 0;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.gallery-feature,
.gallery-photo {
  background: var(--bg-soft);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
}

.gallery-feature {
  aspect-ratio: 4 / 5.35;
}

.gallery-feature img {
  filter: saturate(0.72) brightness(0.72) contrast(1.08);
  object-position: 44% 34%;
}

.gallery-stack {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.gallery-photo {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5.35;
}

.gallery-photo img {
  filter: saturate(0.74) brightness(0.74) contrast(1.06);
}

.gallery-photo img {
  object-position: center 42%;
}

.carousel {
  position: relative;
}

.testimonial-track {
  display: grid;
}

.testimonial {
  grid-area: 1 / 1;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: clamp(32px, 8vw, 90px);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial p {
  max-width: 780px;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4.2vw, 4.6rem);
  line-height: 1.08;
  text-align: center;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.dot {
  width: 34px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(242, 236, 228, 0.2);
  cursor: pointer;
  transition: background-color 400ms ease, transform 400ms ease;
}

.dot.is-active {
  background: var(--accent);
  transform: scaleX(1.3);
}

.booking {
  width: 100%;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(128px, 14vw, 190px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(rgba(14, 12, 10, 0.86), rgba(14, 12, 10, 0.92)),
    url("./assets/smoke-linen-shadow.jpg") center / cover;
}

.booking-inner {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 128px;
}

.booking-copy p:not(.eyebrow) {
  max-width: 500px;
  font-size: 1.08rem;
}

.booking-form {
  padding: clamp(22px, 4vw, 40px);
}

.tally-embed {
  min-height: 0;
}

.fallback-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(242, 236, 228, 0.06);
  box-shadow: inset 0 -1px 0 rgba(242, 236, 228, 0.15);
  color: var(--text);
  font: inherit;
  padding: 15px 14px;
  outline: none;
  transition:
    background-color 300ms ease,
    box-shadow 300ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  background: rgba(242, 236, 228, 0.09);
  box-shadow: inset 0 -1px 0 var(--accent);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #090807;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  transition: color 360ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1200ms ease,
    transform 1200ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .section-split,
  .content-grid,
  .reverse,
  .booking-inner,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero-media {
    grid-row: 1;
    height: 64svh;
    min-height: 440px;
  }

  .hero-copy {
    padding: 56px 20px 112px;
  }

  .ritual-grid {
    grid-template-columns: 1fr;
  }

  .ritual-card {
    min-height: 300px;
  }

  .ritual-index {
    margin-bottom: 48px;
  }

  .about-media,
  .portrait-frame,
  .gallery-photo {
    min-height: auto;
  }

  .booking-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }

  h2 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .content-grid,
  .rituals,
  .testimonials,
  .gallery-section {
    width: min(100% - 32px, var(--max));
    padding: 104px 0;
  }

  .music-player {
    right: 14px;
    bottom: 14px;
  }

  .music-text {
    display: none;
  }

  .music-toggle {
    width: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
  }

  .intro-text p,
  .testimonial p {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .booking {
    padding-inline: 16px;
  }

  .booking-inner {
    gap: 32px;
  }

  .booking-form {
    padding: 22px;
  }

  .actions,
  .actions .button,
  .fallback-form .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
