/* Asmara Bella — scroll experience layer (pairs with assets/js/experience.js).
   Editorial homepage sections (.xp-*), the custom cursor, the sticky mobile booking
   bar and the pinned / scrubbed scroll scenes. Colour tokens come from design.css. */

:root {
  --xp-wrap: 1240px;
  --xp-gutter: clamp(20px, 5vw, 64px);
  --xp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --xp-radius: 22px;
}

/* Lenis owns smooth scrolling; native smooth scrolling would double it. */
html.xp-smooth { scroll-behavior: auto !important; }
html.xp-smooth.lenis-stopped { overflow: hidden; }

.xp-wrap { max-width: var(--xp-wrap); margin: 0 auto; padding-left: var(--xp-gutter); padding-right: var(--xp-gutter); box-sizing: border-box; }
.xp-center { text-align: center; margin: 48px 0 0; }

/* ---------- Type ---------- */

.xp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font: 700 12px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ab-gold);
}
.xp-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.xp-eyebrow-light { color: var(--ab-gold-hi); }
.xp-eyebrow-green { color: #5c8a3a; }

.xp-display {
  margin: 0 0 24px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ab-ink);
  text-wrap: balance;
}
.xp-display em { font-style: italic; font-weight: 500; color: var(--ab-brown); }
.xp-light, .xp-light em { color: #fff; }
.xp-light em { color: var(--ab-gold-hi); }

.xp-lead {
  margin: 0 0 30px;
  font-family: "Playfair Display", serif;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.5;
  color: var(--ab-ink);
}
.xp-body { font-size: 18px; line-height: 1.75; color: #4d4639; margin: 0 0 28px; }
.xp-quote {
  margin: 0 0 32px;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--ab-gold);
  font: italic 500 19px/1.55 "Playfair Display", serif;
  color: var(--ab-brown);
}

/* Split-word heading masks and scroll-highlighted words */
.xp-sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.xp-sw > .xp-hw { display: inline-block; will-change: transform; }
.xp-hw { transition: none; }

/* ---------- Buttons & links ---------- */

.xp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--ab-brown);
  background: var(--ab-brown);
  color: #fff !important;
  font: 700 15px/1 "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px -14px rgba(117, 90, 26, 0.7);
  transition: transform 0.5s var(--xp-ease), box-shadow 0.5s var(--xp-ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.xp-btn span { transition: transform 0.5s var(--xp-ease); }
.xp-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(117, 90, 26, 0.8); }
.xp-btn:hover span { transform: translateX(5px); }
.xp-btn-ghost { background: transparent; color: var(--ab-brown) !important; box-shadow: none; }
.xp-btn-ghost:hover { background: var(--ab-brown); color: #fff !important; }
.xp-btn-light { background: #fff; border-color: #fff; color: var(--ab-brown) !important; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.5); }
.xp-btn-gold { background: linear-gradient(135deg, var(--ab-gold-hi), var(--ab-gold)); border-color: transparent; color: var(--ab-night) !important; }
.xp-btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff !important; box-shadow: none; }
.xp-btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.xp-btn-green { background: #4f7d31; border-color: #4f7d31; box-shadow: 0 14px 34px -14px rgba(60, 100, 40, 0.7); }

.xp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ab-brown);
  font: 700 15px/1.2 "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 6px;
  transition: background-size 0.5s var(--xp-ease);
}
.xp-link span { transition: transform 0.5s var(--xp-ease); }
.xp-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.xp-link:hover span { transform: translateX(6px); }

.xp-num {
  font: italic 500 15px/1 "Playfair Display", serif;
  color: var(--ab-gold);
  letter-spacing: 0.04em;
}

/* ---------- Homepage hero additions ---------- */

.ab-home-hero[data-xp-hero] { will-change: clip-path; }
.ab-hero-sublink {
  display: inline-block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  animation: ab-rise 1.2s var(--ab-ease-out, var(--xp-ease)) 1.25s both;
  transition: color 0.3s, border-color 0.3s;
}
.ab-hero-sublink:hover { color: #fff; border-color: var(--ab-gold-hi); }
.ab-hero-sublink + .ab-hero-badges { margin-top: 22px; }

/* ---------- Story ---------- */

.xp-story { padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 120px); background: var(--ab-cream); overflow: hidden; }
.xp-story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.xp-collage { position: relative; aspect-ratio: 4 / 4.6; }
.xp-collage-main { position: absolute; inset: 0 12% 10% 0; border-radius: var(--xp-radius); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(33, 27, 18, 0.45); }
.xp-collage-main img, .xp-collage-float img, .xp-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-collage-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 8px solid var(--ab-cream);
  box-shadow: 0 30px 70px -24px rgba(33, 27, 18, 0.5);
}
.xp-seal {
  position: absolute;
  top: -26px;
  right: 4%;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  color: var(--ab-brown);
}
.xp-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: xp-spin 22s linear infinite; }
.xp-seal text { font: 700 10.5px "Plus Jakarta Sans", sans-serif; letter-spacing: 0.28em; fill: currentColor; }
.xp-seal span { font-size: 22px; color: var(--ab-gold); }
@keyframes xp-spin { to { transform: rotate(360deg); } }

