/* The hero at rest: three layout options behind ?hero= (js/hero-options.js). Nothing here applies without the switch. */

/* all three: one button on the hero, the nav's waits until you scroll; no eyebrow (one voice less) */
html[data-hero] .nav.nav--hero .nav__cta { opacity: 0; visibility: hidden; }
html[data-hero] .hero__eyebrow { display: none; }

/* ---------- 01 Behind the palms ---------- */
.hp-front { position: absolute; left: 0; top: 0; z-index: 4; transform-origin: 0 0; pointer-events: none; visibility: hidden; max-width: none; }
/* no blue veil over the sky (the cut-out palms would sit untinted on a tinted plate): only light low down, under the line */
html[data-hero="palms"] .screen__veil { background: linear-gradient(to top, rgba(255, 252, 244, .55) 0%, rgba(255, 252, 244, .2) 26%, rgba(255, 252, 244, 0) 40%); }
html[data-hero="palms"] .hero::before { display: none; }
html[data-hero="palms"] .hero { justify-content: flex-start; align-items: center; text-align: center; padding: 15vh var(--gutter) 0; }
html[data-hero="palms"] .hero__title { font-size: clamp(64px, 8.4vw, 150px); transform: translateX(9vw); }   /* its right end tucks behind the first palm and the roof */
html[data-hero="palms"] .hero__line-in { margin: 0 auto; }
html[data-hero="palms"] .hero__foot {
  position: absolute; left: 50%; bottom: 9vh; transform: translateX(-50%); align-items: center; text-align: center;
  margin: 0; max-width: 560px; gap: 20px;
}
html[data-hero="palms"] .hero__foot .hero__lede { max-width: 44ch; text-align: center; }
html[data-hero="palms"] .hero-scroll { display: none; }

/* ---------- 02 Departures strip ---------- */
html[data-hero="strip"] .hero__foot .hero__lede, html[data-hero="strip"] .hero__ctas { display: none; }
html[data-hero="strip"] .hero__foot { margin: 0; }
html[data-hero="strip"] .hero { justify-content: flex-start; padding-top: 24vh; }
html[data-hero="strip"] .hero__title { font-size: clamp(56px, 7.4vw, 128px); }
html[data-hero="strip"] .hero-scroll { display: none; }
.hs-strip {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; display: flex; align-items: center; gap: 26px;
  padding: 16px 16px 16px 22px; border-radius: 18px; color: var(--ink); text-decoration: none; text-shadow: none;
  background: rgba(255, 253, 248, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(8, 45, 80, .18), 0 2px 6px rgba(8, 45, 80, .08);
  transition: transform .4s cubic-bezier(.34, 1.4, .64, 1), box-shadow .4s ease;
}
.hs-strip:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(8, 45, 80, .22), 0 2px 6px rgba(8, 45, 80, .08); }
.hs-strip__label { display: flex; align-items: center; gap: 10px; font: 500 11px/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(15, 59, 64, .65); width: 118px; }
.hs-strip__label svg { width: 30px; flex: none; }
.hs-cell { display: grid; gap: 6px; }
.hs-cell small { font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(15, 59, 64, .5); }
.hs-row { display: flex; gap: 3px; }
.hs-flap { width: 30px; height: 42px; font-size: 24px; }
.hs-cell--t .hs-flap { width: 26px; }
.hs-flap--hot { color: var(--accent); }
.hs-go {
  margin-left: auto; display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 26px; border-radius: 12px;
  background: var(--ink); color: #fff; font: 700 17px/1 var(--display); letter-spacing: -.01em; white-space: nowrap;
}
.hs-go i { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); font-size: 14px; transition: transform .3s ease; }
.hs-strip:hover .hs-go i { transform: translateX(3px); }

