/* =============================================================
   104.1 BuckettsFM — "Valley" design system
   Gloucester NSW · the Bucketts range, river light, wattle gold.
   No build step, no webfonts, no external requests. WCAG AA.
   ============================================================= */

:root{
  /* palette — valley at first light */
  --ink:      #22322b;   /* gum-leaf green-black: body text        */
  --deep:     #1b2c24;   /* deepest forest: footer, dock           */
  --range:    #2c5745;   /* bucketts green: headings, primary      */
  --river:    #17606f;   /* river teal: links, focus, interactive  */
  --mist:     #f4f7f3;   /* eucalypt-mist page background          */
  --paper:    #ffffff;   /* cards                                  */
  --haze:     #dde7dd;   /* pale sage: borders, dividers           */
  --wattle:   #e7a61a;   /* golden wattle: live dot, highlights    */
  --wattle-ink:#5c4405;  /* readable text on wattle                */
  --dawn-a:   #f7efdd;   /* hero sky top                           */
  --dawn-b:   #eccd8f;   /* hero sky low                           */
  --danger:   #a03024;
  --ok:       #2c6b3f;

  /* type */
  --serif: "Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua","URW Palladio L",Georgia,serif;
  --sans: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  --radius: 14px;
  --shadow: 0 2px 6px rgba(27,44,36,.07), 0 14px 34px rgba(27,44,36,.09);
  --shadow-soft: 0 1px 3px rgba(27,44,36,.08);
  --wrap: 1120px;
  --dock-h: 0px; /* set when the listen dock is present */
}

/* text-size control (persisted by site.js) */
html{ font-size:100%; }
html[data-textsize="large"]{ font-size:112.5%; }
html[data-textsize="xlarge"]{ font-size:125%; }

*,*::before,*::after{ box-sizing:border-box; }
body{
  margin:0;
  font-family:var(--sans);
  font-size:1.0625rem; line-height:1.65;
  color:var(--ink); background:var(--mist);
  padding-bottom:var(--dock-h);
  -webkit-text-size-adjust:100%;
}
img{ max-width:100%; height:auto; }
h1,h2,h3,h4{ font-family:var(--serif); color:var(--range); line-height:1.15; margin:0 0 .5em; letter-spacing:-.01em; }
h1{ font-size:clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2{ font-size:clamp(1.5rem, 1.2rem + 1.3vw, 2.05rem); }
h3{ font-size:1.22rem; }
p{ margin:0 0 1em; }
a{ color:var(--river); text-underline-offset:3px; }
a:hover{ color:var(--range); }
:focus-visible{ outline:3px solid var(--wattle); outline-offset:2px; border-radius:4px; }
::selection{ background:var(--wattle); color:var(--wattle-ink); }

.wrap{ width:min(var(--wrap), 100% - 2.5rem); margin-inline:auto; }
.visually-hidden{ position:absolute!important; width:1px;height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip-link{ position:absolute; left:1rem; top:-4rem; z-index:200; background:var(--range); color:#fff; padding:.7rem 1.1rem; border-radius:0 0 10px 10px; transition:top .15s; }
.skip-link:focus{ top:0; color:#fff; }

.eyebrow{
  font-family:var(--sans); font-size:.78rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--river);
  display:inline-flex; align-items:center; gap:.55em; margin:0 0 .6em;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--wattle); border-radius:2px; }

/* ---------------------------------------------------- buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font:inherit; font-weight:700; text-decoration:none; cursor:pointer;
  padding:.68em 1.35em; border-radius:999px; border:2px solid transparent;
  transition:background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active{ transform:translateY(1px); }
.btn--live{ background:var(--range); color:#fff; }
.btn--live:hover{ background:var(--deep); color:#fff; }
.btn--quiet{ background:transparent; color:var(--range); border-color:var(--range); }
.btn--quiet:hover{ background:var(--range); color:#fff; }
.btn--wattle{ background:var(--wattle); color:var(--wattle-ink); }
.btn--wattle:hover{ background:#f0b32e; color:var(--wattle-ink); }
.btn--big{ font-size:1.1rem; padding:.85em 1.7em; }
.btn--onmist{ background:#fff; color:var(--range); border-color:var(--haze); }
.btn--onmist:hover{ border-color:var(--range); color:var(--range); }

.live-dot{ width:.62em; height:.62em; border-radius:50%; background:var(--wattle); box-shadow:0 0 0 0 rgba(231,166,26,.65); animation:bfm-pulse 2s infinite; flex:none; }
.btn--live .live-dot, .dock .live-dot{ background:#ffd35c; }
@keyframes bfm-pulse{ 70%{ box-shadow:0 0 0 .55em rgba(231,166,26,0);} 100%{ box-shadow:0 0 0 0 rgba(231,166,26,0);} }

/* ---------------------------------------------------- masthead */
.masthead{
  position:sticky; top:0; z-index:100;
  background:rgba(244,247,243,.92);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--haze);
}
.masthead__row{ display:flex; align-items:center; gap:1rem; min-height:76px; }
.brandmark{ display:flex; align-items:center; gap:.7rem; text-decoration:none; margin-right:auto; }
.brandmark img{ width:52px; height:52px; flex:none; }
.brandmark__name{ display:flex; flex-direction:column; line-height:1.06; }
.brandmark__title{ font-family:var(--serif); font-weight:700; font-size:1.28rem; color:var(--range); letter-spacing:.01em; }
.brandmark__tag{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--river); font-weight:600; }

