/* Extend the existing white/brown, Aboreto/Noto identity to every route. */
.site-header .header-inner{display:flex;height:88px;gap:24px;padding:10px var(--gutter)}
.site-header .header-inner>.brand{padding:0;align-self:center;min-width:0}
.site-header .header-actions{display:flex;align-items:center;gap:20px;align-self:center;height:auto}
.site-header .desktop-nav{display:flex;gap:36px;align-self:center}
.site-header .nav-toggle{display:grid;place-items:center;flex:none;width:46px;height:46px;padding:9px;border:0;background:transparent;color:var(--ink)}
.nav-toggle svg{width:28px;height:28px}.nav-toggle:hover{background:var(--paper-deep)}
.desktop-nav a[aria-current=page]:after{transform:scaleX(1)}
.all-pages-nav{position:absolute;inset:100% 0 auto;max-height:calc(100dvh - var(--header-height));overflow:auto;overscroll-behavior:contain;background:var(--warm-white);color:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 18px 40px #30251b12}
.all-pages-inner{max-width:1440px;padding:36px var(--gutter) 48px;margin:auto}
.all-pages-title{font-size:16px;color:var(--muted);margin-bottom:20px}
.all-pages-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 48px}
.all-pages-links a{display:flex;align-items:center;min-height:56px;padding-block:10px;border-bottom:1px solid var(--line);font-size:20px}
.all-pages-links a:hover,.all-pages-links a[aria-current=page]{color:var(--gold);text-decoration:underline;text-underline-offset:6px}
.no-script-nav{display:flex;flex-wrap:wrap;gap:10px 24px;padding:16px var(--gutter)}
.inner-page .editorial-hero{gap:7%;padding-block:64px 80px;align-items:center}
.editorial-hero .section-eyebrow{color:var(--gold);font-weight:400;margin-bottom:18px}
.editorial-hero .breadcrumb{display:inline-block;margin-bottom:24px;font-size:14px}
.editorial-hero h1{max-width:14ch}
.nav-open .mobile-booking{visibility:hidden}
.editorial-hero figure{position:relative;overflow:hidden;background:var(--paper-deep)}
.editorial-hero figure img{width:100%;height:auto;aspect-ratio:1/1.08;object-fit:cover}
.editorial-hero figure video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.editorial-hero .video-toggle{position:absolute;bottom:18px;left:18px}
.editorial-hero .hero-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px}
.editorial-hero .hero-actions .text-link{margin:0}
.editorial-hero .hero-facts{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:15px;margin-block:24px;color:var(--muted)}
.editorial-hero .hero-facts span+span{border-inline-start:1px solid var(--line);padding-inline-start:22px}
.page-photo-story{padding-block:24px 80px}.page-photo-story>h2{margin-bottom:32px}
.page-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.page-photo-grid figure:nth-child(2){margin-top:48px}
.page-photo-grid img{width:100%;aspect-ratio:4/5;object-fit:cover}
.page-photo-grid figcaption{font-size:14px;color:var(--muted);margin-top:12px;line-height:1.7}
.page-photo-grid+.text-link{margin-top:30px}
.page-closing{background:var(--paper-deep);padding:56px var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:32px}
.page-closing h2{margin-bottom:14px}.page-closing p{font-size:18px}
.events-page .page-closing{background:var(--earth);color:var(--cream)}
.events-page .page-closing .button:hover{background:var(--cream);color:var(--earth)}
.article-content section{gap:5%;padding-block:32px}.article-content p{font-size:18px;line-height:1.85}
.gallery-filters{flex-wrap:wrap}.gallery-filters button{min-height:44px}
.gallery-grid img{object-position:var(--focus-desktop,50% 50%)}
.inner-page .reservation-page{min-height:440px;max-width:940px}
.reservation-scene{max-width:1100px;margin:auto;padding-bottom:70px}.reservation-scene img{width:100%;max-height:450px;object-fit:cover}
.legal ul{padding-inline-start:24px}.legal li{margin-block:8px}.legal a{overflow-wrap:anywhere}
@media(max-width:900px){
 :root{--header-height:126px}
 .site-header .header-inner{height:126px;display:grid;grid-template-columns:1fr auto;grid-template-rows:70px 36px;padding:8px 24px 12px;gap:0 16px}
 .site-header .header-inner>.brand{grid-column:1;grid-row:1;justify-self:start}
 .site-header .header-inner>.brand>span{font-size:30px}.site-header .header-inner>.brand small{font-size:8px;margin-top:8px}
 .site-header .header-actions{grid-column:2;grid-row:1;gap:12px}
 .site-header .header-actions>.button{height:auto;min-height:48px;font-size:14px;gap:12px;padding:5px 14px 5px 5px}
 .site-header .header-actions>.button>svg{width:32px;height:32px}
 .site-header .desktop-nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:38px;font-size:15px}
 .site-header .desktop-nav a{min-height:36px;padding:0}
 .all-pages-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
 .all-pages-inner{padding:24px 30px 36px}.all-pages-links a{font-size:18px}
}
@media(max-width:760px){
 .inner-page .editorial-hero{padding-block:32px 48px;gap:32px}.editorial-hero h1{max-width:14ch;font-size:42px}
 .editorial-hero figure img{aspect-ratio:4/4.2;object-position:var(--focus-mobile,50% 50%)}
 .editorial-hero .hero-actions{gap:16px}.editorial-hero .hero-facts{font-size:14px}
 .page-photo-story{padding-block:20px 48px}.page-photo-story>h2{font-size:28px;margin-bottom:24px}
 .page-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.page-photo-grid figure:nth-child(2){margin-top:28px}
 .page-photo-grid figure:last-child:nth-child(odd){grid-column:1/-1;max-width:100%}.page-photo-grid figure:last-child:nth-child(odd) img{aspect-ratio:3/2}
 .page-photo-grid figcaption{font-size:14px}
 .page-closing{padding:40px 24px;align-items:flex-start;flex-direction:column;gap:24px}.page-closing h2{font-size:30px}.page-closing p{font-size:17px}
 .article-content p{font-size:17px}.article-content section{padding-block:26px}.gallery-grid img{object-position:var(--focus-mobile,50% 50%)}
 .reservation-scene{padding-bottom:40px}.reservation-scene img{aspect-ratio:4/3}
}
@media(max-width:380px){
 .site-header .header-inner{padding-inline:16px;gap:0 8px}.site-header .header-inner>.brand>span{font-size:25px}
 .site-header .header-inner>.brand small{font-size:7px;letter-spacing:1.6px}.site-header .header-actions{gap:6px}
 .site-header .header-actions>.button{font-size:13px;gap:8px;padding-inline-start:12px}.site-header .header-actions>.button>svg{width:28px;height:28px}
 .site-header .nav-toggle{width:44px;height:44px}.site-header .desktop-nav{gap:28px;font-size:14px}
 .all-pages-inner{padding-inline:22px}.all-pages-links{gap:0 20px}.all-pages-links a{font-size:16px}
 .editorial-hero h1{font-size:36px}.editorial-hero .hero-facts{gap:8px 14px}.editorial-hero .hero-facts span+span{padding-inline-start:14px}
}

