/* Dr. Harvey, back in line. v4, built from the Awwwards study (claude_great_things/references/awwwards-study.md):
   a gate that asks for sound, a headline that is itself out of line, a statement held while navy floods up through it,
   the cartoon story, then the route across Jamaica with a running count, and the headline again, straight.
   Colours by DESIGN-LANGUAGE fix 5: stone and navy agree, scarlet surprises (actions, the sore spot, the red-pen strike). */
:root {
  --stone: #d3dfec; --stone-hi: #e4ecf5; --line: #b4c6dc; --soft: #a9c1dd;
  --navy: #0a1f3f; --navy-2: #2a4369; --navy-line: #18355f; --sore: #d92b25; --sore-hi: #b9201b; --gold: #f2b33d;
  --display: "Archivo", system-ui, sans-serif; --text: "Schibsted Grotesk", system-ui, sans-serif; --script: "Yellowtail", cursive;
  --gut: 20px; --bar: 64px;
}
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html, body { margin: 0; background: var(--stone); color: var(--navy); font: 400 1.0625rem/1.5 var(--text); overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--navy); color: var(--stone); }
:focus-visible { outline: 3px solid var(--sore); outline-offset: 3px; border-radius: 4px; }
body.gated { overflow: hidden; }

/* the printed ground: contour lines, fixed behind the stone sections */
.ground { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ground svg, .gate-topo { width: 100%; height: 100%; display: block; }
.topo-lines { fill: none; stroke: var(--line); stroke-width: 1.1; stroke-linecap: round; }

/* type: a script word over a caps label, then huge capitals */
.kick { margin: 0 0 8px; font: 800 .8125rem/1.25 var(--display); font-stretch: 110%; letter-spacing: .14em; text-transform: uppercase; }
.script { display: block; margin-bottom: 2px; font: 400 2rem/1 var(--script); letter-spacing: 0; text-transform: none; color: var(--navy-2); }
.mega { margin: 0; font: 900 clamp(3rem, 13vw, 9.5rem)/.86 var(--display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--sore); color: #fff; font: 700 1.0625rem/1 var(--text); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--sore-hi); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn svg path:first-child { fill: currentColor; }
.btn-ghost { background: transparent; color: var(--stone); box-shadow: inset 0 0 0 2px var(--soft); }
.btn-ghost:hover { background: rgba(169, 193, 221, .14); }
.acts { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* ---------- the gate ---------- */
.gate { position: fixed; inset: 0; z-index: 50; display: grid; background: var(--navy); color: var(--stone); overflow: hidden; }
.gate[hidden] { display: none; }
.gate-topo { position: absolute; inset: 0; }
.gate-topo path { fill: none; stroke: var(--navy-line); stroke-width: 1.1; }
.gate-mark { position: absolute; top: 18px; left: var(--gut); margin: 0; font: 900 1.125rem/1 var(--display); font-stretch: 105%; text-transform: uppercase; }
.gate-mark small { display: block; margin-top: 4px; font: 600 .6875rem/1 var(--text); text-transform: none; color: var(--soft); }
.gate-body { position: relative; align-self: center; display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 80px var(--gut) 40px; }
.gate .script { color: var(--soft); }
.gate .mega { font-size: clamp(3.4rem, 17vw, 11rem); }
.gate-note { max-width: 30ch; margin: 18px 0 26px; font-size: 1.125rem; color: var(--stone); }
.gate-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
/* the play disc: big, scarlet, a slow ring going out from it so nobody misses it */
.play { display: inline-flex; align-items: center; gap: 18px; padding: 0; border: 0; background: none; color: var(--stone); cursor: pointer; text-align: left; font: 900 clamp(1.45rem, 3.2vw, 2rem)/1 var(--display); font-stretch: 108%; text-transform: uppercase; }
.play small { display: block; margin-top: 7px; font: 600 1rem/1 var(--text); text-transform: none; color: var(--soft); }
.play-disc { position: relative; flex: none; display: grid; place-items: center; width: clamp(80px, 8.5vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--sore); box-shadow: 0 12px 34px -12px rgba(217, 43, 37, .8); transition: transform .2s, background .2s; }
.play-disc svg { position: relative; z-index: 1; width: 42%; fill: #fff; }   /* triangle drawn a touch right of centre in its box: optical centre */
.play-disc::before, .play-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sore); animation: ping 2.6s ease-out infinite; }
.play-disc::after { animation-delay: 1.3s; }
.scroll-cue { position: fixed; z-index: 40; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: var(--stone); font: 800 .875rem/1 var(--display); font-stretch: 108%; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 12px 30px -14px rgba(10, 31, 63, .7); opacity: 0; transform: translate(-50%, 16px); transition: opacity .5s, transform .5s; pointer-events: none; }
.scroll-cue.on { opacity: 1; transform: translate(-50%, 0); }
.scroll-cue { white-space: nowrap; }
@media (max-width: 899px) { .scroll-cue { left: auto; right: 14px; bottom: 14px; padding: 10px 14px; font-size: .75rem; transform: translateY(16px); } .scroll-cue.on { transform: none; } }
.scroll-cue svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
@keyframes ping { from { transform: scale(1); opacity: .85; } to { transform: scale(1.75); opacity: 0; } }
.play:hover .play-disc { background: var(--sore-hi); transform: scale(1.06); }
.play:active .play-disc { transform: scale(.95); }
.quiet { padding: 6px 0; border: 0; background: none; color: var(--soft); font: 600 1rem/1 var(--text); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.quiet:hover { color: var(--stone); }
@media (prefers-reduced-motion: reduce) { .play-disc::before, .play-disc::after { animation: none; opacity: 0; } .scroll-cue svg { animation: none; } }
.gate-spine { display: grid; align-content: center; gap: 7px; padding-top: 30px; }
.gate-spine i { display: block; width: 26px; height: 17px; border-radius: 9px; background: var(--soft); transform: translateX(var(--x, 0)) rotate(var(--r, 0)); }
.gate-spine i.bad { background: var(--sore); }
@media (min-width: 900px) {
  .gate-body { grid-template-columns: 120px 1fr; gap: 40px; padding: 0 8vw; }
  .gate-spine { justify-items: center; }
  .gate-spine i { width: 46px; height: 28px; border-radius: 14px; }
}

/* ---------- the bar ---------- */
.bar { position: fixed; z-index: 10; top: 0; left: 0; right: 0; height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: var(--gut); background: rgba(211, 223, 236, .94); }
.mark { font: 900 1.125rem/1 var(--display); font-stretch: 105%; letter-spacing: -.01em; text-transform: uppercase; text-decoration: none; }
.mark small { display: block; margin-top: 4px; font: 600 .6875rem/1 var(--text); letter-spacing: .02em; text-transform: none; color: var(--navy-2); white-space: nowrap; }
.route, .wide { display: none; }
.book-top { align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 0 20px; background: var(--sore); color: #fff; font: 800 .875rem/1 var(--display); font-stretch: 105%; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.book-top:hover { background: var(--sore-hi); }
.book-top svg, .cue svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  :root { --gut: 32px; --bar: 72px; }
  .wide { display: inline; }
  .route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(420px, 32vw); height: 44px; }
  .route svg { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 24px; overflow: visible; }
  .route path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
  .route-bed { stroke: var(--line); }
  .route-done { stroke: var(--navy); stroke-dasharray: 1; stroke-dashoffset: 1; }
  .route a { position: relative; display: grid; justify-items: center; gap: 8px; padding-top: 10px; font: 800 .6875rem/1 var(--display); font-stretch: 110%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--navy-2); }
  .route i { width: 12px; height: 12px; border-radius: 50%; background: var(--stone); border: 2px solid var(--navy-2); transition: background .25s, transform .25s; }
  .route a.on i { background: var(--navy); transform: scale(1.25); }
  .route a.on { color: var(--navy); }
}

main, .foot { position: relative; z-index: 1; }

/* ---------- 1. hero: the headline out of line ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: center; padding: calc(var(--bar) + 22px) var(--gut) 40px; }
.hero .kick { max-width: 30ch; margin-bottom: 22px; }   /* the crooked letters lean up, so the kicker needs clearance */
.crooked { font-size: clamp(4rem, 21vw, 13.5rem); line-height: .9; }
.crooked .row { display: block; white-space: nowrap; }
.crooked b { display: inline-block; font-weight: inherit; transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); will-change: transform; }
.crooked[data-crooked] b { cursor: pointer; touch-action: manipulation; }
.hint { margin: 24px 0 0; font: 600 .9375rem/1.4 var(--text); color: var(--navy-2); }
.hero-pic { position: relative; height: clamp(250px, 72vw, 330px); }
.card { margin: 0; padding: 8px; background: #f6f9fc; border-radius: 14px; box-shadow: 0 1px 0 rgba(10, 31, 63, .08), 0 18px 40px -22px rgba(10, 31, 63, .55); transform: rotate(var(--tilt, 0deg)); }
.card img { border-radius: 8px; width: 100%; }
.card figcaption { padding: 8px 4px 2px; font: 600 .8125rem/1.3 var(--text); color: var(--navy-2); }
.card-photo { position: absolute; right: 0; top: 0; width: 72%; max-width: 420px; }
.hero-man { position: absolute; left: -6%; bottom: -10px; width: 46%; height: 100%; overflow: visible; }
.hero-foot { display: grid; gap: 18px; }
.lede { max-width: 36ch; margin: 0; font-size: 1.1875rem; }
.cue { display: inline-flex; align-items: center; gap: 8px; font: 800 .75rem/1 var(--display); font-stretch: 110%; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.cue svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 7fr 5fr; grid-template-areas: "type pic" "foot pic"; column-gap: 3vw; row-gap: 26px; padding-top: calc(var(--bar) + 28px); }
  .hero-type { grid-area: type; align-self: end; }
  .hero-pic { grid-area: pic; align-self: center; height: min(62svh, 560px); }
  .hero-foot { grid-area: foot; align-self: start; grid-template-columns: auto; }
  .crooked { font-size: clamp(4.5rem, 9.8vw, 11.25rem); }
  .hero .kick { margin-bottom: clamp(24px, 2.4vw, 44px); }
  .hero .hint { margin-top: clamp(34px, 3.6vw, 64px); }
  .card-photo { top: 0; width: 92%; }
  .hero-man { left: -20%; width: 60%; height: 90%; }
}

