/* ScrollExpand adapted to Malie Kai's existing photograph and typography. */
.ocean:after{display:none}
/* The static/reduced-motion fallback grows with text instead of clipping it. */
.ocean{height:auto;min-height:clamp(500px,54vw,850px);max-height:none}
.ocean-stage{position:relative;min-height:inherit;isolation:isolate;display:flow-root}
.ocean-copy{position:relative;inset:auto;width:auto;padding:clamp(64px,9vw,144px) 6.5%;max-width:78%}
.ocean-frame{position:absolute;inset:0;overflow:hidden;background:#143844;z-index:-1}
.ocean-frame picture{display:block;width:100%;height:100%}
.ocean-frame img{width:100%;height:100%;object-fit:cover;object-position:center 45%;user-select:none;-webkit-user-drag:none}
.ocean-scrim{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0a2c3bcc 0%,#0a2c3b80 38%,#0a2c3b00 80%)}
.ocean.is-scroll-expand{height:197vh;height:197svh;min-height:0;max-height:none;overflow:visible;background:var(--paper)}
.is-scroll-expand .ocean-stage{position:sticky;top:0;min-height:100vh;min-height:100svh;height:100vh;height:100svh;overflow:hidden}
.is-scroll-expand .ocean-copy{position:absolute;inset:0;width:auto;max-width:none;padding:24px 10%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;text-align:center;pointer-events:none}
.is-scroll-expand .ocean-copy h2{max-width:12ch}
.is-scroll-expand .ocean-copy p{margin:0;max-width:28ch}
.is-scroll-expand .ocean-scrim{background:linear-gradient(180deg,#0a2c3b59 0%,#0a2c3bb3 42%,#0a2c3bb3 68%,#0a2c3b40 100%)}
.ocean.is-scroll-compact{height:163vh;height:163svh}
.is-scroll-compact .ocean-copy{padding:24px 10%;gap:24px}
.ocean.is-scroll-static{height:auto}
.is-scroll-static .ocean-stage{position:relative;height:auto}
.is-scroll-static .ocean-copy{position:relative;inset:auto;min-height:100vh;min-height:100svh;padding-block:48px}
@media(max-width:700px){
 .ocean{min-height:560px}
 .ocean-copy{max-width:none;padding:64px 7%}
 .ocean-scrim{background:linear-gradient(180deg,#0a2c3bd9 0%,#0a2c3b80 60%,#0a2c3b26 100%)}
}
@media(max-width:380px){
 .is-scroll-expand .ocean-copy h2{font-size:clamp(2.25rem,11.8vw,2.75rem)}
}
/* The unenhanced section is the readable fallback, including print and JS failure. */
@media print{
 .ocean.is-scroll-expand{height:auto;min-height:0;max-height:none;overflow:visible}
 .is-scroll-expand .ocean-stage{position:relative;height:auto;min-height:0}
 .is-scroll-expand .ocean-copy{position:relative;inset:auto;min-height:0;padding:48px 7%}
 .ocean-frame{clip-path:none!important}
 .ocean-frame img,.ocean-copy h2,.ocean-copy p{transform:none!important;opacity:1!important}
}
