@font-face {
  font-family: Montserrat;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/treatments/Montserrat-Regular.ttf') format('truetype');
}

:root {
  color-scheme: light;
  --linen: #eae1d4;
  --ink: #56483f;
  --muted: #6b5b51;
  --cream: #fff8ef;
  --rose: #9d7b69;
  --photo-shade: rgb(20 14 10 / 40%);
  --sans: Montserrat, Arial, sans-serif;
  --heading: Jost, Arial, sans-serif;
  --text-heading: 'Cossette Texte', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; }
.wrap { width: min(1172px, calc(100% - 80px)); margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 250px; min-height: 52px; padding: 12px 28px; border-radius: 100px; background: var(--ink); color: var(--cream); font-family: var(--heading); font-size: 18px; font-weight: 500; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color 180ms ease, transform 180ms ease; }
.button:hover { background: #40342d; transform: translateY(-2px); }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 10px 18px; transform: translateY(-160%); background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.ampersand { font-family: 'Jim Nightshade', Georgia, serif; font-weight: 400; }
.handwritten { font-family: 'Give You Glory', cursive; color: #f3dccf; font-size: 36px; line-height: 1.05; }

@keyframes soft-reveal {
  from { opacity: 0; translate: 0 14px; }
  to { translate: 0 0; }
}

/* JavaScript prepares offscreen elements before the observer can reveal them. */
:root [data-reveal].is-pending {
  opacity: 0;
  translate: 0 14px;
}

.is-revealing {
  animation: soft-reveal 900ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms) backwards;
}

.hero { min-height: 736px; padding: 90px 24px 100px; position: relative; isolation: isolate; background: var(--ink); color: white; text-align: center; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--photo-shade), var(--photo-shade)), url('/assets/cacao-and-sound/hero.webp') center / cover no-repeat; }
.language-switch { position: absolute; top: 24px; right: 24px; display: flex; gap: 4px; padding: 4px; border: 1px solid rgb(86 72 63 / 15%); border-radius: 100px; background: var(--cream); color: var(--ink); font-size: 13px; line-height: 1.2; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; padding: 10px 14px; border-radius: 100px; text-decoration: none; }
.language-switch a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.language-switch a:not([aria-current="page"]):hover { background: var(--linen); }
.language-switch a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hero-content { max-width: 980px; margin-inline: auto; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.brand-mark { width: 39px; height: 59px; object-fit: contain; }
.hero h1 { margin-top: 7px; font: 600 clamp(34px, 3.125vw, 45px)/1.2 var(--heading); text-transform: uppercase; text-shadow: 0 2px 12px rgb(52 35 24 / 18%); }
.hero h1 > span { display: block; }
.hero-subtitle { margin-top: 16px; font: 400 24px/1.4 'Cossette Titre', Arial, sans-serif; }
.hero-meta { margin: 24px 0 36px; font-size: 24px; line-height: 1.5; }
.hero-meta > * { display: block; }
.hero-meta .time-range { white-space: nowrap; }
.hero-note { margin-top: 20px; color: var(--cream); font-size: 16px; font-weight: 400; }

.intro { padding: 76px 32px 68px; text-align: center; scroll-margin-top: 24px; }
.intro h2 { max-width: 1080px; margin: 0 auto 22px; font: 400 40px/1.23 var(--text-heading); }
.intro-copy { max-width: 1032px; margin-inline: auto; color: var(--muted); line-height: 1.8; }

.experience { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 770px; padding: 106px 0 110px; color: var(--cream); background: var(--linen); text-align: center; }
.experience::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(35 34 27 / 10%), rgb(35 34 27 / 16%)), url('/assets/cacao-and-sound/sound-bath.webp') center 49% / cover; opacity: .8; }
.experience .wrap { max-width: 1100px; }
.experience h2 { margin-bottom: 62px; font: 500 46px/1.15 var(--heading); }
.experience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.spiral { width: 18px; height: 19px; margin: 0 auto 15px; object-fit: contain; }
.experience h3 { min-height: 68px; margin-bottom: 22px; font: 400 28px/1.2 var(--text-heading); }
.experience article p { font-size: 18px; line-height: 1.65; }
.community-note { margin: 44px auto 0; }