/* ---------- 2. the flood ---------- */
.flood { position: relative; height: 330svh; }
.flood-pin { position: sticky; top: 0; height: 100svh; overflow: clip; }
.flood-layer { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; text-align: center; padding: var(--bar) var(--gut) 0; }
.flood-navy { background: var(--navy); color: var(--stone); clip-path: inset(100% 0 0 0); }
.flood-navy .script { color: var(--soft); }
.flood-say { font-size: min(8.6vw, 13svh); font-stretch: 104%; line-height: .9; }
.flood-say span { display: block; white-space: nowrap; }
.flood-edge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flood-edge path { fill: var(--navy); }
/* the flood photos: on a phone one at a time below the statement, on desktop one in each top corner */
.shot { position: absolute; z-index: 2; left: 50%; bottom: 8svh; width: min(80vw, 400px); opacity: 0; transform: translate3d(-50%, var(--dy, 0px), 0) rotate(var(--tilt)) scale(var(--sc, 1)); pointer-events: none; will-change: transform, opacity; }
.flood-src { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font: 600 .8125rem/1 var(--text); color: var(--soft); opacity: 0; transition: opacity .4s; }
.flood-src.on { opacity: 1; }
@media (min-width: 900px) {
  .shot { bottom: auto; width: min(24vw, 380px); transform: translate3d(0, var(--dy, 0px), 0) rotate(var(--tilt)) scale(var(--sc, 1)); }
  .shot.b0 { left: 3%; top: 14%; }
  .shot.b1 { left: auto; right: 3%; top: 18%; }
  .flood-say { font-size: min(6.4vw, 15svh); }
}

