/* Mirasoulspace — public site
   Direction: dark meditative photo hero fading into white, geometric sans,
   pill navigation, turquoise buttons and links taken from the logo, soft mist bands. */

:root {
  --ink: #23221f;
  --ink-soft: #5f5c56;
  --ink-faint: #8d8a84;
  --paper: #ffffff;
  --mist-top: #dfe5e6;
  --mist-bottom: #f3f5f4;
  --line: #e7e5e1;
  --turquoise: #22777c;       /* the logo's turquoise */
  --turquoise-deep: #185c60;
  --turquoise-bright: #33a8a7;
  --glass: rgba(255, 255, 255, .14);
  --glass-line: rgba(255, 255, 255, .28);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.75rem, 1.2rem + 1.8vw, 2.375rem);
  --step-hero: clamp(2.5rem, 1rem + 6vw, 5.75rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --wide: 76rem;
  --narrow: 44rem;
  --block: clamp(4rem, 8vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; border-radius: 4px; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; border-radius: 99px; }
.skip:focus { top: 1rem; }

.prose { max-width: 68ch; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--turquoise); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose h3 { color: var(--ink); margin-top: 1.4em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .8em 1.7em; margin-top: 1.25rem;
  border-radius: 999px; border: 0;
  background: var(--turquoise); color: #fff;
  font: 400 var(--step-0)/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--turquoise-deep); }
.btn--small { font-size: var(--step--1); padding: .7em 1.4em; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist-bottom); }
.link-underline {
  display: inline-block; color: #fff; text-decoration: none; font-weight: 400;
  padding-bottom: .3em; border-bottom: 1px solid currentColor; margin-top: .75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 1.25rem var(--gutter);
  color: #fff;
  transition: background .3s, padding .3s, box-shadow .3s;
}
/* Once the page scrolls, the fixed header gets a glass background so it stays readable */
.has-hero .site-header.is-scrolled {
  padding-block: .7rem; background: rgba(20, 22, 21, .5);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5);
}
.no-hero .site-header {
  color: var(--ink); background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.no-hero .site-header.is-scrolled { padding-block: .7rem; }
.no-hero main { padding-top: 5.75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 500; letter-spacing: .01em; justify-self: start; }
.brand img { width: 44px; height: 44px; object-fit: contain; transition: width .3s, height .3s; }
.site-header.is-scrolled .brand img { width: 36px; height: 36px; }
.has-hero .brand img { filter: brightness(0) invert(1); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: .25rem; }
.site-nav li { position: relative; }
.site-nav a {
  display: block; padding: .45em 1em; border-radius: 999px;
  font-size: var(--step--1); font-weight: 400; text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.site-nav > ul > li > a:hover { background: var(--glass); }
.no-hero .site-nav > ul > li > a:hover { background: var(--mist-bottom); }
.site-nav a.is-active { background: rgba(255, 255, 255, .22); }
.no-hero .site-nav a.is-active { background: var(--mist-top); }
.sub-toggle { display: none; }
.site-nav .sub {
  position: absolute; left: 50%; top: 100%; min-width: 15rem;
  transform: translate(-50%, .4rem);
  background: #fff; color: var(--ink); border-radius: 14px; padding: .5rem;
  box-shadow: 0 18px 40px -18px rgba(35, 34, 31, .35);
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s;
}
.site-nav .sub a:hover, .site-nav .sub a[aria-current] { background: var(--mist-bottom); }
.site-nav li.has-sub:hover > .sub,
.site-nav li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.header-end { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; font-size: .75rem; font-weight: 400; }
.lang-switch a { display: block; padding: .3em .55em; border-radius: 999px; text-decoration: none; opacity: .75; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current] { opacity: 1; background: rgba(255, 255, 255, .22); }
.no-hero .lang-switch a[aria-current] { background: var(--mist-top); }
.site-nav .lang-switch--menu { display: none; }
.header-cta {
  justify-self: end; font-size: var(--step--1); font-weight: 400; text-decoration: none;
  padding: .55em 1.2em; border-radius: 999px; border: 1px solid currentColor;
}
.has-hero .header-cta { border-color: var(--glass-line); background: var(--glass); backdrop-filter: blur(8px); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: 100svh; display: flex; flex-direction: column;
}
.hero--page { min-height: 72svh; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2b2f2e; }
.hero-media img, .hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.hero-media::after {
  /* darken the photo, then fade into the white page below */
  content: ""; position: absolute; inset: 0 0 -2px;
  /* Top layer: a soft, eased fade into the white page. Bottom layer: the shade that keeps white text
     readable, which thins out before the white begins so the two never mix into a grey band. */
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) calc(100% - 12rem),
      rgba(255, 255, 255, .06) calc(100% - 10rem),
      rgba(255, 255, 255, .2) calc(100% - 8rem),
      rgba(255, 255, 255, .42) calc(100% - 6rem),
      rgba(255, 255, 255, .68) calc(100% - 4rem),
      rgba(255, 255, 255, .88) calc(100% - 2.25rem),
      #fff calc(100% - 6px)),
    linear-gradient(180deg,
      rgba(20, 22, 21, .55) 0%,
      rgba(20, 22, 21, .2) 32%,
      rgba(20, 22, 21, .45) calc(100% - 15rem),
      rgba(20, 22, 21, .3) calc(100% - 10rem),
      rgba(20, 22, 21, 0) calc(100% - 4rem));
}
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.is-current { opacity: 1; }
.hero-caption {
  max-width: 40rem; margin: 1rem auto 0; text-align: center;
  font-size: var(--step--1); line-height: 1.6; color: rgba(255, 255, 255, .86); min-height: 3.2em;
  transition: opacity .4s;
}
.hero-caption strong { font-weight: 500; color: #fff; }
.hero-caption.is-changing { opacity: 0; }

.hero-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; max-width: var(--wide); margin: 0 auto;
  padding: 7.5rem var(--gutter) 9rem;
}
.hero--page .hero-inner { justify-content: flex-end; }
.hero-top {
  border-top: 1px solid var(--glass-line); padding-top: 1.25rem;
}
.hero-lead { max-width: 26rem; font-size: var(--step--1); line-height: 1.65; }
.hero-lead p { margin: 0; }
.hero-intro { max-width: 34rem; font-size: var(--step-0); margin-bottom: 1rem; opacity: .92; }
.hero-title {
  font-size: var(--step-hero); font-weight: 500; letter-spacing: -.02em; line-height: 1.02;
  margin: 0; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .18);
}
.hero--home .hero-title { text-align: center; }