.xp-pillars {
  list-style: none;
  margin-top: clamp(70px, 9vw, 130px) !important;
  margin-bottom: 0 !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
}
.xp-pillars li { padding: 30px 28px 6px; border-top: 1px solid var(--ab-line); position: relative; }
.xp-pillars li + li { border-left: 1px solid var(--ab-line); }
.xp-pillars li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--ab-brown);
  transition: width 0.8s var(--xp-ease);
}
.xp-pillars li:hover::before { width: 100%; }
.xp-pillars h3 { margin: 14px 0 10px; font: 600 23px/1.2 "Playfair Display", serif; color: var(--ab-ink); }
.xp-pillars p { margin: 0; color: #5c5142; font-size: 15.5px; line-height: 1.65; }

/* ---------- Horizontal showcases (dishes + gallery) ---------- */

.xp-dishes, .xp-gallery { background: #f6ecdd; overflow: hidden; position: relative; }
.xp-gallery { background: var(--ab-night); color: #f0e6d3; }
.xp-gallery .xp-display { color: #fff; }
.xp-gallery .xp-display em { color: var(--ab-gold-hi); }
.xp-gallery .xp-dishes-tools p { color: #b9ad9a; }
.xp-dishes-inner { padding: clamp(80px, 9vw, 120px) 0 clamp(60px, 7vw, 90px); }
.xp-hscroll-pinned, .xp-dishes.is-pinned .xp-dishes-inner, .xp-gallery.is-pinned .xp-dishes-inner {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 40px;
}
.xp-dishes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(30px, 4vw, 50px); }
/* Pinned sections are flex columns; keep the centred wrappers full width instead of shrink-to-fit. */
.xp-dishes-inner > .xp-wrap { width: 100%; }
.xp-dishes-head .xp-display { margin: 0; max-width: 760px; font-size: clamp(34px, 4.4vw, 60px); }
.xp-dishes-tools { max-width: 330px; display: flex; flex-direction: column; gap: 18px; align-items: flex-end; text-align: right; }
.xp-dishes-tools p { margin: 0; color: #5c5142; font-size: 15px; line-height: 1.6; }
.xp-arrows { display: flex; gap: 10px; }
.xp-arrows button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--ab-brown);
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--xp-ease);
}
.xp-gallery .xp-arrows button { color: var(--ab-gold-hi); }
.xp-arrows button:hover { background: var(--ab-brown); color: #fff; transform: scale(1.06); }
.xp-gallery .xp-arrows button:hover { background: var(--ab-gold-hi); color: var(--ab-night); }
.is-pinned .xp-arrows { display: none; }

.xp-track {
  display: flex;
  gap: 22px;
  padding: 10px var(--xp-gutter) 30px max(var(--xp-gutter), calc((100vw - var(--xp-wrap)) / 2 + var(--xp-gutter)));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.xp-track::-webkit-scrollbar { display: none; }
.is-pinned .xp-track { overflow: visible; scroll-snap-type: none; }
.xp-track > * { flex: 0 0 auto; scroll-snap-align: start; will-change: transform; }

.xp-dish {
  width: clamp(270px, 25vw, 340px);
  background: #fffdf9;
  border-radius: var(--xp-radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(33, 27, 18, 0.45);
  display: flex;
  flex-direction: column;
}
.xp-dish-img { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; }
.xp-dish-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.18); transition: filter 0.5s; }
.xp-dish:hover .xp-dish-img img { filter: saturate(1.12) brightness(1.03); }
.xp-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(33, 27, 18, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 700 11.5px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.04em;
}
.xp-tag-green { background: rgba(47, 106, 52, 0.85); }
.xp-tag-amber { background: rgba(160, 100, 20, 0.85); }
.xp-dish-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.xp-dish-top { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 10px; }
.xp-dish-top h3 { margin: 0; font: 600 22px/1.2 "Playfair Display", serif; color: var(--ab-ink); }
.xp-dish-top span { font: 700 16px/1 "Plus Jakarta Sans", sans-serif; color: var(--ab-brown); white-space: nowrap; }
.xp-dish-body p { margin: 0 0 18px; color: #5c5142; font-size: 14.5px; line-height: 1.6; flex: 1; }
.xp-dish-body a { color: var(--ab-brown); font: 700 13px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; letter-spacing: 0.02em; }
.xp-dish-body a:hover { text-decoration: underline; text-underline-offset: 4px; }

.xp-dish-end {
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 36px;
  background: var(--ab-brown);
  color: #fff;
  text-decoration: none;
  min-height: 100%;
  box-sizing: border-box;
}
.xp-dish-end .xp-eyebrow { color: var(--ab-gold-hi); margin: 0; }
.xp-dish-end strong { font: 600 34px/1.1 "Playfair Display", serif; }
.xp-circle-arrow {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-top: 10px;
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--xp-ease);
}
.xp-dish-end:hover .xp-circle-arrow { background: #fff; color: var(--ab-brown); transform: rotate(-45deg); }
.xp-gallery .xp-dish-end { background: var(--ab-gold-hi); color: var(--ab-night); }
.xp-gallery .xp-dish-end .xp-eyebrow { color: var(--ab-brown); }
.xp-gallery .xp-dish-end .xp-circle-arrow { border-color: rgba(22, 14, 7, 0.4); }
.xp-gallery .xp-dish-end:hover .xp-circle-arrow { background: var(--ab-night); color: var(--ab-gold-hi); }

.xp-progress { height: 2px; margin-top: 18px; }
.xp-progress i { display: block; height: 2px; background: currentColor; color: var(--ab-brown); transform: scaleX(0); transform-origin: left; opacity: 0.8; }
.xp-gallery .xp-progress i { color: var(--ab-gold-hi); }
.xp-progress { background: linear-gradient(rgba(117, 90, 26, 0.15), rgba(117, 90, 26, 0.15)) center / 100% 1px no-repeat; background-clip: content-box; }
.xp-dishes:not(.is-pinned) .xp-progress, .xp-gallery:not(.is-pinned) .xp-progress { display: none; }

.xp-gal { position: relative; display: block; height: min(58vh, 520px); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.xp-gal-wide { aspect-ratio: 16 / 11; }
.xp-gal-tall { aspect-ratio: 3 / 4.3; }
.xp-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.2); transition: filter 0.5s; filter: saturate(0.92); }
.xp-gal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(10, 6, 2, 0.45)); opacity: 0; transition: opacity 0.4s; }
.xp-gal:hover img { filter: saturate(1.1); }
.xp-gal:hover::after { opacity: 1; }
.xp-gal-track .xp-dish-end { width: 300px; height: min(58vh, 520px); border-radius: 18px; }

/* ---------- Zoom panel ---------- */

.xp-zoom {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ab-night);
  color: #f0e6d3;
  text-align: center;
  will-change: clip-path;
}
.xp-zoom-media { position: absolute; inset: -6% 0; background-size: cover; background-position: center; will-change: transform; }
.xp-zoom-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 12, 4, 0.45), rgba(20, 12, 4, 0.82)); }
.xp-zoom-content { position: relative; z-index: 1; max-width: 820px; padding: 120px 24px; }
.xp-zoom-content p:not(.xp-eyebrow) { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; color: #f0e6d3; margin: 0 auto 36px; max-width: 620px; }
.xp-zoom .xp-display { font-size: clamp(40px, 6vw, 84px); }

/* ---------- Coffee ritual ---------- */

.xp-ritual { background: var(--ab-cream); }
.xp-ritual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(80px, 9vw, 120px); }
.xp-ritual.is-pinned .xp-ritual-grid { min-height: 100vh; box-sizing: border-box; padding-top: 100px; padding-bottom: 50px; }
.xp-ritual-media { position: relative; aspect-ratio: 4 / 4.8; max-height: 78vh; width: 100%; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 90px -34px rgba(33, 27, 18, 0.55); background: #2a1d10; }
.xp-ritual-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.9s var(--xp-ease), transform 1.6s var(--xp-ease), clip-path 1.2s var(--xp-ease);
}
.xp-ritual-media img.is-active { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); }
.xp-ritual-dots { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.xp-ritual-dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; position: relative; }
.xp-ritual-dots i::after { content: ""; position: absolute; inset: 0; background: var(--ab-gold-hi); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--xp-ease); }
.xp-ritual-dots i.is-active::after { transform: scaleX(1); }
.xp-steps { margin: 10px 0 40px; display: grid; gap: 6px; }
.xp-step { display: grid; grid-template-columns: 54px 1fr; gap: 6px; padding: 22px 0; border-top: 1px solid var(--ab-line); opacity: 0.32; transition: opacity 0.6s var(--xp-ease), transform 0.6s var(--xp-ease); }
.xp-step:last-child { border-bottom: 1px solid var(--ab-line); }
.xp-step.is-active { opacity: 1; transform: translateX(10px); }
.xp-step .xp-num { padding-top: 6px; font-size: 18px; }
.xp-step h3 { margin: 0 0 6px; font: 600 24px/1.2 "Playfair Display", serif; color: var(--ab-ink); }
.xp-step p { margin: 0; color: #5c5142; font-size: 16px; line-height: 1.65; }
html:not(.xp-live) .xp-step { opacity: 1; }

/* ---------- Heritage & plant-based ---------- */

.xp-heritage { background: linear-gradient(180deg, var(--ab-cream), #fff1e3); padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; }
.xp-heritage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.xp-heritage-media { position: relative; }
.xp-frame { border-radius: var(--xp-radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 90px -30px rgba(33, 27, 18, 0.45); }
.xp-heritage-quote {
  position: absolute;
  left: -28px;
  bottom: -46px;
  max-width: 300px;
  margin: 0;
  padding: 28px 30px;
  border-radius: 18px;
  background: var(--ab-brown);
  color: #fff;
  font: italic 500 21px/1.4 "Playfair Display", serif;
  box-shadow: 0 30px 60px -20px rgba(91, 67, 1, 0.6);
}
.xp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 34px; }
.xp-facts div { padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--ab-line); }
.xp-facts strong { display: block; color: var(--ab-brown); font-size: 15px; margin-bottom: 4px; }
.xp-facts span { color: #5c5142; font-size: 14px; line-height: 1.55; }

.xp-plant {
  margin-top: clamp(90px, 11vw, 150px) !important;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.xp-plant-media { border-radius: var(--xp-radius) 0 0 var(--xp-radius); overflow: hidden; min-height: 440px; }
.xp-plant-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-plant-copy { background: #eef3e6; border-radius: 0 var(--xp-radius) var(--xp-radius) 0; padding: clamp(36px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.xp-plant-copy .xp-display { font-size: clamp(32px, 3.6vw, 50px); color: #2f4a18; }
.xp-plant-copy .xp-display em { color: #4f7d31; }
.xp-plant-copy p:not(.xp-eyebrow) { color: #44503a; font-size: 17px; line-height: 1.75; margin: 0 0 30px; }
.xp-plant-copy .xp-btn { align-self: flex-start; }

/* ---------- Classes ---------- */

.xp-classes { background: var(--ab-cream); padding: clamp(90px, 10vw, 150px) 0; }
.xp-center-head { text-align: center; margin-bottom: clamp(40px, 5vw, 70px); }
.xp-center-head .xp-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.xp-class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1200px; align-items: stretch; }
.xp-class {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 34px 34px;
  border-radius: var(--xp-radius);
  background: #fffdf9;
  border: 1px solid var(--ab-line);
  box-shadow: 0 24px 60px -36px rgba(33, 27, 18, 0.4);
  transform: rotateX(var(--xp-rx, 0deg)) rotateY(var(--xp-ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--xp-ease), box-shadow 0.6s var(--xp-ease);
}
.xp-class.is-tilting { transition: transform 0.12s linear, box-shadow 0.6s var(--xp-ease); box-shadow: 0 40px 80px -36px rgba(33, 27, 18, 0.5); }
.xp-class::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--xp-gx, 50%) var(--xp-gy, 0%), rgba(230, 194, 119, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.xp-class.is-tilting::after { opacity: 1; }
.xp-class-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.xp-class-top .material-symbols-outlined { font-size: 38px; color: var(--ab-brown); }
.xp-price { padding: 7px 14px; border-radius: 999px; background: rgba(179, 147, 77, 0.16); color: var(--ab-brown); font-weight: 700; font-size: 13.5px; }
.xp-class h3 { margin: 0 0 12px; font: 600 26px/1.2 "Playfair Display", serif; color: var(--ab-ink); }
.xp-class p { margin: 0 0 30px; color: #5c5142; font-size: 15.5px; line-height: 1.7; flex: 1; }
.xp-class .xp-btn { width: 100%; box-sizing: border-box; }
.xp-class-feature { background: linear-gradient(160deg, #8a6a22, var(--ab-brown) 55%, var(--ab-brown-dk)); border-color: transparent; color: #fff; }
.xp-class-feature h3, .xp-class-feature .material-symbols-outlined { color: #fff; }
.xp-class-feature p { color: rgba(255, 255, 255, 0.85); }
.xp-class-feature .xp-price { background: rgba(255, 255, 255, 0.18); color: #fff; }
.xp-ribbon {
  position: absolute;
  top: -13px;
  left: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ab-gold-hi);
  color: var(--ab-night);
  font: 800 11px/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Proof ---------- */

.xp-proof { background: #fff; padding: clamp(90px, 10vw, 150px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.xp-proof-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: 50px; }
.xp-proof-head .xp-display { margin: 0; font-size: clamp(32px, 4.2vw, 58px); }
.xp-rating { display: flex; align-items: center; gap: 18px; }
.xp-rating strong { font: 600 clamp(80px, 9vw, 130px)/0.9 "Playfair Display", serif; color: var(--ab-brown); letter-spacing: -0.04em; }
.xp-rating div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #5c5142; max-width: 150px; }
.xp-stars { color: #e3a32a; letter-spacing: 3px; font-size: 18px; }
.xp-press-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  padding: 26px var(--xp-gutter);
  border-top: 1px solid #efe2d0;
  border-bottom: 1px solid #efe2d0;
  align-items: center;
}
.xp-press-row a, .xp-press-row span { font: 700 16px/1.3 "Playfair Display", serif; color: #6b5f4d; text-decoration: none; transition: color 0.3s; white-space: nowrap; }
.xp-press-row a:hover { color: var(--ab-brown); }
.xp-press-badge { display: inline-flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif !important; font-size: 13.5px !important; }
.xp-press-badge b { background: #e50914; color: #fff; padding: 5px 9px; border-radius: 5px; font: 700 12px/1 "Playfair Display", serif; letter-spacing: 0.05em; }
.xp-press-badge b.xp-ta { background: #34e0a1; color: #000; border-radius: 50%; width: 26px; height: 26px; padding: 0; display: grid; place-items: center; font-size: 14px; }
.xp-press-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px !important; margin-bottom: 60px !important; }
.xp-press-quotes a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 30px 26px;
  border-radius: 18px;
  background: var(--ab-cream);
  border: 1px solid #efe2d0;
  text-decoration: none;
  transition: transform 0.5s var(--xp-ease), box-shadow 0.5s var(--xp-ease), border-color 0.3s;
}
.xp-press-quotes a:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(117, 90, 26, 0.4); border-color: var(--ab-gold); }
.xp-press-quotes p { margin: 0; font: italic 500 19px/1.5 "Playfair Display", serif; color: var(--ab-ink); }
.xp-press-quotes span { font: 700 13px/1 "Plus Jakarta Sans", sans-serif; color: var(--ab-brown); letter-spacing: 0.04em; }

.xp-reviews { display: grid; gap: 20px; padding: 10px 0; }
.xp-review-row { display: flex; width: max-content; will-change: transform; }
.xp-row-in { display: flex; gap: 20px; padding-right: 20px; }
html:not(.xp-live) .xp-review-row { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--xp-gutter); gap: 20px; }
.xp-review {
  margin: 0;
  width: 400px;
  padding: 26px 28px;
  border-radius: 18px;
  background: #fffdf9;
  border: 1px solid #efe2d0;
  box-shadow: 0 16px 40px -30px rgba(33, 27, 18, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.xp-review blockquote { margin: 0; font: italic 400 17px/1.55 "Playfair Display", serif; color: var(--ab-ink); flex: 1; }
.xp-review figcaption { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #6b5f4d; font-weight: 600; }
.xp-review figcaption i { width: 34px; height: 34px; border-radius: 50%; background: var(--ab-brown); color: #fff; font: normal 700 15px/34px "Playfair Display", serif; text-align: center; }

/* ---------- Visit ---------- */

.xp-visit { position: relative; overflow: hidden; background: var(--ab-night); color: #f0e6d3; padding: clamp(100px, 12vw, 170px) 0; }
.xp-visit-bg {
  position: absolute;
  inset: -20% 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(179, 147, 77, 0.28), transparent 55%), radial-gradient(ellipse at 85% 80%, rgba(162, 50, 37, 0.22), transparent 50%), url("/assets/images/venue-interior.webp") center / cover;
  opacity: 0.32;
  filter: saturate(0.7);
}
.xp-visit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 14, 7, 0.95) 30%, rgba(22, 14, 7, 0.6)); }
.xp-visit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.xp-visit .xp-display { font-size: clamp(40px, 5.6vw, 80px); }
.xp-visit-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.xp-visit-card {
  padding: clamp(30px, 4vw, 46px);
  border-radius: 24px;
  background: rgba(255, 248, 243, 0.06);
  border: 1px solid rgba(230, 194, 119, 0.25);
  backdrop-filter: blur(14px);
}
.xp-visit-card h3 { margin: 0 0 20px; font: 600 26px/1.2 "Playfair Display", serif; color: #fff; }
.xp-visit-card dl { margin: 0 0 26px; }
.xp-visit-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(230, 194, 119, 0.18); }
.xp-visit-card dt { font-weight: 700; color: #fff; }
.xp-visit-card dd { margin: 0; color: #e6d9c4; }
.xp-visit-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.xp-visit-card li { display: flex; gap: 12px; align-items: center; color: #e6d9c4; font-size: 15px; }
.xp-visit-card li .material-symbols-outlined { color: var(--ab-gold-hi); font-size: 22px; }
.xp-visit-card a { color: #e6d9c4; text-decoration: none; }
.xp-visit-card a:hover { color: var(--ab-gold-hi); }

/* ---------- Custom cursor ---------- */

html.xp-cursor-on, html.xp-cursor-on a, html.xp-cursor-on button, html.xp-cursor-on [role="button"], html.xp-cursor-on label { cursor: none; }
html.xp-cursor-on input, html.xp-cursor-on textarea, html.xp-cursor-on select, html.xp-cursor-on [id^="ab-chat"], html.xp-cursor-on [id^="ab-chat"] * { cursor: auto; }
.xp-cursor-dot, .xp-cursor-ring { position: fixed; top: 0; left: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
html.xp-cursor-seen .xp-cursor-dot, html.xp-cursor-seen .xp-cursor-ring { opacity: 1; }
.xp-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ab-brown); }
.xp-cursor-dot.is-hidden { opacity: 0 !important; }
.xp-cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
}
.xp-cursor-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(117, 90, 26, 0.55);
  transition: transform 0.45s var(--xp-ease), background-color 0.3s, border-color 0.3s;
}
.xp-cursor-ring.is-hot::before { transform: scale(1.6); background: rgba(179, 147, 77, 0.14); border-color: rgba(117, 90, 26, 0.3); }
.xp-cursor-ring.is-down::before { transform: scale(0.8); }
.xp-cursor-ring.is-text::before { transform: scale(0.4); opacity: 0; }
.xp-cursor-ring.is-label::before { transform: scale(2.4); background: var(--ab-brown); border-color: var(--ab-brown); }
.xp-cursor-ring span { position: relative; color: #fff; font: 700 9.5px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transition: opacity 0.25s; }
.xp-cursor-ring.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .xp-cursor-dot, .xp-cursor-ring { display: none; } }

/* ---------- Sticky mobile booking bar ---------- */

#xp-bookbar { display: none; }
@media (max-width: 860px) {
  #xp-bookbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(22, 14, 7, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
    transform: translateY(140%);
    transition: transform 0.6s var(--xp-ease);
  }
  #xp-bookbar.is-visible { transform: none; }
  #xp-bookbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; text-decoration: none; font: 700 14.5px/1 "Plus Jakarta Sans", sans-serif; }
  .xp-bb-call { width: 48px; flex: 0 0 48px; color: var(--ab-gold-hi); background: rgba(255, 255, 255, 0.08); }
  .xp-bb-order { flex: 0 0 auto; padding: 0 18px; color: #f0e6d3; background: rgba(255, 255, 255, 0.08); }
  .xp-bb-book { flex: 1; color: var(--ab-night); background: linear-gradient(135deg, var(--ab-gold-hi), var(--ab-gold)); }
  /* Keep the chat launcher and back-to-top clear of the bar. */
  html.xp-has-bookbar #ab-totop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
  html.xp-has-bookbar #ab-chat-root { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; transition: bottom 0.6s var(--xp-ease); }
  /* The bar already offers the main actions, so the chat launcher shrinks to its avatar
     and back-to-top steps aside to keep the bottom of the screen uncluttered. */
  html.xp-has-bookbar #ab-chat-toggle { padding: 6px !important; }
  html.xp-has-bookbar #ab-chat-toggle > span { display: none; }
  html.xp-has-bookbar #ab-chat-toggle .ab-chat-toggle-avatar { width: 40px; height: 40px; flex-basis: 40px; }
  html.xp-has-bookbar #ab-totop { display: none !important; }
  /* order-system.js basket button (menu, gifts) sits above the bar, beside the chat avatar. */
  html.xp-has-bookbar #ab-cart-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; right: 76px !important; }
  html.xp-has-bookbar .ab-footer { padding-bottom: 80px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .xp-pillars { grid-template-columns: repeat(2, 1fr); }
  .xp-pillars li:nth-child(3) { border-left: 0; }
  .xp-class-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .xp-press-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .xp-story-grid, .xp-heritage-grid, .xp-ritual-grid, .xp-visit-grid { grid-template-columns: 1fr; }
  .xp-collage { max-width: 520px; width: 100%; margin: 10px auto 0; }
  .xp-dishes-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .xp-dishes-tools { align-items: flex-start; text-align: left; max-width: none; flex-direction: row; justify-content: space-between; width: 100%; }
  .xp-ritual-media { aspect-ratio: 4 / 3.6; position: sticky; top: 80px; z-index: 1; }
  .xp-heritage-quote { position: relative; left: auto; bottom: auto; margin: -40px 18px 0; max-width: none; }
  .xp-plant { grid-template-columns: 1fr; }
  .xp-plant-media { border-radius: var(--xp-radius) var(--xp-radius) 0 0; min-height: 280px; }
  .xp-plant-copy { border-radius: 0 0 var(--xp-radius) var(--xp-radius); }
  .xp-proof-head { grid-template-columns: 1fr; }
  .xp-gal { height: 360px; }
  .xp-gal-track .xp-dish-end { height: 360px; width: 240px; }
  .xp-zoom { min-height: 82vh; }
}
@media (max-width: 560px) {
  .xp-pillars { grid-template-columns: 1fr; }
  .xp-pillars li + li { border-left: 0; }
  .xp-facts { grid-template-columns: 1fr; }
  .xp-review { width: 300px; }
  .xp-dish { width: 82vw; }
  .xp-seal { width: 96px; height: 96px; top: -18px; }
  .xp-visit-actions { flex-direction: column; }
  .xp-visit-actions .xp-btn { width: 100%; box-sizing: border-box; }
  .xp-btn { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .xp-seal svg { animation: none; }
  .xp-ritual-media img { transition: opacity 0.3s; transform: none; clip-path: none; }
}

/* ---------- FAQ ---------- */

.xp-faq { background: var(--ab-cream); padding: clamp(90px, 10vw, 140px) 0; }
.xp-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.xp-faq-grid header { position: sticky; top: 110px; }
.xp-faq-grid .xp-body a { color: var(--ab-brown); font-weight: 700; }
.xp-faq-list details { border-bottom: 1px solid var(--ab-line); }
.xp-faq-list details:first-child { border-top: 1px solid var(--ab-line); }
.xp-faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font: 600 clamp(19px, 1.8vw, 23px)/1.3 "Playfair Display", serif;
  color: var(--ab-ink);
  transition: color 0.3s;
}
.xp-faq-list summary::-webkit-details-marker { display: none; }
.xp-faq-list summary:hover { color: var(--ab-brown); }
.xp-faq-list summary span { position: relative; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ab-line); transition: background-color 0.3s, border-color 0.3s, transform 0.5s var(--xp-ease); }
.xp-faq-list summary span::before, .xp-faq-list summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--ab-brown); transition: transform 0.4s var(--xp-ease); }
.xp-faq-list summary span::after { transform: rotate(90deg); }
.xp-faq-list details[open] summary span { background: var(--ab-brown); border-color: var(--ab-brown); transform: rotate(180deg); }
.xp-faq-list details[open] summary span::before, .xp-faq-list details[open] summary span::after { background: #fff; }
.xp-faq-list details[open] summary span::after { transform: rotate(0deg); }
.xp-faq-list details p { margin: 0 0 26px; max-width: 640px; color: #4d4639; font-size: 16.5px; line-height: 1.75; animation: xp-faq-in 0.5s var(--xp-ease); }
.xp-faq-list details p a { color: var(--ab-brown); font-weight: 700; }
@keyframes xp-faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 899px) { .xp-faq-grid { grid-template-columns: 1fr; } .xp-faq-grid header { position: static; } }

/* ---------- Journal article pages ---------- */

.xp-article-page { background: var(--ab-cream); }
.xp-article { max-width: 1100px; margin: 0 auto; padding: clamp(50px, 7vw, 90px) var(--xp-gutter) 40px; }
.xp-article-head { max-width: 780px; margin: 0 auto clamp(30px, 4vw, 50px); text-align: center; }
.xp-article-head .xp-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.xp-article-head .xp-display { font-size: clamp(34px, 5vw, 62px); }
.xp-crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-size: 13px; color: #7a6e5d; }
.xp-crumbs a { color: var(--ab-brown); text-decoration: none; font-weight: 600; }
.xp-crumbs a:hover { text-decoration: underline; }
.xp-article-meta { margin: 0; color: #7a6e5d; font-size: 14px; }
.xp-article-hero { margin: 0 0 clamp(36px, 5vw, 60px); border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 8; box-shadow: 0 40px 90px -40px rgba(33, 27, 18, 0.5); }
.xp-article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xp-article-body { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: #3d3226; }
.xp-article-body > p, .xp-article-body > ul { margin: 0 0 22px; }
.xp-article-body h2 { margin: 46px 0 14px; font: 600 clamp(26px, 2.6vw, 32px)/1.2 "Playfair Display", serif; color: var(--ab-ink); letter-spacing: -0.015em; }
.xp-article-body ul { padding-left: 22px; }
.xp-article-body li { margin: 0 0 10px; }
.xp-article-body li::marker { color: var(--ab-gold); }
.xp-article-body a { color: var(--ab-brown); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(117, 90, 26, 0.35); text-underline-offset: 4px; transition: text-decoration-color 0.3s; }
.xp-article-body a:hover { text-decoration-color: var(--ab-brown); }
.xp-article-body a.xp-btn { text-decoration: none; }
.xp-article-lede { font: italic 400 clamp(21px, 2vw, 25px)/1.55 "Playfair Display", serif; color: var(--ab-brown); border-left: 2px solid var(--ab-gold); padding-left: 22px; margin-bottom: 34px !important; }
.xp-article-cta { margin: 56px 0 10px; padding: clamp(28px, 4vw, 40px); border-radius: 24px; background: var(--ab-night); color: #e6d9c4; display: grid; gap: 22px; }
.xp-article-cta h2 { margin: 0 0 8px; color: #fff; font-size: 30px; }
.xp-article-cta p { margin: 0; font-size: 16px; line-height: 1.65; }
.xp-article-cta .xp-eyebrow { color: var(--ab-gold-hi); margin-bottom: 10px; }
.xp-article-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.xp-article-cta .xp-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, 0.5); }
.xp-article-cta .xp-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.xp-related { padding: clamp(60px, 8vw, 110px) 0; background: #f6ecdd; }
.xp-related .xp-display { font-size: clamp(30px, 3.6vw, 46px); text-align: center; margin-bottom: 40px; }
.xp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.xp-related-card { display: flex; flex-direction: column; gap: 10px; padding-bottom: 22px; border-radius: 20px; overflow: hidden; background: #fffdf9; text-decoration: none; box-shadow: 0 24px 50px -34px rgba(33, 27, 18, 0.45); transition: transform 0.5s var(--xp-ease), box-shadow 0.5s var(--xp-ease); }
.xp-related-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(33, 27, 18, 0.5); }
.xp-related-img { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 8px; }
.xp-related-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--xp-ease); }
.xp-related-card:hover .xp-related-img img { transform: scale(1.06); }
.xp-related-card .xp-eyebrow, .xp-related-card strong, .xp-related-more { margin: 0 22px; }
.xp-related-card .xp-eyebrow { margin-bottom: 0; }
.xp-related-card strong { font: 600 20px/1.3 "Playfair Display", serif; color: var(--ab-ink); }
.xp-related-more { color: var(--ab-brown); font-weight: 700; font-size: 14px; }
@media (max-width: 899px) { .xp-related-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .xp-article-hero { aspect-ratio: 4 / 3; } .xp-article-body { font-size: 17px; } }

/* ---------- Journal guide links (menu, plant-based, coffee ceremony) ---------- */

.xp-guides { padding: clamp(50px, 6vw, 80px) 0; background: #f6ecdd; border-top: 1px solid #efe2d0; }
.xp-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.xp-guides-grid a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 56px 24px 24px; border-radius: 18px; background: #fffdf9; border: 1px solid #efe2d0; text-decoration: none; transition: transform 0.45s var(--xp-ease), box-shadow 0.45s var(--xp-ease), border-color 0.3s; }
.xp-guides-grid a:hover { transform: translateY(-4px); border-color: var(--ab-gold); box-shadow: 0 24px 50px -30px rgba(117, 90, 26, 0.45); }
.xp-guides-grid strong { font: 600 19px/1.3 "Playfair Display", serif; color: var(--ab-ink); }
.xp-guides-grid span { font-size: 14px; line-height: 1.5; color: #6b5f4d; }
.xp-guides-grid i { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ab-brown); font-size: 20px; transition: transform 0.45s var(--xp-ease); }
.xp-guides-grid a:hover i { transform: translate(5px, -50%); }
@media (max-width: 899px) { .xp-guides-grid { grid-template-columns: 1fr; } }

/* body { overflow-x: hidden } (mobile-safe.css, navigation.css) makes body a scroll container,
   which silently breaks position: sticky. clip still prevents sideways scroll without that side effect. */
@supports (overflow: clip) {
  html body { overflow-x: clip !important; }
}