/* ---------- 3. the story, on navy ---------- */
.track { position: relative; height: 820svh; background: var(--navy); color: var(--stone); }
.track .script { color: var(--soft); }
.stage { position: sticky; top: 0; height: 100svh; z-index: 2; pointer-events: none; overflow: clip;
  /* feathered top and bottom, so the stage's contour lines and grain never end in a hard line against the navy */
  -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 90%, transparent); }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.grain { position: absolute; inset: 0; opacity: .06; mix-blend-mode: screen; background-image: var(--grain, none); background-size: 180px; }
.words { position: absolute; inset: 0; z-index: 1; }
.beat { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--at) * 720svh + 79svh); transform: translateY(-50%); }
.beat .mega { font-size: clamp(2.3rem, 10.5vw, 3.6rem); }
.beat p:not(.kick) { margin: 12px 0 0; max-width: 34ch; font-size: 1.0625rem; }
.nb { white-space: nowrap; }   /* town names with hyphens never split across lines */
.beat .btn { margin-top: 18px; }
.rewrite s, .rewrite ins { position: relative; display: inline-block; text-decoration: none; white-space: nowrap; }
.rewrite s::after { content: ""; position: absolute; left: -3%; right: -3%; top: 46%; height: .1em; border-radius: .05em; background: var(--sore); transform: scaleX(0) rotate(-2deg); transform-origin: left; transition: transform .45s cubic-bezier(.6, 0, .2, 1); }
.rewrite s { transition: opacity .4s .35s; }
.rewrite ins { max-width: 0; overflow: hidden; vertical-align: bottom; color: var(--gold); transition: max-width .7s .45s cubic-bezier(.2, .7, .2, 1); }
.fixed .rewrite s::after { transform: scaleX(1) rotate(-2deg); }
.fixed .rewrite s { opacity: .45; }
.fixed .rewrite ins { max-width: 6em; }
@media (min-width: 900px) {
  .stage { z-index: 0; }
  .beat { top: calc(var(--at) * 720svh + 50svh); width: min(36rem, 40vw); }
  .beat[data-side="r"] { left: auto; right: 5vw; }
  .beat[data-side="l"] { left: 5vw; right: auto; }
  .beat.narrow { width: min(20rem, 22vw); }
  .beat.narrow[data-side="r"] { right: 3vw; } .beat.narrow[data-side="l"] { left: 3vw; }
  .beat .mega { font-size: clamp(3rem, 5.4vw, 6rem); }
  .beat.narrow .mega { font-size: clamp(2.4rem, 3.3vw, 3.8rem); }
  .beat p:not(.kick) { font-size: 1.1875rem; }
  .beat p.towns { max-width: 47ch; }   /* all four towns on the first line */
}