.glass-wrap { position: relative; width: min(26rem, 100%); margin: 0 auto 1.75rem; }
.glass-wrap[hidden] { display: none; }
.glass-close {
  position: absolute; top: -.6rem; right: -.6rem; z-index: 2;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid var(--glass-line); background: rgba(20, 22, 21, .55); color: #fff;
  font: 400 1.1rem/1 var(--font); backdrop-filter: blur(8px); transition: background .2s;
}
.glass-close:hover { background: rgba(20, 22, 21, .8); }
.glass-card {
  display: grid; grid-template-columns: 1fr 7.5rem; width: 100%;
  border-radius: 16px; overflow: hidden; text-decoration: none;
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px);
  transition: background .2s;
}
.glass-card:hover { background: rgba(255, 255, 255, .22); }
.glass-card-text { padding: 1rem 1.1rem; }
.glass-card img { width: 100%; height: 100%; min-height: 8rem; object-fit: cover; }
.glass-card-title { display: block; font-size: var(--step-1); line-height: 1.15; margin-bottom: .4rem; }
.glass-card-body { display: block; font-size: .75rem; line-height: 1.5; opacity: .85; }
.glass-card-link { display: inline-block; font-size: var(--step--1); margin-top: .6rem; border-bottom: 1px solid currentColor; }

.slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.slider-dots button {
  width: .5rem; height: .5rem; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: width .3s, background .3s;
}
.slider-dots button[aria-selected="true"] { width: 1.75rem; border-radius: 99px; background: #fff; }

.page-title { max-width: var(--wide); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter) 1rem; }
.page-title h1 { font-size: var(--step-hero); letter-spacing: -.02em; line-height: 1.05; }
.page-title p { color: var(--ink-soft); max-width: 40rem; }

