.beach-page {
  --hero-depth:max(34rem,100svh);
  --horizon:max(16.66rem,49svh);
  --sea-unit:calc(var(--hero-depth) - var(--horizon));
  --scene-depth:calc(var(--hero-depth) + var(--sea-unit)*.70);
  position:relative; isolation:isolate; background:#344044;
}
.beach-page .surface-scene { z-index:-4; bottom:auto; height:var(--scene-depth); background:linear-gradient(164deg,#122b47,#957e8a 37%,#344b58 45%,#202e39) }
.beach-page .surface-scene::after { content:none }
.beach-page .sky { top:0; height:var(--horizon) }
.beach-page .water,.beach-page .wash,.beach-page .signal {
  position:absolute; top:var(--horizon); height:calc(100% - var(--horizon)); width:100%; pointer-events:none;
}
.beach-page .foreshore {
  position:absolute; left:0; width:100%; top:var(--horizon); height:calc(var(--scene-depth) - var(--horizon));
  pointer-events:none; z-index:-3;
}
.beach-page .tide-layers { position:absolute; z-index:-2; inset:0 0 auto; height:var(--scene-depth); pointer-events:none; overflow:hidden }
.beach-page .coastal-shelf {
  --rock-start:calc(var(--hero-depth) - clamp(112px,17svh,178px));
  position:absolute; top:var(--rock-start); width:100%; height:calc(100% - var(--rock-start));
  pointer-events:none; z-index:-2;
}
.moonlit-beach { background:#252b36 }
.moonlit-beach .foreshore { height:calc(100% - var(--horizon)) }
.moonlit-beach .surface-scene { background:linear-gradient(#060c1b,#263951 45%,#091424) }
.moonlit-beach .wash { opacity:.78 }
.beach-shade {
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(90deg,#0817259c,rgba(8,21,35,.28) 44%,transparent 69%);
  mask-image:linear-gradient(#000 0 var(--hero-depth),transparent var(--scene-depth));
}
.beach-page .inlet { min-height:var(--hero-depth); background:transparent }
.beach-enquiry {
  color:#f5f6f2; width:min(86%,1240px); margin:auto; min-height:80svh;
  display:grid; grid-template-columns:1fr minmax(0,.92fr); align-content:center; gap:7vw;
  padding:clamp(58px,8vw,140px) 0 clamp(80px,11vw,190px);
  scroll-margin-top:clamp(52px,8vh,95px);
}
.beach-enquiry:focus { outline:none }
.enquiry-intro { padding-top:4px }
.enquiry-intro h2 { font-size:clamp(55px,6.6vw,104px); line-height:.97; letter-spacing:-.075em }
.enquiry-intro h2 em { display:block; font-size:1.24em; line-height:1; color:#f4f3ec }
.moonlit-beach .enquiry-intro h2 em { display:inline }
.enquiry-intro p { margin-top:1.5rem; max-width:27ch; font-size:clamp(16px,1.3vw,20px) }
.enquiry-form { display:grid; align-self:center; font-size:17px }
.enquiry-form label { font-weight:600 }
.enquiry-form input,.enquiry-form textarea {
  border:0; border-bottom:1px solid #d2e0e0a3; border-radius:0; width:100%;
  margin:0 0 25px; padding:6px 2px 8px; background:transparent; color:#fff;
  font:inherit; line-height:1.5;
}
.enquiry-form textarea { resize:vertical; min-height:72px }
.enquiry-form :is(input,textarea):focus { outline:0; border-color:#fff; box-shadow:0 1px #fff }
.enquiry-form button { justify-self:start; border:0; border-radius:2rem; background:#f0ece1; color:#1e3036; padding:14px 23px; font:600 16px/1.35 'Hanken Grotesk',sans-serif; cursor:pointer }
.enquiry-form button:focus-visible { outline:2px solid white; outline-offset:4px }
.enquiry-form button span { margin-left:.55em }
.enquiry-form button:hover { background:white }
.enquiry-form .form-note { font-size:14px; margin:.75rem 0 0 }
.moonlit-beach .enquiry-intro p { max-width:37ch; line-height:1.55 }
.enquiry-whatsapp,.enquiry-receipt button { display:inline-block; margin-top:1.2em; color:#f6e2bb; text-decoration:underline; text-underline-offset:.25em }
.enquiry-form[hidden],.enquiry-receipt[hidden] { display:none }
.enquiry-form button .send-label { margin-left:0 }
.enquiry-form .bos-vh { position:absolute; width:1px; height:1px; margin:0; padding:0; clip-path:inset(50%); overflow:hidden }
.enquiry-form button:disabled { opacity:.65; cursor:default }
.enquiry-receipt { align-self:center; padding:24px 0; border-top:1px solid #d2e0e080 }
.enquiry-receipt h3 { margin:0; font:500 clamp(26px,3vw,42px)/1.1 var(--font-body); letter-spacing:-.04em }
.enquiry-receipt p { max-width:36ch; margin:.8em 0 0 }
.enquiry-receipt button { background:none; border:0; padding:6px 0; font:inherit; cursor:pointer }
@media(prefers-reduced-motion:no-preference){html {scroll-behavior:smooth}}
@media(max-width:700px){
 .beach-page { --hero-depth:max(540px,100svh); --horizon:max(307.8px,57svh) }
 .beach-shade { background:linear-gradient(135deg,#10233764,transparent 68%) }
 .beach-enquiry { grid-template-columns:1fr; gap:32px; width:88%; padding:clamp(54px,11vw,80px) 0 82px }
 .enquiry-intro h2 em { display:inline }
 .enquiry-intro h2 { font-size:clamp(46px,10.5vw,68px) }
 .enquiry-intro p { max-width:none; margin:.85rem 0 0 }
}