.m-utils{ display:flex; align-items:center; gap:.8rem; }
.wxchip{
  display:inline-flex; align-items:center; gap:.5rem; text-decoration:none;
  padding:.35rem .8rem; border:1px solid var(--haze); border-radius:999px;
  background:#fff; color:var(--ink); font-size:.92rem; line-height:1.2;
}
.wxchip:hover{ border-color:var(--river); color:var(--ink); }
.wxchip__t{ font-weight:700; color:var(--range); }
.wxchip__warn{ background:var(--danger); color:#fff; font-weight:700; border-radius:999px; padding:0 .5em; font-size:.82rem; }

.textsize{ display:flex; border:1px solid var(--haze); border-radius:999px; overflow:hidden; background:#fff; }
.textsize button{
  font:inherit; border:0; background:transparent; cursor:pointer; color:var(--river);
  padding:.3rem .65rem; font-weight:700; line-height:1;
}
.textsize button + button{ border-left:1px solid var(--haze); }
.textsize button[aria-pressed="true"]{ background:var(--range); color:#fff; }
.textsize button:hover{ background:var(--haze); }
.textsize button[aria-pressed="true"]:hover{ background:var(--range); }

.m-listen{ white-space:nowrap; }

.m-burger{
  display:none; font:inherit; font-weight:700; color:var(--range);
  background:#fff; border:1px solid var(--haze); border-radius:10px;
  padding:.5rem .8rem; cursor:pointer; align-items:center; gap:.5rem;
}
.m-burger__bars{ display:inline-block; width:20px; height:2px; background:currentColor; position:relative; }
.m-burger__bars::before,.m-burger__bars::after{ content:""; position:absolute; left:0; width:20px; height:2px; background:currentColor; }
.m-burger__bars::before{ top:-6px; } .m-burger__bars::after{ top:6px; }

/* nav rail sits under the masthead row */
.m-nav{ border-top:1px solid var(--haze); }
.m-nav ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; }
.m-nav li{ position:relative; }
.m-nav a{
  display:flex; align-items:center; gap:.35em;
  padding:.72rem 1rem; text-decoration:none; color:var(--ink);
  font-weight:600; font-size:.98rem; border-bottom:3px solid transparent;
}
.m-nav a:hover{ color:var(--range); border-bottom-color:var(--haze); }
.m-nav a[aria-current="page"]{ color:var(--range); border-bottom-color:var(--wattle); }
.m-nav .caret{ font-size:.7em; color:var(--river); }
.m-nav .subnav{
  position:absolute; top:100%; left:0; min-width:230px; z-index:60;
  background:#fff; border:1px solid var(--haze); border-radius:12px;
  box-shadow:var(--shadow); padding:.4rem; display:none; flex-direction:column;
}
.m-nav .subnav a{ border-bottom:0; border-radius:8px; padding:.55rem .8rem; }
.m-nav .subnav a:hover{ background:var(--mist); }
.m-nav li.open > .subnav,
.m-nav li:focus-within > .subnav{ display:flex; }
@media (hover:hover){ .m-nav li:hover > .subnav{ display:flex; } }

@media (max-width: 900px){
  .m-burger{ display:inline-flex; }
  .wxchip__meta{ display:none; }
  .brandmark__tag{ display:none; }
  .m-nav{ display:none; border-top:1px solid var(--haze); }
  .m-nav.open{ display:block; }
  .m-nav ul{ flex-direction:column; padding:.4rem 0; }
  .m-nav a{ border-bottom:0; border-left:3px solid transparent; padding:.8rem 1.2rem; }
  .m-nav a[aria-current="page"]{ border-left-color:var(--wattle); }
  .m-nav .subnav{ position:static; display:flex; box-shadow:none; border:0; padding:0 0 0 1rem; }
}
@media (max-width: 640px){
  .textsize{ display:none; }
  .masthead__row{ min-height:64px; }
  .brandmark img{ width:44px; height:44px; }
}

/* ---------------------------------------------------- panorama hero */
.panorama{ position:relative; background:linear-gradient(180deg, var(--dawn-a), var(--dawn-b)); overflow:hidden; color:var(--deep); }
.panorama__art{ position:absolute; inset:0; width:100%; height:100%; }
.panorama__art svg{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.panorama--photo{ background-size:cover; background-position:center; }
.panorama--photo::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(27,44,36,.15), rgba(27,44,36,.55)); }
.panorama__inner{ position:relative; z-index:2; padding:clamp(3.2rem,7vw,6.5rem) 0 clamp(6rem,11vw,9rem); max-width:640px; }
.panorama--photo .panorama__inner{ color:#fff; }
.panorama--photo .panorama__inner h1, .panorama--photo .panorama__lead{ color:#fff; }
.panorama__freq{
  display:inline-flex; align-items:baseline; gap:.4em;
  font-family:var(--serif); font-weight:700; color:var(--range);
  border:2px solid var(--range); border-radius:999px; padding:.15em .8em; margin-bottom:1rem;
  background:rgba(255,255,255,.55);
}
.panorama--photo .panorama__freq{ color:#fff; border-color:#fff; background:rgba(27,44,36,.35); }
.panorama h1{ color:var(--deep); font-size:clamp(2.3rem, 1.5rem + 3.6vw, 4rem); margin-bottom:.35em; }
.panorama h1 .tagline{ display:block; font-size:.44em; font-family:var(--sans); font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--river); margin-top:.55em; }
.panorama--photo h1 .tagline{ color:#ffe9b3; }
.panorama__lead{ font-size:1.14rem; max-width:34em; color:var(--deep); }
.panorama__actions{ display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.6rem; }
.panorama__ridge{ position:absolute; left:0; right:0; bottom:-1px; z-index:1; pointer-events:none; }
.panorama__ridge svg{ display:block; width:100%; height:auto; }

/* mist drift on the hero art */
.mistband{ animation:bfm-mist 26s ease-in-out infinite alternate; }
.mistband--2{ animation-duration:34s; animation-delay:-8s; }
@keyframes bfm-mist{ from{ transform:translateX(-2.5%);} to{ transform:translateX(2.5%);} }
@media (prefers-reduced-motion: reduce){
  .mistband,.mistband--2{ animation:none; }
  .live-dot{ animation:none; }
  *{ scroll-behavior:auto!important; }
}

/* on-air ticket, overlapping the ridge */
.onair-ticket{
  position:relative; z-index:5; margin-top:clamp(-4.6rem,-6vw,-3.4rem);
  background:var(--paper); border:1px solid var(--haze); border-radius:var(--radius);
  box-shadow:var(--shadow); display:flex; flex-wrap:wrap; align-items:stretch; overflow:hidden;
}
.onair-ticket__cell{ flex:1 1 240px; padding:1.1rem 1.4rem; min-width:0; }
.onair-ticket__cell + .onair-ticket__cell{ border-top:1px solid var(--haze); }
@media (min-width:720px){
  .onair-ticket__cell + .onair-ticket__cell{ border-top:0; border-left:1px dashed var(--haze); }
}
.onair-ticket__tag{ display:inline-flex; align-items:center; gap:.45em; font-size:.76rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--range); margin-bottom:.3rem; }
.onair-ticket__tag--next{ color:var(--river); }
.onair-ticket__show{ font-family:var(--serif); font-size:1.24rem; font-weight:700; margin:0 0 .15em; overflow-wrap:anywhere; }
.onair-ticket__show a{ color:var(--range); text-decoration:none; }
.onair-ticket__show a:hover{ text-decoration:underline; }
.onair-ticket__meta{ margin:0; color:#4d5f56; font-size:.95rem; }
.onair-ticket__more{ display:flex; align-items:center; padding:1.1rem 1.4rem; background:var(--range); color:#fff; text-decoration:none; font-weight:700; }
.onair-ticket__more:hover{ background:var(--deep); color:#fff; }

/* ---------------------------------------------------- bands / sections */
.band{ padding:clamp(2.6rem,5.5vw,4.4rem) 0; }
.band--paper{ background:var(--paper); border-block:1px solid var(--haze); }
.band--deep{ background:var(--deep); color:#e9efe9; }
.band--deep h2,.band--deep h3{ color:#fff; }
.band--deep a{ color:#bfe3d3; }
.band__head{ display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.6rem; }
.band__head h2{ margin:0; }
.band__more{ font-weight:700; text-decoration:none; white-space:nowrap; }
.band__more::after{ content:" →"; }

/* ridge divider (letterhead motif) */
.ridge-rule{ display:block; width:100%; height:auto; color:var(--haze); }
.band--deep .ridge-rule{ color:#2c443a; }

/* ---------------------------------------------------- cards & grids */
.grid{ display:grid; gap:1.3rem; }
.grid--3{ grid-template-columns:repeat(auto-fill, minmax(min(280px,100%), 1fr)); }
.grid--4{ grid-template-columns:repeat(auto-fill, minmax(min(220px,100%), 1fr)); }

.trailhead{ /* quick-link card */
  display:block; text-decoration:none; color:var(--ink);
  background:var(--paper); border:1px solid var(--haze); border-radius:var(--radius);
  padding:1.3rem 1.4rem; box-shadow:var(--shadow-soft);
  transition:transform .15s, box-shadow .15s, border-color .15s;
}
.trailhead:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--river); color:var(--ink); }
.trailhead h3{ margin-bottom:.3em; }
.trailhead p{ margin:0; color:#4d5f56; font-size:.98rem; }
.trailhead__go{ display:inline-block; margin-top:.7rem; font-weight:700; color:var(--river); }

/* news stories */
.story{
  background:var(--paper); border:1px solid var(--haze); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow-soft);
  transition:transform .15s, box-shadow .15s;
}
.story:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.story__img{ aspect-ratio:16/9; object-fit:cover; width:100%; background:var(--haze); }
.story__body{ padding:1.1rem 1.3rem 1.3rem; display:flex; flex-direction:column; gap:.35rem; flex:1; }
.story__date{ font-size:.8rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--river); }
.story__title{ font-family:var(--serif); font-size:1.22rem; line-height:1.25; margin:0; }
.story__title a{ color:var(--range); text-decoration:none; }
.story__title a:hover{ text-decoration:underline; }
.story__excerpt{ margin:0; color:#4d5f56; font-size:.97rem; }
.story--feature{ }
@media (min-width:860px){
  .news-lead{ display:grid; grid-template-columns:1.5fr 1fr; gap:1.3rem; }
  .news-lead .story--feature .story__img{ aspect-ratio:16/8; }
  .news-lead .story--feature .story__title{ font-size:1.7rem; }
  .news-lead__list{ display:flex; flex-direction:column; gap:1.3rem; }
  .news-lead__list .story{ flex-direction:row; }
  .news-lead__list .story__img{ width:36%; aspect-ratio:auto; }
}

/* presenter portraits */
.voice{ text-align:center; text-decoration:none; color:var(--ink); display:block; }
.voice__photo{
  width:min(180px,100%); aspect-ratio:1; object-fit:cover; border-radius:50%;
  border:4px solid var(--paper); box-shadow:var(--shadow-soft); margin-inline:auto; display:block;
  background:var(--haze);
}
.voice__photo--empty{ display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:2.4rem; color:var(--range); background:var(--haze); }
.voice:hover .voice__photo{ box-shadow:0 0 0 4px var(--wattle); }
.voice h3{ margin:.7rem 0 .1rem; font-size:1.08rem; }
.voice p{ margin:0; font-size:.9rem; color:#4d5f56; }

/* sponsors */
.backers{ display:grid; grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr)); gap:1rem; }
.backer{
  display:flex; align-items:center; justify-content:center; text-align:center; padding:1.1rem;
  background:var(--paper); border:1px solid var(--haze); border-radius:12px; min-height:96px;
  text-decoration:none; color:var(--range); font-weight:700;
}
.backer:hover{ border-color:var(--river); }
.backer img{ max-height:64px; width:auto; object-fit:contain; }
.tier-title{ margin-top:2rem; display:flex; align-items:center; gap:.9rem; }
.tier-title::after{ content:""; flex:1; height:1px; background:var(--haze); }

/* support band */
.support{ display:grid; gap:1.3rem; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); }
.support__card{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius); padding:1.3rem 1.4rem; }
.support__card h3{ color:#ffd35c; }
.support__card p{ color:#cfdcd2; font-size:.97rem; }
.support__card .btn{ margin-top:.4rem; }

/* ---------------------------------------------------- page head */
.pagehead{ background:linear-gradient(180deg, var(--dawn-a), var(--dawn-b)); position:relative; overflow:hidden; }
.pagehead__inner{ padding:clamp(2.2rem,4.5vw,3.6rem) 0 clamp(3.4rem,6vw,4.6rem); position:relative; z-index:2; max-width:720px; }
.pagehead h1{ color:var(--deep); margin-bottom:.2em; }
.pagehead__lead{ font-size:1.12rem; color:var(--deep); margin:0; max-width:38em; }
.pagehead__ridge{ position:absolute; left:0; right:0; bottom:-1px; }
.pagehead__ridge svg{ display:block; width:100%; height:auto; }

/* ---------------------------------------------------- program guide */
.day-rail{ display:flex; flex-wrap:wrap; gap:.45rem; margin:0 0 1.4rem; }
.day-rail [role="tab"]{
  font:inherit; font-weight:700; cursor:pointer;
  background:var(--paper); border:1px solid var(--haze); color:var(--river);
  border-radius:999px; padding:.5rem 1.05rem; display:inline-flex; align-items:center; gap:.5em;
}
.day-rail [role="tab"]:hover{ border-color:var(--river); }
.day-rail [role="tab"][aria-selected="true"]{ background:var(--range); border-color:var(--range); color:#fff; }
.day-rail .today-pip{ background:var(--wattle); color:var(--wattle-ink); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; border-radius:999px; padding:.1em .6em; }

.guide{ list-style:none; margin:0; padding:0; border:1px solid var(--haze); border-radius:var(--radius); background:var(--paper); overflow:hidden; }
.guide__slot{ display:flex; gap:1.2rem; padding:1rem 1.3rem; align-items:baseline; flex-wrap:wrap; }
.guide__slot + .guide__slot{ border-top:1px solid var(--haze); }
.guide__slot:nth-child(odd){ background:#fbfdfa; }
.guide__time{ font-variant-numeric:tabular-nums; font-weight:700; color:var(--river); flex:0 0 10.5em; white-space:nowrap; }
.guide__body{ flex:1 1 260px; min-width:0; }
.guide__show{ font-family:var(--serif); font-weight:700; font-size:1.12rem; text-decoration:none; color:var(--range); }
.guide__show:hover{ text-decoration:underline; }
.guide__meta{ display:block; color:#4d5f56; font-size:.93rem; }
.genre-pip{ display:inline-block; background:var(--mist); border:1px solid var(--haze); border-radius:999px; padding:.05em .7em; font-size:.8rem; margin-left:.5em; color:var(--river); font-weight:600; }

/* profile pages (presenter / show / board) */
.profile{ display:grid; gap:2rem; grid-template-columns:minmax(0,1fr); }
@media (min-width:760px){ .profile{ grid-template-columns:260px minmax(0,1fr); } }
.profile__photo{ width:100%; max-width:260px; border-radius:var(--radius); box-shadow:var(--shadow-soft); background:var(--haze); }
.profile__role{ color:var(--river); font-weight:700; margin-top:-.4rem; }
.slot-list{ list-style:none; padding:0; margin:.4rem 0 0; }
.slot-list li{ padding:.45rem 0; border-bottom:1px dashed var(--haze); }
.slot-list li strong{ color:var(--range); }

/* ---------------------------------------------------- prose / RTE */
.prose{ max-width:70ch; }
.prose img{ border-radius:var(--radius); }
.prose h2,.prose h3{ margin-top:1.4em; }
.prose ul,.prose ol{ padding-left:1.3em; }
.prose blockquote{ border-left:4px solid var(--wattle); margin:1.2em 0; padding:.3em 0 .3em 1em; color:#4d5f56; font-style:italic; }
.prose table{ border-collapse:collapse; width:100%; }
.prose td,.prose th{ border:1px solid var(--haze); padding:.5em .8em; }

/* ---------------------------------------------------- forms */
.formcard{ background:var(--paper); border:1px solid var(--haze); border-radius:var(--radius); box-shadow:var(--shadow-soft); padding:clamp(1.4rem,3.5vw,2.4rem); max-width:760px; }
.field{ margin-bottom:1.15rem; }
.field label, .field legend{ display:block; font-weight:700; margin-bottom:.35rem; color:var(--range); }
.field input[type="text"],.field input[type="email"],.field input[type="tel"],
.field select,.field textarea{
  width:100%; font:inherit; color:var(--ink);
  background:var(--mist); border:1.5px solid var(--haze); border-radius:10px;
  padding:.7rem .9rem;
}
.field input:focus,.field select:focus,.field textarea:focus{ border-color:var(--river); outline:3px solid rgba(23,96,111,.25); outline-offset:0; }
.field [aria-invalid="true"]{ border-color:var(--danger); }
.field-error{ color:var(--danger); font-size:.9rem; font-weight:600; display:block; margin-top:.25rem; }
.req{ color:var(--danger); }
.two-up{ display:grid; gap:0 1.1rem; grid-template-columns:1fr; }
@media (min-width:620px){ .two-up{ grid-template-columns:1fr 1fr; } }
fieldset.field{ border:1px solid var(--haze); border-radius:10px; padding:.9rem 1.1rem; }
.checks{ display:grid; gap:.45rem; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); }
.check{ display:flex; gap:.6rem; align-items:flex-start; font-weight:500; }
.check input{ width:1.15rem; height:1.15rem; margin-top:.2rem; accent-color:var(--range); flex:none; }
.form-note{ font-size:.9rem; color:#4d5f56; margin-top:1rem; }
.hp{ position:absolute; left:-9999px; }

.flash{ border-radius:12px; padding:.9rem 1.2rem; margin:1.1rem 0; font-weight:600; border:1px solid; }
.flash--success{ background:#e8f3ea; color:var(--ok); border-color:#bcd9c4; }
.flash--error{ background:#f8e9e6; color:var(--danger); border-color:#e4bdb5; }

.empty-note{ background:var(--paper); border:1px dashed var(--haze); border-radius:var(--radius); padding:1.4rem; color:#4d5f56; }

/* ---------------------------------------------------- weather */
.wx-hero{ display:flex; align-items:center; gap:1.2rem; background:var(--paper); border:1px solid var(--haze); border-radius:var(--radius); padding:1.3rem 1.6rem; box-shadow:var(--shadow-soft); max-width:460px; }
.wx-hero__icon{ font-size:3rem; line-height:1; }
.wx-hero__temp{ font-family:var(--serif); font-size:2.6rem; font-weight:700; color:var(--range); line-height:1; }
.wx-week{ display:grid; gap:.8rem; grid-template-columns:repeat(auto-fill,minmax(min(130px,100%),1fr)); }
.wx-card{ background:var(--paper); border:1px solid var(--haze); border-radius:12px; padding:.9rem .6rem; text-align:center; }
.wx-card__name{ font-weight:700; color:var(--range); }
.wx-card__icon{ font-size:1.7rem; }
.wx-card__hi{ font-weight:700; }
.wx-card__lo{ color:#4d5f56; }
.wx-card__pop{ font-size:.82rem; color:var(--river); font-weight:600; }
.wx-actions{ display:flex; flex-wrap:wrap; gap:.7rem; }
.hint{ font-size:.88rem; color:#4d5f56; }
.wx-backer{ display:flex; align-items:center; gap:1rem; margin-top:1.6rem; background:var(--paper); border:1px solid var(--haze); border-radius:var(--radius); padding:1rem 1.3rem; max-width:520px; }
.wx-backer img{ max-height:56px; width:auto; }

/* ---------------------------------------------------- footer */
.valley-foot{ background:var(--deep); color:#cfdcd2; margin-top:3rem; }
.valley-foot__ridge svg{ display:block; width:100%; height:auto; color:var(--deep); }
.valley-foot__grid{ display:grid; gap:2.2rem; padding:2.6rem 0 2rem; grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr)); }
.valley-foot h2{ color:#fff; font-size:1.05rem; font-family:var(--sans); letter-spacing:.12em; text-transform:uppercase; }
.valley-foot a{ color:#bfe3d3; }
.valley-foot a:hover{ color:#fff; }
.valley-foot ul{ list-style:none; margin:0; padding:0; }
.valley-foot li{ padding:.22rem 0; }
.valley-foot address{ font-style:normal; }
.foot-brand{ display:flex; gap:.9rem; align-items:flex-start; }
.foot-brand img{ width:64px; height:64px; flex:none; }
.foot-brand__tag{ color:#ffd35c; font-weight:700; margin:.1rem 0 .5rem; }
.acknowledgement{ border-top:1px solid rgba(255,255,255,.14); padding:1.1rem 0; font-size:.92rem; color:#a9bcb0; }
.foot-legal{ border-top:1px solid rgba(255,255,255,.14); padding:1.1rem 0 1.3rem; display:flex; flex-wrap:wrap; gap:.8rem 1.6rem; justify-content:space-between; align-items:center; font-size:.92rem; }
.foot-legal p{ margin:0; }
.dmg-credit{ display:inline-flex; align-items:center; gap:.45rem; text-decoration:none; }
.dmg-credit img{ width:18px; height:18px; border-radius:4px; }
.social-row{ display:flex; gap:.7rem; margin-top:.7rem; }
.social-row a{ border:1px solid rgba(255,255,255,.25); border-radius:999px; padding:.3rem .95rem; text-decoration:none; font-weight:600; font-size:.92rem; }
.social-row a:hover{ border-color:#fff; }

/* ---------------------------------------------------- listen dock */
.dock{
  position:fixed; z-index:150; right:1rem; bottom:1rem;
  display:flex; align-items:center; gap:.75rem;
  background:var(--deep); color:#e9efe9;
  border-radius:999px; padding:.5rem .6rem .5rem .5rem;
  box-shadow:0 8px 30px rgba(16,28,22,.45);
  max-width:min(430px, calc(100vw - 2rem));
}
.dock__play{
  width:52px; height:52px; flex:none; border-radius:50%; border:0; cursor:pointer;
  background:var(--wattle); color:var(--wattle-ink);
  display:flex; align-items:center; justify-content:center;
}
.dock__play:hover{ background:#f0b32e; }
.dock__play svg{ width:26px; height:26px; fill:currentColor; }
.dock .ico-pause{ display:none; }
.dock.is-playing .ico-play{ display:none; }
.dock.is-playing .ico-pause{ display:block; }
.dock__art{ width:44px; height:44px; border-radius:10px; flex:none; object-fit:cover; background:#fff; }
.dock__meta{ display:flex; flex-direction:column; min-width:0; padding-right:.2rem; }
.dock__live{ display:inline-flex; align-items:center; gap:.4em; font-size:.68rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:#ffd35c; }
.dock__title{ font-size:.94rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:230px; }
.dock__vol{ display:flex; align-items:center; gap:.4rem; }
.dock__vol input{ width:86px; accent-color:var(--wattle); }
.dock__pop{ color:#bfe3d3; text-decoration:none; font-size:.85rem; font-weight:700; padding:.4rem .5rem; border-radius:8px; white-space:nowrap; }
.dock__pop:hover{ color:#fff; background:rgba(255,255,255,.08); }
@media (max-width:640px){
  .dock{ left:1rem; right:1rem; justify-content:flex-start; }
  .dock__vol,.dock__art{ display:none; }
  .dock__title{ max-width:none; }
  .dock__meta{ flex:1; min-width:0; }
}

/* ---------------------------------------------------- misc */
.breadcrumb{ font-size:.92rem; margin-bottom:1rem; }
.breadcrumb a{ font-weight:600; }
.pagination{ display:flex; gap:.5rem; flex-wrap:wrap; margin-top:2rem; }
.pagination a,.pagination span{ border:1px solid var(--haze); border-radius:10px; padding:.4rem .85rem; text-decoration:none; background:var(--paper); }
.pagination .active span,.pagination span[aria-current]{ background:var(--range); color:#fff; border-color:var(--range); }

@media print{
  .masthead,.dock,.valley-foot,.skip-link,.panorama__actions{ display:none!important; }
  body{ background:#fff; }
}
