/* Koast Radio website. Brand colours from the Koast logo: coastal teal-blue
   and lime green, on deep navy. Light and dark follow the visitor's device;
   the ☾/☀ button switches. */
:root {
  color-scheme: light;
  --teal: #2f7f96;
  --teal-bright: #3f8ea7;
  --teal-deep: #0b4a5c;
  --navy: #001d39;
  --lime: #82c341;
  --lime-deep: #6aa733;
  --coral: #fe6459;
  --gradient: linear-gradient(135deg, #3f8ea7 0%, #11506a 55%, #001d39 100%);

  --page: #f7f9fa;
  --surface: #ffffff;
  --surface-2: #eef3f5;
  --ink: #0a1620;
  --ink-2: #33434f;
  --muted: #637280;
  --line: #dde6ea;
  --shadow: 0 1px 2px rgba(0, 29, 57, .05), 0 8px 28px rgba(0, 29, 57, .08);

  --radius: 14px;
  --radius-sm: 9px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #061018;
    --surface: #0e1c27;
    --surface-2: #13242f;
    --ink: #eaf2f5;
    --ink-2: #c2d0d8;
    --muted: #8397a3;
    --line: #22333f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #061018;
  --surface: #0e1c27;
  --surface-2: #13242f;
  --ink: #eaf2f5;
  --ink-2: #c2d0d8;
  --muted: #8397a3;
  --line: #22333f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--page); }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { flex: none; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand small { white-space: nowrap; display: block; font-weight: 600; font-size: .68rem; color: var(--teal); letter-spacing: .04em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1px; }
.nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; padding: 8px 9px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); }
.nav .btn { margin-left: 8px; }
.theme-toggle, .menu-toggle { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; }
.menu-toggle { display: none; margin-left: auto; }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
.site-header.compact .menu-toggle { display: inline-block; }
.site-header.compact .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: var(--shadow); }
.site-header.compact .nav.open { display: flex; }
.site-header.compact .nav .btn { margin: 8px 0 0; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--coral) 35%, transparent); }
.btn-primary:hover { background: #e8503f; color: #fff; }
.btn-live { background: var(--lime); color: #06240a; box-shadow: 0 6px 18px color-mix(in srgb, var(--lime) 40%, transparent); }
.btn-live:hover { background: var(--lime-deep); color: #06240a; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-outline { background: transparent; color: var(--teal); border-color: color-mix(in srgb, var(--teal) 45%, transparent); }
.btn-outline:hover { background: color-mix(in srgb, var(--teal) 8%, transparent); }
.nav .btn-live { padding: 9px 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--gradient); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 85% -10%, rgba(130, 195, 65, .28), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(255, 255, 255, .10), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; padding: 80px 24px 88px; }
.hero.small .wrap { padding: 64px 24px 68px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #eafbd8; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 { max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: 1.18rem; max-width: 620px; color: #d7e8ee; margin-bottom: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Live player card */
.player-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); color: var(--ink); }
.player-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.player-head strong { display: block; }
.mp-sub { color: var(--muted); font-size: .9rem; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(254, 100, 89, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(254, 100, 89, .6); } 70% { box-shadow: 0 0 0 10px rgba(254, 100, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(254, 100, 89, 0); } }
.player-ways { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.player-ways .way { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.player-ways .way svg, .player-ways .btn svg { width: 17px; height: 17px; }
.player-ways .btn { padding: 8px 14px; font-size: .9rem; }

/* Sections */
section { padding: 80px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .kicker, .kicker { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--lime-deep); }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.card.feature p:last-child { margin-bottom: 0; }
.show-card .pill { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-deep); background: color-mix(in srgb, var(--lime) 22%, transparent); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.link { font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Ways strip */
.ways-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px) { .ways-strip { grid-template-columns: 1fr 1fr; } }
.way-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.way-card svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.way-card strong { display: block; }
.way-card span { font-size: .84rem; color: var(--muted); }

/* Split + ticks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticks svg { width: 20px; height: 20px; color: var(--lime-deep); flex: none; }
.involve-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .involve-cards { grid-template-columns: 1fr; } }
.mini { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease; }
.mini:hover { transform: translateY(-2px); }
.mini svg { width: 26px; height: 26px; color: var(--teal); margin-bottom: 8px; }
.mini strong { display: block; }
.mini span { font-size: .84rem; color: var(--muted); }

/* Banner / CTA */
.banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--lime); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.banner h3 { margin-bottom: 4px; }
.banner p { margin: 0; color: var(--muted); }
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c5d6de; margin-bottom: 26px; }

/* Schedule */
.sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
@media (max-width: 860px) { .sched { grid-template-columns: 1fr; } }
.sched-day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.sched-day h3 { color: var(--teal); border-bottom: 2px solid color-mix(in srgb, var(--teal) 25%, transparent); padding-bottom: 8px; }
.slots { list-style: none; margin: 0; padding: 0; }
.slots li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.slots li:last-child { border-bottom: 0; }
.slots .time { flex: none; width: 52px; font-weight: 800; color: var(--lime-deep); font-variant-numeric: tabular-nums; }
.slots .slot { font-weight: 600; }

/* Embeds */
.embed-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.note { color: var(--muted); font-size: .94rem; background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.contact-list .muted { font-size: .86rem; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--page); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { background: var(--navy); color: #c8d7df; padding: 60px 0 28px; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #c8d7df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 9px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.05rem; text-decoration: none; }
.socials a:hover { background: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; color: #90a6b1; }

/* Site-wide mini player */
.miniplayer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 -6px 24px rgba(0, 0, 0, .25); }
.miniplayer .wrap { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.mp-now { display: flex; align-items: center; gap: 12px; }
.mp-now strong { display: block; font-size: .98rem; }
.mp-now .mp-freq { color: var(--lime); font-size: .82rem; margin-left: 4px; }
.mp-now .mp-sub { color: #aebecb; font-size: .82rem; }
.mp-play { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: #06240a; border: 0; border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 800; cursor: pointer; }
.mp-play svg { width: 18px; height: 18px; }
.mp-play.playing { background: #fff; }
.mp-drawer { background: #06121c; padding: 10px 24px 14px; }
.mp-drawer iframe { max-width: 820px; margin: 0 auto; display: block; }
body.has-miniplayer { padding-bottom: 72px; }
