:root {
  color-scheme: light;
  --ink: #121714;
  --ink-soft: #39433d;
  --paper: #f4f1e8;
  --paper-bright: #fffdf7;
  --signal: #ff5a36;
  --signal-dark: #c7361c;
  --acid: #c9ff46;
  --trail: #19b987;
  --sky: #61c9ff;
  --line: rgba(18, 23, 20, .15);
  --shadow: 0 18px 50px rgba(18, 23, 20, .12);
  --radius: 20px;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; font-size: 16px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 16px; background: var(--paper-bright); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px;
  color: var(--paper-bright);
  background: rgba(18, 23, 20, .94);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--acid); border: 1px solid rgba(201,255,70,.45); border-radius: 50%; }
.brand-mark svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; line-height: .92; }
.brand-copy strong { font: 800 1.45rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand-copy small { margin-top: 4px; color: rgba(255,255,255,.62); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav { display: none; gap: 4px; }
.site-header nav a { display: grid; place-items: center; min-width: 64px; min-height: 44px; padding: 0 12px; color: rgba(255,255,255,.76); font-size: .85rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover { color: var(--acid); }
.site-header nav a:active { transform: translateY(1px); }

.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: calc(100svh - 72px);
  padding: 72px 20px 30px;
  overflow: hidden;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 78% 18%, rgba(25,185,135,.22), transparent 26rem),
    radial-gradient(circle at 10% 90%, rgba(255,90,54,.23), transparent 24rem),
    var(--ink);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 8px 8px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.contour { position: absolute; width: 460px; height: 460px; border: 1px solid rgba(201,255,70,.25); border-radius: 43% 57% 61% 39% / 44% 38% 62% 56%; }
.contour::before, .contour::after { content: ""; position: absolute; inset: 36px; border: 1px solid rgba(201,255,70,.18); border-radius: 48% 52% 37% 63% / 61% 39% 61% 39%; }
.contour::after { inset: 76px; border-color: rgba(201,255,70,.12); }
.contour-one { top: -220px; right: -200px; transform: rotate(30deg); }
.contour-two { bottom: -340px; left: -180px; transform: rotate(-20deg); }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow, .kicker { margin: 0 0 10px; color: var(--signal); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--acid); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(201,255,70,.12); }
.hero h1 { max-width: 780px; margin: 0; font: 800 clamp(4.2rem, 20vw, 8.75rem)/.78 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--acid); }
.hero-lede { max-width: 590px; margin: 28px 0 0; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-grid; place-items: center; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .16s ease, background .16s ease, color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.99); }
.button-primary { color: var(--ink); background: var(--acid); }
.button-ghost { color: var(--paper-bright); border-color: rgba(255,255,255,.32); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-badge { position: relative; z-index: 2; display: grid; place-items: center; width: 164px; aspect-ratio: 1; margin: 48px auto 26px; color: var(--ink); background: var(--acid); border-radius: 50%; transform: rotate(7deg); box-shadow: 16px 18px 0 rgba(255,90,54,.9); }
.badge-center { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.badge-number { font: 800 3.7rem/.8 var(--display); }
.badge-center small { margin-top: 8px; font-weight: 900; letter-spacing: .14em; }
.badge-orbit { position: absolute; inset: 8px; animation: orbit 26s linear infinite; }
.badge-orbit span { position: absolute; font: 800 .54rem/1 var(--body); letter-spacing: .16em; }
.badge-orbit span:nth-child(1) { top: 9px; left: 50%; transform: translateX(-50%); }
.badge-orbit span:nth-child(2) { right: -1px; top: 50%; transform: rotate(90deg) translateY(-50%); }
.badge-orbit span:nth-child(3) { bottom: 7px; left: 50%; transform: rotate(180deg) translateX(50%); }
.hero-meta { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.55); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: 72px 18px; }
.section-heading { display: grid; gap: 12px; max-width: 1240px; margin: 0 auto 28px; }
.section-heading h2, .methodology h2 { margin: 0; font: 800 clamp(2.75rem, 10vw, 5rem)/.9 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: .94rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 1240px; margin: 0 auto 18px; }
.stat-card { display: flex; flex-direction: column; min-height: 166px; padding: 18px; background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(18,23,20,.04); }
.stat-card-featured { color: var(--paper-bright); background: var(--signal); border-color: var(--signal); }
.stat-value { font: 800 clamp(3.5rem, 16vw, 6rem)/.8 var(--display); letter-spacing: -.035em; }
.stat-label { margin-top: auto; font-size: .88rem; font-weight: 800; text-transform: uppercase; }
.stat-note { margin-top: 3px; color: var(--ink-soft); font-size: .72rem; }
.stat-card-featured .stat-note { color: rgba(255,255,255,.75); }
.dashboard-grid { display: grid; gap: 14px; max-width: 1240px; margin: 0 auto; }
.panel { padding: 22px; background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.panel-heading h3, .travel-card h3 { margin: 0; font: 800 2rem/1 var(--display); text-transform: uppercase; }
.panel-tag { padding: 6px 8px; background: #e9e6dc; border-radius: 5px; font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.year-chart { display: grid; gap: 16px; }
.year-row { display: grid; grid-template-columns: 46px minmax(0,1fr) 52px; align-items: center; gap: 10px; }
.year-label { font: 800 1rem/1 var(--display); }
.bar-track { position: relative; height: 18px; overflow: hidden; background: #e7e4da; border-radius: 99px; }
.bar-attended, .bar-hared { position: absolute; inset: 0 auto 0 0; border-radius: inherit; transform-origin: left; }
.bar-attended { background: var(--trail); }
.bar-hared { background: var(--signal); mix-blend-mode: multiply; }
.year-count { text-align: right; font-size: .74rem; font-weight: 700; }
.highlight-list { display: grid; margin: 0; }
.highlight-list div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.highlight-list dt { color: var(--ink-soft); font-size: .83rem; }
.highlight-list dd { margin: 0; font-weight: 800; text-align: right; }

.section-dark { position: relative; color: var(--paper-bright); background: var(--ink); overflow: hidden; }
.section-dark::before { content: "ON-ON"; position: absolute; right: -1rem; bottom: -3rem; color: rgba(255,255,255,.025); font: 800 12rem/1 var(--display); pointer-events: none; }
.section-heading-light > p { color: rgba(255,255,255,.58); }
.kennel-layout { position: relative; display: grid; gap: 14px; max-width: 1240px; margin: 0 auto; }
.panel-dark, .travel-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.leaderboard { padding: 16px; }
.leaderboard-head, .leaderboard li { display: grid; grid-template-columns: minmax(0, 1fr) 54px 48px; align-items: center; gap: 8px; }
.leaderboard-head { padding: 0 8px 10px; color: rgba(255,255,255,.45); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.leaderboard-head span:not(:first-child) { text-align: right; }
.leaderboard ol { margin: 0; padding: 0; list-style: none; counter-reset: kennel; }
.leaderboard li { min-height: 58px; padding: 9px 8px; border-top: 1px solid rgba(255,255,255,.09); counter-increment: kennel; }
.leaderboard li.is-hidden { display: none; }
.kennel-name { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 6px; min-width: 0; font-size: .78rem; font-weight: 700; }
.kennel-name::before { content: counter(kennel, decimal-leading-zero); color: var(--acid); font: 700 .72rem/1 var(--display); }
.kennel-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kennel-count { text-align: right; font: 800 1.2rem/1 var(--display); }
.kennel-hared { color: var(--signal); }
.text-button { min-height: 44px; margin-top: 10px; padding: 0 8px; color: var(--acid); background: transparent; border: 0; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.text-button:active { color: var(--paper-bright); }
.travel-stack { display: grid; gap: 14px; }
.travel-card { padding: 20px; }
.compact-bars { display: grid; gap: 14px; margin-top: 22px; }
.compact-bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; font-weight: 700; }
.compact-bar-track { height: 8px; margin-top: 7px; overflow: hidden; background: rgba(255,255,255,.1); border-radius: 10px; }
.compact-bar-fill { height: 100%; background: var(--acid); border-radius: inherit; }
.region-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.region-pill { display: inline-flex; align-items: baseline; gap: 7px; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .73rem; }
.region-pill strong { color: var(--acid); font-size: .9rem; }

.special-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; max-width: 1240px; margin: 0 auto; }
.special-card { position: relative; min-height: 150px; padding: 18px; overflow: hidden; background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--radius); }
.special-card:nth-child(4n+1) { background: #d9f5e9; }
.special-card:nth-child(4n+2) { background: #fee4dc; }
.special-card:nth-child(4n+3) { background: #e4f4fd; }
.special-card:nth-child(4n+4) { background: #effbcf; }
.special-number { font: 800 3.5rem/.9 var(--display); }
.special-card h3 { max-width: 130px; margin: 22px 0 0; font: 800 1.15rem/1 var(--display); text-transform: uppercase; }
.special-card p { margin: 5px 0 0; color: var(--ink-soft); font-size: .68rem; }
.special-slash { position: absolute; right: 12px; bottom: -12px; color: rgba(18,23,20,.09); font: 800 6rem/1 var(--display); transform: rotate(-12deg); }

.history-section { background: var(--paper-bright); }
.filters { display: grid; gap: 10px; max-width: 1240px; margin: 0 auto 18px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.search-field { position: relative; }
.search-field svg { position: absolute; top: 50%; left: 14px; width: 19px; fill: none; stroke: var(--ink-soft); stroke-width: 2; transform: translateY(-50%); }
.filters input, .filters select { width: 100%; min-height: 48px; padding: 0 14px; color: var(--ink); background: var(--paper-bright); border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; }
.filters input { padding-left: 43px; }
.filter-reset { min-height: 48px; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 10px; font-weight: 800; cursor: pointer; }
.filter-reset:active { color: var(--paper-bright); background: var(--ink); }
.history-table-wrap { max-width: 1240px; margin: 0 auto; }
.history-table { display: none; width: 100%; border-collapse: collapse; }
.history-table th { padding: 12px 10px; color: var(--ink-soft); border-bottom: 2px solid var(--ink); font-size: .67rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.history-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); font-size: .76rem; vertical-align: top; }
.history-table tbody tr:hover { background: #f6f3e9; }
.trail-title { display: block; font-weight: 700; }
.trail-meta { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .67rem; }
.role-chip { display: inline-grid; place-items: center; min-height: 30px; padding: 0 9px; border-radius: 999px; color: var(--ink-soft); background: #ece9df; font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.role-chip.is-hare { color: var(--paper-bright); background: var(--signal); }
.mobile-history { display: grid; gap: 10px; }
.history-card { padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.history-card-top { display: flex; justify-content: space-between; gap: 12px; }
.history-card-number { color: var(--signal); font: 800 .8rem/1 var(--display); letter-spacing: .05em; }
.history-card-date { color: var(--ink-soft); font-size: .72rem; }
.history-card h3 { margin: 13px 0 4px; font: 800 1.25rem/1.05 var(--display); text-transform: uppercase; }
.history-card .kennel-line { margin: 0; color: var(--trail); font-size: .74rem; font-weight: 800; }
.history-card-details { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 14px; color: var(--ink-soft); font-size: .68rem; }
.history-card-details span { display: inline-flex; gap: 5px; }
.history-footer { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 1240px; margin: 20px auto 0; }
.history-footer p { margin: 0; color: var(--ink-soft); font-size: .78rem; }
.button-dark { color: var(--paper-bright); background: var(--ink); border: 0; }
.button-dark[hidden] { display: none; }

.methodology { display: grid; gap: 30px; color: var(--paper-bright); background: var(--signal); }
.method-copy .kicker { color: var(--ink); }
.method-notes { display: grid; gap: 16px; }
.method-notes p { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.32); font-size: .9rem; }

footer { display: grid; gap: 18px; padding: 38px 18px max(38px, env(safe-area-inset-bottom)); color: rgba(255,255,255,.65); background: var(--ink); font-size: .76rem; }
.footer-brand { display: flex; align-items: baseline; gap: 10px; }
.footer-brand strong { color: var(--acid); font: 800 2rem/1 var(--display); }
.footer-brand span { letter-spacing: .08em; text-transform: uppercase; }
footer p { margin: 0; }
footer a { min-height: 44px; color: var(--paper-bright); font-weight: 800; text-decoration: none; }

@keyframes orbit { to { transform: rotate(360deg); } }

@media (width >= 560px) {
  .site-header { padding-inline: 26px; }
  .site-header nav { display: flex; }
  .hero { padding-inline: 40px; }
  .hero-meta { flex-direction: row; justify-content: space-between; }
  .section { padding-inline: 32px; }
  .stat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .stat-card { min-height: 190px; }
  .special-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .filters { grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(120px, 1fr)) auto; }
  .filter-reset { padding: 0 18px; }
  .methodology { grid-template-columns: 1.2fr 1fr; }
  footer { grid-template-columns: 1fr auto; align-items: center; }
  footer p { grid-column: 1 / -1; }
}

@media (width >= 820px) {
  .site-header { padding-inline: 44px; }
  .hero { grid-template-columns: minmax(0,1fr) 250px; align-items: center; min-height: calc(100dvh - 72px); padding: 76px 6vw 34px; }
  .hero-copy { grid-column: 1; }
  .hero-badge { grid-column: 2; grid-row: 1; width: 210px; margin: 0; }
  .hero-meta { grid-column: 1 / -1; align-self: end; margin-top: 54px; }
  .badge-number { font-size: 4.8rem; }
  .section { padding: 96px 5vw; }
  .section-heading { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 38px; }
  .dashboard-grid { grid-template-columns: minmax(0,1.4fr) minmax(280px,.8fr); }
  .panel { padding: 28px; }
  .kennel-layout { grid-template-columns: minmax(0,1.45fr) minmax(300px,.75fr); }
  .special-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .history-table { display: table; }
  .mobile-history { display: none; }
  .history-footer { flex-direction: row; justify-content: space-between; }
  .methodology { padding-block: 110px; }
  footer { grid-template-columns: 1fr auto auto; padding-inline: 5vw; }
  footer p { grid-column: auto; }
}

@media (width >= 1180px) {
  .hero { grid-template-columns: minmax(0,1fr) 320px; }
  .hero-badge { width: 260px; }
  .special-grid { grid-template-columns: repeat(7, minmax(0,1fr)); }
  .special-card { min-height: 176px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
