.guide-header,.chapters { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem var(--pad); }
.guide-header { background:var(--deep); color:var(--ivory); }
.guide-header img { width:150px; }
.guide-cover { position:relative; display:grid; align-items:end; min-height:clamp(340px,48vw,600px); isolation:isolate; color:white; padding:3rem var(--pad); }
.guide-cover img,.guide-cover::after { position:absolute; inset:0; height:100%; width:100%; object-fit:cover; z-index:-2; }
.guide-cover::after { content:""; background:linear-gradient(0deg,#0a211ae6,transparent 90%); z-index:-1; }
.guide-cover h1 { font-size:clamp(4rem,9vw,8rem); margin:0; }
.chapters { flex-wrap:wrap; justify-content:flex-start; gap:.5rem 2rem; border-bottom:1px solid var(--sand); }
.chapters a,.visitor-link { text-decoration:underline; text-underline-offset:.28em; }
.guide-section { padding:clamp(3rem,6vw,6rem) var(--pad); }
.guide-section h2 { font-size:clamp(2.6rem,5vw,5rem); margin:0 0 2rem; }
.places { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:3rem 2rem; }
.places figure { margin:0; }
.places img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; }
.places figcaption { font-size:.76rem; color:#505950; padding:.5rem 0; }
.places figcaption a { text-decoration:underline; }
.places h3 { font-size:2rem; margin:1rem 0 .6rem; }
.places p { margin-bottom:.7rem; }
#destinations > .guide-section:nth-child(even) { background:#eee9de; }
.amenities-guide { background:var(--deep); color:var(--ivory); }
.facility-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:.6rem 2rem; list-style:none; margin:1.5rem 0; padding:0; }
.facility-list li { padding:.7rem 0; border-bottom:1px solid #ac967a80; }
@media(max-width:720px) { body.guide { padding-bottom:0; } }

/* Keep a consistent reading rhythm across the retreat and destination pages. */
.section,.guide-section { padding-block:clamp(2.25rem,4vw,4rem); }
.section-intro { margin-bottom:clamp(1.5rem,3vw,3rem); }
.coorg-guide figure,.editorial-image { margin:0; }
.cottage-sequence,.feature-list { margin-top:clamp(2rem,4vw,4rem); }
.cottage-sequence { gap:clamp(2rem,4vw,4rem); }
.feature-list { padding-block:1rem; }
.gallery-grid { grid-auto-flow:dense; }
.places { row-gap:2rem; }
.guide-section article,.form-grid label { min-width:0; }
.whatsapp-float[hidden] { display:none; }
@media(max-width:1050px) {
  .floorplan-layout,.plantation-grid,.location-grid,.visit-layout,.faq-layout { gap:2rem; }
}
@media(max-width:720px) {
  :root { --pad:clamp(1rem,4vw,1.5rem); }
  .hero { min-height:calc(100svh - 58px); display:flex; align-items:flex-end; }
  .hero-content { position:relative; inset:auto; padding:7rem var(--pad) 4.5rem; }
  .hero h1 { font-size:clamp(2.85rem,11vw,4.4rem); }
  .hero-facts { margin-block:1rem; }
  .hero-meta { bottom:1rem; }
  .hero-meta span:last-child { display:block; }
  .feature-frame,.sequence-image img,.plantation-image img,.amenity-tile,.amenity-tile.tall { height:auto; min-height:0; aspect-ratio:4/3; }
  .feature-frame>img { height:100%; }
  .pool-story { height:auto; min-height:0; display:grid; align-items:end; padding:9rem var(--pad) 3.5rem; }
  .pool-story>img { position:absolute; inset:0; }
  .pool-overlay { position:relative; inset:auto; }
  .pool-overlay h2 { font-size:clamp(2.8rem,10vw,4rem); margin-bottom:1rem; }
  .amenity-text { min-height:0; padding:1.5rem; }
  .gallery-item,.gallery-item:nth-child(even) { height:auto; aspect-ratio:4/3; }
  .guide-header { gap:.5rem; }
  .guide-header img { width:clamp(95px,33vw,150px); }
  .chapters { gap:.35rem 1rem; }
  .chapters a { padding-block:.4rem; }
  .guide-section h2 { margin-bottom:1.25rem; }
  .places h3 { margin-top:.5rem; }
  .visit-copy h2,.plantation-copy h2 { font-size:clamp(2.55rem,10vw,4rem); }
}

@media (max-width: 1050px) {
  .mobile-nav {
    height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: 1rem max(1rem, env(safe-area-inset-bottom));
  }
  .mobile-nav a { flex-shrink: 0; }
  .menu-open .mobile-visit, .menu-open .whatsapp-float { display: none; }
}
@media (max-width: 720px) {
  .mobile-nav { height: calc(100dvh - 76px); }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid .gallery-item {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .gallery-filters { flex-wrap: wrap; }
  .form-grid input, .form-grid select, .form-grid textarea { font-size: 16px; }
  .mobile-visit {
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  body:has(.mobile-visit) { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .whatsapp-float { bottom: calc(74px + env(safe-area-inset-bottom)); }
}
/* Keep the hero photograph and its copy readable in portrait and landscape. */
@media (min-width: 721px) {
  .hero { display: grid; align-items: center; min-height: min(100svh, 960px); }
  .hero-content { padding-block: clamp(7rem, 16vh, 12rem) clamp(5rem, 10vh, 8rem); }
}
@media (max-width: 720px) {
  .hero { display: block; min-height: 0; }
  .hero-image {
    position: static;
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: center;
    animation: none;
  }
  .hero-veil { bottom: auto; height: 76px; background: linear-gradient(#071a13b8, transparent); }
  .hero-content { padding: 1.25rem var(--pad) .8rem; }
  .hero .kicker { margin-bottom: .65rem; }
  .hero h1 { font-size: clamp(2.2rem, 8.5vw, 3.5rem); line-height: 1.02; margin-bottom: .5rem; }
  .hero-promise { font-size: 1.12rem; margin-bottom: .5rem; }
  .hero-facts { flex-flow: row wrap; gap: .3rem 1rem; margin: .75rem 0; font-size: .67rem; }
  .hero-actions { display: flex; align-items: center; gap: .4rem .85rem; }
  .hero-actions .button { width: auto; min-height: 44px; padding-inline: .85rem; gap: .6rem; }
  .hero-actions .button-ghost { padding-inline: 0; border: 0; background: transparent; }
  .hero-actions .button-ghost:hover { color: white; }
  .hero-meta { position: static; padding: 0 var(--pad) 1rem; line-height: 1.5; }
  .mobile-visit { display: none; }
  body.past-hero:not(.menu-open) .mobile-visit { display: flex; }
  body:not(.past-hero) .whatsapp-float { display: none; }
}
/* Floating navigation and photographic opening shared across screen sizes. */
.site-header,.site-header.scrolled { position:fixed;inset:12px auto auto 50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);height:auto;border:0;border-radius:32px;background:#f8f5edf7;color:#192d23;box-shadow:0 6px 26px #13241926;backdrop-filter:none }
.nav-shell { height:52px;padding:5px 8px 5px 17px;gap:20px }
.brand { font:600 20px/1 Georgia,serif;white-space:nowrap }
.desktop-nav { gap:18px }
.desktop-nav a,.nav-cta { font-size:12px;letter-spacing:0;text-transform:none }
.nav-cta { display:flex;border:0;border-radius:30px;padding:10px 18px;background:var(--forest);color:white;gap:9px }
.menu-toggle span { background:var(--forest) }
.hero { display:grid;place-items:center;min-height:clamp(560px,100svh,1000px);isolation:isolate;text-align:center }
.hero-image { position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:58% center;animation:none }
.hero-veil { inset:0;height:auto;background:linear-gradient(180deg,#14251d38,#13241dda 100%),linear-gradient(90deg,#102018a8,#19271818) }
.hero-content { place-self:start;text-align:left;position:relative;inset:auto;width:100%;max-width:850px;padding:110px var(--pad);color:#fff9eb }
.hero .kicker { margin:0 0 16px;color:#fff6df;font-size:12px }
.hero h1 { margin:0;font-size:clamp(5rem,13vw,12rem);font-style:italic;letter-spacing:-.07em;line-height:1.02 }
.hero-promise { margin:10px 0 16px;font-size:clamp(1.4rem,3vw,2.4rem) }
.hero-facts { display:block;margin:0 0 26px;font-size:12px;line-height:1.6;color:#fff6df }
.hero-actions { display:flex;justify-content:flex-start }
.hero-actions .button { border-radius:30px;background:var(--ivory);color:var(--deep);width:auto;min-height:46px;padding:0 24px }
.hero-meta { position:absolute;inset:auto var(--pad) 18px;display:flex;gap:10px;justify-content:space-between;padding:0;color:#fffaeb;font-size:9px }
.scene-picker { position:absolute;z-index:3;bottom:54px;display:flex;gap:4px;padding:3px;background:#16261ecf;border-radius:28px }
.scene-picker button { background:none;color:white;border:0;border-radius:24px;padding:10px 15px;font-size:12px }
.scene-picker button[aria-pressed=true] { background:var(--ivory);color:var(--deep) }
.cottage-sequence { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px }
.sequence-panel,.sequence-panel.reverse { display:flex;flex-direction:column;align-items:stretch;gap:0;background:var(--ivory);color:var(--deep);border-radius:20px;overflow:hidden }
.sequence-image img { width:100%;height:auto;aspect-ratio:3/2;object-fit:cover }
.sequence-copy { padding:clamp(22px,3vw,40px) }
.sequence-copy p { color:#485a50 }
.amenity-tile,.amenity-text,.places img,.crop-pair img { border-radius:16px }
.guide-header { padding-block:10px }
@media(max-width:1050px){
 .mobile-nav { position:absolute;inset:calc(100% + 8px) 0 auto;height:auto;max-height:calc(100dvh - 84px);min-width:min(280px,calc(100vw - 24px));left:auto;border-radius:20px;padding:12px 20px;color:var(--ivory);box-shadow:0 12px 32px #10241740 }
 .nav-shell {gap:12px}
}
@media(max-width:720px){
 .site-header,.site-header.scrolled {width:min(430px,calc(100% - 24px))}
 .hero {min-height:max(570px,100svh)}
 .hero-content {padding:98px 18px 150px}
 .hero-image { filter: brightness(1.05) saturate(1.08); }
 .hero-veil {
   background: radial-gradient(ellipse at 5% 38%, rgba(15,27,20,.51), transparent 80%),
               linear-gradient(to top, rgba(12,24,16,.57), transparent 18%);
 }
 .hero-content, .hero-meta { text-shadow: 0 1px 4px rgba(0,0,0,.8); }
 .hero-actions .button { text-shadow: none; }
 .hero-meta {display:grid;justify-content:center;gap:2px;bottom:14px}
 .scene-picker {bottom:62px}
 .nav-shell {height:48px}
 .nav-cta {padding:9px 13px}
 .hero-facts {font-size:11px}
 .cottage-sequence {grid-template-columns:1fr}
}
@media(max-height:520px) and (min-width:721px){
 .hero {min-height:510px}
 .hero h1 {font-size:5.5rem}
}

@media(max-width:720px){ .nav-shell .nav-cta { display:none } }

.hero h1 { max-width: 17ch; font-size: clamp(2.6rem, 6.8vw, 6.4rem); font-style: normal; letter-spacing: -.04em; text-wrap: balance; }
.hero-promise { margin: 1rem 0 1.5rem; }

/* Keep the landscape in its own frame, with all controls in the page flow. */
.site-header, .site-header.scrolled {
  position: relative;
  inset: auto;
  transform: none;
  margin: 10px auto;
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  background: var(--deep);
}
.hero .hero-image {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-position: center;
  filter: brightness(1.06) saturate(1.06);
}
.hero .scene-picker { position: static; align-self: center; margin: 14px auto 6px; }
.hero .hero-meta { position: static; padding: 4px var(--pad); text-shadow: none; }

.hero-frame {
  display: grid;
  grid-template: "scene" minmax(clamp(420px,48vw,760px),auto) / minmax(0,1fr);
  isolation: isolate;
}
.hero-frame .hero-image, .hero-frame .hero-content { grid-area: scene; }
.hero-frame .hero-image { height: 100%; min-height: 0; aspect-ratio: auto; }
.hero-frame .hero-content {
  place-self: start;
  width: min(58%, 760px);
  padding: clamp(18px,3vw,48px);
  background: transparent;
  text-shadow: 0 1px 2px #142016, 0 2px 6px #142016bf;
}
.hero-frame h1 { font-size: clamp(2.3rem,4.6vw,5rem); }
.hero-frame .hero-promise { font-size: clamp(1.15rem,2.1vw,2rem); }
.hero .hero-meta { padding-bottom: 14px; }
@media (max-width: 720px) {
  .hero-frame { grid-template-rows: minmax(440px,auto); }
  .hero-frame .hero-image { object-position: 60% center; }
  .hero-frame .hero-content { width: min(94%,460px); }
  .hero-frame h1 { font-size: clamp(1.9rem,7vw,2.8rem); }
  .hero-frame .hero-promise { margin: .65rem 0 1rem; }
}
