/* Out on Campus: Down Under. Built on the US Out on Campus design (dark editorial, Inter,
   numbered sections), re-branded for Australia: sunset gradient (pink > coral > wattle gold)
   and a hero map drawn from the data instead of decorative glow. Single committed dark theme. */
@font-face {
  font-family: 'Inter';
  src: url('InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0F0B12;
  --bg-2: #15101A;
  --bg-3: #1C1622;
  --ink: #F6F5F2;
  --ink-2: #CFC9D4;
  --ink-3: #9A93A2;
  --ink-4: #8E8698;  /* 5:1 on every panel colour (was #7A7283, under 4.5:1) */
  --pink-text: #F0669A; /* pink for small text and links: 6:1 on panels */
  --rule: #2A2333;
  --rule-2: #221B2B;
  --pink: #E7407C;
  --coral: #EF805E;
  --wattle: #F2B33D;
  --grad: linear-gradient(100deg, var(--pink), var(--coral) 55%, var(--wattle));
  --flag: #DE9B4A;
  --flag-line: #C87A22;
  --good: #4FBE8C;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16.5px/1.65 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--pink); color: #fff; }
a { color: inherit; text-decoration: underline; text-decoration-color: rgba(231,64,124,.55); text-underline-offset: 3px; }
a:hover { color: var(--pink-text); text-decoration-color: var(--pink-text); }
:focus-visible { outline: 2px solid var(--wattle); outline-offset: 2px; }

/* ---------- brand bar ---------- */
.topbar {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--ink-3);
}
.topbar .logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.topbar .logo svg { height: 17px; width: auto; display: block; }
.topbar .logo span { color: var(--ink-3); font-weight: 500; }
.topbar .meta { letter-spacing: .04em; }

/* ---------- masthead ---------- */
.masthead { max-width: 1180px; margin: 0 auto; padding: 64px 24px 10px; position: relative; }
.mast-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: start; margin-top: 8px; }
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 26px;
}
h1 {
  margin: 0; font-size: clamp(52px, 10.4vw, 132px);
  font-weight: 900; letter-spacing: -.045em; line-height: .94; color: var(--ink);
}
h1 .l2 { display: block; }
.h1-grad {
  background: linear-gradient(100deg, var(--pink) 0%, var(--coral) 28%, var(--wattle) 50%, var(--coral) 72%, var(--pink) 100%);
  background-size: 260% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite alternate;
  padding-bottom: .06em;
}
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.kicker, h1, .subtitle, .pride-rule, .standfirst { animation: rise .7s cubic-bezier(.2,.7,.2,1) backwards; }
h1 { animation-delay: .08s; } .subtitle { animation-delay: .16s; } .pride-rule { animation-delay: .24s; } .standfirst { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.subtitle {
  font-size: clamp(17px, 2.2vw, 22px); font-weight: 300;
  color: var(--ink-2); letter-spacing: .01em; margin: 16px 0 24px;
}
.pride-rule { display: flex; height: 3px; max-width: 280px; }
.pride-rule span { flex: 1; }
.pride-rule span:nth-child(1){background:#E23B3B}.pride-rule span:nth-child(2){background:#EF805E}
.pride-rule span:nth-child(3){background:#E9C46A}.pride-rule span:nth-child(4){background:#4FBE8C}
.pride-rule span:nth-child(5){background:#5B9BD5}.pride-rule span:nth-child(6){background:#B07FD6}
.standfirst {
  max-width: 600px; margin: 28px 0 0;
  font-size: clamp(18px, 2.1vw, 20.5px); font-weight: 350; line-height: 1.6; color: var(--ink-2);
}
.standfirst strong { color: var(--ink); font-weight: 700; }

/* hero map: every university, plotted where its main campus is, coloured by score band */
.hero-map { position: relative; margin: -24px 0 0; }
.map-stage { position: relative; }
.hero-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-map .land { fill: #2A2233; stroke: #564A63; stroke-width: 1.2; stroke-linejoin: round; }
.hero-map .dot { stroke: var(--bg); stroke-width: 3; cursor: pointer; transform-box: fill-box; transform-origin: center;
  transition: opacity .2s, transform .15s; outline: none; }
.hero-map .dot:hover, .hero-map .dot:focus-visible, .hero-map .dot.on { transform: scale(1.45); stroke: var(--ink); stroke-width: 2.5; }
.hero-map .lead { stroke: #6A5E78; stroke-width: 1.4; transition: opacity .2s; }
.hero-map.filtering .dot:not(.match) { opacity: .14; }
.hero-map.filtering .lead { opacity: .25; }
.maplabs { position: absolute; inset: 0; pointer-events: none; }
.maplab { position: absolute; transform: translateY(-50%); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap; line-height: 1.25; text-shadow: 0 0 4px var(--bg), 0 0 8px var(--bg); }
.maplab.l { transform: translate(-100%, -50%); text-align: right; }
.maplab small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--wattle); }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 6px; margin-top: 14px; justify-content: flex-end; }
.lg-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.lg { font: 600 12.5px var(--font); color: var(--ink-2); background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  padding: 5px 11px 5px 8px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; transition: border-color .15s, background .15s; }
.lg i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lg .lg-n { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.lg:hover { border-color: var(--ink-3); }
.lg[aria-pressed="true"] { border-color: var(--ink); background: var(--bg-3); color: var(--ink); }
.hero-map figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; text-align: right; max-width: 560px; margin-left: auto; }
.tip {
  position: absolute; z-index: 20; pointer-events: none; transform: translate(-50%, calc(-100% - 16px));
  background: var(--bg-3); border: 1px solid #3A3145; border-radius: 6px; padding: 9px 12px 10px; min-width: 190px; max-width: 260px;
  font-size: 13.5px; line-height: 1.35; color: var(--ink); opacity: 0; transition: opacity .12s; box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.tip.on { opacity: 1; }
.tip.below { transform: translate(-50%, 16px); }
.tip.pinned { pointer-events: auto; }
.tip .t-rank { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tip b { display: block; font-weight: 750; margin: 2px 0 4px; white-space: normal; }
.tip .t-score { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.tip .t-score i { width: 11px; height: 11px; border-radius: 50%; }
.tip .t-score span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.tip small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.tip .t-go { display: block; margin-top: 7px; font-size: 12.5px; color: var(--pink-text); font-weight: 650; }
.js .hero-map .dot { animation: pop .5s cubic-bezier(.2,1.4,.4,1) backwards; }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* hero lookup */
.lookup { display: none; margin: 30px 0 0; max-width: 520px; }
.js .lookup { display: block; animation: rise .7s cubic-bezier(.2,.7,.2,1) .4s backwards; }
.lookup label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin-bottom: 8px; }
.lookup-row { display: flex; gap: 8px; }
.lookup input { flex: 1; min-width: 0; font: 500 16px var(--font); color: var(--ink); background: var(--bg-3); border: 1px solid #3A3145;
  border-radius: 4px; padding: 11px 13px; }
.lookup input::placeholder { color: var(--ink-4); }
.lookup input:focus { outline: none; border-color: var(--pink); }
.lookup button { font: 700 14px var(--font); color: #1C1420; background: var(--wattle); border: 0; border-radius: 4px; padding: 0 16px; cursor: pointer; }
.lookup button:hover { background: #F7C84F; }
.lookup-out:empty { display: none; }
.lookup-out { margin-top: 12px; border-left: 3px solid var(--rule); padding: 8px 0 8px 14px; font-size: 15px; color: var(--ink-2); }
.lookup-out b { color: var(--ink); }
.lookup-out .lo-score { font-size: 26px; font-weight: 850; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 8px; letter-spacing: -.02em; }
.lookup-out a { color: var(--pink-text); font-weight: 650; }

/* ---------- sticky nav ---------- */
.toc {
  position: sticky; top: 0; z-index: 30;
  background: #0F0B12; border-bottom: 1px solid var(--rule);
  margin-top: 46px; padding: 13px 16px;
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.toc a { text-decoration: none; color: var(--ink-3); transition: color .15s; }
.toc a:hover { color: var(--ink); }

/* ---------- sections ---------- */
main { max-width: 1080px; margin: 0 auto; padding: 0 24px 90px; }
section { margin-top: 110px; position: relative; scroll-margin-top: 60px; }
h2 {
  font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.06; margin: 0 0 10px; padding-top: 26px;
}
h2::before {
  content: attr(data-n); display: block; font-size: 13px; font-weight: 700;
  letter-spacing: .3em; margin-bottom: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
section > h2 { border-top: 1px solid var(--rule); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 10px; }
.section-note { color: var(--ink-3); max-width: 700px; margin: 8px 0 30px; font-size: 15.5px; }
.prose { max-width: 720px; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose p { margin: 0 0 16px; }
.small { font-size: 14px; color: var(--ink-3); }

/* ---------- findings ---------- */
.findings-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 34px 40px; margin: 40px 0 38px;
}
.finding { border-top: 1px solid var(--rule); padding-top: 20px; }
.fig {
  font-size: clamp(46px, 6vw, 68px); line-height: 1; font-weight: 850; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fig .of { font-size: .42em; letter-spacing: -.01em; font-weight: 700; }
.cap { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; max-width: 250px; }

/* ---------- feature lists ---------- */
.feature-list { list-style: none; counter-reset: fl; margin: 0; padding: 0; max-width: 900px; }
.feature-list li {
  counter-increment: fl; display: grid; grid-template-columns: 64px 1fr auto; gap: 18px;
  align-items: baseline; padding: 17px 10px; border-bottom: 1px solid var(--rule-2);
  transition: background .15s;
}
.feature-list li:hover { background: var(--bg-2); }
.feature-list li::before {
  content: counter(fl, decimal-leading-zero);
  font-size: 22px; font-weight: 200; color: var(--ink-4); font-variant-numeric: tabular-nums;
}
.feature-list.worst li::before { content: attr(data-rank); }
.feature-list .nm { font-size: 18.5px; font-weight: 650; letter-spacing: -.01em; }
.feature-list .nm a { text-decoration: none; }
.feature-list .nm .loc { font-size: 13px; font-weight: 400; color: var(--ink-4); margin-left: 10px; white-space: nowrap; }
.feature-list .why { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-top: 4px; }
.feature-list .sc {
  font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.feature-list .sc .sw { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.feature-list .why .fl { color: var(--flag); }

/* ---------- state by state ---------- */
.law-wrap { border: 1px solid var(--rule); border-radius: 4px; overflow-x: auto; }
table.law { border-collapse: collapse; width: 100%; font-size: 13.5px; min-width: 860px; }
.law th, .law td { padding: 10px 10px; border-bottom: 1px solid var(--rule-2); text-align: center; vertical-align: top; }
.law thead th { background: var(--bg-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--ink-2); position: sticky; top: 0; }
.law th.rowh, .law td.rowh { text-align: left; color: var(--ink-2); font-weight: 550; min-width: 230px; }
.law td.rowh small { display: block; color: var(--ink-4); font-weight: 400; font-size: 12px; }
.mk { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; position: relative; box-sizing: border-box; }
.mk.y { background: var(--good); }
.mk.y::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid #0F0B12; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mk.p { border: 2px solid var(--wattle); background: linear-gradient(90deg, var(--wattle) 50%, transparent 50%); }
.mk.n { border: 1.5px solid var(--ink-4); }
.mk.neg { background: var(--coral); }
.mk.neg::after { content: "!"; position: absolute; inset: 0; text-align: center; font: 900 11px/16px var(--font); color: #0F0B12; }
.law td.c-y { background: rgba(79,190,140,.07); }
.law td.c-p { background: rgba(242,179,61,.07); }
.law td.c-neg { background: rgba(239,128,94,.13); }
.law tr.total td { background: var(--bg-2); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.law td span.k { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-top: 4px; line-height: 1.25; }
.law td[data-tip] { cursor: help; }
.legend-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.legend-row .mk { margin-right: 4px; }
.law-notes { margin-top: 26px; }
.law-notes li { margin-bottom: 8px; }

/* ---------- table controls ---------- */
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 14px; margin: 26px 0 14px; }
.controls input[type=search], .controls select {
  font: 500 14px var(--font); color: var(--ink); background: var(--bg-3);
  border: 1px solid var(--rule); border-radius: 3px; padding: 9px 12px; transition: border-color .15s;
}
.controls input[type=search]:focus, .controls select:focus { outline: none; border-color: var(--pink); }
.controls input[type=search] { min-width: 330px; }
.controls input::placeholder { color: var(--ink-4); }
.count { margin-left: auto; color: var(--ink-4); font-variant-numeric: tabular-nums; font-size: 13px; }
.empty-note { display: none; padding: 18px 14px; color: var(--ink-3); font-size: 14.5px; border-bottom: 1px solid var(--rule-2); }
.empty-note.on { display: block; }

/* ---------- league table ---------- */
.table-wrap { border: 1px solid var(--rule); border-radius: 4px; }
table#league { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 900px; }
#league thead th {
  position: sticky; top: var(--toc-h, 45px); z-index: 5; background: var(--bg-2);
  text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); padding: 11px 12px; border-bottom: 1px solid var(--rule);
}
#league th.sortable { cursor: pointer; user-select: none; transition: color .15s; }
#league th.sortable:hover { color: var(--pink); }
#league th[aria-sort="ascending"]::after { content: " \25B2"; font-size: 8px; color: var(--pink); }
#league th[aria-sort="descending"]::after { content: " \25BC"; font-size: 8px; color: var(--pink); }
#league td { padding: 10px 12px; border-bottom: 1px solid var(--rule-2); vertical-align: baseline; }
#league tbody tr.row { cursor: pointer; scroll-margin-top: 140px; transition: background .12s; }
#league tbody tr.row:hover td, #league tbody tr.row.open td { background: var(--bg-2); }
#league tbody tr.row.flash td { animation: flash 1.6s ease; }
@keyframes flash { 0%, 30% { background: rgba(231,64,124,.22); } 100% { background: transparent; } }
#league td.nmc { font-weight: 600; }
#league td.nmc .okmark { font-weight: 400; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
td.num { color: var(--ink-2); }
td.score { font-weight: 800; font-size: 15px; color: var(--ink); }
.okmark { color: var(--ink-4); font-weight: 400; }
.bar-col { width: 120px; }
.bar { height: 8px; background: #2A2233; border-radius: 2px; position: relative; min-width: 92px; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; transform-origin: left; }
.js .bar i { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.js .bars-on .bar i { transform: scaleX(1); }
.pill {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  color: var(--flag); border: 1px solid var(--flag-line); border-radius: 3px;
  padding: 2px 8px; margin: 1px 0; background: rgba(200,122,34,.08); white-space: nowrap;
}
.pill.awei { color: var(--ink-2); border-color: #4A4054; background: transparent; }

/* ---------- detail rows ---------- */
tr.detail td { background: var(--bg-2); cursor: default; padding: 22px 18px 24px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; max-width: 1020px; }
.detail-grid h4 {
  margin: 0 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--rule); padding-bottom: 7px;
}
.detail-grid ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.detail-grid li { margin-bottom: 3px; }
.detail-grid .yes::before { content: "\2713  "; color: var(--good); font-weight: 800; }
.detail-grid .no { color: var(--ink-4); }
.detail-grid .no::before { content: "- "; }
.detail-grid .flagline { color: var(--flag); }
.detail-grid .flagline::before { content: "\2020  "; font-weight: 800; }
.detail-grid a { color: var(--pink-text); }
.detail-grid .src { font-size: 11.5px; margin-left: 4px; white-space: nowrap; }
.detail-grid blockquote { margin: 6px 0 10px; padding: 0 0 0 10px; border-left: 2px solid var(--rule); color: var(--ink-3); font-size: 12.5px; font-style: italic; }
.cov-note { font-size: 12px; color: var(--ink-4); font-style: italic; margin: 10px 0 0; border-top: 1px dotted var(--rule); padding-top: 8px; }
.detail-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; color: var(--ink-3); }
.detail-top a { color: var(--pink-text); }

/* ---------- methodology ---------- */
.method-table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 18px 0 10px; }
.method-table th, .method-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule-2); vertical-align: top; color: var(--ink-2); }
.method-table thead th { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.method-table tr.pillar td { font-weight: 750; color: var(--ink); background: var(--bg-2); font-size: 13px; letter-spacing: .02em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 9px; }
.sources li { margin-bottom: 7px; font-size: 14.5px; }
details.more { margin: 18px 0; border-top: 1px solid var(--rule); padding-top: 10px; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: " +"; color: var(--pink); }
details.more[open] summary::after { content: " -"; }
.cite {
  border-left: 2px solid; border-image: var(--grad) 1; padding: 12px 18px;
  background: var(--bg-2); font-size: 15px; color: var(--ink-2);
}
.callout {
  border: 1px solid var(--rule); border-left: 2px solid; border-image: var(--grad) 1;
  background: var(--bg-2); padding: 16px 20px; border-radius: 3px; font-size: 16px;
}
.callout a { color: var(--pink-text); font-weight: 600; }

/* ---------- downloads / footer ---------- */
.dl {
  display: inline-block; font-size: 15px; font-weight: 650; color: var(--ink);
  border: 1px solid var(--ink-3); padding: 11px 20px; margin: 6px 12px 6px 0;
  text-decoration: none; border-radius: 3px; transition: border-color .15s, background .15s;
}
.dl span { font-weight: 450; color: var(--ink-3); margin-left: 6px; font-size: 13.5px; }
.dl:hover { border-color: var(--pink); background: rgba(231,64,124,.1); color: var(--ink); }
.table-foot { font-size: 12.5px; color: var(--ink-4); max-width: 780px; }
footer {
  border-top: 1px solid var(--rule); margin-top: 60px; padding: 30px 24px 70px;
  text-align: center; font-size: 13px; color: var(--ink-3);
}
footer .pride-rule { margin: 0 auto 22px; }

/* ---------- reveal motion (deterministic: JS adds .in by scroll position; 4s failsafe) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .4s ease; }
  .h1-grad { animation: none; }
  .kicker, h1, .subtitle, .pride-rule, .standfirst { animation: none; }
  .js .hero-map .dot { animation: none; }
  .js .lookup { animation: none; }
  .js .bar i { transition: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .mast-grid { grid-template-columns: 1fr; }
  .masthead { padding-top: 46px; }
  .hero-map { max-width: 620px; margin-top: 0; }
  .table-wrap { overflow-x: auto; }
  #league thead th { position: static; }
  .method-table { display: block; overflow-x: auto; }
  section { margin-top: 80px; }
}
@media (max-width: 560px) {
  .topbar, .masthead, main { padding-left: 16px; padding-right: 16px; }
  .topbar .meta { display: none; }
  .feature-list li { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 14px 4px; }
  .feature-list li::before { font-size: 17px; }
  .feature-list .nm { font-size: 16.5px; }
  .feature-list .nm .loc { display: block; margin-left: 0; }
  .controls input[type=search] { min-width: 0; width: 100%; }
  .count { margin-left: 0; }
  .toc { gap: 18px; font-size: 11px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; padding: 12px 16px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .toc::-webkit-scrollbar { display: none; }
}

/* ---------- partly checked (unconfirmed items) ---------- */
.unk-mark { display: inline-block; margin-left: 6px; width: 17px; height: 17px; line-height: 17px; text-align: center; border-radius: 50%;
  background: var(--wattle); color: #1C1420; font-size: 11px; font-weight: 900; vertical-align: 2px; cursor: help; }
.unk-txt { color: var(--wattle); font-weight: 600; }
.pill.unk { color: var(--wattle); border-color: rgba(242,179,61,.6); background: rgba(242,179,61,.08); }
.detail-grid .unk { color: var(--wattle); }
.detail-grid .unk::before { content: "? "; font-weight: 900; }
.detail-grid .unk .unk-txt { font-weight: 500; font-size: 12px; opacity: .85; }
.unk-box { margin: 10px 0 0; padding: 10px 12px; border: 1px solid rgba(242,179,61,.45); background: rgba(242,179,61,.07); border-radius: 3px; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.unk-box a { color: var(--wattle); }
.unk-key { max-width: 780px; font-size: 14px; color: var(--ink-2); border-left: 2px solid var(--wattle); padding: 4px 0 4px 12px; margin: 18px 0 0; }
.unk-key .unk-mark { margin: 0 4px 0 0; }
td.score { white-space: nowrap; }

/* ---------- by-state strip ---------- */
.chart-h { font-size: 19px; margin: 34px 0 6px; }
.chart-sub { color: var(--ink-3); font-size: 14.5px; margin: 0 0 18px; max-width: 700px; }
.strip-block { margin-bottom: 30px; }
.strip { position: relative; max-width: 900px; }
.strip-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; border-bottom: 1px solid var(--rule-2); }
.strip-row.strip-axis { border: 0; }
.strip-lab b { display: block; font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.strip-lab small { display: block; font-size: 12px; color: var(--ink-3); }
.strip-track { position: relative; min-height: 44px; margin: 0 9px; }
.strip-axis .strip-track { min-height: 22px; }
.strip-axis .strip-track span { position: absolute; top: 2px; transform: translateX(-50%); font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.strip-track .gl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule-2); }
.strip-med { position: absolute; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; background: var(--ink-2); border-radius: 1px; }
.sdot { position: absolute; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg);
  cursor: pointer; transition: transform .15s, opacity .2s; }
.sdot:hover, .sdot.on { transform: scale(1.4); box-shadow: 0 0 0 2px var(--ink); z-index: 3; }
.strip .tip { top: 0; left: 0; }
.strip.filtering .sdot:not(.match) { opacity: .14; }

/* ---------- support line, skip link, screen-reader text ---------- */
.support { max-width: 720px; margin: 26px 0 0; padding: 14px 18px; border: 1px solid var(--rule); border-left: 3px solid var(--good);
  border-radius: 3px; background: var(--bg-2); font-size: 14.5px; color: var(--ink-2); }
.support a { color: var(--ink); font-weight: 650; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wattle); color: #1C1420; font-weight: 700;
  padding: 8px 14px; border-radius: 3px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- phone: show rank, name and score without sideways scrolling ---------- */
@media (max-width: 700px) {
  .hm { display: none; }
  table#league { min-width: 0; }
  .table-wrap { overflow-x: visible; }
  .bar-col { width: 52px; padding-left: 0 !important; }
  .bar { min-width: 40px; }
  #league td, #league thead th { padding: 10px 8px; }
  #league td.nmc .okmark { display: block; }
  .map-legend { justify-content: flex-start; }
  .hero-map figcaption { text-align: left; }
  .strip-row { grid-template-columns: 74px 1fr; gap: 8px; }
  .strip-lab small { font-size: 11px; }
  .sdot { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; }
  .maplab { font-size: 9.5px; letter-spacing: .1em; }
  .maplab small { font-size: 10.5px; }
}

.callout ul.corr { margin: 8px 0 0; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.callout ul.corr li { margin-bottom: 6px; }