/* v0.8 sandbox: compact mobile header; full navigation remains in menu. */
@media(max-width:900px){
 :root{--header-height:72px}
 .site-header .header-inner{display:flex;flex-wrap:wrap;justify-content:space-between;height:auto;min-height:72px;padding:10px 16px;gap:8px 12px}
 .site-header .header-inner>.brand{align-self:center;flex:0 0 auto;padding:0;min-width:0}
 .site-header .header-inner>.brand>span{font-size:25px;letter-spacing:.5px}
 .site-header .header-inner>.brand small{font-size:7px;letter-spacing:1.6px;margin-top:6px}
 .site-header .header-actions{height:auto;align-self:center;gap:6px;margin-inline-start:auto;flex:0 0 auto}
 .site-header .header-actions>.button{height:auto;min-height:44px;font-size:14px;gap:8px;padding:5px 10px}
 .site-header .header-actions>.button>svg{width:24px;height:24px;padding:0}
 .site-header .nav-toggle{width:44px;height:44px}
 .site-header .desktop-nav{display:none}
}

/* v0.8.1 navigation: top bar in normal flow; bottom action is stable on scroll. */
.site-header.tulum-header,
.home .site-header.tulum-header{
 position:relative;inset:auto;z-index:30;background:var(--warm-white);
 color:var(--ink);border-bottom:1px solid var(--line);transition:none
}
.site-header.tulum-header .header-inner{
 --tulum-header-size:62px;
 direction:ltr;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 grid-template-rows:auto;align-items:center;gap:8px;height:auto;
 min-height:var(--tulum-header-size);padding:6px clamp(10px,3.4vw,52px)
}
.site-header.tulum-header .brand{
 grid-column:2;grid-row:1;justify-self:center;align-self:center;min-width:0;
 padding:0;min-height:44px;display:flex;justify-content:center
}
.site-header.tulum-header .brand>span{font-size:clamp(23px,5.8vw,34px);letter-spacing:.5px}
.site-header.tulum-header .brand small{font-size:8px;letter-spacing:1.7px;margin-top:6px}
.site-header.tulum-header .tulum-header-book{
 grid-column:3;grid-row:1;justify-self:end;direction:rtl;min-height:44px;
 max-width:100%;white-space:normal;text-align:center;line-height:1.12;
 font-size:clamp(12px,3.35vw,15px);gap:6px;padding:4px 9px;
 border:1px solid var(--gold);border-radius:999px
}
.site-header.tulum-header .tulum-header-book>svg{width:18px;height:18px;padding:0}
.site-header.tulum-header .nav-toggle{
 grid-column:1;grid-row:1;justify-self:start;width:44px;height:44px
}
.site-header.tulum-header .all-pages-nav{
 max-height:calc(100dvh - 64px);overscroll-behavior:contain
}
.tulum-menu-tools{
 display:flex;flex-wrap:wrap;gap:8px 16px;
 margin-top:20px;padding-top:8px;border-top:1px solid var(--line)
}
.tulum-menu-tools>button{
 min-height:44px;border:0;background:transparent;text-decoration:underline;
 text-underline-offset:4px;text-align:start;padding:4px 8px;color:var(--ink)
}
.tulum-menu-tools>button:hover{color:var(--gold)}
@media(max-width:760px){
 .site-header.tulum-header .header-inner{--tulum-header-size:56px}
 body:has(.tulum-header){padding-bottom:calc(50px + env(safe-area-inset-bottom))}
 body:has(.tulum-header) .mobile-booking{
  box-sizing:border-box;display:flex;gap:12px;min-height:50px;
  padding:2px max(12px,env(safe-area-inset-right)) calc(2px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))
 }
 body:has(.tulum-header) .mobile-booking>a{
  min-height:44px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;
  gap:8px;padding:0 6px;line-height:1.15;isolation:isolate
 }
 body:has(.tulum-header) .mobile-booking>.button{
  position:relative;background:transparent;border-color:transparent;min-width:0
 }
 body:has(.tulum-header) .mobile-booking>.button::before{
  content:"";position:absolute;inset:5px 0;border:1px solid var(--gold);border-radius:999px;z-index:-1
 }
 body:has(.tulum-header) .mobile-booking>.button:hover{color:var(--ink)}
 body:has(.tulum-header) .mobile-booking>a>svg{width:16px;height:16px;padding:0}
}
@media(max-width:360px){
 .site-header.tulum-header .tulum-header-book>svg{display:none}
}
@media print{
 body:has(.tulum-header) .mobile-booking{display:none}
}