.spaceholder { display: grid; grid-template-columns: 452fr 650fr; align-items: center; gap: 68px; padding-block: 90px 58px; }
.spaceholder-photo { width: 100%; aspect-ratio: 452 / 638; object-fit: cover; }
.spaceholder h2 { margin-bottom: 22px; font: 500 33.4px/1.3 var(--heading); }
.spaceholder-copy p { margin-top: 18px; font-size: 16px; line-height: 1.75; }

.practical { padding: 48px 0 54px; background: var(--ink); color: white; }
.practical-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.practical h2 { margin-bottom: 24px; font: 500 36px/1.25 var(--heading); }
.practical ul { margin: 0 0 26px; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.practical li { padding-left: 2px; }
.practical-copy > p { font-size: 16px; line-height: 1.55; }
.candle-gift { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 0; }
.candle-gift img { width: 100%; border-radius: 12px; transform: rotate(2deg); }
.candle-gift figcaption { position: relative; margin-left: -15px; padding-block: 20px; font-size: 31px; }

.candle-background { position: relative; isolation: isolate; background: var(--ink); color: white; text-align: center; }
.candle-background::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--photo-shade), var(--photo-shade)), url('/assets/cacao-and-sound/candles.webp') center / cover; }
.booking { display: grid; justify-items: center; align-content: center; min-height: 960px; padding: 96px 24px 130px; }
.booking-card { width: min(570px, 100%); border: 1px solid rgb(255 248 239 / 55%); padding: 52px 32px 70px; background: rgb(52 40 28 / 12%); }
.booking-location { margin-bottom: 24px; font-size: 15px; line-height: 1.45; }
.booking h2 { font: 600 55px/1.04 var(--heading); text-transform: uppercase; }
.prices { display: grid; gap: 34px; margin: 10px 0 32px; font-family: var(--text-heading); }
.prices dt { font-size: 15px; }
.prices dd { margin-top: 8px; font-size: 30px; font-weight: 700; line-height: 1; }
.prices dd span { margin-left: 2px; }
.price-deadline { display: block; margin-top: 10px; font: 400 14px/1.5 var(--sans); }
.button-rose { min-width: 200px; min-height: 48px; background: #8b6553; font-family: var(--sans); font-size: 15px; }
.button-rose:hover { background: #74503f; }
.payment-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; }
.payment-note img { width: 63px; height: 20px; object-fit: contain; }
.terms { max-width: 570px; margin-top: 24px; font-size: 12px; line-height: 1.65; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--linen); }
.gallery img { width: 100%; height: auto; aspect-ratio: 360 / 496; object-fit: cover; opacity: .86; }
.gallery img:first-child { opacity: .75; }
.closing { min-height: 720px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 24px; }
.closing h2 { font: 500 46px/1.24 var(--heading); }
.closing p { margin: 52px 0 32px; font: 500 20px/1.35 var(--heading); }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px max(24px, calc((100vw - 1172px) / 2)); background: var(--ink); color: var(--cream); font-size: 12px; }
footer > a:first-child { display: flex; align-items: center; gap: 12px; font-family: var(--heading); font-size: 22px; text-decoration: none; }
footer img { width: 24px; height: auto; filter: brightness(0) invert(1); opacity: .8; }
footer a { text-underline-offset: 4px; }

.has-parallax { overflow: hidden; overflow: clip; }
.has-parallax::before {
  inset: -80px 0;
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
}

