/* Healthy Wildlife: the shared stylesheet (home page and guides). From prototype round 2, direction B.
   One family (Mona Sans) across its width range: wide and heavy for headlines,
   normal for reading, condensed with tabular figures for labels and numbers.
   Neutral base (white, limestone, basalt). Tongue blue is the site accent. Each
   species has a colour taken from the animal; outside the chart only one shows at a time.
   Token names, header, footer and row class names are B's, so each hero slots in. */

:root {
  --white: #FFFFFF;
  --lime: #E6E8E4;        /* limestone: alternate bands, chart tracks */
  --basalt: #16191A;      /* text, dark bands */
  --ink: #16191A;
  --ink2: #4B5150;        /* secondary text, 8.1:1 on white, 6.6:1 on limestone */
  --ink3: #6A706E;        /* quiet labels, 5.0:1 on white */
  --paper-n: #F2F3EF;     /* text on basalt */
  --ink2-n: #B3B9B6;      /* secondary text on basalt, 9.2:1 */
  --blue: #3B3DB5;        /* tongue blue (bobtail): links, buttons, the now line. 8.3:1 */
  --blue-n: #9799F5;      /* tongue blue on basalt, 6.9:1 */
  --red: #CC2936;         /* swan-bill red: warnings and "don't" only. 5.3:1 */
  --hair: rgba(22, 25, 26, .14);
  --hair2: rgba(22, 25, 26, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: 16px;
  --maxw: 1440px;
}
@media (min-width: 600px) { :root { --gut: 28px; } }
@media (min-width: 1024px) { :root { --gut: 48px; } }
@media (min-width: 1280px) { :root { --gut: 64px; } }

/* Species colours (day on light, night variant on basalt) */
.sp-magpie     { --c: #16191A; --cn: #F2F3EF; }  /* magpie black and white */
.sp-bobtail    { --c: #3B3DB5; --cn: #9799F5; }  /* tongue blue */
.sp-quenda     { --c: #94622F; --cn: #D39C60; }  /* quenda ochre */
.sp-possum     { --c: #666C73; --cn: #A6ACB3; }  /* possum grey */
.sp-boobook    { --c: #5B3A28; --cn: #C4926F; }  /* boobook brown */
.sp-kangaroo   { --c: #85776B; --cn: #C2B3A4; }  /* western grey fawn */
.sp-swan       { --c: #CC2936; --cn: #FF6B74; }  /* swan-bill red */
.sp-duck       { --c: #0E7469; --cn: #35B8A8; }  /* speculum green */
.sp-honeyeater { --c: #F2C230; --cn: #F2C230; --edge: #9A7608; }  /* honeyeater yellow, fill only */
.sp-cockatoo   { --c: #A8366A; --cn: #E883AD; }  /* Carnaby's male eye-ring */
.sp-dugite     { --c: #6E6B2F; --cn: #BDB86E; }  /* dugite olive */
.sp-rat        { --c: #7A7F7C; --cn: #B9BDBA; }  /* introduced: hatched */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Mona Sans", "Mona Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  overflow-x: clip;
}
html.static-type body { font-family: "Mona Static", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-thickness .15s var(--ease), color .15s var(--ease); }
a:hover { text-decoration-thickness: 2px; }
a:active { color: #26287F; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 1px; }
.dark :focus-visible, .blue :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; }
.cond { font-stretch: 75%; }
em.sci, i.sci { font-style: italic; }
p { margin: 0 0 1em; }

/* source chip */
.src {
  font-stretch: 75%; font-weight: 650; font-size: .72em; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; padding: 1px 4px; border-radius: 2px;
  background: rgba(59, 61, 181, .1); color: var(--blue); white-space: nowrap; vertical-align: .1em;
}
a.src:hover { background: rgba(59, 61, 181, .18); }
.dark .src { background: rgba(151, 153, 245, .16); color: var(--blue-n); }
.blue .src { background: rgba(255, 255, 255, .16); color: #fff; }
.blue a.src:hover { background: rgba(255, 255, 255, .28); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); color: var(--ink);
  border-bottom: 1px solid var(--hair);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.site-header.is-dark { background: var(--basalt); color: var(--paper-n); border-color: rgba(255,255,255,.1); }
.hdr { display: flex; align-items: center; gap: 10px; height: 60px; }
.wordmark { display: inline-flex; flex-direction: column; color: inherit; text-decoration: none; margin-right: auto; line-height: .8; }
.wm-a { font-stretch: 125%; font-weight: 900; font-size: 17.9px; letter-spacing: 0; }
.wm-b { font-stretch: 75%; font-weight: 800; font-size: 31px; letter-spacing: 0; margin-top: 1px; }
.wordmark:hover { text-decoration: none; }
.wordmark:hover .wm-b { color: var(--blue); }
.site-header.is-dark .wordmark:hover .wm-b, .site-footer .wordmark:hover .wm-b { color: var(--blue-n); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-stretch: 75%; font-weight: 650; font-size: 15px; color: inherit; text-decoration: none; padding: 8px 10px; border-radius: 2px; }
.nav a:hover { background: var(--hair); }
.nav .nav-l { display: none; }
.nav .nav-inj { background: var(--blue); color: #fff; padding: 9px 12px; transition: transform .15s var(--ease), background-color .15s; }
.nav .nav-inj:hover { background: #2E30A0; }
.nav .nav-inj:active { transform: scale(.96); }
.menu-btn {
  font: inherit; font-stretch: 75%; font-weight: 650; font-size: 15px; color: inherit;
  background: none; border: 1px solid var(--hair2); border-radius: 2px; padding: 8px 10px; cursor: pointer;
}
.site-header.is-dark .menu-btn { border-color: rgba(255,255,255,.35); }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--white); }
.menu { border-top: 1px solid var(--hair); }
.menu ul { list-style: none; margin: 0; padding: 8px var(--gut) 16px; }
.menu a { display: block; padding: 10px 0; font-stretch: 125%; font-weight: 800; font-size: 24px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--hair); }
@media (min-width: 760px) {
  .nav .nav-l { display: inline-block; }
  .menu-btn, .menu { display: none !important; }
  .hdr { height: 68px; }
}

/* ---------- Bands ---------- */
.band { padding: 56px 0 64px; }
@media (min-width: 1024px) { .band { padding: 104px 0 112px; } }
.lime { background: var(--lime); }
.dark { background: var(--basalt); color: var(--paper-n); }
.dark a { color: var(--blue-n); }
.blue { background: var(--blue); color: #fff; }
.blue a { color: #fff; }

/* Section headings: the opening words of a real search phrase; the paragraph carries on.
   They widen as they scroll into view (site.js). */
.sec {
  font-stretch: 125%; font-weight: 820;
  font-size: clamp(29px, 7.6vw, 72px); line-height: .94; letter-spacing: -.028em;
  margin: 0 0 .32em; max-width: 14em;
  transition: font-stretch .9s var(--ease);
}
.sec.is-narrow { font-stretch: 108%; }
.lede { font-size: 18px; line-height: 1.45; max-width: 36em; }
@media (min-width: 1024px) { .lede { font-size: 22px; } }
.kicker { font-stretch: 75%; font-weight: 650; font-size: 15px; margin: 0 0 10px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.dark .kicker { color: var(--ink2-n); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-stretch: 75%; font-weight: 700; font-size: 17px; line-height: 1;
  color: #fff; background: var(--blue); border: 0; border-radius: 2px;
  padding: 15px 20px; cursor: pointer; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(59, 61, 181, 0);
  transition: box-shadow .25s var(--ease), transform .15s var(--ease), background-color .15s;
}
.btn:hover { box-shadow: 0 0 0 4px rgba(59, 61, 181, .18), 0 0 26px 2px rgba(59, 61, 181, .45); text-decoration: none; }
.btn:active { transform: scale(.97); background: #2E30A0; }
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-stretch: 75%; font-weight: 700; font-size: 17px; text-decoration: none;
  border-bottom: 2px solid currentColor; padding: 4px 0;
}
.btn-line svg { transition: transform .2s var(--ease); }
.btn-line:hover svg { transform: translateX(4px); }
.btn-line:active { opacity: .7; }

/* ---------- Hero (shared base; each hero option adds its own class) ---------- */
.hero { background: var(--white); color: var(--ink); padding: 22px 0 44px; }
.hero-h {
  font-stretch: 125%; font-weight: 860;
  font-size: clamp(36px, 10vw, 118px); line-height: .9; letter-spacing: -.035em;
  margin: 0;
}
.hero-intro { font-size: 17px; color: var(--ink2); max-width: 34em; margin: 14px 0 0; }
.hx-placeholder { padding: 40px 0; border-bottom: 1px dashed var(--hair2); }
.hx-placeholder .hero-h { font-size: clamp(32px, 7vw, 72px); color: var(--ink3); }
@media (min-width: 1024px) {
  .hero { padding: 40px 0 72px; }
  .hero-intro { font-size: 20px; }
}

/* Photos: square corners, a species colour behind */
.ph {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 2; background: #CDD1CB;
}
.ph img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%);
  transition: opacity .22s var(--ease), transform .45s var(--ease);
}
.ph-empty {
  position: absolute; inset: 6px; border: 1px dashed currentColor; opacity: .7;
  display: grid; place-items: center; text-align: center; padding: 6px;
  font-stretch: 75%; font-weight: 650; font-size: 12.5px; line-height: 1.15; color: var(--ink2);
}
.eye {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0 28%, rgba(255,255,255,.75) 42%, rgba(255,255,255,0) 72%);
  box-shadow: 0 0 10px 3px rgba(255,255,255,.5); pointer-events: none;
}
.rank {
  position: absolute; left: 0; top: 0; z-index: 2;
  background: var(--basalt); color: #fff;
  font-stretch: 75%; font-weight: 800; font-size: 14px; line-height: 1; font-variant-numeric: tabular-nums;
  padding: 6px 7px 5px;
}

/* ---------- 1. Who do I call (injured) ---------- */
.inj { display: grid; gap: 40px; }
.blue .lede { color: #E9EAFB; }
.states { border: 0; margin: 22px 0 22px; padding: 0; min-width: 0; }
.states legend { font-stretch: 75%; font-weight: 650; font-size: 14px; margin-bottom: 8px; padding: 0; color: #E9EAFB; }
.st-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.st-opts label { position: relative; display: block; }
.st-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-opts span {
  display: block; text-align: center; padding: 11px 0 10px;
  font-stretch: 75%; font-weight: 750; font-size: 16px; line-height: 1;
  border: 1.5px solid rgba(255,255,255,.55); border-radius: 2px;
  transition: background-color .15s var(--ease), color .15s, transform .15s var(--ease);
}
.st-opts label:hover span { border-color: #fff; }
.st-opts input:checked + span { background: #fff; color: var(--blue); border-color: #fff; }
.st-opts input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.st-opts label:active span { transform: scale(.95); }
.inj-org { font-stretch: 112%; font-weight: 800; font-size: 21px; line-height: 1.15; margin: 0 0 4px; }
.inj-num {
  display: inline-block; font-stretch: 75%; font-weight: 820; font-size: clamp(50px, 15vw, 96px); line-height: .95;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: #fff; text-decoration: none;
  border-bottom: 3px solid rgba(255,255,255,.4); padding-bottom: 4px; margin: 4px 0 14px;
  transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.inj-num:hover { border-color: #fff; }
.inj-num:active { transform: scale(.98); }
.inj-hours { font-size: 15.5px; color: #E9EAFB; margin: 0 0 10px; max-width: 34em; }
.inj-extra { font-size: 15.5px; margin: 0 0 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); }
.inj-extra a:not(.src) { white-space: nowrap; font-stretch: 75%; font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; text-decoration: none; }
.inj-src { font-stretch: 75%; font-size: 13.5px; color: #E3E4FA; margin: 0; }
.inj-steps h3 { font-stretch: 112%; font-weight: 800; font-size: 21px; line-height: 1.15; margin: 0 0 12px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.25); font-size: 15.5px; line-height: 1.42; }
.steps li::before { content: counter(s, decimal-leading-zero); font-stretch: 75%; font-weight: 800; font-size: 17px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.steps b { font-weight: 700; }
.inj-notes { margin: 18px 0 16px; display: grid; gap: 12px; }
.inj-notes p { margin: 0; font-size: 15.5px; line-height: 1.42; color: #E9EAFB; }
.inj-notes b { color: #fff; font-weight: 700; }
.inj-flu { margin-top: 0; }
@media (min-width: 1024px) {
  .inj { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 72px; align-items: start; }
  .st-opts { grid-template-columns: repeat(8, 1fr); }
  .inj-steps { padding-top: 10px; }
  .steps li { font-size: 16.5px; }
}

/* ---------- 2. Problems (Animals in my backyard) ---------- */
.pr-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; border-top: 3px solid var(--ink); }
.pr { border-bottom: 1px solid var(--hair2); }
.pr-link {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 18px; column-gap: 14px; align-items: center;
  padding: 12px 0; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.pr-link:hover { text-decoration: none; }
.pr-ph { position: relative; aspect-ratio: 4 / 3; transition: transform .2s var(--ease); }
.pr-ph::before { content: ""; position: absolute; inset: 0; background: var(--c, var(--ink)); }
.pr-ph .ph { position: absolute; inset: 0; aspect-ratio: auto; transition: transform .25s var(--ease); }
.pr-txt { min-width: 0; }
.pr-t { display: block; font-stretch: 108%; font-weight: 800; font-size: 19px; line-height: 1.06; letter-spacing: -.015em; transition: font-stretch .45s var(--ease); }
.pr-a { display: block; font-size: 14px; line-height: 1.35; color: var(--ink2); margin-top: 5px; }
.pr-go { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.pr-else .pr-link { grid-template-columns: minmax(0, 1fr) 18px; background: var(--blue); color: #fff; padding: 16px; margin: 10px 0; }
.pr-else .pr-a { color: #E9EAFB; }
.pr-else .pr-a b { color: #fff; font-stretch: 75%; font-size: 1.15em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-else { border-bottom: 0; }
@media (hover: hover) {
  .pr-link:hover .pr-ph .ph { transform: translate(-5px, -5px); }
  .pr-link:hover .pr-t { font-stretch: 125%; }
  .pr-link:hover .pr-go { transform: translateX(4px); }
  .pr-else .pr-link:hover { background: #2E30A0; }
}
.pr-link:focus-visible .pr-ph .ph { transform: translate(-5px, -5px); }
.pr-link:active .pr-ph { transform: scale(.96); }
.pr-link:active { background: rgba(22,25,26,.04); }
@media (min-width: 760px) {
  .pr-list { grid-template-columns: 1fr 1fr; column-gap: 44px; }
  .pr-link { grid-template-columns: 148px minmax(0, 1fr) 22px; column-gap: 22px; padding: 18px 0; }
  .pr-t { font-size: clamp(22px, 2.3vw, 30px); }
  .pr-a { font-size: 15.5px; }
  .pr-go { width: 22px; height: 22px; }
  .pr-else { border-bottom: 1px solid var(--hair2); }
  .pr-else .pr-link { margin: 18px 0; padding: 22px; min-height: calc(100% - 36px); }
}

/* ---------- 3. Can you feed it? ---------- */
.feed { display: grid; gap: 30px; }
.fw, .fw-f { color: var(--blue); }
.pick { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.pick legend { font-stretch: 75%; font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; color: var(--ink2); }
.pick-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-opts label { position: relative; display: block; }
.pick-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-opts span {
  display: block; padding: 11px 13px 10px;
  font-stretch: 75%; font-weight: 750; font-size: 16.5px; line-height: 1;
  border: 1.5px solid var(--ink); border-radius: 2px;
  transition: background-color .15s var(--ease), color .15s, transform .15s var(--ease);
}
.pick-opts label:hover span { background: rgba(22,25,26,.07); }
.pick-opts input:checked + span { background: var(--ink); color: #fff; }
.pick-opts input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.pick-opts label:active span { transform: scale(.95); }
.fa { border-top: 3px solid var(--ink); padding-top: 14px; min-height: 11.5em; }
.fa-big { font-stretch: 112%; font-weight: 840; font-size: clamp(32px, 8.6vw, 60px); line-height: .98; letter-spacing: -.025em; margin: 0 0 14px; }
.fa-word { color: var(--ink); }
.fa.is-no .fa-word { color: var(--red); }
.fa.is-yes .fa-word { color: var(--blue); }
.fa-why { font-size: 18px; line-height: 1.45; max-width: 32em; margin: 0; }
.fa-note { font-size: 14px; line-height: 1.45; color: var(--ink2); margin: 20px 0 0; max-width: 34em; padding-top: 12px; border-top: 1px solid var(--hair2); }
@media (min-width: 1024px) {
  .feed { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 72px; align-items: start; }
  .feed-a { position: sticky; top: 110px; margin-top: 10px; }
  .fa { min-height: 0; }
  .fa-big { font-size: clamp(44px, 4.6vw, 72px); }
  .fa-why { font-size: 20px; }
}

/* ---------- 4. Guides: wide rows ---------- */
.g-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 3px solid var(--ink); }
.g-row { border-bottom: 1px solid var(--hair2); }
.g-link {
  display: grid; grid-template-columns: 116px minmax(0, 1fr) 18px; grid-template-areas: "ph txt go" "ph bar go";
  column-gap: 14px; row-gap: 8px; align-items: center;
  padding: 14px 0; color: inherit; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.g-ph { grid-area: ph; align-self: center; }
.g-txt { grid-area: txt; align-self: end; }
.g-barwrap { grid-area: bar; align-self: start; }
.g-go { grid-area: go; }
.g-link:hover { text-decoration: none; }
.g-ph { position: relative; aspect-ratio: 3 / 2; transition: transform .25s var(--ease); }
.g-ph::before { content: ""; position: absolute; inset: 0; background: var(--c); transform: translate(0, 0); transition: transform .25s var(--ease); }
.g-ph .ph { position: absolute; inset: 0; aspect-ratio: auto; transition: transform .25s var(--ease); }
.g-txt { display: block; min-width: 0; }
.g-q { display: block; font-stretch: 112%; font-weight: 800; font-size: 19px; line-height: 1.06; letter-spacing: -.015em; }
.g-sp { display: block; font-size: 13px; color: var(--ink2); margin-top: 4px; line-height: 1.3; }
.g-sp i { font-style: italic; }
.g-barwrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: center; }
.g-barwrap .g-hrs { grid-column: 1; }
.g-bar { position: relative; display: block; height: 13px; border-bottom: 1px solid var(--hair2); }
.g-bar .seg { position: absolute; bottom: 0; border-radius: 2px 2px 0 0; background: #7A807D; opacity: 1; transition: background-color .35s var(--ease), opacity .35s; }
.g-row.is-lit .g-bar .seg { background: var(--c); opacity: 1; }
.g-row.is-lit.sp-honeyeater .g-bar .seg { box-shadow: inset 0 1.5px 0 var(--edge), inset 1px 0 0 var(--edge), inset -1px 0 0 var(--edge); }
.sp-rat .g-bar .seg { background: repeating-linear-gradient(135deg, #7A807D 0 2px, transparent 2px 4.5px); }
.g-row.is-lit.sp-rat .g-bar .seg { background: repeating-linear-gradient(135deg, var(--c) 0 2px, transparent 2px 4.5px); }
.g-now { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--blue); transition: left .35s var(--ease); }
.g-hrs { display: none; }
.g-nohrs { display: block; font-stretch: 75%; font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--ink3); }
.g-out.is-off { visibility: hidden; }
.g-out { display: inline-block; white-space: nowrap; grid-column: 2; grid-row: 1; align-self: center; font-stretch: 75%; font-weight: 700; font-size: 12px; line-height: 1; padding: 3px 5px 2px; margin-left: 6px; border-radius: 2px; background: var(--ink); color: var(--white); vertical-align: .12em; }
.g-go { width: 18px; height: 18px; color: var(--ink); transition: transform .2s var(--ease); }
@media (hover: hover) {
  .g-link:hover .g-ph .ph { transform: translate(-5px, -5px); }
  .g-link:hover .g-go { transform: translateX(4px); }
}
.g-link:focus-visible .g-ph .ph { transform: translate(-5px, -5px); }
.g-link:active .g-ph { transform: scale(.96); }
.g-link:active .g-ph .ph { transform: none; }
.g-link:active { background: rgba(22,25,26,.04); }
@media (min-width: 760px) {
  .g-link { grid-template-columns: 200px minmax(0, 1fr) minmax(220px, 300px) 24px; grid-template-areas: "ph txt bar go"; column-gap: 28px; padding: 18px 0; }
  .g-txt, .g-barwrap { align-self: center; }
  .g-q { font-size: clamp(24px, 2.6vw, 36px); }
  .g-sp { font-size: 15px; }
  .g-bar { height: 22px; }
  .g-hrs { display: flex; justify-content: space-between; margin-top: 5px; font-stretch: 75%; font-size: 12px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; }
  .g-go { width: 24px; height: 24px; }
}

/* ---------- 5. This month in WA ---------- */
.season .lede { color: var(--ink2-n); }
.season .lede strong { color: var(--paper-n); }
.yr { margin: 34px 0 0; display: grid; gap: 16px; max-width: 980px; }
.yr-lab { margin: 0 0 7px; font-stretch: 75%; font-size: 14px; line-height: 1.3; color: var(--ink2-n); }
.yr-lab b { color: #fff; font-weight: 750; font-size: 15.5px; margin-right: 4px; }
.yr-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.yr-col { min-width: 0; }
.yr-bar { height: 42px; position: relative; background: rgba(255,255,255,.07); }
.yr-bar b { position: absolute; left: 0; right: 0; bottom: 0; background: var(--cn); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.yr-bar b.part { background: repeating-linear-gradient(135deg, var(--cn) 0 2px, transparent 2px 6px); }
.yr-track:nth-child(2) .yr-bar b { transition-delay: .12s; }
.yr.is-hidden .yr-bar b { transform: scaleY(0); }
.yr-col.is-now .yr-bar { outline: 2px solid var(--blue-n); outline-offset: 2px; }
.yr-ms { margin-top: -6px; }
.yr-m { font-stretch: 75%; font-weight: 650; font-size: 13px; text-align: center; color: var(--ink2-n); font-variant-numeric: tabular-nums; }
.yr-m.is-now { color: #fff; font-weight: 800; }
.bignums { display: grid; grid-template-columns: 1fr; gap: 0; margin: 36px 0 30px; padding: 0; }
.bignums div { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 14px; align-items: baseline; border-top: 1px solid rgba(255,255,255,.25); padding: 14px 0; }
.bignums dt { font-stretch: 75%; font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: #fff; }
.bignums dd { margin: 0; font-size: 14.5px; line-height: 1.35; color: var(--ink2-n); }
.season-links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
@media (min-width: 760px) {
  .bignums { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .bignums div { display: block; padding: 10px 0 0; }
  .bignums dd { margin-top: 8px; }
  .bignums dt { font-size: 56px; }
  .yr-bar { height: 64px; }
  .yr-m { font-size: 15px; }
}

/* ---------- 6. The 24-hour chart (tidied) ---------- */
.acto-wrap { --rowh: 27px; --labw: 84px; --axh: 32px; min-width: 0; margin-top: 30px; max-width: 1180px; }
.acto-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 2px; font-stretch: 75%; }
.acto-title { margin: 0; font-size: 16px; font-weight: 750; }
.acto-sunline { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; }
.acto {
  position: relative; touch-action: pan-y;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.acto-plotwrap { position: relative; }
.acto-axis { position: relative; height: var(--axh); margin-left: var(--labw); font-stretch: 75%; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink2); }
.acto-axis span { position: absolute; bottom: 8px; transform: translateX(-50%); white-space: nowrap; transition: opacity .15s; }
.acto-axis span:first-child { transform: none; }
.acto-axis span:last-of-type { transform: translateX(-100%); }
.acto-axis span.is-covered { opacity: 0; }
.acto-axis i { position: absolute; bottom: 0; width: 1px; height: 5px; background: currentColor; opacity: .55; }
.acto-axis i.maj { height: 8px; opacity: .9; }
.acto-stage { position: relative; }
.acto-shade { position: absolute; left: var(--labw); right: 0; top: 0; bottom: 0; --sh-n: #ECEEEA; --sh-d: rgba(255,255,255,0); }
.acto-grid {
  position: absolute; left: var(--labw); right: 0; top: 0; bottom: 0; pointer-events: none;
  background:
    linear-gradient(var(--hair), var(--hair)) 25% 0 / 1px 100% no-repeat,
    linear-gradient(var(--hair), var(--hair)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--hair), var(--hair)) 75% 0 / 1px 100% no-repeat;
}
.acto-row { position: relative; height: var(--rowh); transition: opacity .3s var(--ease); }
.acto-lab {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--labw);
  display: flex; align-items: center; gap: 5px; padding: 0 6px 0 0; margin: 0;
  font: inherit; font-stretch: 75%; font-weight: 700; font-size: 13.5px; line-height: 1; text-align: left;
  color: inherit; background: none; border: 0; cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: color .3s var(--ease);
}
.acto-trk { position: absolute; left: var(--labw); right: 0; top: 4px; bottom: 3px; }
.acto-trk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair2); }
.seg { position: absolute; bottom: 0; background: var(--c); border-radius: 2px 2px 0 0; transition: background-color .5s var(--ease), opacity .3s var(--ease), filter .3s; }
.acto .sp-honeyeater .seg { box-shadow: inset 0 1.5px 0 var(--edge), inset 1px 0 0 var(--edge), inset -1px 0 0 var(--edge); }
.acto .sp-rat .seg { background: repeating-linear-gradient(135deg, var(--c) 0 2px, transparent 2px 4.5px); }
.acto-row.is-quiet .seg { opacity: .38; filter: grayscale(1); }
.acto-row.is-quiet .acto-lab { color: var(--ink3); }
.acto.has-focus .acto-row { opacity: .16; }
.acto.has-focus .acto-row.is-focus { opacity: 1; }
.acto.has-focus .acto-row.is-focus .seg { opacity: 1; filter: none; }
.acto.has-focus .acto-row.is-focus .acto-lab { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.acto-now { position: absolute; left: var(--labw); right: 0; top: 0; bottom: 0; pointer-events: none; z-index: 3; }
.acto-line { position: absolute; top: calc(var(--axh) - 4px); bottom: -6px; left: 0; width: 2px; margin-left: -1px; background: var(--blue); will-change: transform; }
.acto-pill {
  position: absolute; top: 2px; left: 0; height: 26px; padding: 0 9px;
  background: var(--blue); color: #fff; border-radius: 2px;
  font-stretch: 75%; font-weight: 750; font-size: 14px; line-height: 26px; font-variant-numeric: tabular-nums; white-space: nowrap;
  pointer-events: auto; cursor: grab; touch-action: none; will-change: transform;
}
.acto.is-dragging .acto-pill { cursor: grabbing; }
.scrub { display: block; margin: 4px 0 0 var(--labw); width: calc(100% - var(--labw)); }
input[type="range"].range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"].range::-webkit-slider-runnable-track { height: 2px; background: var(--hair2); }
input[type="range"].range::-moz-range-track { height: 2px; background: var(--hair2); }
input[type="range"].range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 30px; margin-top: -14px; border-radius: 2px; background: var(--blue); border: 3px solid #fff; box-sizing: border-box; }
input[type="range"].range::-moz-range-thumb { width: 14px; height: 30px; border-radius: 2px; background: var(--blue); border: 3px solid #fff; }
input[type="range"].range:focus-visible { outline-offset: 0; }
.acto-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 6px 0 0 var(--labw); }
.chip {
  font: inherit; font-stretch: 75%; font-weight: 700; font-size: 15px; line-height: 1;
  padding: 10px 13px; border-radius: 2px; cursor: pointer;
  color: inherit; background: transparent; border: 1.5px solid currentColor;
  transition: transform .15s var(--ease), background-color .15s, color .15s;
}
.chip:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.acto-hint { font-stretch: 75%; font-size: 13.5px; color: var(--ink2); margin: 0; flex-basis: 100%; }
.acto-read { min-height: 2.9em; margin: 14px 0 0 var(--labw); font-size: 15px; line-height: 1.42; color: var(--ink2); max-width: 46em; }
.acto-read strong { color: var(--ink); font-weight: 700; }
.prov { font-size: 13px; color: var(--ink3); margin: 14px 0 0; }
@media (min-width: 600px) {
  .acto-wrap { --rowh: 31px; --labw: 110px; }
  .acto-lab { font-size: 15px; }
  .acto-hint { flex-basis: auto; }
}
@media (min-width: 1024px) {
  .acto-wrap { --rowh: 35px; --labw: 132px; --axh: 36px; }
  .acto-lab { font-size: 16px; }
  .acto-axis { font-size: 13px; }
  .acto-title { font-size: 17px; }
}

/* ---------- 7. Sign-up ---------- */
.su { display: grid; gap: 34px; }
.offer { font-size: 19px; margin: 18px 0 14px; }
.offer strong { font-weight: 750; }
.su-form label { display: block; font-stretch: 75%; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.su-row { display: grid; gap: 8px; }
.su-row input { font: inherit; font-size: 17px; padding: 14px 14px; border: 2px solid var(--ink); border-radius: 2px; background: #fff; color: var(--ink); min-width: 0; }
.su-row input:focus-visible { outline-offset: 0; }
.fine { font-size: 13.5px; color: var(--ink2); margin: 10px 0 0; max-width: 34em; }
.su-msg { font-stretch: 75%; font-weight: 700; font-size: 15px; color: var(--blue); min-height: 1.4em; margin: 8px 0 0; }
.fridge { margin: 0; background: var(--white); border: 2px solid var(--ink); max-width: 420px; width: 100%; display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease); }
.fr-top { background: var(--ink); color: #fff; padding: 14px 16px 12px; }
.fr-top b { display: block; font-stretch: 125%; font-weight: 850; font-size: 22px; line-height: 1; letter-spacing: -.02em; }
.fr-top span { font-stretch: 75%; font-size: 13px; color: var(--ink2-n); }
.fr-cols { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }
.fr-cols > div { padding: 12px 14px; }
.fr-cols > div + div { border-left: 1px solid var(--hair2); }
.fr-cols h4 { margin: 0 0 8px; font-stretch: 75%; font-weight: 800; font-size: 15px; }
.fr-cols .no h4 { color: var(--red); }
.fr-cols .yes h4 { color: var(--blue); }
.fr-cols ul { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.3; }
.fr-cols li { padding: 6px 0; border-top: 1px solid var(--hair); }
.fridge figcaption { font-stretch: 75%; font-size: 12px; color: var(--ink2); padding: 8px 14px; border-top: 1px solid var(--hair2); }
@media (hover: hover) { .fridge:hover { transform: rotate(-1.2deg) translateY(-4px); } }
@media (min-width: 600px) { .su-row { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 1024px) {
  .su { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: center; }
  .fridge { justify-self: end; aspect-ratio: 1 / 1.25; }
}

/* ---------- 8. About strip ---------- */
.about { border-top: 1px solid var(--hair); }
.about-big { font-stretch: 112%; font-weight: 650; font-size: clamp(22px, 5.6vw, 44px); line-height: 1.12; letter-spacing: -.018em; max-width: 26em; margin: 0 0 22px; }
.about-cols { display: grid; gap: 14px; max-width: 64em; font-size: 16px; color: var(--ink2); }
@media (min-width: 760px) { .about-cols { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.about-more { margin: 26px 0 0; }

/* ---------- 9. Footer ---------- */
.site-footer { background: var(--basalt); color: var(--paper-n); padding: 48px 0 36px; font-size: 15px; }
.site-footer a { color: var(--paper-n); }
.ft-top { display: grid; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.15); }
.ft-tag { font-stretch: 112%; font-weight: 700; font-size: 19px; margin: 12px 0 0; color: var(--paper-n); }
.ft-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-stretch: 75%; font-weight: 650; font-size: 16px; }
.credits { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.credits h2 { font-stretch: 75%; font-weight: 750; font-size: 15px; margin: 0 0 8px; }
.credits ul { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 32px; font-size: 13px; line-height: 1.45; color: var(--ink2-n); }
.credits li { break-inside: avoid; padding: 2px 0; }
.credits a { color: var(--ink2-n); }
.cr-note { font-stretch: 75%; font-size: 12.5px; color: var(--ink2-n); margin: 10px 0 0; }
.proto { margin: 22px 0 0; font-stretch: 75%; font-weight: 700; font-size: 15px; color: #fff; }
.proto span { color: var(--ink2-n); font-weight: 500; }
@media (min-width: 760px) {
  .ft-top { grid-template-columns: 1fr auto; align-items: end; }
  .credits ul { columns: 2; }
}
@media (min-width: 1280px) { .credits ul { columns: 3; } }

/* A short note, for example when someone taps a guide that isn't written yet */
.toast {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80; margin: 0;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 2px; width: max-content; max-width: calc(100vw - 32px);
  font-stretch: 75%; font-weight: 700; font-size: 15px; line-height: 1.3;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Guides not written yet: shown, marked "coming soon", not links ---------- */
.soon {
  display: inline-block; vertical-align: .12em;
  font-stretch: 75%; font-weight: 700; font-size: 11px; line-height: 1; font-style: normal; letter-spacing: 0;
  padding: 3px 5px 2px; margin-left: 4px; border: 1px solid currentColor; border-radius: 2px;
  color: var(--ink2); white-space: nowrap;
}
.dark .soon, .blue .soon { color: var(--ink2-n); }
.is-soon > .g-link, .is-soon > .pr-link { cursor: default; }
.is-soon > .g-link:active, .is-soon > .pr-link:active { background: none; }
.is-soon .g-link:active .g-ph, .is-soon .pr-link:active .pr-ph { transform: none; }
@media (hover: hover) {
  .is-soon .g-link:hover .g-ph .ph, .is-soon .pr-link:hover .pr-ph .ph { transform: none; }
  .is-soon .pr-link:hover .pr-t { font-stretch: 108%; }
}
.btn-line.is-soon { border-bottom-style: dashed; opacity: .8; cursor: default; }
.btn-line.is-soon:active { opacity: .8; }

/* ---------- Reduced motion: every feature, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.no-trans, .no-trans *, .no-trans *::before, .no-trans *::after { transition: none !important; }
