/* Bali getaway page — its own relaxed "Uluwatu" palette, layered on the shared styles.css. */
.bali-page {
  --sand: #EFE2CC; --shell: #FFF8EE; --terracotta: #C2694A; --sunset: #F3B48E;
  --ocean: #1F5E61; --deep: #12383D; --frangipani: #F4CF63; --bali-ink: #2E3B3A;
  background: var(--sand); color: var(--deep);
}
.bali-page .site-header { background: transparent; }
.bali-page .site-header.scrolled { background: var(--sand); box-shadow: 0 1px 0 rgba(29, 74, 79, .15); }
.bali-page .site-nav .btn.outline { border-color: var(--deep); color: var(--deep); }
.bali-page .site-nav .btn.outline:hover { background: var(--deep); color: var(--shell); }
.bali-page :focus-visible { outline-color: var(--terracotta); }

.bali-hero { position: relative; min-height: min(860px, 100svh); margin-top: -86px; padding: 150px var(--gutter) 120px; display: grid; align-content: center; overflow: hidden; background: var(--deep); isolation: isolate; }
.bali-hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.bali-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 36, 40, .88) 0%, rgba(12, 36, 40, .6) 45%, rgba(12, 36, 40, .1) 80%), linear-gradient(180deg, rgba(12, 36, 40, .55) 0%, transparent 30%); }
.bali-hero .copy { position: relative; display: grid; gap: 22px; justify-items: start; max-width: 720px; }
.bali-hero .bali-display { font-size: clamp(64px, 7.4vw, 108px); color: var(--shell); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.bali-hero .bali-label, .bali-hero .bali-dates { color: #F6C3A0; }
.bali-hero .link { color: var(--shell); }
@media (min-width: 861px) {
  .bali-page .site-header:not(.scrolled) .monogram, .bali-page .site-header:not(.scrolled) .site-nav > a:not(.btn) { color: var(--shell); }
  .bali-page .site-header:not(.scrolled) .site-nav .btn.outline { border-color: var(--shell); color: var(--shell); }
}
.wave-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; background: var(--sand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 L0 22 C30 4 90 4 120 22 L120 40Z'/%3E%3C/svg%3E") 0 0 / 120px 40px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 L0 22 C30 4 90 4 120 22 L120 40Z'/%3E%3C/svg%3E") 0 0 / 120px 40px repeat-x; }
.wave-edge.deep { background: var(--deep); position: relative; bottom: auto; margin-top: -1px; }

.bali-intro { padding: 88px max(var(--gutter), calc((100% - 760px) / 2)) 96px; display: grid; gap: 28px; justify-items: center; text-align: center; }
.bali-intro p { font: 300 30px/1.4 var(--serif); color: var(--bali-ink); }
.bali-plan { padding: 0 var(--gutter) 120px; display: grid; gap: 40px; justify-items: center; }
.bali-plan h2, .bali-heading { font: italic 300 44px/1.1 var(--serif); color: var(--ocean); }
.arches { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 32px; justify-content: center; width: 100%; }
.bali-arch { display: grid; justify-items: center; align-content: start; gap: 14px; min-height: 460px; padding: 140px 40px 48px; text-align: center; border-radius: 180px 180px 20px 20px; color: var(--shell); }
.bali-arch img { width: 38px; }
.bali-arch .bali-label { color: var(--sunset); }
.bali-arch h3 { font: italic 300 44px/1.1 var(--serif); }
.bali-arch.ocean { background: var(--ocean); } .bali-arch.terracotta { background: var(--terracotta); } .bali-arch.deep { background: var(--deep); }
.bali-arch.terracotta .bali-label { color: #FBE0C8; }
.vibe { padding: 0 var(--gutter) 120px; display: grid; gap: 32px; }
.vibe-head { display: grid; gap: 10px; justify-items: center; text-align: center; }
.vibe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 20px; max-width: 1200px; width: 100%; margin: auto; }
.vibe-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 24px; background: #E3D1B8; }
.vibe-grid .tall { grid-row: span 2; border-radius: 200px 200px 24px 24px; }
.vibe-grid .wide { grid-column: span 2; }
.vibe-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vibe-grid figure:hover img { transform: scale(1.04); }
.vibe-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px; font: italic 300 28px/1 var(--serif); color: var(--shell); background: linear-gradient(0deg, rgba(12, 36, 40, .75), transparent); }
.vibe-credit { max-width: 1200px; width: 100%; margin: 0 auto; font-size: 12px; color: var(--bali-ink); opacity: .8; }
.vibe-credit a { color: inherit; }

.bali-form-section { background: var(--deep); color: var(--shell); padding: 96px var(--gutter) 128px; display: grid; gap: 40px; justify-items: center; text-align: center; }
.bali-form-section .bali-label { color: var(--sunset); }
.bali-form-section .bali-display { font-size: clamp(50px, 5.4vw, 76px); color: var(--shell); }
.bali-card { width: min(680px, 100%); background: var(--shell); color: var(--bali-ink); border-radius: 32px; padding: 56px 64px; text-align: left; }
.bali-card form { display: grid; gap: 22px; }
.bali-field { display: grid; gap: 8px; font: 500 14px var(--sans); color: var(--ocean); }
.bali-field input, .bali-field textarea { width: 100%; border: 0; border-radius: 16px; padding: 16px 20px; background: var(--sand); color: var(--bali-ink); font: 16px var(--sans); resize: vertical; }
.bali-field input::placeholder, .bali-field textarea::placeholder { color: rgba(46, 59, 58, .55); }
.bali-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chip-group { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.chip-group legend { font: 500 14px var(--sans); color: var(--ocean); padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--ocean); color: var(--ocean); transition: background .2s, color .2s, border-color .2s; }
.chip input:checked + span { background: var(--terracotta); border-color: var(--terracotta); color: var(--shell); }
.chip input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.bali-card .consent { color: var(--bali-ink); }
.bali-card .consent input { accent-color: var(--terracotta); }
.bali-card .small { color: var(--bali-ink); opacity: .75; }
.bali-card .btn.terracotta { justify-self: start; }
.bali-footer { padding: 80px var(--gutter); display: grid; gap: 16px; justify-items: center; }
.bali-footer .script { font-size: 44px; color: var(--terracotta); }
.bali-footer .link { color: var(--ocean); }
.bali-footer .motion-toggle { color: var(--ocean); }

/* Motion: the sun sinks a touch and the swell drifts as you arrive (once), then everything is still. */
@keyframes sunset { from { transform: translateY(-18px); } to { transform: none; } }
.motion .bali-hero .copy > * { animation: fade-up .8s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * 90ms); }
.motion .bali-arch[data-reveal] { transition-delay: calc(var(--i, 0) * 110ms); }

@media (max-width: 1100px) {
  .arches { grid-template-columns: 1fr; max-width: 420px; }
  .vibe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vibe-grid .wide { grid-column: span 2; }
}
@media (max-width: 860px) {
  .bali-page .site-header { background: var(--sand); }
  .bali-hero { margin-top: 0; min-height: 640px; padding: 96px 24px 112px; align-content: end; }
  .bali-hero .scene { object-position: 60% 60%; }
  .bali-hero::before { background: linear-gradient(180deg, rgba(12, 36, 40, .7) 0%, rgba(12, 36, 40, .72) 60%, rgba(12, 36, 40, .35) 100%); }
  .bali-hero .bali-display { font-size: 60px; }
  .bali-hero .bali-dates { font-size: 22px; }
  .bali-hero .btn { width: 100%; }
  .bali-intro { padding: 56px 28px; }
  .bali-intro p { font-size: 22px; }
  .bali-plan { padding: 0 24px 56px; }
  .bali-plan h2 { font-size: 36px; }
  .bali-arch { min-height: 0; padding: 120px 32px 40px; border-radius: 171px 171px 18px 18px; }
  .bali-arch h3 { font-size: 36px; }
  .vibe { padding: 0 24px 64px; gap: 20px; }
  .vibe-grid.rail > figure { flex-basis: 78%; height: 380px; border-radius: 22px; }
  .vibe-grid.rail > .tall { border-radius: 150px 150px 22px 22px; }
  .vibe .rail-hint { color: var(--ocean); margin-top: -12px; }
  .arches.rail { max-width: none; width: auto; margin-inline: -24px; }
  .arches.rail > .bali-arch { flex-basis: 80%; }
  .bali-plan .rail-hint { color: var(--ocean); justify-self: end; margin-top: -24px; }
  .bali-form-section { padding: 56px 16px 72px; gap: 24px; }
  .bali-form-section .bali-display { font-size: 50px; }
  .bali-card { padding: 32px 24px; border-radius: 28px; }
  .bali-row { grid-template-columns: 1fr; }
  .chip span { padding: 11px 16px; }
  .bali-card .btn.terracotta { justify-self: stretch; }
}