@media (min-width: 1700px) {
  .hero::before { background-position: center 56%; }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .experience { padding-block: 90px; }
  .experience-grid { gap: 24px; }
  .experience article p { font-size: 16px; }
  .spaceholder { grid-template-columns: 40% minmax(0, 1fr); gap: 40px; }
  .spaceholder h2 { font-size: 30px; }
  .spaceholder-photo { aspect-ratio: 3 / 5; }
  .practical-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; }
  .candle-gift { grid-template-columns: 1fr; justify-items: center; }
  .candle-gift img { width: 170px; }
  .candle-gift figcaption { max-width: 260px; margin: 0; padding-block: 16px 0; font-size: 28px; text-align: center; }
}

@media (max-width: 900px) {
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 26px; }
}

@media (max-width: 760px) {
  .has-parallax::before { inset: -40px 0; }
  .wrap { width: calc(100% - 48px); }
  .hero { min-height: 700px; display: grid; align-content: center; padding: 94px 24px 110px; background-position: center; }
  .brand-mark { width: 33px; height: 51px; }
  .hero h1 { margin-top: 14px; font-size: clamp(31px, 5.8vw, 42px); }
  .hero-subtitle { max-width: 440px; margin: 22px auto 0; font-size: 22px; }
  .hero-meta { margin: 28px 0 30px; font-size: 18px; line-height: 1.65; }
  .hero-note { max-width: 310px; margin: 20px auto 0; font-size: 13px; }
  .intro { padding: 64px 24px; }
  .intro h2 { margin-bottom: 28px; font-size: 32px; line-height: 1.28; }
  .intro-copy { font-size: 16px; line-height: 1.8; }
  .intro-copy p + p { margin-top: 14px; }
  .experience { padding-block: 70px; }
  .experience h2 { margin-bottom: 44px; font-size: 38px; }
  .experience h3 { font-size: 26px; min-height: 62px; margin-bottom: 14px; }
  .community-note { margin-top: 46px; font-size: 30px; }
  .spaceholder { grid-template-columns: 1fr; padding-block: 64px; gap: 34px; }
  .spaceholder-photo { max-width: 452px; margin-inline: auto; aspect-ratio: 3 / 4; }
  .spaceholder h2 { font-size: 30px; }
  .spaceholder-copy p { margin-top: 16px; }
  .practical { padding-block: 54px; }
  .practical-grid { grid-template-columns: 1fr; gap: 44px; }
  .practical h2 { font-size: 32px; }
  .practical ul { line-height: 1.7; }
  .practical li + li { margin-top: 10px; }
  .candle-gift { width: min(410px, 100%); margin-inline: auto; grid-template-columns: 1fr 1fr; gap: 16px; }
  .candle-gift img { width: 100%; }
  .candle-gift figcaption { font-size: 30px; text-align: left; }
  .booking { min-height: 800px; padding: 64px 24px 76px; }
  .booking-card { padding: 42px 22px 48px; }
  .booking-location { max-width: 300px; margin-inline: auto; font-size: 13px; line-height: 1.7; }
  .booking h2 { font-size: 47px; }
  .prices { margin-top: 22px; gap: 26px; }
  .terms { font-size: 12px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing { min-height: 570px; padding-block: 80px; }
  .closing h2 { font-size: 36px; }
  .closing p { margin-top: 36px; }
  footer { flex-direction: column; justify-content: center; text-align: center; gap: 20px; }
}

@media (max-width: 400px) {
  .experience-grid { grid-template-columns: 1fr; gap: 40px; }
  .experience article { max-width: 290px; margin-inline: auto; }
  .experience h3 { min-height: 0; }
  .experience h3 br { display: none; }
  .experience h3 { line-height: 1.4; }
  .hero h1 { font-size: 30px; }
  .hero-meta { font-size: 16px; }
  .hero-subtitle { font-size: 20px; }
  .candle-gift figcaption { font-size: 27px; }
  .closing h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root [data-reveal].is-pending { opacity: revert; translate: none; }
  .is-revealing { animation: none; }
  .has-parallax::before { inset: 0; transform: none; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
