:is(.hv-embed,.hx) .story{position:relative; background:#0D4263}
:is(.hv-embed,.hx) .story-map{position:sticky; top:0; height:100svh; overflow:hidden}
:is(.hv-embed,.hx) #smap{position:absolute; inset:0}
:is(.hv-embed,.hx) #slabels{position:absolute; inset:0; z-index:3; pointer-events:none; overflow:hidden}
:is(.hv-embed,.hx) #slabels .lab{pointer-events:none}
:is(.hv-embed,.hx) .steps{position:relative; z-index:4; margin-top:-100svh; pointer-events:none}
:is(.hv-embed,.hx) .step{min-height:100svh; display:flex; align-items:flex-end; padding:0 12px calc(env(safe-area-inset-bottom) + 16px)}
:is(.hv-embed,.hx) .step:nth-child(2){min-height:120svh}
/* ---- the opening: the atoll counted ---- */
:is(.hv-embed,.hx) .step.intro{min-height:100svh; align-items:center; justify-content:center; padding:0 var(--pad); position:relative; color:#fff; text-align:center}
:is(.hv-embed,.hx) .step.intro .vswitch{top:84px}
:is(.hv-embed,.hx) .intro-in{pointer-events:auto; padding:28px 12px 30px; text-shadow:0 1px 14px rgba(0,0,0,.5)}
:is(.hv-embed,.hx) .intro .eyebrow{color:rgba(255,255,255,.85)}
:is(.hv-embed,.hx) .count{margin:0; line-height:.9}
:is(.hv-embed,.hx) #smap{opacity:0; transition:opacity 1.6s ease}
:is(.hv-embed,.hx) #smap.lit{opacity:1}
@media (prefers-reduced-motion: reduce){ :is(.hv-embed,.hx) #smap{opacity:1} }
:is(.hv-embed,.hx) .count b{display:block; font-weight:300; font-size:clamp(96px,30vw,220px); letter-spacing:-.06em; font-variant-numeric:tabular-nums}
:is(.hv-embed,.hx) .count span{display:block; margin-top:6px; font-family:var(--mono); font-size:14px; letter-spacing:2px; text-transform:uppercase}
:is(.hv-embed,.hx) .c-sub{margin:14px 0 0; font-size:17px; min-height:1.4em}
:is(.hv-embed,.hx) .c-sub b{font-weight:500; font-variant-numeric:tabular-nums}
:is(.hv-embed,.hx) .intro h1{margin:22px auto 0; max-width:16ch; font-weight:400; font-size:clamp(28px,7vw,52px); letter-spacing:-.05em; line-height:1}
:is(.hv-embed,.hx) .intro .choose{justify-content:center}
:is(.hv-embed,.hx) .intro-cta{position:absolute; left:0; right:0; bottom:calc(env(safe-area-inset-bottom) + 26px); pointer-events:auto; margin:0}
:is(.hv-embed,.hx) .record{display:inline-block; margin:12px 0 0; padding:6px 14px; border-radius:999px; background:rgba(4,24,38,.55); font-size:13.5px; letter-spacing:.01em; color:#fff}
/* An even tint over the whole map once the atoll is revealed: the text reads and the atoll stays visible. */
:is(.hv-embed,.hx) .dim{position:absolute; inset:0; z-index:4; background:rgba(4,24,38,.5); opacity:0; transition:opacity .8s ease; pointer-events:none}
:is(.hv-embed,.hx) .dim.on{opacity:1}
:is(.hv-embed,.hx) .later{opacity:0; transition:opacity .4s ease}
:is(.hv-embed,.hx) .later.in{opacity:1}
:is(.hv-embed,.hx) .step-card{pointer-events:auto; width:100%; max-width:440px; background:rgba(255,255,255,.97); border-radius:18px; overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.3); opacity:.35; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease}
:is(.hv-embed,.hx) .step.on .step-card{opacity:1; transform:none}
:is(.hv-embed,.hx) .step-in{padding:14px 16px 14px}
:is(.hv-embed,.hx) .head{display:flex; gap:12px; align-items:center; margin-bottom:8px}
:is(.hv-embed,.hx) .thumb{flex:0 0 64px; width:64px; height:64px; border-radius:12px; object-fit:cover; display:block}
:is(.hv-embed,.hx) .ch{margin:0 0 4px; font-family:var(--mono); font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--dark-accent)}
:is(.hv-embed,.hx) .step h2{margin:0; font-size:clamp(21px,5.6vw,30px); font-weight:400; letter-spacing:-.045em; line-height:1.05}
:is(.hv-embed,.hx) .step p{margin:0 0 8px; font-size:14.5px; line-height:1.45}
:is(.hv-embed,.hx) .step .more{display:inline-flex; align-items:center; min-height:44px; padding:0 4px; border:0; background:none; font:inherit; font-size:14px; font-weight:400; cursor:pointer; color:var(--dark-accent)}
:is(.hv-embed,.hx) .acts2{display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap}
:is(.hv-embed,.hx) .seas{display:inline-flex; background:var(--bg); border-radius:999px; padding:3px}
:is(.hv-embed,.hx) .seas button{font:inherit; font-size:13px; min-height:38px; padding:0 13px; border:0; border-radius:999px; background:none; cursor:pointer; color:var(--ink)}
:is(.hv-embed,.hx) .seas button[aria-pressed="true"]{background:var(--dark-accent); color:#fff}
:is(.hv-embed,.hx) .fine2{margin:6px 0 0 !important; font-size:12px !important; line-height:1.4 !important; color:var(--muted)}
:is(.hv-embed,.hx) .progress{position:absolute; right:10px; top:50%; transform:translateY(-50%); z-index:5; display:flex; flex-direction:column; gap:8px}
:is(.hv-embed,.hx) .progress i{width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.4); transition:.3s}
:is(.hv-embed,.hx) .progress i.on{background:#fff; transform:scale(1.5)}
:is(.hv-embed,.hx) .choose{display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin-top:22px}
:is(.hv-embed,.hx) .tour{color:#fff; font-size:15px; text-decoration:none; min-height:44px; display:inline-flex; align-items:center; border-bottom:1px solid rgba(255,255,255,.5)}
:is(.hv-embed,.hx) .fab{position:fixed; right:14px; bottom:calc(env(safe-area-inset-bottom) + 14px); z-index:50; display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:0 18px;
  border:0; border-radius:999px; background:var(--deep); color:#fff; font:inherit; font-size:15px; cursor:pointer; box-shadow:0 8px 20px rgba(0,0,0,.22)}
/* The chapter cards leave room for it on a phone. */
@media (max-width:899px){ :is(.hv-embed,.hx) .step{padding-bottom:calc(env(safe-area-inset-bottom) + 76px)} }
@media (max-width:899px){ :is(.hv-embed,.hx) .brief, :is(.hv-embed,.hx) .outro, :is(.hv-embed,.hx) .credit{padding-bottom:84px} .site-footer{padding-bottom:96px} }
:is(.hv-embed,.hx) .outro{padding:clamp(70px,14vh,140px) var(--pad); text-align:center; background:var(--bg)}
:is(.hv-embed,.hx) .outro h2{margin:0 auto 12px; max-width:16ch; font-size:clamp(32px,7vw,64px); font-weight:400; letter-spacing:-.05em; line-height:1}
:is(.hv-embed,.hx) .outro p{margin:0 auto 28px; max-width:44ch; color:var(--muted); font-size:17px; line-height:1.5}

/* ---- the atoll in numbers, and when to go ---- */
:is(.hv-embed,.hx) .brief{background:var(--bg); padding:clamp(56px,11vh,120px) max(var(--pad), calc((100% - 1100px) / 2)) 0}
:is(.hv-embed,.hx) .brief-cta{text-align:center; margin:0 0 clamp(48px,9vh,96px)}
:is(.hv-embed,.hx) .brief .eyebrow{color:var(--dark-accent)}
:is(.hv-embed,.hx) .brief h2{margin:0 0 26px; font-size:clamp(30px,6.6vw,56px); font-weight:400; letter-spacing:-.05em; line-height:1}
:is(.hv-embed,.hx) .nums{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--hairline); max-width:1100px}
:is(.hv-embed,.hx) .nums div{padding:16px 4px 18px; border-bottom:1px solid var(--hairline)}
:is(.hv-embed,.hx) .nums div:nth-child(odd){border-right:1px solid var(--hairline); padding-right:14px}
:is(.hv-embed,.hx) .nums div:nth-child(even){padding-left:14px}
:is(.hv-embed,.hx) .nums b{display:block; font-weight:300; font-size:clamp(34px,8vw,54px); letter-spacing:-.05em; line-height:1}
:is(.hv-embed,.hx) .nums span{display:block; margin-top:6px; font-family:var(--mono); font-size:12px; letter-spacing:.8px; text-transform:uppercase; color:var(--muted)}
@media (min-width:760px){ :is(.hv-embed,.hx) .nums{grid-template-columns:repeat(4,minmax(0,1fr))} :is(.hv-embed,.hx) .nums div:nth-child(odd){border-right:0; padding-right:4px} :is(.hv-embed,.hx) .nums div:nth-child(even){padding-left:4px} :is(.hv-embed,.hx) .nums div:not(:nth-child(4n)){border-right:1px solid var(--hairline); padding-right:14px} :is(.hv-embed,.hx) .nums div:not(:nth-child(4n+1)){padding-left:14px} }
:is(.hv-embed,.hx) .cal{margin-top:clamp(40px,7vh,70px); max-width:1100px}
:is(.hv-embed,.hx) .cal h3{margin:0 0 4px; font-size:clamp(24px,5vw,36px); font-weight:400; letter-spacing:-.04em}
:is(.hv-embed,.hx) .cal > p{margin:0 0 20px; color:var(--muted); font-size:15px; line-height:1.5; max-width:60ch}
:is(.hv-embed,.hx) .months,:is(.hv-embed,.hx) .row .bar{display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:3px}
:is(.hv-embed,.hx) .months{font-family:var(--mono); font-size:11px; color:var(--muted); text-align:center; margin-bottom:8px}
:is(.hv-embed,.hx) .row{padding:12px 0; border-top:1px solid var(--hairline)}
:is(.hv-embed,.hx) .row .t{display:flex; justify-content:space-between; gap:10px; margin-bottom:8px; font-size:15px}
:is(.hv-embed,.hx) .row .t small{font-family:var(--mono); font-size:12px; color:var(--muted); white-space:nowrap}
:is(.hv-embed,.hx) .row .bar i{height:10px; border-radius:3px; background:rgba(10,106,131,.12)}
:is(.hv-embed,.hx) .row .bar i.p{background:rgba(10,106,131,.45)}
:is(.hv-embed,.hx) .row .bar i.f{background:var(--dark-accent)}
:is(.hv-embed,.hx) .row.surf .bar i.p{background:rgba(224,58,47,.35)} :is(.hv-embed,.hx) .row.surf .bar i.f{background:#C0392B}
:is(.hv-embed,.hx) .cal .note{margin:14px 0 0; font-size:13px; font-style:italic; color:var(--muted)}
:is(.hv-embed,.hx) .water{margin:22px 0 0; font-size:15px; line-height:1.55; max-width:62ch}
/* A phone on its side: 100svh is ~360 px, so the card scrolls inside itself rather than clip. */
@media (max-height:500px) and (orientation:landscape){
  :is(.hv-embed,.hx) .step{align-items:center; padding-bottom:12px}
  :is(.hv-embed,.hx) .step-card{max-height:calc(100svh - 24px); overflow:auto}
  :is(.hv-embed,.hx) .count b{font-size:clamp(64px,22vh,120px)}
}
@media (min-width:900px){
  :is(.hv-embed,.hx) .step{align-items:center; padding-left:var(--pad)}
  :is(.hv-embed,.hx) .step-card{max-width:420px}
}
