:root {
  --ink: #173b34;
  --cream: #f5eedf;
  --berry: #db5267;
  --gold: #f1b946;
  --sky: #b8c9d9;
  --hill: #4e765b;
  --hill-dark: #244c40;
  --water: #83d0cd;
  --road: #5a4a44;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
body.menu-open { overflow: hidden; }
button, a { color: inherit; }
.page-shell { position: relative; min-height: 100vh; overflow: hidden; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 27px clamp(24px, 5vw, 74px);
  transition: color 300ms ease;
}
body.menu-open .site-header { color: var(--cream); }
body.menu-open .menu-button { border-color: rgba(245, 238, 223, .55); }
body.menu-open .menu-button span { background: var(--cream); }

.brand { display: inline-flex; align-items: center; justify-self: start; gap: 12px; font: 700 18px "Space Grotesk", sans-serif; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { position: relative; width: 33px; height: 25px; }
.brand-mark i { position: absolute; bottom: 1px; width: 17px; height: 17px; border-radius: 70% 0 70% 0; background: var(--berry); transform: rotate(-45deg); }
.brand-mark i:nth-child(1) { left: 0; }
.brand-mark i:nth-child(2) { left: 9px; bottom: 8px; background: var(--gold); }
.brand-mark i:nth-child(3) { right: 0; transform: rotate(45deg); }
.location { margin: 0; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.menu-button { justify-self: end; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(23, 59, 52, .25); border-radius: 50%; background: transparent; cursor: pointer; transition: background 250ms ease, transform 250ms ease; }
.menu-button:hover { background: var(--gold); transform: rotate(8deg); }
.menu-button span { display: block; width: 17px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform 300ms ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.hero { position: relative; min-height: calc(100vh - 104px); padding: clamp(48px, 7vh, 90px) clamp(24px, 5vw, 74px) 0; }
.eyebrow { display: flex; align-items: center; width: min(570px, 100%); margin: 0 auto 15px; font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-line { flex: 1; height: 1px; margin: 0 15px; background: rgba(23, 59, 52, .24); }

.hero-title { position: relative; z-index: 3; margin: 0 auto; font: 600 clamp(61px, 8.8vw, 142px)/.77 "Space Grotesk", sans-serif; letter-spacing: -.085em; text-align: center; text-transform: uppercase; }
.title-row { display: block; overflow: hidden; padding: .12em 0; }
.title-row > span { display: inline-block; }
.title-row--second { color: var(--berry); }
.sun-letter { position: relative; display: inline-block; width: .72em; height: .72em; margin: 0 .01em; border: .07em solid var(--ink); border-radius: 50%; vertical-align: -.01em; }
.sun-letter::before, .sun-letter::after, .sun-letter i::before, .sun-letter i::after { content: ""; position: absolute; top: 50%; left: 50%; width: .9em; height: .045em; background: var(--gold); transform-origin: center; }
.sun-letter::before { transform: translate(-50%, -50%) rotate(45deg); }
.sun-letter::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sun-letter i::before { transform: translate(-50%, -50%); }
.sun-letter i::after { transform: translate(-50%, -50%) rotate(90deg); }

.hero-copy { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: 1160px; margin: 32px auto 0; }
.hero-copy p { max-width: 355px; margin: 0; font-size: 14px; line-height: 1.65; }
.discover-button { display: inline-flex; align-items: center; gap: 16px; padding: 13px 15px 13px 21px; color: var(--cream); border-radius: 999px; background: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; transition: gap 250ms ease, background 250ms ease; }
.discover-button:hover { gap: 22px; background: var(--berry); }
.discover-button svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--cream); stroke: var(--ink); stroke-width: 1.6; fill: none; }

.scene-wrap { position: relative; z-index: 2; width: min(1080px, calc(100% + 30px)); margin: -12px auto 0; transform-origin: center bottom; }
.scene { position: relative; height: clamp(270px, 31vw, 450px); overflow: hidden; border-radius: 52% 48% 0 0 / 22% 22% 0 0; background: linear-gradient(180deg, #c5d6df 0%, #e8c58d 58%, #d68272 100%); }
.sunset { position: absolute; top: 14%; left: 61%; width: 112px; height: 112px; border-radius: 50%; background: rgba(241, 185, 70, .84); transform: translateX(-50%); animation: sun-pulse 5s ease-in-out infinite; }
.cloud { position: absolute; width: 92px; height: 12px; border-radius: 50%; background: rgba(245, 238, 223, .72); animation: cloud-drift 12s ease-in-out infinite alternate; }
.cloud::after { content: ""; position: absolute; right: -30px; width: 46px; height: 9px; border-radius: inherit; background: inherit; }
.cloud--one { top: 21%; left: 10%; }
.cloud--two { top: 11%; right: 12%; animation-delay: -5s; }

.far-city { position: absolute; z-index: 1; bottom: 34%; left: 3%; display: flex; align-items: end; gap: 3px; height: 60px; opacity: .46; }
.far-city i { width: clamp(10px, 1.5vw, 21px); height: 25px; background: var(--ink); }
.far-city i:nth-child(2) { height: 42px; }.far-city i:nth-child(3) { height: 31px; }.far-city i:nth-child(4) { height: 56px; }.far-city i:nth-child(5) { height: 36px; }.far-city i:nth-child(6) { height: 48px; }.far-city i:nth-child(7) { height: 29px; }.far-city i:nth-child(8) { height: 40px; }.far-city i:nth-child(9) { height: 22px; }

.hills { position: absolute; z-index: 2; right: 0; bottom: 14%; width: 100%; height: 78%; overflow: visible; }
.hill-back { fill: #769678; }.hill-mid { fill: var(--hill); }.hill-front { fill: var(--hill-dark); }
.waterfall { fill: var(--water); animation: water-shimmer 2.2s ease-in-out infinite; }
.waterfall-light { fill: var(--cream); opacity: .72; animation: water-shimmer 2.2s ease-in-out infinite -.8s; }

.church { position: absolute; z-index: 4; right: 22%; bottom: 22%; width: 105px; height: 97px; }
.church-body { position: absolute; bottom: 0; width: 105px; height: 46px; background: var(--cream); border-bottom: 7px solid var(--gold); }
.church-body i { display: inline-block; width: 14px; height: 26px; margin: 11px 8px 0; border-radius: 8px 8px 0 0; background: var(--ink); }
.dome { position: absolute; bottom: 44px; left: 26px; width: 54px; height: 42px; border-radius: 50% 50% 6px 6px; background: var(--berry); }
.dome::after { content: ""; position: absolute; bottom: -4px; left: -11px; width: 76px; height: 9px; background: var(--cream); }
.cross { position: absolute; z-index: 2; top: 0; left: 51px; width: 3px; height: 18px; background: var(--gold); }
.cross::after { content: ""; position: absolute; top: 5px; left: -5px; width: 13px; height: 3px; background: var(--gold); }

.trees { position: absolute; z-index: 4; left: 5%; bottom: 20%; display: flex; align-items: end; gap: clamp(10px, 2vw, 30px); }
.trees i { width: 33px; height: 53px; border-radius: 65% 35% 60% 40%; background: #173b34; transform: rotate(8deg); }
.trees i:nth-child(2) { height: 77px; transform: rotate(-7deg); }.trees i:nth-child(3) { height: 43px; }.trees i:nth-child(4) { height: 67px; transform: rotate(-12deg); }.trees i:nth-child(5) { height: 48px; }.trees i:nth-child(6) { height: 73px; }

.road { position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; height: 21%; background: var(--road); border-top: 8px solid #d9ad64; }
.road i { position: absolute; top: 48%; width: 9%; height: 3px; background: rgba(245, 238, 223, .75); }
.road i:nth-child(1) { left: 4%; }.road i:nth-child(2) { left: 25%; }.road i:nth-child(3) { left: 46%; }.road i:nth-child(4) { left: 67%; }.road i:nth-child(5) { left: 88%; }

.jeepney { position: absolute; z-index: 6; bottom: 7%; left: 22%; width: 175px; height: 92px; animation: jeepney-bounce 2.6s ease-in-out infinite; }
.jeepney-body { position: absolute; bottom: 20px; left: 12px; width: 127px; height: 46px; border-radius: 5px 8px 3px 3px; background: var(--berry); border-bottom: 9px solid var(--gold); }
.jeepney-body i { position: relative; display: inline-block; width: 24px; height: 18px; margin: 7px 2px 0 5px; background: #b9d7db; border: 2px solid var(--cream); }
.jeepney-front { position: absolute; right: 6px; bottom: 20px; width: 45px; height: 37px; border-radius: 4px 12px 5px 2px; background: var(--gold); border-right: 5px solid var(--cream); }
.jeepney-front::after { content: ""; position: absolute; right: -9px; bottom: 2px; width: 12px; height: 7px; border-radius: 2px; background: var(--ink); }
.jeepney-roof { position: absolute; z-index: 2; bottom: 65px; left: 6px; width: 142px; height: 7px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); }
.jeepney-sign { position: absolute; z-index: 3; bottom: 71px; left: 47px; padding: 2px 9px; color: var(--cream); background: var(--ink); font-size: 7px; font-weight: 700; letter-spacing: .11em; }
.wheel { position: absolute; z-index: 4; bottom: 7px; width: 27px; height: 27px; border: 7px solid var(--ink); border-radius: 50%; background: var(--cream); animation: wheel-spin 1s linear infinite; }
.wheel::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--berry); }
.wheel--one { left: 29px; }.wheel--two { right: 23px; }

.scroll-note { position: absolute; z-index: 7; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 10px; color: var(--cream); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.scroll-note i { width: 30px; height: 30px; border: 1px solid rgba(245, 238, 223, .65); border-radius: 50%; }
.scroll-note i::after { content: "↓"; display: grid; height: 100%; place-items: center; animation: arrow-dip 1.7s ease-in-out infinite; }

.menu-panel { position: fixed; z-index: 10; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 12vw; color: var(--cream); background: var(--ink); opacity: 0; visibility: hidden; clip-path: circle(0 at calc(100% - 98px) 52px); transition: clip-path 600ms cubic-bezier(.8, 0, .2, 1), opacity 250ms, visibility 600ms; }
.menu-panel.is-open { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 98px) 52px); }
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel a { width: max-content; font: 600 clamp(45px, 7vw, 100px)/1.05 "Space Grotesk", sans-serif; letter-spacing: -.06em; text-decoration: none; }
.menu-panel a:hover { color: var(--gold); }
.menu-panel p { margin: 60px 0 0; color: rgba(245, 238, 223, .6); }

.reveal { opacity: 0; transform: translateY(30px); }
.is-loaded .reveal { opacity: 1; transform: none; transition: opacity 900ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1); }
.is-loaded .hero-title .title-row:nth-child(1) { transition-delay: 100ms; }
.is-loaded .hero-title .title-row:nth-child(2) { transition-delay: 220ms; }
.is-loaded .hero-copy { transition-delay: 420ms; }
.is-loaded .scene-wrap { transition-delay: 540ms; }

@keyframes cloud-drift { to { transform: translateX(45px); } }
@keyframes sun-pulse { 50% { scale: 1.07; opacity: .82; } }
@keyframes water-shimmer { 50% { opacity: .55; transform: translateY(3px); } }
@keyframes jeepney-bounce { 50% { transform: translateY(-4px) rotate(.5deg); } }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
@keyframes arrow-dip { 50% { transform: translateY(3px); } }

@media (max-width: 700px) {
  .site-header { grid-template-columns: 1fr auto; padding-top: 20px; }
  .location { display: none; }
  .hero { min-height: calc(100svh - 90px); padding-top: 55px; }
  .hero-title { font-size: clamp(48px, 15.2vw, 88px); line-height: .82; }
  .hero-copy { align-items: flex-start; flex-direction: column; margin-top: 25px; }
  .scene-wrap { width: calc(100% + 48px); margin: 25px 0 0 -24px; }
  .scene { height: 310px; border-radius: 50% 50% 0 0 / 12% 12% 0 0; }
  .hills { width: 145%; right: -25%; }
  .church { right: 7%; scale: .76; transform-origin: bottom right; }
  .trees { left: -7%; scale: .76; transform-origin: bottom left; }
  .jeepney { left: 8%; scale: .82; transform-origin: bottom left; }
  .scroll-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