.draft-bar { background: #fff6d6; color: #5a4a12; text-align: center; padding: .5rem 1rem; font-size: var(--step--1); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; }
.notice { max-width: var(--narrow); margin: 1.5rem auto; padding: 1rem 1.25rem; border-radius: 12px; background: #e7f2ee; color: #1f4d40; position: relative; z-index: 25; }
.notice--error { background: #fbeaea; color: #7a2323; }
.has-hero .notice { position: absolute; left: 50%; top: 5.5rem; transform: translateX(-50%); width: min(var(--narrow), calc(100% - 2rem)); margin: 0; }

/* ---------- Blocks ---------- */
.block { padding: var(--block) var(--gutter); background-color: var(--paper); }
/* The section after a photo hero tucks 2px under it, hiding the hairline browsers draw at the photo's edge */
.hero + section { position: relative; margin-top: -2px; }
.block + .block:not(.is-mist):not(.banner) { padding-top: calc(var(--block) * .6); }
.is-mist { background: linear-gradient(180deg, var(--mist-top), var(--mist-bottom)); }
.wide { max-width: var(--wide); margin: 0 auto; }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.block-head { max-width: 40rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.block-head .prose { margin: 0 auto; }

/* Centered statement with line art */
.statement { position: relative; text-align: center; overflow-x: clip; }
.statement-inner { max-width: 46rem; margin: 0 auto; position: relative; }
.statement-title { font-size: var(--step-3); line-height: 1.3; margin-bottom: 1.2rem; }
.statement .prose { margin: 0 auto; font-size: var(--step--1); line-height: 1.8; }
.branch { position: absolute; left: max(1rem, calc(50% - 40rem)); bottom: 1rem; width: clamp(7rem, 14vw, 13rem); color: #b9b2a6; }

/* Statement with photo: cut-out portrait left, text right */
.statement--split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center;
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; text-align: left;
  padding-top: calc(var(--block) * 1.4);
}
.statement--split .statement-inner { margin: 0; max-width: 34rem; }
.statement--split .statement .prose, .statement--split .prose { margin: 0; }
.statement-media { position: relative; z-index: 1; }
.statement-media img { width: min(100%, 30rem); margin: 0 auto; }
.statement--split .branch { left: var(--gutter); bottom: 2rem; z-index: 0; }

/* The gong from the old site, slowly turning and resting on the hero's edge */
.gong {
  position: absolute; z-index: 3; top: 0; right: max(var(--gutter), calc(50% - 34rem));
  width: clamp(10rem, 20vw, 17rem); transform: translateY(-58%); pointer-events: none;
}
.gong img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(20, 22, 21, .28)); animation: gong-turn 40s linear infinite; }
@keyframes gong-turn { to { transform: rotate(360deg); } }

/* Split text + photo */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center;
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
}
.split--left .split-media { order: -1; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.split-text h2 { max-width: 22ch; }

/* Lists */
.points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.points li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); }
.points li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: .7rem; border-radius: 50%;
  border: 1px solid var(--turquoise); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px var(--turquoise);
}
.list-block--columns h2 { text-align: center; }
.list-block--columns .points { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.list-block--columns .points li { padding: 1.75rem 0 0; border-top: 1px solid var(--line); }
.list-block--columns .points li::before { top: -.35rem; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.two-lists h3 { font-size: var(--step-0); margin: 1.5rem 0 0; }

/* Cards */
.cards { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--1 { grid-template-columns: minmax(0, 28rem); justify-content: center; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: rgba(255, 255, 255, .7); border: 0;
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 40px -28px rgba(20, 22, 21, .45);
}
.card-media { position: relative; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Title on a glass band along the bottom of the photo */
.card-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .9rem 1.35rem; color: #fff;
  background: rgba(255, 255, 255, .16); border-top: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.card-label h3 { margin: 0; color: #fff; }
.card-label .card-meta { color: rgba(255, 255, 255, .9) !important; margin: .15rem 0 0; font-size: var(--step--1); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.card-body p {
  font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; /* at most 3 lines */
}
.card-body .btn { margin-top: 1rem; }
.card-meta { color: var(--turquoise) !important; font-weight: 400; margin-bottom: .6rem; }
.cards-block:not(.is-mist):not(.has-bg) .card { box-shadow: 0 0 0 1px var(--line); }

/* Section with a background photo behind the glass cards */
.has-bg { position: relative; isolation: isolate; color: #fff; }
.block-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.block-bg img { width: 100%; height: 100%; object-fit: cover; }
.block-bg::after { content: ""; position: absolute; inset: 0; background: rgba(52, 36, 27, .75); /* dark brown veil */ }
.has-bg .block-head h2 { color: #fff; }
.has-bg .block-head .prose { color: rgba(255, 255, 255, .88); }
.has-bg .card { color: var(--ink); }

/* Swipeable strips (offers, articles, Instagram): two and a half cards fit the screen, cards snap into place */
.instagram, .articles-strip, .offers-block { padding-inline: 0; overflow: hidden; }
.instagram .block-head, .articles-strip .block-head, .offers-block .block-head { padding-inline: var(--gutter); }
/* Cards per view: 5 on desktop (1200px+), 3.5 on small laptops, 2.5 on tablets, about 1.3 on phones. Widths are measured
   against the strip itself (container units), so the last visible card lines up with the edge. */
.strip { container-type: inline-size; --per: 5; }
.strip-track { --tile-w: calc((100cqw - 2 * var(--gutter) - (var(--per) - 1) * 1rem) / var(--per)); }
.offers-block .strip-track .card { flex: none; width: var(--tile-w); }
.strip .card-label { padding: .75rem 1.1rem; }
.strip .card-label h3 { font-size: 1.05rem; line-height: 1.3; }
.strip .card-body { padding: 1rem 1.1rem 1.15rem; }
.has-bg .round-btn { background: rgba(255, 255, 255, .85); border-color: transparent; }
.strip-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: .25rem var(--gutter) .75rem; scrollbar-width: none; overscroll-behavior-x: contain;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-track > * { scroll-snap-align: start; }
.strip-track:focus-visible { outline-offset: -3px; }
.strip-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem var(--gutter) 0; }
.strip-action .btn { margin: 0; }
.strip-nav { display: flex; gap: .6rem; margin-left: auto; }
.strip-nav[hidden] { display: none; }
.strip-nav button:disabled { opacity: .35; cursor: default; }

/* Instagram: the preview is shown down to its like/comment icons.
   Instagram's preview needs at least 326px, so on phones it is drawn at 326px and scaled down. */
.ig-tile { flex: none; width: var(--tile-w); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--mist-bottom); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.ig-tile:hover img { transform: scale(1.04); }
.ig-tile--embed { --ig-scale: 1; aspect-ratio: auto; height: calc(var(--tile-w) * 1.42); background: #fff; position: relative; }
/* Instagram draws its preview at 326px at least; site.js scales it to the card width */
.ig-tile iframe { width: 326px; height: 536px; border: 0; display: block; transform: scale(var(--ig-scale)); transform-origin: 0 0; }
.instagram-cta { text-align: center; margin: 1rem 0 0; padding-inline: var(--gutter); }

/* Article cards */
.article-card {
  flex: none; width: var(--tile-w); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; background: var(--mist-bottom); color: var(--ink); text-decoration: none;
}
.article-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-top); }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover .article-media img { transform: scale(1.04); }
.article-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1.1rem; color: #fff;
  background: rgba(255, 255, 255, .16); border-top: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.article-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--step-0); font-weight: 500; line-height: 1.35; }
.article-date { display: block; font-size: .75rem; opacity: .9; margin-top: .15rem; }
.article-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.article-excerpt { font-size: var(--step--1); color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-more { margin-top: auto; font-size: var(--step--1); font-weight: 400; color: var(--turquoise); }
.article-card:hover .article-more { text-decoration: underline; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); padding-inline: var(--gutter); }
.article-grid .article-card { width: auto; }
.article-page .narrow { max-width: 42rem; }
.article-lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink); margin-bottom: 1.5rem; }
.article-page .prose { font-size: 1.0625rem; line-height: 1.85; }
.article-back { margin-top: 2.5rem; font-size: var(--step--1); }
.article-back a { color: var(--turquoise); }

/* Gallery */
.gallery { columns: 3 16rem; column-gap: 1rem; }
.gallery-item { display: block; width: 100%; padding: 0; margin: 0 0 1rem; border: 0; background: none; cursor: zoom-in; break-inside: avoid; }
.gallery-item img { width: 100%; border-radius: 14px; }

/* Banner */
.banner { position: relative; isolation: isolate; color: #fff; min-height: 30rem; display: grid; place-items: center; text-align: center; padding: var(--block) var(--gutter); margin: var(--block) var(--gutter); border-radius: 28px; overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 21, .45); z-index: -1; }
.banner-inner { max-width: 38rem; }
.banner p { opacity: .92; }

/* Testimonials */
.testimonials { text-align: center; }
.quote blockquote { margin: 0; font-size: var(--step-1); line-height: 1.6; color: var(--ink); }
.quote blockquote p { margin-bottom: .8em; }
.quote.is-clamped blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.quote-more { background: none; border: 0; color: var(--turquoise); font: inherit; font-size: var(--step--1); cursor: pointer; text-decoration: underline; padding: 0; }
.quote figcaption { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .75rem; text-align: left; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-weight: 500; }
.quote figcaption a, .quote figcaption span span { font-size: var(--step--1); color: var(--ink-faint); }
.quote figcaption a { color: var(--turquoise); }
.stars { color: #e0a93b; letter-spacing: .15em; margin: 0 0 1rem; font-size: 1.1rem; }
.stars span { color: var(--line); }
.reviews-link { margin-top: 1.5rem; font-size: var(--step--1); }
.reviews-link a { color: var(--turquoise); }
.quote-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.quote-count { font-size: var(--step--1); color: var(--ink-faint); min-width: 4rem; }
.round-btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.round-btn:hover { border-color: var(--ink); }

/* Schedule */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 7rem 9rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.event-day { display: block; font-size: var(--step-3); font-weight: 500; line-height: 1; }
.event-month { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: .3rem; }
.event-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.event-body h3 { margin-bottom: .25rem; }
.event-body p { font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 .25rem; }
.event-action .btn { margin-top: 0; }
.empty { text-align: center; color: var(--ink-soft); }

/* Sub-page tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 26rem; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 21, 0) 35%, rgba(20, 22, 21, .72)); }
.tile:hover img { transform: scale(1.04); }
.tile-text { padding: 1.5rem; }
.tile-title { display: block; font-size: var(--step-1); font-weight: 500; line-height: 1.25; }
.tile-excerpt { display: block; font-size: var(--step--1); opacity: .88; margin-top: .4rem; }
.tile-link { display: inline-block; font-size: var(--step--1); margin-top: .8rem; border-bottom: 1px solid currentColor; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; }
.contact-list { margin: 1.5rem 0; display: grid; gap: 1rem; }
.contact-list dt { font-size: var(--step--1); color: var(--ink-faint); }
.contact-list dd { margin: 0; }
.contact-list a { color: var(--ink); }
.contact-media img { border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.contact-form { display: grid; gap: 1rem; align-content: start; background: linear-gradient(180deg, var(--mist-top), var(--mist-bottom)); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 22px; }
.contact-form label { display: grid; gap: .35rem; font-size: var(--step--1); font-weight: 400; }
.contact-form .optional { color: var(--ink-faint); font-weight: 300; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: var(--step-0); padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid transparent; background: #fff; color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--turquoise); }
.contact-form .btn { justify-self: start; margin-top: .25rem; }

/* ---------- Booking dialog & lightbox ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(20, 22, 21, .55); backdrop-filter: blur(3px); }
.booking { width: min(34rem, calc(100% - 2rem)); border-radius: 22px; color: var(--ink); }
.booking-inner { padding: clamp(1.5rem, 4vw, 2.5rem); position: relative; }
.booking-close, .lightbox-close { position: absolute; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: var(--mist-bottom); font-size: 1.4rem; cursor: pointer; color: var(--ink); }
/* Stays reachable while the booking list scrolls */
.booking-close { position: sticky; top: 0; float: right; margin: -.5rem -.5rem 0 0; z-index: 2; box-shadow: 0 4px 14px -6px rgba(20, 22, 21, .35); }
.booking-text { color: var(--ink-soft); font-size: var(--step--1); }
.booking-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .75rem; }
.booking-list li { display: grid; grid-template-columns: 8.5rem 1fr; border-radius: 16px; overflow: hidden; background: var(--mist-bottom); }
.booking-list li.no-image { grid-template-columns: 1fr; }
.booking-media { position: relative; min-height: 7.5rem; }
.booking-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booking-item-body { padding: 1rem 1.1rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.booking-list strong { display: block; font-weight: 500; font-size: var(--step-0); line-height: 1.3; }
.booking-list span { display: block; font-size: var(--step--1); color: var(--ink-faint); }
.booking-list .btn { margin: .75rem 0 0; }
.booking-wa { font-size: var(--step--1); margin: 1.25rem 0 0; color: var(--ink-soft); }
.booking-wa a { color: var(--turquoise); }
.lightbox { background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; }
.lightbox-close { top: -1rem; right: -1rem; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 1.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.footer-inner { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; margin-bottom: .75rem; }
.footer-name { color: var(--ink); font-weight: 500; font-size: var(--step-0); margin-bottom: .4rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--turquoise); text-decoration: underline; }
.footer-social { display: flex; gap: 1rem; flex-wrap: wrap; }
.copyright { max-width: var(--wide); margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle {
    display: inline-grid; place-content: center; gap: 5px; width: 2.75rem; height: 2.75rem; padding: 0;
    border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; order: 3;
  }
  .has-hero .menu-toggle { border-color: var(--glass-line); background: var(--glass); }
  .menu-toggle span:not(.sr) { display: block; width: 1.1rem; height: 1.5px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - .25rem);
    background: #fff; color: var(--ink); border-radius: 18px; padding: .75rem;
    box-shadow: 0 24px 50px -20px rgba(35, 34, 31, .4);
    display: none; max-height: calc(100svh - 6rem); overflow: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav a { font-size: var(--step-0); padding: .7em 1em; }
  .site-nav a.is-active { background: var(--mist-bottom); }
  .site-nav li.has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-toggle { display: block; width: 2.75rem; border: 0; background: none; cursor: pointer; position: relative; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 45%; width: .5rem; height: .5rem; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translate(-50%, -50%) rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"]::before { transform: translate(-50%, -20%) rotate(-135deg); }
  .site-nav .sub { position: static; grid-column: 1 / -1; transform: none; box-shadow: none; padding: 0 0 0 1rem; opacity: 1; visibility: visible; display: none; min-width: 0; }
  .site-nav li.has-sub:hover > .sub, .site-nav li.has-sub:focus-within > .sub { transform: none; }
  .site-nav .sub.is-open { display: block; }
  .header-cta { justify-self: end; }
  .header-end .lang-switch { display: none; }
  .site-nav .lang-switch--menu { display: flex; gap: .4rem; margin-top: .5rem; padding: .75rem .5rem .25rem; border-top: 1px solid var(--line); font-size: var(--step--1); }
  .site-nav .lang-switch--menu a { padding: .45em .9em; opacity: 1; border: 1px solid var(--line); }
  .site-nav .lang-switch--menu a[aria-current] { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }
}

@media (max-width: 1199px) {
  .strip { --per: 3.5; }
}

@media (max-width: 860px) {
  .strip { --per: 2.5; }
}

@media (max-width: 860px) {
  .split, .contact { grid-template-columns: 1fr; }
  .split--left .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .two-lists { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .event { grid-template-columns: 5rem minmax(0, 1fr); gap: .75rem 1.25rem; }
  .event-media { display: none; }
  .event-action { grid-column: 2; }
  .branch { opacity: .45; }
  .statement--split { grid-template-columns: 1fr; text-align: left; }
  .statement-media img { width: min(80%, 22rem); }
  .gong { width: clamp(10rem, 40vw, 13rem); right: calc(var(--gutter) - .5rem); transform: translateY(-50%); }
}

@media (max-width: 560px) {
  .brand span { display: none; }
  .header-cta { padding: .55em .9em; }
  .glass-wrap { width: calc(100% - .6rem); margin-left: 0; }
  .hero--home .hero-title { text-align: left; }
  .hero-caption { text-align: left; margin-left: 0; }
  .slider-dots { justify-content: flex-start; }
  .booking-list li { grid-template-columns: 7rem 1fr; }
  .strip { --per: 1.3; }
  .banner { margin: 2rem 0 0; border-radius: 0; min-height: 24rem; }
  :root { --block: 3rem; }
  .block + .block:not(.is-mist):not(.banner) { padding-top: 1.25rem; }
  .statement--split { padding-top: 5.5rem; gap: 1.5rem; }
  .testimonials .quote-nav { margin-top: 1.25rem; }
  .round-btn { width: 2.5rem; height: 2.5rem; }
  .articles-strip, .instagram { padding-bottom: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gong img { animation: none; }
  .strip-track { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
