/* =========================================================================
   EMBR — R93 "EDITORIAL" LAYER (loaded last, every page)
   Full-bleed, calm, expensive: continuous cream surfaces with soft colour
   washes, un-cropped photography, a clean 3-up gallery, quiet motion.
   (Replaces the R92 floating-panel experiment.)
   ========================================================================= */
:root {
  --lx-oat: #F1E8DA; --lx-blush: #E9D3BF; --lx-gold: #C9A27A; --lx-clay: #9A5B3E; --lx-forest: #363A2E;
  --lx-r-img: 3px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- 1 · colour: soft washes so bands melt into each other instead of cutting ---- */
:root body:not(#_) .home-r64-intro, :root body:not(#_) .home-r64-menu, :root body:not(#_) .home-r64-gallery,
:root body:not(#_) .xp-intro, :root body:not(#_) .xp-elements, :root body:not(#_) .xp-menu,
:root body:not(#_) .events-intro-r65, :root body:not(#_) .contact-grid, :root body:not(#_) .faq-layout,
:root body:not(#_) .menu-placeholder, :root body:not(#_) .menu-experience-r62 {
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(233,211,191,.36), transparent 62%),
                    radial-gradient(70% 60% at 0% 100%, rgba(217,190,158,.16), transparent 62%) !important;
}
:root body:not(#_) .home-r64-about, :root body:not(#_) .home-r64-events, :root body:not(#_) .home-r64-visit,
:root body:not(#_) .xp-share, :root body:not(#_) .xp-setting, :root body:not(#_) .events-enquiry-r65,
:root body:not(#_) .intro-section, :root body:not(#_) .sunset-editorial-first-r67 {
  background-image: radial-gradient(80% 70% at 0% 0%, rgba(255,250,242,.55), transparent 60%),
                    radial-gradient(70% 70% at 100% 100%, rgba(201,162,122,.18), transparent 66%) !important;
}
:root body:not(#_) .home-r64-bar, :root body:not(#_) .contact-map-r48, :root body:not(#_) .menu-link-grid {
  background-image: radial-gradient(70% 90% at 15% 0%, rgba(255,250,242,.45), transparent 62%),
                    radial-gradient(60% 80% at 100% 100%, rgba(154,91,62,.12), transparent 66%) !important;
}
:root body:not(#_) .home-r64-fire, :root body:not(#_) .xp-quote, :root body:not(#_) .menu-booking-r60, :root body:not(#_) .sunset-editorial-reverse-r67 {
  background-color: var(--lx-forest) !important;
  background-image: radial-gradient(70% 90% at 88% 6%, rgba(201,162,122,.2), transparent 62%),
                    radial-gradient(60% 70% at 0% 100%, rgba(18,15,12,.35), transparent 70%) !important;
}
:root body:not(#_) .home-r64-booking, :root body:not(#_) .booking-band, :root body:not(#_) .faq-help {
  background-image: radial-gradient(60% 90% at 88% -10%, rgba(160,118,82,.22), transparent 66%),
                    radial-gradient(50% 70% at 0% 0%, rgba(54,58,46,.4), transparent 70%) !important;
}
:root body:not(#_) .site-footer { background-image: radial-gradient(60% 80% at 90% 115%, rgba(160,118,82,.2), transparent 68%) !important; }

/* ---- 2 · photography: natural proportions, quiet depth ---- */
:root body:not(#_) .home-r64-image, :root body:not(#_) .sunset-editorial-image-r67 img, :root body:not(#_) .xp-share-photo,
:root body:not(#_) .xp-setting img, :root body:not(#_) .xp-elements img { border-radius: var(--lx-r-img); box-shadow: 0 34px 60px -38px rgba(28,23,20,.5); }
:root body:not(#_) .sunset-editorial-image-r67 img { max-height: none !important; aspect-ratio: 4 / 5; object-fit: cover !important; }
:root body:not(#_) .sunset-editorial-image-r67 { background: transparent !important; }
:root body:not(#_) .home-r64-image { aspect-ratio: 4 / 5 !important; height: auto !important; object-fit: cover; }
:root body:not(#_) .xp-elements img { aspect-ratio: 4 / 5 !important; height: auto !important; object-fit: cover; }

/* Moments rail: each photo at its own proportions */
:root body:not(#_) .moments-card { width: auto !important; aspect-ratio: auto !important; height: clamp(300px, 31vw, 470px) !important; background: transparent !important; border-radius: var(--lx-r-img); }
:root body:not(#_) .moments-card img { width: auto !important; height: 100% !important; object-fit: contain !important; border-radius: var(--lx-r-img); }
@media (max-width: 680px) { :root body:not(#_) .moments-card { height: clamp(280px, 78vw, 380px) !important; } }
:root body:not(#_) .moments-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }

/* ---- 3 · gallery: clean 3-up grid, no borders, no mats ---- */
:root body:not(#_) .v13-gallery-collection { padding: clamp(22px, 3vw, 48px) var(--lx-gutter) clamp(28px, 4vw, 56px) !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
:root body:not(#_) .v13-gallery-track {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(8px, 1.5vw, 22px) !important; padding: 0 !important; margin: 0 auto !important; max-width: 1480px; width: 100% !important;
}
:root body:not(#_) .v13-gallery-card {
  display: block !important; position: relative; padding: 0 !important; margin: 0 !important; border: 0 !important; outline: 0;
  background: transparent !important; box-shadow: none !important; border-radius: var(--lx-r-img) !important; overflow: hidden;
  aspect-ratio: 4 / 5 !important; width: 100% !important; height: auto !important; cursor: zoom-in;
}
:root body:not(#_) .v13-gallery-card img {
  position: absolute !important; inset: 0 !important; display: block; width: 100% !important; height: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  object-fit: cover !important; transition: transform 1.2s var(--lx-ease), filter .8s var(--lx-ease);
}
@media (hover: hover) { :root body:not(#_) .v13-gallery-card:hover img { transform: scale(1.04); filter: brightness(1.04); } }
:root body:not(#_) .v13-gallery-card:focus-visible { outline: 1px solid var(--lx-brass) !important; outline-offset: 4px; }
@media (max-width: 560px) { :root body:not(#_) .v13-gallery-track { gap: 6px !important; } :root body:not(#_) .v13-gallery-collection { padding-left: 8px !important; padding-right: 8px !important; } }

/* ---- 4 · inner heroes: split layout on desktop; on tablet/phone the portrait runs full-bleed and melts into the title ---- */
@media (max-width: 900px) {
  :root body:not(#_) .page-hero.hero-sunset, :root body:not(#_) .page-hero.hero-gallery, :root body:not(#_) .page-hero.hero-contact,
  :root body:not(#_) .page-hero.hero-gift, :root body:not(#_) .page-hero.hero-gaucho {
    --hh: min(125vw, 82svh);                     /* 125vw = exact 4:5 → photo is not cropped on phones */
    padding-top: calc(var(--hh) - 58px) !important; padding-bottom: 54px !important;
  }
  :root body:not(#_) .page-hero.hero-sunset::before, :root body:not(#_) .page-hero.hero-gallery::before, :root body:not(#_) .page-hero.hero-contact::before,
  :root body:not(#_) .page-hero.hero-gift::before, :root body:not(#_) .page-hero.hero-gaucho::before {
    inset: 0 0 auto 0 !important; width: 100% !important; height: var(--hh) !important;
    background-size: cover !important; background-position: center 30% !important;
    -webkit-mask-image: linear-gradient(to bottom, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 52%, rgba(0,0,0,.55) 78%, transparent 100%);
    -webkit-mask-composite: initial; mask-composite: add;
  }
  :root body:not(#_) .page-hero .eyebrow, :root body:not(#_) .page-hero .gallery-hero-eyebrow { text-shadow: 0 1px 14px rgba(0,0,0,.5); }
  :root body:not(#_) .page-hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
}

/* ---- footer: no hard corner or edge — the page above dissolves into it ---- */
:root body:not(#_) .site-footer { position: relative; overflow: visible !important; border-radius: 0 !important; margin: 0 !important; border: 0 !important; }
:root body:not(#_) .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(14px, 1.8vw, 26px); pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, rgba(28,23,20,0) 0%, rgba(28,23,20,.35) 60%, rgba(28,23,20,.9) 100%);
}

/* ---- 5 · buttons + links ---- */
:root body:not(#_) .button, :root body:not(#_) .button-rust, :root body:not(#_) .nav-book, :root body:not(#_) .hero-book,
:root body:not(#_) button[type="submit"], :root body:not(#_) .booking-float-label, :root body:not(#_) .vh-cta,
:root body:not(#_) .site-header .header-nav .nav-book, :root body:not(#_) .site-header .site-nav .nav-book {
  border-radius: 999px !important;
  transition: background-color .5s var(--lx-ease), color .5s var(--lx-ease), border-color .5s var(--lx-ease), transform .5s var(--lx-ease) !important;
}
:root body:not(#_) .button:hover, :root body:not(#_) .hero-book:hover, :root body:not(#_) .vh-cta:hover { transform: translateY(-2px); }
:root body:not(#_) .home-hero-video-r77 .hero-book { background: rgba(246,241,233,.14) !important; border-color: rgba(246,241,233,.7) !important; color: var(--lx-ivory) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
:root body:not(#_) .home-hero-video-r77 .hero-book:hover { background: var(--lx-ivory) !important; color: var(--lx-espresso) !important; }
:root body:not(#_) .home-r64-booking .button, :root body:not(#_) .booking-band .button, :root body:not(#_) .faq-help .button { background: var(--lx-ivory) !important; color: var(--lx-espresso) !important; border-color: var(--lx-ivory) !important; }
:root body:not(#_) .home-r64-booking .button:hover, :root body:not(#_) .booking-band .button:hover, :root body:not(#_) .faq-help .button:hover { background: var(--lx-gold) !important; border-color: var(--lx-gold) !important; }
:root body:not(#_) .booking-float { border-radius: 999px !important; }

/* ---- 6 · motion: photographs reveal like a slow curtain, text rises quietly ---- */
:root body:not(#_) .v13-reveal { transform: translateY(18px) !important; transition: opacity 1.1s var(--lx-ease), transform 1.1s var(--lx-ease) !important; }
:root body:not(#_) .v13-reveal.is-visible { transform: none !important; }
:root body:not(#_) .v13-reveal:not(.is-visible) .home-r64-image,
:root body:not(#_) .v13-reveal:not(.is-visible) .xp-share-photo,
:root body:not(#_) .v13-reveal:not(.is-visible) .sunset-editorial-image-r67 img { clip-path: inset(0 0 14% 0); }
:root body:not(#_) .home-r64-image, :root body:not(#_) .xp-share-photo, :root body:not(#_) .sunset-editorial-image-r67 img {
  clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--lx-ease), transform 1.2s var(--lx-ease);
}
@media (hover: hover) {
  :root body:not(#_) .home-r64-image:hover, :root body:not(#_) .xp-share-photo:hover { transform: translateY(-4px); }
}
@keyframes lx-nav-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { :root body:not(#_) .site-header .site-nav.open { animation: lx-nav-in .45s var(--lx-ease) both; } }
@media (prefers-reduced-motion: reduce) {
  :root body:not(#_) .v13-reveal { transform: none !important; }
  :root body:not(#_) .v13-reveal:not(.is-visible) .home-r64-image, :root body:not(#_) .v13-reveal:not(.is-visible) .xp-share-photo,
  :root body:not(#_) .v13-reveal:not(.is-visible) .sunset-editorial-image-r67 img { clip-path: none; }
  :root body:not(#_) .site-header .site-nav.open { animation: none; }
}

/* ---- 7 · less formula: the brass-italic accent is kept for three key moments only ---- */
:root body:not(#_) h1 em, :root body:not(#_) h2 em, :root body:not(#_) h3 em { font-style: normal !important; color: inherit !important; }
:root body:not(#_) .home-r64-intro h1 em, :root body:not(#_) .xp-intro h2 em { font-style: italic !important; color: var(--lx-brass) !important; }
:root body:not(#_) .home-r64-booking h2 em { font-style: italic !important; color: var(--lx-brass-soft) !important; }

/* gallery formation: 8 rows of 3, every row one theme with its focal photo in the centre — keep the order in gallery.html */
:root body:not(#_) .v13-gallery-card[data-lightbox-src$="photo-09.webp"] img { object-position: center 50% !important; }
:root body:not(#_) .v13-gallery-card[data-lightbox-src$="photo-25.webp"] img { object-position: center 70% !important; }
/* a lone final photograph sits in the centre column */
:root body:not(#_) .v13-gallery-card:last-child:nth-child(3n+1) { grid-column: 2; }

/* cinematic hero titles (Menu + Events): calmer scale */
:root body:not(#_) .vh h1 { font-size: clamp(44px, 5.4vw, 84px) !important; line-height: 1 !important; letter-spacing: -.016em !important; }
:root body:not(#_) .vh--events h1 { font-size: clamp(42px, 5vw, 78px) !important; }
@media (max-width: 900px) { :root body:not(#_) .vh h1, :root body:not(#_) .vh--events h1 { font-size: clamp(38px, 10.2vw, 66px) !important; } }

/* FAQ contact list + Shop grid */
:root body:not(#_) .faq-contact-list { list-style: none; margin: 14px 0 16px; padding: 0; display: grid; gap: 8px; }
:root body:not(#_) .faq-contact-list li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
:root body:not(#_) .faq-contact-list li span { min-width: 250px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-brass); }
:root body:not(#_) .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 900px) { :root body:not(#_) .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* R101: Shop — open editorial list instead of boxed cards */
:root body:not(#_) .shop-r101 {
  display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(36px,7vw,120px); align-items: center;
  padding: var(--lx-section) var(--lx-gutter);
  background: radial-gradient(90% 80% at 0% 0%, var(--lx-oat), transparent 70%), var(--lx-ivory);
}
:root body:not(#_) .shop-r101-photo { margin: 0; }
:root body:not(#_) .shop-r101-photo img { display: block; width: 100%; height: auto; border-radius: var(--lx-r-img); box-shadow: 0 30px 60px -34px rgba(28,23,20,.45); }
:root body:not(#_) .shop-r101-title { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: clamp(34px,4vw,60px); line-height: 1.05; margin: 10px 0 clamp(20px,3vw,40px); color: var(--lx-espresso); }
:root body:not(#_) .shop-row {
  display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: baseline; column-gap: clamp(14px,2vw,28px);
  padding: clamp(20px,2.4vw,32px) 0; border: 0 !important; border-top: 1px solid rgba(28,23,20,.16) !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; text-decoration: none; color: var(--lx-espresso);
  transition: padding-left .45s cubic-bezier(.2,.7,.2,1), color .3s;
}
:root body:not(#_) .shop-row:last-child { border-bottom: 1px solid rgba(28,23,20,.16) !important; }
:root body:not(#_) .shop-row-n { font-size: 11px; letter-spacing: .2em; color: var(--lx-brass); }
:root body:not(#_) .shop-row-t h2 { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: clamp(28px,3vw,44px); line-height: 1.1; margin: 0; color: inherit; }
:root body:not(#_) .shop-row-t p { margin: 6px 0 0; font-size: 14px; color: var(--lx-sage); }
:root body:not(#_) .shop-row-go { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--lx-brass); white-space: nowrap; }
:root body:not(#_) .shop-row-go i { font-style: normal; display: inline-block; margin-left: 6px; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
:root body:not(#_) .shop-row:hover { padding-left: 12px; color: var(--lx-clay); }
:root body:not(#_) .shop-row:hover .shop-row-go i { transform: translateX(6px); }
@media (max-width: 900px) {
  :root body:not(#_) .shop-r101 { grid-template-columns: 1fr; }
  :root body:not(#_) .shop-r101-photo { max-width: 420px; margin: 0 auto; order: 2; }
}
@media (max-width: 520px) {
  :root body:not(#_) .shop-row { grid-template-columns: 30px minmax(0,1fr); row-gap: 10px; }
  :root body:not(#_) .shop-row-go { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { :root body:not(#_) .shop-row, :root body:not(#_) .shop-row-go i { transition: none; } }

/* R102: Shop help block — contact details on their own lines, never split */
:root body:not(#_) .shop-help-lede { margin: 0 0 clamp(18px,2.4vw,28px) !important; }
:root body:not(#_) .shop-help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 640px; }
:root body:not(#_) .shop-help-list li { display: grid; grid-template-columns: 120px minmax(0,1fr); align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(28,23,20,.14); }
:root body:not(#_) .shop-help-list li:last-child { border-bottom: 1px solid rgba(28,23,20,.14); }
:root body:not(#_) .shop-help-list span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-brass); }
:root body:not(#_) .shop-help-list a { font-size: clamp(17px,1.5vw,21px); color: var(--lx-espresso); text-decoration: none; white-space: nowrap; overflow-wrap: normal; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
:root body:not(#_) .shop-help-list a:hover { color: var(--lx-clay); border-color: currentColor; }
@media (max-width: 520px) {
  :root body:not(#_) .shop-help-list li { grid-template-columns: 1fr; gap: 4px; }
  :root body:not(#_) .shop-help-list a { white-space: normal; overflow-wrap: anywhere; font-size: 17px; }
}