/* ---------- 03 Luggage tag ---------- */
html[data-hero="tag"] .hero__ctas { display: none; }
.ht-pivot { position: absolute; z-index: 4; top: -8px; right: calc(var(--gutter) + 96px); width: 0; height: 0; transform-origin: 0 0; pointer-events: none; }
.ht-string { position: absolute; left: -20px; top: 0; width: 40px; height: 118px; overflow: visible; }
.ht-string path { fill: none; stroke: #F3E4C6; stroke-width: 2.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 1px rgba(8, 40, 60, .3)); }
.ht-tag {
  position: absolute; left: -104px; top: 100px; width: 208px; padding: 46px 20px 0; display: grid; gap: 4px; text-decoration: none; color: var(--ink);
  background: #FFF7E6; pointer-events: auto; text-shadow: none;
  clip-path: polygon(26% 0, 74% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  filter: drop-shadow(0 18px 24px rgba(8, 40, 60, .28)) drop-shadow(0 2px 3px rgba(8, 40, 60, .2));
}
.ht-hole { position: absolute; left: 50%; top: 14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #2a6f8f; box-shadow: 0 0 0 5px #E9D6AE, inset 0 1px 2px rgba(0, 0, 0, .3); }
.ht-top { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(15, 59, 64, .55); text-align: center; padding-bottom: 12px; border-bottom: 1.5px dashed rgba(15, 59, 64, .2); margin-bottom: 10px; }
.ht-to { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(15, 59, 64, .55); }
.ht-name { font: 800 38px/1 var(--display); letter-spacing: -.03em; }
.ht-meta { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(15, 59, 64, .7); }
.ht-price { display: grid; margin: 14px 0 16px; }
.ht-price small { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(15, 59, 64, .55); }
.ht-price b { font: 800 34px/1.05 var(--display); letter-spacing: -.02em; color: var(--accent); }
.ht-go { margin: 0 -20px; padding: 16px 20px; background: var(--ink); color: #fff; font: 700 16px/1 var(--display); display: flex; justify-content: space-between; align-items: center; }
.ht-go i { font-style: normal; color: #FFB547; transition: transform .3s ease; }
.ht-tag:hover .ht-go i { transform: translateX(4px); }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  html[data-hero="palms"] .hero { padding-top: 92px; justify-content: flex-start; }
  html[data-hero="palms"] .hero__title { font-size: 50px; transform: none; }
  html[data-hero="palms"] .hero__foot { bottom: 30px; width: calc(100% - 2 * var(--gutter)); }
  html[data-hero="palms"] .hero__foot .hero__lede { font-size: 15px; }

  html[data-hero="strip"] .hero { padding: 0 var(--gutter) 200px; justify-content: flex-end; }
  html[data-hero="strip"] .hero__title { font-size: 46px; }
  .hs-strip { left: 12px; right: 12px; bottom: 16px; flex-wrap: wrap; gap: 12px 14px; padding: 12px; border-radius: 14px; }
  .hs-strip__label { width: 100%; font-size: 9px; }
  .hs-strip__label svg { width: 22px; }
  .hs-cell--t { display: none; }
  .hs-flap { width: 19px; height: 28px; font-size: 15px; }
  .hs-go { width: 100%; height: 46px; justify-content: space-between; font-size: 15px; }

  .ht-pivot { right: 74px; top: -8px; }
  .ht-string { height: 96px; }
  .ht-tag { transform: scale(.66); transform-origin: 50% 0; top: 88px; }
}
@media (prefers-reduced-motion: reduce) { .hs-strip, .ht-go i { transition: none; } }

/* ================= Round 2 (Nov 21): three new heroes ================= */

/* ---------- R2 01 Postcard frame: the screen becomes a postcard as the camera lands ---------- */
.hfr { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hfr__edge { --k: 0; --s: 22px; --b: 76px; position: absolute; inset: 0; border-style: solid; border-color: #FFFDF8;
  border-width: calc(var(--k) * var(--s)) calc(var(--k) * var(--s)) calc(var(--k) * var(--b)); }
.hfr__edge::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(15, 59, 64, .1), inset 0 0 34px rgba(15, 59, 64, .16); opacity: var(--k); }
.hfr__stamp { position: absolute; right: 50px; top: 104px; width: 108px; height: 128px; }
.hfr__stamp .pstamp { inset: 0; }
.hfr__stamp .pstamp__price { font-size: 30px; }
.hfr__pm { position: absolute; right: 118px; top: 132px; width: 176px; color: var(--ink); opacity: .85; mix-blend-mode: multiply; }
.hfr__pm .pm { color: var(--ink); }
.hfr__greet { margin: 0 0 6px; font-family: var(--hand), "Homemade Apple", cursive; font-size: clamp(22px, 2.2vw, 34px); color: #fff; text-shadow: 0 2px 16px rgba(8, 50, 90, .35); }
html[data-hero="frame"] .hero { justify-content: flex-start; padding-top: 15vh; }
html[data-hero="frame"] .hero::before { display: none; }
html[data-hero="frame"] .hero__foot {
  position: absolute; left: 22px; right: 22px; bottom: 0; height: 76px; max-width: none; margin: 0; padding: 0 22px;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 18px;
}
html[data-hero="frame"] .hero__foot .hero__lede { font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-shadow: none; max-width: none; color: var(--ink); }
html[data-hero="frame"] .btn--hero { background: none; box-shadow: none; color: var(--ink); padding: 0; height: auto; font-size: 19px; }
html[data-hero="frame"] .hero-scroll { display: none; }

/* ---------- R2 02 On the water: the headline on the horizon, its reflection rippling below ---------- */
.hr-water { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; opacity: 0; }
html[data-hero="reflect"] .hero { justify-content: flex-start; align-items: center; text-align: center; padding: 0 var(--gutter); }
html[data-hero="reflect"] .hero::before { display: none; }
html[data-hero="reflect"] .hero__title { font-size: clamp(64px, 8.6vw, 150px); will-change: transform; }
html[data-hero="reflect"] .hero__line-in { margin: 0 auto; }
html[data-hero="reflect"] .hero__line--i { margin-top: var(--rh, 90px); }
html[data-hero="reflect"] .hero__line--i .hero__ink { font-size: .46em; }
html[data-hero="reflect"] .hero__foot { position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%); margin: 0; max-width: 560px; align-items: center; text-align: center; gap: 16px; }
html[data-hero="reflect"] .hero__foot .hero__lede { text-align: center; max-width: 44ch; }
html[data-hero="reflect"] .hero-scroll { display: none; }

/* ---------- R2 03 Cover story: a travel magazine cover ---------- */
html[data-hero="cover"] .hero { justify-content: flex-end; padding: 0 var(--gutter) 8vh; }
html[data-hero="cover"] .hero::before { display: none; }
html[data-hero="cover"] .hero__lede, html[data-hero="cover"] .hero__ctas { display: none; }
html[data-hero="cover"] .hero__foot { margin: 0; }
html[data-hero="cover"] .hero-scroll { display: none; }
.hc-mast {
  /* padding round the letters: the gradient only paints inside the box, and the italic letters reach past it, so a box
     the size of the type cut their tops and sides off in a straight line (Sam, Nov 21) */
  position: absolute; left: 0; right: 0; top: calc(6.5vh - .16em); margin: 0; padding: .16em .2em .14em; text-align: center; white-space: nowrap;
  font: italic 800 clamp(120px, 23vw, 420px)/.8 var(--display); letter-spacing: -.065em;
  /* water: pale aqua deepening toward the bottom, light cells drifting through it like sun on a lagoon floor, and a slow glint */
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .85) 48%, rgba(255, 255, 255, 0) 58%) 0 0 / 260% 100%,
    radial-gradient(ellipse 34% 30% at 50% 50%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%) 0 0 / 190px 110px,
    radial-gradient(ellipse 30% 34% at 50% 50%, rgba(220, 252, 252, .6), rgba(220, 252, 252, 0) 70%) 0 0 / 130px 150px,
    linear-gradient(180deg, #f6feff 0%, #d4f5f7 30%, #9fe2ea 62%, #6cd0df 86%, #57c6d9 100%) 0 0 / 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: blur(var(--b, 0px)) drop-shadow(0 6px 34px rgba(8, 60, 100, .28)); text-shadow: none;
  animation: hc-water 16s linear infinite;
  /* the entrance: water rises in the letters (a soft edge moving up, js/hero-options.js mastIn) */
  --m: 130%;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--m) - 30%), transparent var(--m)); mask-image: linear-gradient(to top, #000 calc(var(--m) - 30%), transparent var(--m));
}
/* the falling letters (js/hero-options.js mastIn): each its own copy of the water above at keyframe 0 (the glint is
   off the word then), offset by where the letter sits, so the one-piece masthead can take over without a seam */
.hc-fall { background: none !important; animation: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
.hc-fall span {
  position: absolute; display: block; white-space: pre; padding: .16em .2em; will-change: transform, opacity;
  background:
    radial-gradient(ellipse 34% 30% at 50% 50%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%) var(--x) var(--y) / 190px 110px,
    radial-gradient(ellipse 30% 34% at 50% 50%, rgba(220, 252, 252, .6), rgba(220, 252, 252, 0) 70%) var(--x) var(--y) / 130px 150px,
    linear-gradient(180deg, #f6feff 0%, #d4f5f7 30%, #9fe2ea 62%, #6cd0df 86%, #57c6d9 100%) var(--x) var(--y) / var(--W) var(--H);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
@keyframes hc-water {
  from { background-position: 120% 0, 0 0, 0 0, 0 0; }
  to   { background-position: -20% 0, 380px 220px, -260px 300px, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .hc-mast, .hc-tick__run { animation: none; } }
/* the issue ticker under the masthead: the islands roll by, the palms stand in front of it */
.hc-tick { position: absolute; left: 0; right: 0; top: calc(6.5vh + 19.4vw); overflow: hidden; color: #fff; text-shadow: 0 1px 10px rgba(8, 50, 90, .45);
  border-top: 1px solid rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(255, 255, 255, .5); padding: 9px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.hc-tick__run { display: flex; width: max-content; animation: hc-tick 46s linear infinite; }
.hc-tick__run span { display: inline-flex; align-items: center; white-space: nowrap; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.hc-tick__run b { font-weight: 500; color: #FFD48A; margin-right: .5em; }
.hc-tick__run i { display: inline-block; width: 7px; height: 7px; margin: 0 22px; border-radius: 50%; background: #FFB547; box-shadow: 0 0 0 3px rgba(255, 181, 71, .25); }
@keyframes hc-tick { to { transform: translateX(-50%); } }
/* on the cover the way in is the nav's ticket, visible from the start */
html[data-hero="cover"] .nav.nav--hero .nav__cta { opacity: 1; visibility: visible; }
/* the cover lines as a Rolodex: a cream card per island, flipping over its top edge, tinted with the island's colour */
.hc-rolo { position: absolute; left: var(--gutter); top: 46%; width: 340px; text-shadow: none; }
.hc-rolo__tab { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 9px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(8, 50, 90, .5); }
.hc-rolo__tab > span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); vertical-align: 1px; }
.hc-rolo__win { position: relative; height: 116px; perspective: 900px; }
.hc-rolo__card {
  position: absolute; inset: 0; display: grid; align-content: center; gap: 5px; padding: 14px 20px 14px 26px; border-radius: 14px; color: var(--ink);
  background: linear-gradient(105deg, color-mix(in srgb, var(--c) 16%, #FFFDF8) 0%, #FFFDF8 58%);
  box-shadow: 0 22px 44px rgba(8, 45, 80, .2), 0 2px 6px rgba(8, 45, 80, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
  -webkit-backface-visibility: hidden; backface-visibility: hidden; will-change: transform;
}
.hc-rolo__card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 5px; border-radius: 0 5px 5px 0; background: var(--c); }
.hc-rolo__card::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1px; background: rgba(15, 59, 64, .06); }   /* the fold line of an index card */
.hc-rolo__kind { position: relative; z-index: 1; font: 700 12.5px/1 var(--body); letter-spacing: .02em; color: color-mix(in srgb, var(--c) 72%, #0F3B40); }
.hc-rolo__name { position: relative; z-index: 1; font: 800 34px/1 var(--display); letter-spacing: -.035em; }
.hc-rolo__meta { position: relative; z-index: 1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(15, 59, 64, .68); }
/* the main cover line sits on the pale shallows, so it takes the deep lagoon and strong coral gradients */
html[data-hero="cover"] .hero__line:not(.hero__line--i) .hero__ink {
  background-image: linear-gradient(100deg, #0f3b40 0%, #0f4f63 14%, #126f8c 27%, #1b8eab 36%, #0f5b70 48%, #0f3b40 58%, #0f566b 70%, #1a83a2 82%, #0f4a58 92%, #0f3b40 100%);
}
html[data-hero="cover"] .hero__line--i .hero__ink {
  background-image: linear-gradient(100deg, #f0433b 0%, #ff6a4d 15%, #ff8a5c 25%, #f2503f 38%, #e2343c 47%, #ff6248 60%, #ff8257 72%, #ef4a3d 86%, #f0433b 100%);
}
html[data-hero="cover"] .hero__line-in { filter: none; }

@media (max-width: 760px) {
  .hfr__edge { --s: 10px; --b: 104px; }
  .hfr__stamp { right: 24px; top: 84px; width: 74px; height: 88px; }
  .hfr__stamp .pstamp__price { font-size: 20px; }
  .hfr__pm { right: 64px; top: 100px; width: 120px; }
  html[data-hero="frame"] .hero { justify-content: flex-end; padding: 0 var(--gutter) 140px; }
  html[data-hero="frame"] .hero__foot { left: 10px; right: 10px; height: 104px; padding: 12px 14px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
  html[data-hero="frame"] .hero__foot .hero__lede { font-size: 10.5px; }
  .hfr__greet { color: var(--ink); text-shadow: none; }   /* on a phone the words sit on the pale shallows, in ink */

  html[data-hero="reflect"] .hero__title { font-size: 54px; }
  html[data-hero="reflect"] .hero__line:not(.hero__line--i) .hero__ink { background-image: linear-gradient(100deg, #fff 0%, #effcfc 30%, #bdeef1 60%, #fff 100%); }
  html[data-hero="reflect"] .hero__line--i .hero__ink { font-size: .62em; }
  html[data-hero="reflect"] .hero__line-in { filter: drop-shadow(0 2px 14px rgba(8, 60, 90, .3)); }
  html[data-hero="reflect"] .hero__foot { bottom: 26px; width: calc(100% - 2 * var(--gutter)); }

  .hc-mast { top: calc(74px - .16em); font-size: 27vw; }
  .hc-tick { top: calc(74px + 23vw); padding: 7px 0 6px; }
  .hc-tick__run span { font-size: 9.5px; }
  .hc-tick__run i { margin: 0 14px; width: 6px; height: 6px; }
  .hc-rolo { display: none; }   /* on a phone the palms stand where the Rolodex would be */
  html[data-hero="cover"] .hero { padding-bottom: 7vh; }
}


/* ---------- the headline's entrance: three options behind ?htx= (js/hero-options.js) ---------- */
html[data-htx="wash"] .hero__ink {
  --w: 125%;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--w) - 18%), rgba(0, 0, 0, .35) calc(var(--w) - 7%), transparent var(--w));
  mask-image: linear-gradient(90deg, #000 calc(var(--w) - 18%), rgba(0, 0, 0, .35) calc(var(--w) - 7%), transparent var(--w));
}
html[data-htx="focus"] .hero__line, html[data-htx="drop"] .hero__line { overflow: visible; }
html[data-htx="drop"] .hero__ink--words { background-image: none !important; animation: none; }
.hw {
  display: inline-block; padding: 0 .07em; margin: 0 -.07em; will-change: transform; transform-origin: 50% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  background-size: 300% 100%; animation: hl-drift 12s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}

/* ---------- ?hl=center: the centred cover (Sam, Nov 21) ---------- */
html[data-hl="center"] .hc-mast, html[data-hl="center"] .hc-fall, html[data-hl="center"] .hp-front { display: none !important; }
html[data-hero="cover"][data-hl="center"] .hero { justify-content: flex-start; align-items: center; text-align: center; padding: calc(6vh + 74px) var(--gutter) 0; }   /* high enough that the card clears the landing picture's subject */
html[data-hl="center"] .hero__title { text-align: center; font-size: clamp(56px, 7.4vw, 128px); }
html[data-hl="center"] .hc-rolo { position: relative; left: auto; top: auto; margin: 3.4vh auto 0; text-align: left; }
html[data-hl="center"][data-rolo] .hc-rolo { scale: 1.15; --hc-rs: 1.15; transform-origin: 50% 0; }   /* a touch bigger (Sam, Nov 21) */
/* the ticker as a quiet frosted band along the bottom, ink on light so it reads over the water */
html[data-hl="center"] .hc-tick { top: auto; bottom: 0; color: #0F3B40; text-shadow: none; padding: 11px 0 10px;
  background: rgba(255, 253, 247, .5); -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15);
  border-top: 1px solid rgba(255, 255, 255, .7); border-bottom: 0; -webkit-mask-image: none; mask-image: none; }
html[data-hl="center"] .hc-tick__run b { color: #E0533F; }
@media (max-height: 820px) and (min-width: 761px) {
  html[data-hero="cover"][data-hl="center"] .hero { padding-top: calc(3.5vh + 70px); }
  html[data-hl="center"][data-rolo] .hc-rolo { scale: 1; --hc-rs: 1; }
}
@media (max-width: 760px) {
  html[data-hero="cover"][data-hl="center"] .hero { padding-top: calc(7vh + 64px); }
  html[data-hl="center"] .hero__title { font-size: 46px; }
  html[data-hl="center"] .hc-rolo { display: block; margin-top: 3vh; }
  html[data-hl="center"][data-rolo] .hc-rolo { scale: .92; --hc-rs: .92; }
  html[data-hl="center"] .hc-tick { top: auto; bottom: 0; padding: 9px 0 8px; }
}
/* centred, the headline sits in the sky, not on the shallows: line 1 in white light (the lagoon gradient faded into
   the blue), line 2 the coral, both lifted by a soft shadow (static, on the line's wrapper, as brand-coast does) */
html[data-hl="center"] .hero__line:not(.hero__line--i) .hero__ink {
  background-image: linear-gradient(100deg, #fff 0%, #f4fdff 18%, #dff6fa 32%, #fff 48%, #ecfbfd 66%, #d6f3f7 80%, #fff 100%) !important;
}
html[data-hl="center"] .hero__line--i .hero__ink {
  background-image: linear-gradient(100deg, #ff7a66 0%, #ff9a82 15%, #ffb196 26%, #ff7563 40%, #ff6553 50%, #ff8e77 64%, #ffa88f 76%, #ff7a66 90%, #ff7a66 100%) !important;
}
html[data-hl="center"] .hero__line-in { margin-left: auto; margin-right: auto; filter: drop-shadow(0 2px 18px rgba(6, 45, 85, .38)) drop-shadow(0 1px 2px rgba(6, 45, 85, .25)) !important; }

/* light passing over the headline (Sam, Nov 21: "a light gradient animation on the headline"): a soft band of
   sunlight sweeps across each line every few seconds, over a slow lagoon tint (line 1) and the coral (line 2).
   Only background-position moves, which Safari handles on clipped text */
html[data-hl="center"] .hero__line:not(.hero__line--i) .hero__ink {
  background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 41%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 59%),
    linear-gradient(100deg, #f4fdff 0%, #dbf6fb 28%, #c4eef5 50%, #e2f8fb 72%, #f4fdff 100%) !important;
  background-size: 260% 100%, 100% 100% !important;
  animation: hl-glint 7s cubic-bezier(.45, 0, .55, 1) infinite !important;
}
html[data-hl="center"] .hero__line--i .hero__ink {
  background-image: linear-gradient(105deg, rgba(255, 240, 228, 0) 41%, rgba(255, 244, 236, .9) 50%, rgba(255, 240, 228, 0) 59%),
    linear-gradient(100deg, #ff7a66 0%, #ff9a82 22%, #ff6f5c 46%, #ff8a73 70%, #ff7a66 100%) !important;
  background-size: 260% 100%, 100% 100% !important;
  animation: hl-glint 7s cubic-bezier(.45, 0, .55, 1) infinite !important; animation-delay: .45s !important;
}
@keyframes hl-glint { 0% { background-position: 130% 0, 0 0; } 50%, 100% { background-position: -30% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { html[data-hl="center"] .hero__ink { animation: none !important; background-position: 130% 0, 0 0 !important; } }

/* ?hlp=jetty (Nov 21 night, "center the headline a little bit better"): with the hut gone from the landing picture the
   group comes down, the headline centred in the sky and the card standing at the end of the jetty.
   (A "sky" height was tried too: it can't move far before the card touches the horizon line, so it was dropped) */
html[data-hero="cover"][data-hl="center"][data-hlp="jetty"] .hero { padding-top: calc(14vh + 74px); }
html[data-hl="center"][data-hlp="jetty"] .hc-rolo { margin-top: 3.2vh; }   /* tighter (Nov 21 night): the group sits above the horizon now, so the headline keeps its air under the nav */
@media (max-height: 820px) and (min-width: 761px) {
  html[data-hero="cover"][data-hl="center"][data-hlp="jetty"] .hero { padding-top: calc(10vh + 70px); }
}
@media (max-width: 760px) {
  html[data-hero="cover"][data-hl="center"][data-hlp="jetty"] .hero { padding-top: calc(16vh + 64px); }
  html[data-hl="center"][data-hlp] .hc-rolo { margin-top: 3.4vh; }
}