/* parts rise in once: heading, then text, then button */
.js .beat > *, .js .book > *, .js .hero-type > *, .js .hero-foot > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .beat > :nth-child(2), .js .book > :nth-child(2), .js .hero-type > :nth-child(2), .js .hero-foot > :nth-child(2) { transition-delay: .08s; }
.js .beat > :nth-child(3), .js .book > :nth-child(3), .js .hero-type > :nth-child(3) { transition-delay: .16s; }
.js .beat > :nth-child(4), .js .book > :nth-child(4) { transition-delay: .24s; }
.js .book > :nth-child(5) { transition-delay: .32s; }
.js .in > * { opacity: 1; transform: none; }

/* ---------- 4. the map ---------- */
.map { position: relative; height: 360svh; background: var(--navy); }
.map-pin { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-rows: auto 1fr auto auto; align-content: start; gap: 8px; padding: calc(var(--bar) + 18px) var(--gut) 22px; }
.map-pin::before { content: ""; position: absolute; inset: 0; background: var(--stone); clip-path: var(--paper, inset(100% 0 0 0)); }
.map-edge { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map-edge path { fill: var(--stone); }
.map-pin > :not(.map-edge) { position: relative; opacity: var(--show, 0); }
.map-head .mega { font-size: clamp(2.6rem, 12vw, 7.5rem); }
.map-art { align-self: center; }
.map-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.isle { fill: var(--navy); }
.isle-topo path { fill: none; stroke: var(--navy-2); stroke-width: 1.4; }
.road-bed { fill: none; stroke: var(--navy-2); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.road { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.pin-dot { fill: var(--stone); stroke: var(--navy); stroke-width: 4; }
.pin.on .pin-dot { fill: var(--sore); }
.pin text { font: 900 26px/1 var(--display); font-stretch: 110%; text-transform: uppercase; fill: var(--navy); paint-order: stroke; stroke: var(--stone); stroke-width: 8px; stroke-linejoin: round; }
.map-list { list-style: none; margin: 0; padding: 0; position: relative; min-height: 4.6em; }
.map-list li { position: absolute; inset: 0 0 auto; display: grid; gap: 2px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.map-list li.on { opacity: 1; transform: none; }
.map-list b { font: 900 1.75rem/1 var(--display); font-stretch: 112%; text-transform: uppercase; }
.count { display: grid; margin: 0; }
.count b { font: 900 clamp(2.4rem, 11vw, 6.5rem)/.9 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.count b i { font-style: normal; margin: 0 .09em 0 .04em; }   /* air round the commas */
.count span { margin-top: .7em; }
.count span { font: 800 .8125rem/1.3 var(--display); font-stretch: 110%; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); }
@media (min-width: 900px) {
  .map-pin { grid-template-columns: minmax(16rem, 1fr) 2.2fr; grid-template-rows: auto 1fr auto; column-gap: 4vw; padding: calc(var(--bar) + 30px) 5vw 34px; }
  .map-head { grid-column: 1 / -1; }
  .map-head .mega { font-size: clamp(3rem, 5.6vw, 6.2rem); }
  .map-list b { font-size: 1.5rem; }
  .map-art { grid-column: 2; grid-row: 2 / 4; }
  .map-list { grid-column: 1; grid-row: 2; align-self: center; position: static; min-height: 0; display: grid; gap: 22px; }
  .map-list li { position: static; opacity: .32; transform: none; }
  .map-list li.on { opacity: 1; }
  .count { grid-column: 1; grid-row: 3; }
}

/* ---------- 5. booking: the headline again, straight ---------- */
/* the exit screen: the whole close on one screen; the clinics small, since the map already named them */
.book { position: relative; min-height: calc(100svh - var(--foot-h, 120px)); display: grid; align-content: center; justify-items: center; padding: calc(var(--bar) + 16px) var(--gut) 24px; text-align: center; }
@media (max-height: 780px) and (min-width: 900px) { .stops span { display: none; } .stops { margin-top: 22px; } .book .lede { margin-top: 12px; } .book .acts { margin-top: 14px; } }
@media (max-width: 899px) { .stops span { display: none; } .stops ol { gap: 12px 18px; } }
.book .script { font-size: clamp(2rem, 5vw, 3rem); }
.book .crooked { font-size: min(17vw, 11rem, 14svh); }
@media (max-height: 700px) { .book .script { font-size: 1.7rem; } .book .lede { margin-top: 10px; } .book .acts { margin-top: 12px; } .stops { margin-top: 16px; } .foot-credit { font-size: .75rem; } }
.book .lede { margin: 18px auto 0; }
.book .acts { justify-content: center; margin-top: 20px; }
.call { font-weight: 700; font-size: 1.125rem; text-underline-offset: 5px; }
.call:hover { color: var(--sore); }
.stops { position: relative; width: 100%; max-width: 1040px; margin: 34px auto 0; }
.stops-line { display: none; }
.stops ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; text-align: left; }
.stops li { position: relative; display: grid; gap: 2px; align-content: start; font-size: .875rem; line-height: 1.35; }
.stops li i { display: none; }
.stops b { font: 800 .9375rem/1.1 var(--display); font-stretch: 108%; text-transform: uppercase; letter-spacing: .02em; }
.stops span { max-width: 30ch; color: var(--navy-2); }
.stops a { font-weight: 700; text-underline-offset: 3px; }
.stops a:hover { color: var(--sore); }
@media (min-width: 900px) {
  .stops-line { display: block; position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; }
  .stops-line path { fill: none; stroke: var(--navy); stroke-width: 2; vector-effect: non-scaling-stroke; }
  .stops ol { grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; border: 0; text-align: center; }
  .stops li { justify-items: center; padding-top: 36px; }
  .stops li i { display: block; position: absolute; left: 50%; top: 13px; width: 14px; height: 14px; transform: translateX(-50%); border-radius: 50%; background: var(--stone); border: 2px solid var(--navy); }
  .stops b { font-size: 1rem; }
}

.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 28px var(--gut) 36px; font-size: .9375rem; background: var(--stone); border-top: 2px solid var(--navy); }
.foot a { font-weight: 700; text-underline-offset: 4px; }
@media (max-width: 899px) { .foot { font-size: .8125rem; padding: 14px var(--gut) 18px; } .foot > span { display: none; } }
@media (max-width: 899px) and (max-height: 700px) { .book { padding-top: calc(var(--bar) + 6px); padding-bottom: 14px; } .book .kick { display: none; } }
.foot-credit { flex-basis: 100%; margin: 0; font-size: .8125rem; color: var(--navy-2); }
.foot-credit a { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .js .beat > *, .js .book > *, .js .hero-type > *, .js .hero-foot > * { transition: none; opacity: 1; transform: none; }
  .cue svg { animation: none; }
  .rewrite s::after, .rewrite ins, .map-list li { transition: none; }
}
