/* Coastal Dream Radio mock-up: "Your daily wave of hits"
   Rammetto One (headings, like seaside rock lettering) / Nunito (everything else).
   Pier navy ink, rock pink for the one thing to press, beach-hut pastels. */

:root {
  --ink: #18233F;
  --ink-soft: #46516E;
  --paper: #FFFDF6;
  --sand-day: #F8E2B2;
  --cream: #FFF6E2;
  --coast-bg: #FCF3DF;
  --pink: #FF4F87;
  --pink-deep: #C8174F;
  --buoy: #F23D63;
  --lemon: #FFE07A;
  --h-pink: #FF9BBD;
  --h-lemon: #FFD866;
  --h-mint: #8EDDBB;
  --h-sky: #8FD3F2;
  --h-lilac: #C6B2F4;
  --h-coral: #FFA383;
  --wood: #8A5A35;
  --display: 'Rammetto One', 'Arial Black', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* The real sky on the coast. Set by site.js from Mablethorpe's sunrise and sunset. */
html[data-phase="day"] {
  --sky-top: #4FBDEB; --sky-bot: #C8EDFB; --sun: #FFD54A; --ray: rgba(255,255,255,.17);
  --sea0: #A3E0EA; --sea1: #52C2D3; --sea2: #1FA4BB; --sea3: #0E85A0;
  --sand: #F8E2B2; --sand-wet: #E7C487; --hero-ink: #18233F; --cloud: #fff;
  --stars: 0; --moon: 0; --sun-on: 1; --sun-y: 0px; --lamp: 0; --turbine: #F4FBFF; --pier: #2B3550; --pav: #FFF7EC; --win: #2B3550;
  --prop-dim: 1;
}
html[data-phase="golden"] {
  --sky-top: #5AAEDF; --sky-bot: #FFD99A; --sun: #FFB03B; --ray: rgba(255,236,190,.22);
  --sea0: #B4DCD5; --sea1: #5DB4C2; --sea2: #2E93AA; --sea3: #1B7891;
  --sand: #F6D59A; --sand-wet: #E2B474; --hero-ink: #18233F; --cloud: #FFF4DE;
  --stars: 0; --moon: 0; --sun-on: 1; --sun-y: 80px; --lamp: .25; --turbine: #FFF3DD; --pier: #2B3550; --pav: #FFF2DE; --win: #2B3550;
  --prop-dim: .97;
}
html[data-phase="dawn"] {
  --sky-top: #6F84CF; --sky-bot: #FFC9AE; --sun: #FFB86B; --ray: rgba(255,240,220,.15);
  --sea0: #B8C5E0; --sea1: #7FA6C8; --sea2: #4D84AC; --sea3: #346B92;
  --sand: #EDD2AE; --sand-wet: #D3AF88; --hero-ink: #18233F; --cloud: #FFE6DE;
  --stars: .25; --moon: 0; --sun-on: 1; --sun-y: 150px; --lamp: .5; --turbine: #F1EAF4; --pier: #2B3550; --pav: #FFEFE6; --win: #FFD27A;
  --prop-dim: .88;
}
html[data-phase="dusk"] {
  --sky-top: #2E3270; --sky-bot: #F2908A; --sun: #FF8A5B; --ray: rgba(255,190,170,.12);
  --sea0: #8D78A3; --sea1: #5A5E8E; --sea2: #3C4B7A; --sea3: #283A63;
  --sand: #CDAF95; --sand-wet: #AA8C77; --hero-ink: #fff; --cloud: #F4B0AC;
  --stars: .55; --moon: .7; --sun-on: 1; --sun-y: 160px; --lamp: 1; --turbine: #C8B6D6; --pier: #1E2440; --pav: #F6DCCF; --win: #FFD27A;
  --prop-dim: .8;
}
html[data-phase="night"] {
  --sky-top: #0A1430; --sky-bot: #24396B; --sun: #FFD54A; --ray: rgba(255,255,255,0);
  --sea0: #2F527C; --sea1: #20426A; --sea2: #173558; --sea3: #0F2945;
  --sand: #B6A78F; --sand-wet: #8C8173; --hero-ink: #fff; --cloud: #33467A;
  --stars: 1; --moon: 1; --sun-on: 0; --sun-y: 220px; --lamp: 1; --turbine: #7F93BC; --pier: #121A33; --pav: #D9D3E6; --win: #FFD27A;
  --prop-dim: .66;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; margin: 0; }
h2 { font-size: clamp(30px, 4.6vw, 54px); }
p { margin: 0 0 .8em; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: var(--ink); text-decoration: none;
  font: 900 17px/1 var(--body); padding: 14px 24px; border: 3px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: transform .15s;
}
.btn-main:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-line {
  display: inline-flex; align-items: center; background: transparent; color: inherit; text-decoration: none;
  font: 900 16px/1 var(--body); padding: 12px 20px; border: 3px solid currentColor; border-radius: 999px; cursor: pointer;
}

/* ---------- The opening: the coast, live ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; max-height: 1080px; overflow: hidden;
  background: var(--sky-top); color: var(--hero-ink);
  transition: color .6s;
}
.hero::after { /* the beach melts into the prom below, whatever the time of day */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(248,226,178,0), var(--sand-day));
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene * { transition: fill .8s, stroke .8s, opacity .8s; }
.rays path { fill: var(--ray); }
.rays { animation: spin 360s linear infinite; transform-origin: 1300px 455px; }
.stars { opacity: var(--stars); }
.stars circle { fill: #fff; }
.stars .tw { animation: twinkle 3.2s ease-in-out infinite; }
.sun { fill: var(--sun); opacity: var(--sun-on); transform: translateY(var(--sun-y)); transition: transform 1.2s, opacity .8s; }
.sun-glow { opacity: calc(var(--sun-on) * .9); transform: translateY(var(--sun-y)); transition: transform 1.2s, opacity .8s; }
.moon { fill: #FFF4D6; opacity: var(--moon); transform-box: fill-box; transform-origin: center; }
.cloud path { fill: var(--cloud); }
.cloud-a { animation: drift-a 210s linear infinite; animation-delay: -60s; }
.cloud-b { animation: drift-b 260s linear infinite; animation-delay: -180s; }
.cloud-c { animation: drift-c 180s linear infinite; animation-delay: -40s; }
@keyframes drift-a { from { transform: translate(-320px, 150px) scale(1.5); } to { transform: translate(1700px, 150px) scale(1.5); } }
@keyframes drift-b { from { transform: translate(-260px, 70px) scale(1.1); } to { transform: translate(1700px, 70px) scale(1.1); } }
@keyframes drift-c { from { transform: translate(-200px, 300px) scale(.9); } to { transform: translate(1700px, 300px) scale(.9); } }
.gull { fill: none; stroke: var(--hero-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.g1 { animation: glide-1 9s ease-in-out infinite; }
.g2 { animation: glide-2 11s ease-in-out infinite; }
.g3 { animation: glide-3 13s ease-in-out infinite; }
@keyframes glide-1 { 0%,100% { transform: translate(1450px, 512px); } 50% { transform: translate(1482px, 500px) scaleY(.7); } }
@keyframes glide-2 { 0%,100% { transform: translate(1522px, 538px); } 50% { transform: translate(1494px, 546px) scaleY(.75); } }
@keyframes glide-3 { 0%,100% { transform: translate(1404px, 484px); } 50% { transform: translate(1424px, 492px) scaleY(.8); } }
.t-tower { stroke: var(--turbine); stroke-width: 2.6; stroke-linecap: round; }
.t-blades { stroke: var(--turbine); stroke-width: 2.2; stroke-linecap: round; animation: spin 7s linear infinite; }
.t-blades.slow { animation-duration: 9s; }
.t-hub { fill: var(--turbine); }

.sea-0 { fill: var(--sea0); }
.sea-1 { fill: var(--sea1); }
.sea-2 { fill: var(--sea2); }
.sea-3 { fill: var(--sea3); stroke: rgba(255,255,255,.75); stroke-width: 3; }
.sparkles path { fill: #fff; opacity: 0; }

.pier-legs path { stroke: var(--pier); stroke-width: 4.5; fill: none; }
.pier-legs .brace { stroke-width: 2; }
.deck { fill: var(--pier); }
.rail { stroke: var(--pier); stroke-width: 2.2; fill: none; }
.pav-wall { fill: var(--pav); }
.pav-roof { fill: var(--pink); }
.pav-trim { stroke: var(--pier); stroke-width: 3; }
.pav-spire { stroke: var(--pier); stroke-width: 3; }
.pav-flag { fill: var(--pink); }
.pav-win { fill: var(--win); }
.kiosk rect { fill: var(--pav); }
.kiosk path { fill: #2DA6C4; }
.lamp-post { stroke: var(--pier); stroke-width: 2.5; }
.lamp-bulb { fill: #fff; }
.lamp-glow { opacity: var(--lamp); }
html[data-phase="night"] .lamp-bulb, html[data-phase="dusk"] .lamp-bulb { fill: #FFE7A3; }

.sand { fill: var(--sand); }
.sand-wet { fill: var(--sand-wet); }
.shore { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 3.5; stroke-linecap: round; }
.foam-dots circle { fill: rgba(255,255,255,.9); }
.props { filter: brightness(var(--prop-dim, 1)); transition: filter .8s; }
.wood { stroke: var(--wood); stroke-width: 4; stroke-linecap: round; fill: none; }
.dc-rear { stroke: #7B4A27; stroke-width: 4.5; stroke-linecap: round; fill: none; }
.dc-rail { stroke: #A86B3C; stroke-width: 5.5; stroke-linecap: round; fill: none; }
.dc-bar { stroke: #96592E; stroke-width: 4.5; stroke-linecap: round; fill: none; }
.dc-sag { fill: rgba(60, 20, 30, .16); }
.wb-pole { stroke: #A86B3C; stroke-width: 4.5; stroke-linecap: round; fill: none; }
.mound { fill: #E9C98C; }
.cs { fill: url(#g-castle); }
.cs-ridge { stroke: rgba(150, 98, 36, .35); stroke-width: 1.6; fill: none; }
.cs-dark { fill: #B4823F; }
.flag { fill: var(--pink); }
.bk-body { fill: var(--pink); }
.bk-band { fill: #E0336D; }
.bk-in { fill: #B91F52; }
.bk-handle { fill: none; stroke: #E0336D; stroke-width: 2.6; stroke-linecap: round; }
.sp-shaft { fill: none; stroke: #2DA6C4; stroke-width: 4.5; stroke-linecap: round; }
.sp-blade { fill: #2DA6C4; stroke: #1E8AA6; stroke-width: 1.6; }
.cone { fill: #E6A957; }
.cone-rim { fill: #CF8A3E; }
.whip { fill: #FFF8EE; stroke: #E8D7BD; stroke-width: 1.6; stroke-linejoin: round; }
.whip-line { fill: none; stroke: #E8D7BD; stroke-width: 1.6; stroke-linecap: round; }
.flake { fill: #6E3F20; }
.flake-line { fill: none; stroke: #8D5730; stroke-width: 1.4; stroke-linecap: round; }

.hero-top {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px) 0;
}
.logo { display: block; line-height: 0; border-radius: 50%; }
.logo img { height: clamp(70px, 9vw, 112px); width: auto; filter: drop-shadow(0 5px 0 rgba(24,35,63,.22)); }
.topnav { display: flex; gap: clamp(14px, 2.2vw, 30px); flex-wrap: wrap; justify-content: flex-end; }
.topnav a { font-weight: 900; font-size: 17px; text-decoration: none; color: var(--hero-ink); padding: 6px 2px; }
.topnav a:hover { text-decoration: underline wavy var(--pink) 2px; text-underline-offset: 6px; }

.hero-copy { position: relative; z-index: 3; padding: 0 clamp(16px, 4vw, 48px); max-width: 1100px; margin-top: clamp(4px, 2.4vh, 30px); }
.hero h1 {
  font-size: clamp(34px, min(6vw, 8.3vh), 92px); color: #fff; max-width: 16ch;
  text-shadow:
    .045em 0 0 var(--ink), -.045em 0 0 var(--ink), 0 .045em 0 var(--ink), 0 -.045em 0 var(--ink),
    .032em .032em 0 var(--ink), -.032em -.032em 0 var(--ink), .032em -.032em 0 var(--ink), -.032em .032em 0 var(--ink),
    .07em .09em 0 var(--ink);
}
.hero h1 .sun-word { color: var(--lemon); }
.tagline { font-weight: 900; font-size: clamp(17px, 1.7vw, 23px); margin: clamp(10px, 2vh, 20px) 0 4px; }
.intro { font-weight: 700; font-size: clamp(15px, 1.3vw, 18px); max-width: 30em; }
@media (min-width: 1100px) { .intro { max-width: 37em; } }

.coast-now {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 clamp(8px, 1.6vh, 16px);
  font-weight: 800; font-size: 15px;
}
.coast-now > span { background: var(--paper); color: var(--ink); padding: 6px 14px; border-radius: 999px; }
.phase-toggle {
  font: 800 14px/1 var(--body); color: var(--hero-ink); background: transparent; border: 2px solid currentColor;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
}

.listen-row {
  position: absolute; z-index: 3; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px); bottom: clamp(64px, 10.5%, 124px);
  display: flex; align-items: flex-end; gap: clamp(14px, 2.4vw, 30px);
}
.buoy-wrap { display: flex; flex-direction: column; align-items: center; will-change: transform; }
.buoy-tilt { display: block; will-change: transform; }
.buoy {
  width: clamp(112px, 11.5vw, 166px); aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.buoy svg, .rock-play svg { width: 100%; height: 100%; display: block; overflow: visible; }
.buoy-shadow { fill: rgba(10,30,50,.22); }
.buoy-white { fill: none; stroke: #fff; stroke-width: 26; }
.buoy-red { fill: none; stroke: var(--buoy); stroke-width: 26; stroke-dasharray: 34.56 34.56; stroke-dashoffset: 17; }
.buoy-edge { fill: none; stroke: var(--ink); stroke-width: 3; }
.buoy-rope { fill: none; stroke: #E8D3A8; stroke-width: 3.5; stroke-dasharray: 3 5; }
.buoy-hole { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.buoy-ring { transform-origin: 60px 60px; }
.icon-play, .icon-pause { fill: var(--ink); }
.icon-pause, .icon-wait { display: none; }
.icon-wait { fill: none; stroke: var(--ink); stroke-width: 4; stroke-dasharray: 16 8; transform-origin: 60px 60px; animation: spin 1.1s linear infinite; }
body[data-player="playing"] .icon-play { display: none; }
body[data-player="playing"] .icon-pause { display: inline; }
body[data-player="loading"] .icon-play { display: none; }
body[data-player="loading"] .icon-wait { display: inline; }
body[data-player="playing"] .buoy-ring { animation: spin 8s linear infinite; }
.buoy:hover .buoy-ring { transform: rotate(-12deg); }
.buoy-label {
  margin: 10px 0 0; background: var(--paper); color: var(--ink); font-weight: 900; font-size: 14px; line-height: 1.2;
  padding: 7px 13px; border-radius: 999px; text-align: center; max-width: 190px;
}

.onair {
  position: relative; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 24px;
  padding: 16px 20px 14px; width: min(430px, 100%); margin: 0 0 30px;
}
.onair-face { position: absolute; right: 12px; bottom: calc(100% - 36px); height: 128px; width: auto; pointer-events: none; }
.onair-face.photo { height: 82px; width: 82px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; outline: 3px solid var(--ink); bottom: calc(100% - 28px); }
.onair-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 900; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--pink-deep); }
.lamp { width: 11px; height: 11px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(255,79,135,.25); }
body[data-player="playing"] .lamp { animation: pulse 1.4s ease-in-out infinite; }
.onair-title { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); line-height: 1.1; margin: 0 0 6px; }
.onair.has-face .onair-title { padding-right: 96px; }
.onair-meta { font-weight: 800; margin: 0 0 8px; }
.onair-next { font-size: 15px; color: var(--ink-soft); margin: 0; padding-top: 8px; border-top: 2px dashed rgba(24,35,63,.2); }

/* ---------- The prom: the week as beach huts ---------- */
.prom {
  position: relative; padding: 40px 0 0;
  background: linear-gradient(var(--sand-day) 0, #FFF1D2 220px, var(--cream) 100%);
}
.prom-head { text-align: left; }
.prom-head p { max-width: 36em; font-size: 18px; margin-top: 10px; }
.bunting { position: relative; display: flex; justify-content: center; gap: 4px; margin: 28px auto 0; padding: 8px 16px 0; width: min(760px, 100%); }
.bunting .string { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.bunting .string path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.flag {
  --c: var(--h-sky);
  position: relative; flex: 1 1 0; max-width: 84px; height: 76px; border: 0; padding: 9px 0 0; cursor: pointer;
  background: var(--c); color: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%);
  font: 900 15px/1.05 var(--body); display: flex; flex-direction: column; align-items: center;
  transform: translateY(var(--sag, 0px)) rotate(var(--tilt, 0deg)); transform-origin: 50% 0;
  transition: background .2s;
}
.flag small { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.flag[aria-selected="true"] { background: var(--pink); height: 90px; }
.flag:focus-visible { outline: none; background: var(--ink); color: #fff; }
.flag.everyone { max-width: 104px; }
.flag .short { display: none; }
.flag:hover { animation: flutter .6s ease-in-out; }

.huts-scroll { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; padding: 34px 0 0; scrollbar-width: thin; }
.huts { display: flex; gap: 22px; width: max-content; min-width: 100%; justify-content: center; padding: 0 24px; align-items: flex-end; }
@media (min-width: 1100px) { .huts { zoom: 1.2; } }
.hut {
  --c: var(--h-sky); --c2: color-mix(in srgb, var(--c) 76%, #18233F);
  position: relative; flex: 0 0 auto; width: 164px; height: 268px; border: 0; padding: 0; background: none; cursor: pointer;
  scroll-snap-align: center; font: inherit; color: var(--ink); text-align: center;
}
.hut.c-pink { --c: var(--h-pink); } .hut.c-lemon { --c: var(--h-lemon); } .hut.c-mint { --c: var(--h-mint); }
.hut.c-sky { --c: var(--h-sky); } .hut.c-lilac { --c: var(--h-lilac); } .hut.c-coral { --c: var(--h-coral); }
.hut > span { position: absolute; display: block; }
.hut-roof { left: -12px; right: -12px; top: 0; height: 64px; background: #fff; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hut-roof::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; bottom: 0; background: var(--c2); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hut-body { left: 0; right: 0; top: 62px; bottom: 12px; background: repeating-linear-gradient(90deg, var(--c) 0 13px, var(--c2) 13px 15px); border-left: 5px solid #fff; border-right: 5px solid #fff; }
.hut-sign { left: 10px; right: 10px; top: 68px; height: 32px; background: #fff; border-radius: 5px; font: 13px/32px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.hut-sign.long { display: grid; place-items: center; font-size: 10px; line-height: 12px; white-space: normal; text-overflow: clip; } /* a long show name wraps onto two lines */
.hut-time { left: 12px; top: 105px; background: var(--ink); color: #fff; font: 900 12px/20px var(--body); padding: 0 7px; border-radius: 5px; font-variant-numeric: tabular-nums; }
.hut-lamp { right: 12px; top: 105px; background: #D7D1C7; color: #8E887F; font: 900 10px/20px var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 0 6px; border-radius: 5px; }
.hut.is-on .hut-lamp { background: var(--pink); color: var(--ink); box-shadow: 0 0 16px 5px rgba(255,79,135,.55); animation: pulse 1.6s ease-in-out infinite; }
.hut-door { left: 24px; right: 24px; top: 132px; bottom: 12px; border: 5px solid #fff; border-bottom: 0; perspective: 520px; }
.hut-inside { position: absolute; inset: 0; overflow: hidden; background: repeating-linear-gradient(90deg, #5B4636 0 12px, #4D3B2D 12px 14px); }
.hut-inside .cut { position: absolute; left: 50%; bottom: -2px; height: 104%; width: auto; max-width: none; transform: translateX(-50%); }
.hut-inside .frame { position: absolute; left: 50%; top: 14px; width: 74%; aspect-ratio: 1; transform: translateX(-50%); border: 5px solid #F5E6C8; outline: 2px solid #2A1E15; background: #fff; }
.hut-inside .frame.small { width: 54%; }
.hut-inside .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hut-inside .mic { position: absolute; left: 50%; bottom: 0; width: 64%; transform: translateX(-50%); }
.door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: repeating-linear-gradient(90deg, var(--c) 0 12px, var(--c2) 12px 14px);
  transition: transform .9s cubic-bezier(.35, 1.45, .55, 1);
}
.door::after { /* a heart cut in each door, like the hearts on their site */
  content: ""; position: absolute; top: 18px; left: 50%; width: 20px; height: 18px; transform: translateX(-50%);
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 18S0 11.5 0 5.3C0 2.3 2.3 0 5.1 0 7.2 0 9 1.3 10 3.1 11 1.3 12.8 0 14.9 0 17.7 0 20 2.3 20 5.3 20 11.5 10 18 10 18z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 18S0 11.5 0 5.3C0 2.3 2.3 0 5.1 0 7.2 0 9 1.3 10 3.1 11 1.3 12.8 0 14.9 0 17.7 0 20 2.3 20 5.3 20 11.5 10 18 10 18z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.door-l { left: 0; transform-origin: 0 50%; border-right: 2px solid var(--c2); }
.door-r { right: 0; transform-origin: 100% 50%; }
.hut:hover .door-l, .hut:focus-visible .door-l { transform: rotateY(-24deg); }
.hut:hover .door-r, .hut:focus-visible .door-r { transform: rotateY(24deg); }
.hut.is-open .door-l { transform: rotateY(-112deg); }
.hut.is-open .door-r { transform: rotateY(112deg); }
.hut-step { left: 34px; right: 34px; bottom: 0; height: 12px; background: #B98A5A; border-radius: 2px 2px 0 0; }
.hut:focus-visible { outline: 4px solid var(--ink); outline-offset: 6px; }

.paving {
  height: 70px; border-top: 7px solid #fff;
  background:
    linear-gradient(90deg, rgba(24,35,63,.08) 2px, transparent 2px) 0 0 / 88px 100%,
    linear-gradient(rgba(24,35,63,.07) 2px, transparent 2px) 0 34px / 100% 100% no-repeat,
    linear-gradient(#E6E0D6, #D6CFC3);
}
.prom .wrap:last-child { padding: 0 0 70px; background: none; }
.hut-card {
  --c: var(--h-sky);
  position: relative; display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: start;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 26px; padding: 30px 30px 26px;
  margin: -24px auto 0; max-width: 980px; overflow: hidden;
}
.hut-card::before { /* deckchair canvas in the presenter's colour */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: repeating-linear-gradient(90deg, var(--c) 0 26px, #fff 26px 52px); border-bottom: 3px solid var(--ink);
}
.hut-card.c-pink { --c: var(--h-pink); } .hut-card.c-lemon { --c: var(--h-lemon); } .hut-card.c-mint { --c: var(--h-mint); }
.hut-card.c-sky { --c: var(--h-sky); } .hut-card.c-lilac { --c: var(--h-lilac); } .hut-card.c-coral { --c: var(--h-coral); }
.card-pic { position: relative; height: 250px; margin-top: 8px; display: grid; place-items: end center; }
.card-pic::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--c); }
.card-pic img { position: relative; max-height: 100%; width: auto; }
.card-pic img.photo { width: min(82%, 220px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; outline: 3px solid var(--ink); margin-bottom: 10px; }
.card-pic .mic { position: relative; width: 60%; margin-bottom: 12px; }
.card-kicker { margin: 10px 0 6px; font-weight: 900; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--pink-deep); min-height: 1em; }
.hut-card h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.card-times { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-times li { background: var(--c); border-radius: 999px; padding: 5px 13px; font-weight: 800; font-size: 15px; }
.card-times b { font-weight: 900; }
.card-bio { max-width: 40em; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 0; }
.card-actions .btn-line { color: var(--ink); }

/* ---------- Down the coast ---------- */
.coast { background: var(--coast-bg); padding: 84px 0 70px; }
.coast-head p { max-width: 36em; font-size: 18px; margin-top: 10px; }
.board {
  margin: 34px 0 46px; background: var(--ink); color: #fff; border-radius: 20px; padding: 22px 26px 18px;
  border: 7px solid #9C6B42; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08);
}
.board-title { font-family: var(--display); font-size: 18px; color: var(--lemon); margin: 0 0 14px; }
.board-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 22px; margin: 0; }
.board-grid div { min-width: 0; }
.board-grid dt { font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #A9BBE0; }
.board-grid dd { margin: 2px 0 0; font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; }
.board-grid dd small { display: block; font-family: var(--body); font-weight: 700; font-size: 14px; color: #D4DDF0; margin-top: 4px; }
.board-foot { margin: 14px 0 0; font-size: 13px; color: #A9BBE0; }

.coast-wrap { display: grid; grid-template-columns: minmax(280px, 430px) 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.coast-map { position: sticky; top: 20px; margin: 0; }
.coast-map svg { width: 100%; height: auto; max-height: calc(100vh - 40px); display: block; margin: 0 auto; }
.m-sea { fill: #9ADAF2; }
.m-hatch { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.6; stroke-linecap: round; }
.m-land { fill: #FBE6BA; }
.m-beach { fill: none; stroke: #F1C978; stroke-width: 10; stroke-linejoin: round; stroke-linecap: round; }
.m-coast { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.m-wolds { fill: #CFE3A4; }
.m-label { font: 12px var(--display); fill: var(--ink); }
.m-label.big { font-size: 15px; letter-spacing: .3em; fill: rgba(24,35,63,.55); }
.m-label.sea { font-family: var(--body); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .2em; fill: #fff; }
.m-label.small { font-family: var(--body); font-weight: 800; font-size: 11px; fill: var(--ink-soft); }
.m-town { fill: #fff; stroke: var(--ink); stroke-width: 2.5; transition: r .3s, fill .3s; }
.m-town.on { fill: var(--pink); r: 9; }
.m-dot { fill: var(--ink-soft); }
.m-heart { fill: var(--pink); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
#mapHeart { transition: transform .7s cubic-bezier(.4, 1.5, .5, 1); }
.m-north { fill: var(--ink); }

.stops { list-style: none; margin: 0; padding: 0; counter-reset: stop; }
.stop { padding: 7vh 0 7vh; border-bottom: 3px dotted rgba(24,35,63,.22); scroll-margin-top: 20px; }
.stop:first-child { padding-top: 0; }
.stop h3 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 10px; transition: color .3s; }
.stop.on h3 { color: var(--pink-deep); }
.stop p { font-size: 18px; max-width: 32em; }
.stop .btn-line { font-size: 15px; padding: 10px 16px; border-width: 2px; }
.inland { margin-top: 40px; font-weight: 800; font-size: 18px; }

/* ---------- Message in a bottle ---------- */
.bottle {
  position: relative; overflow: hidden; color: #fff; padding: 130px 0 110px;
  background: linear-gradient(#1C97B0 0, #0F6F87 45%, #0A4E66 100%);
}
.bottle-waves { position: absolute; left: 0; top: 0; width: 100%; height: 120px; }
.bw-1 { fill: rgba(255,255,255,.45); }
.bw-2 { fill: var(--coast-bg); }
.bottle-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.bottle-copy h2 { color: #fff; }
.bottle-copy p { font-size: 19px; max-width: 26em; margin-top: 14px; }
.bottle-small { font-weight: 800; color: var(--lemon); }
.bottle-stage { position: relative; min-height: 440px; }
.note {
  position: relative; background: #FFFDF4; color: var(--ink); border-radius: 6px; padding: 26px 26px 20px 58px;
  font: 700 18px/36px var(--body);
  background-image:
    linear-gradient(90deg, transparent 40px, #F6A9BC 40px, #F6A9BC 42px, transparent 42px),
    repeating-linear-gradient(transparent 0 35px, #C3DCEA 35px 36px);
  background-position: 0 0, 0 25px;
  transform: rotate(-1.4deg); box-shadow: 0 22px 40px rgba(0, 25, 40, .35);
}
.note-to { font-family: var(--display); font-size: 20px; margin: 0; }
.note label { display: inline; }
.note-msg { display: block !important; }
.note input, .note select, .note textarea {
  font: 800 18px/30px var(--body); color: var(--pink-deep); background: transparent;
  border: 0; border-bottom: 2px dashed var(--ink-soft); border-radius: 0; padding: 0 4px; margin: 0 2px; height: 32px; vertical-align: baseline;
}
.note input { width: 13ch; }
.note #fSong { width: min(22ch, 100%); }
.note select { appearance: none; -webkit-appearance: none; padding-right: 22px; cursor: pointer; max-width: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2318233F' stroke-width='2'/%3E%3C/svg%3E") right 4px center / 11px no-repeat; }
.note textarea { display: block; width: 100%; resize: vertical; line-height: 36px; border-bottom: 0; padding-top: 0; }
.note input::placeholder, .note textarea::placeholder { color: #9AA3B8; font-weight: 600; }
.note input:focus, .note select:focus, .note textarea:focus { outline: 3px solid var(--pink); outline-offset: 2px; }
.note .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note-error { color: var(--pink-deep); font-weight: 900; margin: 4px 0 0; min-height: 0; }
.note-error:empty { display: none; }
.note .btn-main { margin-top: 10px; }
.note-fine { font-size: 13px; line-height: 1.4; color: var(--ink-soft); margin: 12px 0 0; font-weight: 600; }
.the-bottle { position: absolute; left: 50%; top: 40px; width: 92px; margin-left: -46px; opacity: 0; pointer-events: none; overflow: visible; }
.the-bottle .glass { fill: rgba(170, 236, 214, .55); stroke: #E9FFF7; stroke-width: 3; }
.the-bottle .cork { fill: #C08A55; stroke: #7A4A28; stroke-width: 2; }
.the-bottle .scroll { fill: #FFFDF4; stroke: #E7D9B8; stroke-width: 2; }
.the-bottle .shine { stroke: rgba(255,255,255,.75); stroke-width: 5; stroke-linecap: round; }
.bottle-thanks { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; padding: 20px; }
.bottle-thanks[hidden] { display: none; }
.thanks-big { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.bottle-thanks .btn-line { color: #fff; margin-top: 8px; }

/* ---------- The kiosks ---------- */
.kiosks { background: var(--cream); padding: 84px 0 96px; }
.kiosks-note { font-size: 18px; max-width: 36em; margin-top: 12px; }
.kiosk-row { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 40px 26px; }
.kiosk { --c: var(--h-pink); position: relative; display: flex; flex-direction: column; }
.kiosk.c-pink { --c: var(--h-pink); } .kiosk.c-lemon { --c: var(--h-lemon); } .kiosk.c-mint { --c: var(--h-mint); }
.kiosk.c-sky { --c: var(--h-sky); } .kiosk.c-lilac { --c: var(--h-lilac); } .kiosk.c-coral { --c: var(--h-coral); }
.awning {
  position: relative; z-index: 1; height: 58px; margin: 0 -8px -12px;
  background: repeating-linear-gradient(90deg, var(--c) 0 24px, #fff 24px 48px);
  -webkit-mask: radial-gradient(circle 12px at 12px 46px, #000 97%, transparent 100%) 0 0 / 24px 58px repeat-x, linear-gradient(#000 0 0) top / 100% 46px no-repeat;
          mask: radial-gradient(circle 12px at 12px 46px, #000 97%, transparent 100%) 0 0 / 24px 58px repeat-x, linear-gradient(#000 0 0) top / 100% 46px no-repeat;
  filter: drop-shadow(0 3px 0 rgba(24,35,63,.25));
}
.kiosk-body { flex: 1; background: #fff; border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 18px 18px; padding: 24px 18px 18px; display: flex; flex-direction: column; }
.kiosk-sign { height: 108px; display: grid; place-items: center; margin-bottom: 12px; }
.kiosk-sign img { max-height: 100px; max-width: 100%; object-fit: contain; }
.kiosk-sign .word { font-family: var(--display); font-size: 30px; background: var(--c); padding: 10px 16px; border-radius: 10px; }
.kiosk-sign .word.long { font-size: 19px; line-height: 1.2; text-align: center; text-wrap: balance; }
.kiosk.no-logo h3, .kiosk.name-in-logo h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* the sign already says the name */
.kiosk h3 { font-size: 19px; margin-bottom: 6px; }
.kiosk p { font-size: 15px; margin: 0 0 10px; }
.kiosk a { font-weight: 900; margin-top: auto; }

/* ---------- The end of the pier ---------- */
.pier-end { position: relative; background: var(--ink); color: #fff; padding: 0 0 110px; }
.rock-ticker { height: 58px; overflow: hidden; background: linear-gradient(#FF4F87 0 10px, #FFF 10px 48px, #FF4F87 48px); }
.rock-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.rock-track span { font: 21px/58px var(--display); color: #E8336F; white-space: pre; padding-right: 0; }
.pier-end-inner { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: end; padding-top: 50px; }
.pier-end-words .motto { font-family: var(--display); font-size: clamp(34px, 5vw, 64px); color: var(--lemon); line-height: 1.05; margin-bottom: 18px; }
.pier-end-words p { font-size: 18px; }
.pier-end .tiny { font-size: 14px; color: #B9C3DD; }
.railing-scene { width: 100%; height: auto; overflow: visible; }
.rail-bar, .rail-posts { stroke: #fff; stroke-width: 7; stroke-linecap: round; fill: none; }
.chip { fill: #FFD27A; stroke: #C9962E; stroke-width: 1.5; }
.cone-paper { fill: #fff; stroke: #BFC7DA; stroke-width: 2; stroke-linejoin: round; }
.cone-stripe { fill: #4C8FD1; }
.g-white { fill: #fff; }
.g-wing { fill: #A3B3CC; }
.g-black { fill: #1B2133; }
.g-dot { fill: #fff; }
.g-beak { fill: #FFC531; }
.g-red { fill: #E5484D; }
.g-eye { fill: var(--ink); }
.g-shine { fill: #fff; }
.g-legs { stroke: #F0A8A0; stroke-width: 3; stroke-linecap: round; fill: none; }
.g-chip { fill: #FFD27A; stroke: #C9962E; stroke-width: 1.5; opacity: 0; }
.gull-body { transform-origin: 35px 72px; animation: nick 14s ease-in-out infinite; }
.chips .c4 { animation: chip-gone 14s step-end infinite; }
.g-chip { animation: chip-held 14s ease-in-out infinite; }
@keyframes nick { /* hop along the railing, nick a chip, hop back */
  0%, 60%, 100% { transform: none; }
  64% { transform: translate(38px, -8px); }
  68% { transform: translate(64px, 0) rotate(13deg); }
  72% { transform: translate(64px, 0) rotate(-5deg); }
  78% { transform: translate(28px, -8px); }
  83% { transform: none; }
}
@keyframes chip-gone { 0% { opacity: 1; } 68% { opacity: 0; } 99% { opacity: 0; } }
@keyframes chip-held { 0%, 69% { opacity: 0; } 70%, 93% { opacity: 1; } 96%, 100% { opacity: 0; } }
.made-by { font-size: 13px; color: #B9C3DD; margin-top: 30px; }
.made-by a { color: var(--lemon); font-weight: 800; }

/* ---------- The stick of rock: play and what's on, always in reach ---------- */
.rock-bar {
  position: fixed; z-index: 50; left: 50%; bottom: 14px; transform: translate(-50%, 160%);
  width: min(780px, calc(100% - 20px)); height: 68px; display: flex; align-items: center; gap: 12px;
  padding: 0 8px 0 4px; background: #fff; border: 8px solid var(--pink); border-radius: 999px;
  box-shadow: 0 12px 28px rgba(24,35,63,.3); transition: transform .5s cubic-bezier(.3, 1.3, .5, 1);
}
.rock-bar.shown { transform: translate(-50%, 0); }
.rock-play { flex: 0 0 auto; width: 56px; height: 56px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.rock-core { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.rock-lamp { flex: 0 0 auto; background: var(--ink); color: #fff; font: 900 11px/22px var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 0 8px; border-radius: 6px; }
.rock-title { font: 16px/1.2 var(--display); color: #E2245F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.rock-wave { flex: 0 0 auto; width: 120px; height: 30px; }
.rock-req { flex: 0 0 auto; background: var(--ink); color: #fff; text-decoration: none; font: 900 14px/1 var(--body); padding: 11px 15px; border-radius: 999px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 50% { opacity: .25; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,79,135,0); } }
@keyframes flutter { 25% { transform: translateY(var(--sag, 0px)) rotate(calc(var(--tilt, 0deg) + 5deg)); } 75% { transform: translateY(var(--sag, 0px)) rotate(calc(var(--tilt, 0deg) - 4deg)); } }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Phones and tablets ---------- */
@media (max-width: 900px) {
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .bottle-wrap { grid-template-columns: 1fr; }
  .pier-end-inner { grid-template-columns: 1fr; }
  .railing-scene { max-width: 320px; }
}
@media (max-width: 760px) {
  .moon { transform: translate(14px, -18px) scale(.55); } /* tuck the moon beside the day/night button */
  .gulls { transform: translateY(58px); } /* gulls between the words and the pier */
  .topnav a:not(:nth-child(3)) { display: none; }
  .coast-now { font-size: 13px; gap: 8px; }
  .phase-toggle { font-size: 12px; padding: 6px 10px; }
  .hero h1 { max-width: 12ch; }
  .listen-row { gap: 12px; bottom: clamp(56px, 9%, 90px); }
  .buoy { width: 104px; }
  .buoy-label { font-size: 12px; max-width: 110px; padding: 6px 10px; }
  .onair { padding: 12px 14px 10px; border-radius: 18px; margin-bottom: 26px; }
  .onair-title { font-size: 18px; }
  .onair.has-face .onair-title { padding-right: 52px; }
  .onair-meta { font-size: 14px; margin-bottom: 4px; }
  .onair-next { font-size: 13px; padding-top: 6px; }
  .onair-face { height: 84px; right: 6px; }
  .onair-face.photo { height: 56px; width: 56px; }
  .hut-card { grid-template-columns: 1fr; padding: 28px 18px 20px; gap: 6px; }
  .card-pic { height: 200px; }
  .coast-wrap { grid-template-columns: 1fr; gap: 0; }
  .coast-map { top: 0; z-index: 2; background: var(--coast-bg); padding: 6px 0 8px; border-bottom: 3px solid var(--ink); }
  .coast-map svg { height: 34vh; width: auto; }
  .stop { padding: 30px 0; }
  .stop:first-child { padding-top: 24px; }
  .board { padding: 18px 16px 14px; }
  .rock-wave { display: none; }
  .rock-bar { height: 62px; border-width: 7px; gap: 8px; }
  .rock-play { width: 48px; height: 48px; }
  .rock-req { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 520px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .rock-lamp { display: none; }
  .bunting { gap: 2px; padding: 8px 6px 0; }
  .flag { font-size: 13px; height: 66px; }
  .flag[aria-selected="true"] { height: 78px; }
  .flag small { font-size: 9px; }
  .flag .full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .flag .short { display: inline; }
  .huts { gap: 18px; }
  .note { padding: 20px 16px 16px 48px; font-size: 17px; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .hero h1 { font-size: clamp(34px, 5vw, 70px); }
  .intro { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .cloud-a { transform: translate(260px, 150px) scale(1.5); }
  .cloud-b { transform: translate(780px, 70px) scale(1.1); }
  .cloud-c { transform: translate(1380px, 300px) scale(.9); }
  .g1 { transform: translate(1450px, 512px); } .g2 { transform: translate(1522px, 538px); } .g3 { transform: translate(1404px, 484px); }
}
