@font-face {
  font-family: "Futura PT";
  src: url("/assets/fonts/futura-book.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/assets/fonts/futura-demi.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Futura PT";
  src: url("/assets/fonts/futura-heavy.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --display:
    "Futura PT", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  --bg: #0a1220;
  --bg2: #08101d;
  --surface: #142238;
  --surface2: #1a2c47;
  --text: #f5f2ea;
  --muted: #b8bfcc;
  --gold: #e2bd4b;
  --gold-dim: #a88a2c;
  --green: #7bc142;
  --cta: #f08a2e;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  /* Design-system tokens (single source for rhythm, radius, tap size). */
  --section: 80px;
  --content: 1080px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --tap: 44px;
}

/* Consistent vertical rhythm between top-level sections (hero butts the nav). */
main.wrap > section:not(.hero-photo) {
  margin-block: var(--section);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(
      circle at 18% -5%,
      rgba(226, 189, 75, 0.16),
      transparent 32rem
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  margin: 0 auto;
  max-width: var(--content);
  padding: 0 20px;
}

header.nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(10, 18, 32, 0.55);
}
header.nav .wrap {
  align-items: center;
  display: flex;
  gap: 20px;
  height: 60px;
  justify-content: space-between;
}
.brand {
  align-items: center;
  color: var(--text);
  display: flex;
  font-weight: 800;
  font-size: 1.2rem;
  gap: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand b {
  color: var(--gold);
}
.nav-links {
  align-items: center;
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
}
.nav-links a {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  min-height: var(--tap);
}
.nav-group {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.55;
  text-transform: uppercase;
}
.nav-cta {
  background: var(--cta);
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  text-transform: uppercase;
}
.nav-cta:hover {
  filter: brightness(1.06);
  text-decoration: none;
}
.tool-card {
  align-items: flex-start;
  justify-content: center;
  min-height: 92px;
}
@media (max-width: 680px) {
  .nav-group {
    display: none;
  }
  .nav-links {
    gap: 11px;
    font-size: 0.8rem;
  }
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0 0 18px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 48px 0 16px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin: 28px 0 10px;
}
.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
/* Energetic CTA-orange eyebrows on the experiential sections. */
.scrolly-step .eyebrow,
.opener-head .eyebrow,
.cards-set-head .eyebrow,
.showcase-head .eyebrow {
  color: var(--cta);
}
/* Kill the doubled gap: a heading right after an eyebrow shouldn't add its
   own top margin on top of the eyebrow's bottom margin. */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 {
  margin-top: 0;
}
.lead {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 40rem;
}

.hero {
  padding: 72px 0 40px;
}
.hero .lead {
  margin-top: 8px;
}

/* Full-bleed photographic hero (breaks out of the centered .wrap). */
.hero-photo {
  margin-left: calc(50% - 50vw);
  position: relative;
  width: 100vw;
}
.hero-photo .bg {
  inset: 0;
  position: absolute;
  z-index: 0;
}
.hero-photo .bg img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero-photo .bg::after {
  background:
    linear-gradient(
      180deg,
      rgba(8, 16, 29, 0.5) 0%,
      rgba(8, 16, 29, 0.32) 32%,
      rgba(8, 16, 29, 0.72) 68%,
      var(--bg2) 94%
    ),
    linear-gradient(90deg, rgba(8, 16, 29, 0.78), transparent 62%);
  content: "";
  inset: 0;
  position: absolute;
}
.hero-photo .inner {
  margin: 0 auto;
  max-width: var(--content);
  padding: 96px 20px 56px;
  position: relative;
  z-index: 1;
}
.hero-shield {
  height: 64px;
  margin-bottom: 22px;
  width: 64px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

/* Cinematic hero with 3D mouse-parallax foil cards. */
.hero-cinematic .inner {
  padding: 84px 20px 72px;
}
.hero-grid {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
/* Mobile: a single centre foil card so the wow carries to phones. */
.hero-cards {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.hero-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.5),
    0 40px 80px -20px rgba(0, 0, 0, 0.85);
}
.hero-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero-card.hc-0,
.hero-card.hc-2 {
  display: none;
}
.hero-card.hc-1 {
  aspect-ratio: 2 / 3;
  width: min(64vw, 250px);
}
.hero-card-sheen {
  display: none;
}
@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
  }
  .hero-cards {
    aspect-ratio: 1 / 1;
    display: block;
    margin-top: 0;
    perspective: 1300px;
    position: relative;
    transform: translateZ(0);
  }
  .hero-card {
    left: 50%;
    position: absolute;
    top: 50%;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 56%;
    aspect-ratio: 2 / 3;
  }
  .hero-card.hc-0,
  .hero-card.hc-2 {
    display: block;
  }
  .hero-card.hc-1 {
    width: 56%;
  }
  .hero-card-sheen {
    display: block;
  }
  /* Fan: left, center (front), right — tilt follows --rx/--ry from the cursor. */
  .hero-card.hc-0 {
    transform: translate(-86%, -52%) rotateY(calc(18deg + var(--ry, 0deg)))
      rotateX(var(--rx, 0deg)) rotateZ(-9deg) scale(0.9);
    z-index: 1;
  }
  .hero-card.hc-1 {
    transform: translate(-50%, -50%) rotateY(var(--ry, 0deg))
      rotateX(var(--rx, 0deg)) translateZ(60px);
    z-index: 3;
  }
  .hero-card.hc-2 {
    transform: translate(-14%, -48%) rotateY(calc(-18deg + var(--ry, 0deg)))
      rotateX(var(--rx, 0deg)) rotateZ(9deg) scale(0.9);
    z-index: 1;
  }
  .hero-card-sheen {
    background: linear-gradient(
      115deg,
      transparent 40%,
      rgba(255, 255, 255, 0.22) 50%,
      transparent 60%
    );
    inset: 0;
    position: absolute;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card {
    transition: none;
  }
}
.brand img {
  height: 26px;
  width: 26px;
}

.cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}
.btn {
  background: var(--cta);
  border-radius: var(--r-sm);
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0.03em;
  min-height: var(--tap);
  padding: 16px 28px;
  text-transform: uppercase;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}
/* Orange is reserved for the one action that matters: getting the app.
   Every other action uses the gold brand accent (HIG single-tint). */
.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(226, 189, 75, 0.12);
  filter: none;
}
.btn-store {
  align-items: center;
}
.cta-note {
  color: var(--muted);
  font-size: 0.9rem;
}
.qr {
  display: none;
}
@media (min-width: 720px) {
  .qr {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    gap: 14px;
    padding: 14px 18px;
  }
  .qr img {
    height: 84px;
    width: 84px;
  }
  .qr span {
    color: var(--muted);
    font-size: 0.88rem;
    max-width: 12rem;
  }
}

.pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin: 40px 0;
}
@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.card h3 {
  margin-top: 0;
}
.card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

.grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.grid a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  display: block;
  font-size: 0.95rem;
  padding: 12px 14px;
}
.grid a:hover {
  border-color: var(--gold-dim);
  text-decoration: none;
}
.grid a small {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
}

table.reg {
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 16px 0;
  width: 100%;
}
table.reg th,
table.reg td {
  border-bottom: 1px solid var(--border);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}
table.reg th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
table.reg td.species {
  font-weight: 600;
}
.tag {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  text-transform: uppercase;
}
.tag.open {
  background: rgba(123, 193, 66, 0.16);
  color: var(--green);
}
.tag.closed {
  background: rgba(229, 87, 87, 0.16);
  color: #e57878;
}
.detail {
  color: var(--muted);
  font-size: 0.85rem;
}
.source {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 20px 0;
  padding: 20px 22px;
}
.panel h3 {
  margin-top: 0;
}
.crumbs {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 20px 0 0;
}
.disclaimer {
  background: rgba(232, 179, 61, 0.08);
  border: 1px solid rgba(232, 179, 61, 0.28);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 24px 0;
  padding: 14px 18px;
}
footer.foot {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 72px;
  padding: 32px 0 64px;
}
footer.foot a {
  color: var(--muted);
}
footer.foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.legal {
  max-width: 760px;
}
.legal h2 {
  font-size: 1.25rem;
}

/* ---- Season Matrix ---- */
.sr {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.lead-sm {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0 0 14px;
}
.matrix-wrap {
  margin: 40px 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.chip {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: var(--tap);
  padding: 8px 18px;
  text-transform: uppercase;
}
.chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a1220;
}
.matrix-scroll {
  overflow-x: auto;
}
table.matrix {
  border-collapse: separate;
  border-spacing: 4px;
  width: 100%;
}
table.matrix thead th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px;
  text-align: center;
}
table.matrix thead th[scope="col"] {
  text-align: left;
}
table.matrix th[scope="row"] {
  font-size: 0.92rem;
  font-weight: 600;
  padding-right: 10px;
  text-align: left;
  white-space: nowrap;
}
table.matrix th[scope="row"] a {
  color: var(--text);
}
table.matrix .cell {
  border-radius: 5px;
  height: 26px;
  min-width: 26px;
}
table.matrix .cell.open {
  background: var(--green);
}
table.matrix .cell.partial {
  background: var(--gold);
}
table.matrix .cell.closed {
  background: rgba(255, 255, 255, 0.07);
}
table.matrix .now {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}
table.matrix tbody tr:hover th[scope="row"] a {
  color: var(--gold);
}

/* ---- The Living Map hero ---- */
.livingmap {
  align-items: center;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(226, 189, 75, 0.16),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(74, 155, 212, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, #0b1424, var(--bg2));
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-left: calc(50% - 50vw);
  padding: 56px 20px 64px;
  width: 100vw;
}
.livingmap-stage {
  margin: 0 auto;
  max-width: 560px;
  position: relative;
  width: 100%;
}
.livingmap .ontario-map {
  cursor: crosshair;
  filter: drop-shadow(0 0 30px rgba(226, 189, 75, 0.25));
}
.livingmap .ontario-map .zone {
  fill: rgba(123, 193, 66, 0.1);
  stroke: var(--gold);
  stroke-width: 1.2;
  transition: fill 0.2s ease;
}
.livingmap .ontario-map .zone-link:hover .zone {
  fill: rgba(226, 189, 75, 0.3);
}
.livingmap .ontario-map .zone-num {
  fill: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(8, 16, 29, 0.8);
  stroke-width: 3;
}
.livingmap-pin {
  height: 16px;
  margin: -8px 0 0 -8px;
  pointer-events: none;
  position: absolute;
  width: 16px;
}
.livingmap-pin::before {
  background: var(--cta);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cta);
  content: "";
  display: block;
  height: 100%;
  width: 100%;
}
.livingmap-pin.drop {
  animation: pindrop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes pindrop {
  0% {
    opacity: 0;
    transform: translateY(-22px) scale(0.4);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.livingmap-copy {
  margin: 0 auto;
  max-width: 36rem;
}
.livingmap-copy .lead {
  margin-bottom: 18px;
}
.livingmap-dossier {
  background: rgba(8, 16, 29, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin: 18px 0;
  min-height: 88px;
  padding: 18px 20px;
}
.livingmap-hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
@media (min-width: 900px) {
  .livingmap {
    gap: 48px;
    grid-template-columns: 1.05fr 0.95fr;
    padding: 72px 40px 88px;
  }
  .livingmap-stage {
    max-width: none;
    order: 2;
  }
  .livingmap-copy {
    margin: 0;
    order: 1;
  }
}

/* ---- Trust strip + stats band ---- */
.trust {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 40px 0;
  overflow: hidden;
}
@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 26px 16px;
  text-align: center;
}
.stat-n {
  text-shadow: 0 0 24px rgba(226, 189, 75, 0.35);
}
.stat-n {
  color: var(--gold);
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.stat-l {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Fish species cards ---- */
.fishgrid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin: 16px 0;
}
.fishcard {
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(226, 189, 75, 0.1),
      transparent 65%
    ),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  transition:
    transform 0.14s ease,
    border-color 0.14s ease;
}
.fishcard:hover {
  border-color: var(--gold);
  text-decoration: none;
  transform: translateY(-4px);
}
.fishcard .fish {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  height: 110px;
  object-fit: contain;
  width: 100%;
}
.fishcard-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 10px;
}
.fishcard-sub {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---- Final CTA band ---- */
.finalcta {
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(240, 138, 46, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 110%,
      rgba(226, 189, 75, 0.3),
      transparent 55%
    ),
    radial-gradient(
      circle at 60% 50%,
      rgba(74, 155, 212, 0.18),
      transparent 70%
    ),
    linear-gradient(160deg, #1a2c47, #0b1322);
  border: 1px solid rgba(226, 189, 75, 0.22);
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 90px -30px rgba(240, 138, 46, 0.4);
  margin: 80px 0 24px;
  overflow: hidden;
  padding: 64px 24px;
  position: relative;
  text-align: center;
}
.finalcta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.finalcta .lead {
  margin: 0 auto 22px;
}

/* ---- Scroll reveal (respects reduced motion) ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- How-to tactics pages ---- */
.howto-intro {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 8px;
}
.howto-intro .lead {
  flex: 1;
  margin: 0;
  min-width: 16rem;
}
.howto-fish {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
  height: auto;
  width: 280px;
}

/* ---- Conditions + bite-times forecast ---- */
.forecast {
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 189, 75, 0.07), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin: 16px 0;
  padding: 20px 22px;
}
.forecast-loading {
  color: var(--muted);
}
.fc-head {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 14px;
}
.fc-rating {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin-right: 10px;
}
.fc-rating-label {
  font-weight: 700;
}
.fc-moon {
  color: var(--muted);
  font-size: 0.9rem;
}
.fc-periods {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 0;
}
.fc-col h4 {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.fc-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fc-col li {
  font-size: 0.92rem;
  padding: 3px 0;
}
.fc-weather {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
}
.fc-w-stat {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
}
.fc-w-stat b {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}
.fc-up {
  color: var(--green);
}
.fc-down {
  color: var(--cta);
}

/* ---- "Ask the app" live demo ---- */
.askdemo {
  margin: 64px 0;
}
.ask-stage {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 760px) {
  .ask-stage {
    align-items: start;
    grid-template-columns: 1fr 1fr;
  }
}
.ask-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ask-controls label {
  color: var(--muted);
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ask-controls select {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.05rem;
  padding: 14px 16px;
}
.ask-screen {
  background: linear-gradient(160deg, #16263e, #0b1322);
  border: 1px solid var(--border);
  border-radius: 18px;
  min-height: 230px;
  opacity: 0;
  padding: 24px;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.ask-screen.in {
  opacity: 1;
  transform: none;
}
.ask-loading {
  color: var(--muted);
}
.ask-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.ask-fishname {
  font-size: 1.4rem;
  font-weight: 800;
}
.ask-where {
  color: var(--muted);
  font-size: 0.9rem;
}
.ask-status {
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 8px 0 16px;
  padding: 12px 16px;
}
.ask-status.open {
  background: rgba(123, 193, 66, 0.16);
  color: var(--green);
}
.ask-status.closed {
  background: rgba(229, 87, 87, 0.16);
  color: #e57878;
}
.ask-rows {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ask-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex: 1;
  min-width: 130px;
  padding: 12px 14px;
}
.ask-stat span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ask-stat strong {
  font-size: 1.2rem;
}
.ask-line {
  color: var(--muted);
}
.ask-source {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 16px 0 0;
}

/* ---- Cards gallery rail ---- */
.cards-set {
  margin-top: 44px;
}
.cards-set-head {
  margin: 0 auto 6px;
  max-width: 40rem;
  text-align: center;
}
.cards-set-head .lead-sm {
  margin: 0 auto;
}
.cards-set-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-transform: none;
}
/* Full-bleed, dimensional rail: perspective + layered depth, not a flat strip. */
.card-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  padding: 34px max(20px, calc(50vw - var(--content) / 2)) 40px;
  perspective: 1400px;
  scroll-snap-type: x proximity;
  width: 100vw;
  -webkit-overflow-scrolling: touch;
}
.card-rail::-webkit-scrollbar {
  height: 6px;
}
.card-rail::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}
.rail-card {
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 24px 48px -14px rgba(0, 0, 0, 0.75);
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease;
  width: 200px;
  will-change: transform;
}
.rail-card:hover {
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.5),
    0 34px 64px -16px rgba(0, 0, 0, 0.85),
    0 0 40px -8px var(--rarity, var(--gold));
  transform: translateY(-14px) rotateX(6deg) rotateY(-7deg) scale(1.04);
}
.rail-card > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
/* Holographic sheen sweep on hover. */
.rail-sheen {
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.32) 48%,
    rgba(170, 220, 255, 0.28) 53%,
    transparent 64%
  );
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-30%);
  transition: opacity 0.2s ease;
}
.rail-card:hover .rail-sheen {
  animation: sheen 0.9s ease-out;
  opacity: 1;
}
@keyframes sheen {
  0% {
    opacity: 0;
    transform: translateX(-60%);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(60%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rail-card:hover {
    transform: translateY(-10px);
  }
  .rail-card:hover .rail-sheen {
    animation: none;
  }
}
.rail-ph {
  align-items: center;
  background:
    linear-gradient(160deg, var(--rarity, var(--gold)), transparent 55%),
    linear-gradient(160deg, #16263e, #0b1322);
  border: 2px solid var(--rarity, var(--gold));
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 8px 10px;
}
.rail-rarity {
  background: var(--rarity, var(--gold));
  border-radius: 999px;
  color: #0a1220;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 9px;
  text-transform: uppercase;
}
.rail-art {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.rail-art img {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
  max-height: 100%;
  object-fit: contain;
  width: 96%;
}
.rail-name {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}
.rail-foot {
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Playable FishDex card opener ---- */
.opener {
  margin: 64px 0;
  text-align: center;
}
.opener-head {
  margin: 0 auto 8px;
}
.opener-head .lead {
  margin: 0 auto;
}
.cardstage {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 28px auto;
  position: relative;
}
.card-confetti {
  height: 420px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  z-index: 3;
}
.cardflip {
  background: none;
  border: 0;
  cursor: pointer;
  height: 420px;
  padding: 0;
  perspective: 1200px;
  width: 280px;
}
/* Codex's real full-card art (2:3), shown in place of the CSS placeholder. */
.card-real {
  border-radius: 18px;
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.card-real[hidden] {
  display: none;
}
.cardflip-inner {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}
.cardflip.flipped .cardflip-inner {
  transform: rotateY(180deg);
}
.card-back,
.card-front {
  backface-visibility: hidden;
  border-radius: 20px;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.card-back {
  align-items: center;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(226, 189, 75, 0.18),
      transparent 60%
    ),
    linear-gradient(160deg, #1a2c47, #0a1220);
  border: 2px solid var(--gold-dim);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.card-back span {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.cardflip:hover .card-back {
  border-color: var(--gold);
}
.card-front {
  transform: rotateY(180deg);
}
/* The collectible card itself: rarity-framed, name plate, art window,
   stat line, foil. Reusable structure mirrored by the app FishDex. */
.pkcard {
  background:
    linear-gradient(160deg, var(--rarity, var(--gold)), transparent 52%),
    linear-gradient(160deg, #16263e, #0b1322);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 5px;
}
/* Class selectors beat the UA [hidden] rule — restore hiding so the real card
   art doesn't stack on top of the placeholder. */
.pkcard[hidden] {
  display: none;
}
.pkcard-top,
.pkcard-art,
.pkcard-stats,
.pkcard-foot {
  position: relative;
  z-index: 1;
}
.pkcard-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 8px 12px 2px;
}
.pkcard-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.pkcard-gem {
  background: var(--rarity, var(--gold));
  border-radius: 999px;
  color: #0a1220;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  text-transform: uppercase;
}
.pkcard-art {
  align-items: center;
  background:
    radial-gradient(
      circle at 50% 42%,
      color-mix(in srgb, var(--rarity, #e2bd4b) 38%, transparent),
      transparent 62%
    ),
    linear-gradient(160deg, #16263e, #0b1322);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  flex: 1;
  justify-content: center;
  margin: 0 6px;
  overflow: hidden;
}
.card-fish {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
  height: 84%;
  object-fit: contain;
  width: 92%;
}
.pkcard-stats {
  display: flex;
  gap: 6px;
  padding: 0 12px;
}
.pkcard-stat {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  color: var(--muted);
  flex: 1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 8px;
  text-align: center;
}
.pkcard-foot {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  letter-spacing: 0.08em;
  padding: 2px 0 8px;
  text-transform: uppercase;
}
.card-foil {
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.6) 47%,
    rgba(226, 189, 75, 0.55) 52%,
    transparent 68%
  );
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}
.card-front.shiny .card-foil {
  animation: foilsweep 1.2s ease-out 0.25s;
}
.card-front.shiny .pkcard-gem::before {
  content: "✦ ";
}
@keyframes foilsweep {
  0% {
    opacity: 0;
    transform: translateX(-60%);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(60%);
  }
}
.cardflip.flipped .card-front {
  box-shadow: 0 18px 50px -10px var(--rarity, var(--gold));
}
@media (prefers-reduced-motion: reduce) {
  .cardflip-inner,
  .card-front.shiny .card-foil {
    transition: none;
    animation: none;
  }
}

/* ---- App showcase ---- */
.showcase {
  margin: 72px 0;
}
.showcase-head {
  text-align: center;
  margin-bottom: 8px;
}
.showcase-head .lead {
  margin: 0 auto;
}
.phone {
  background: #05080f;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 38px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  height: 0;
  overflow: hidden;
  padding: 8px;
  position: relative;
  width: 260px;
}
.phone img {
  border-radius: 30px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.phone {
  height: 562px;
}
.phone-notch {
  background: #05080f;
  border-radius: 0 0 12px 12px;
  height: 20px;
  left: 50%;
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  width: 96px;
  z-index: 2;
}
/* Scrollytelling: a sticky phone that swaps screen as the steps scroll past. */
.scrolly {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
.scrolly-step h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-transform: none;
}
.scrolly-step p {
  color: var(--muted);
  font-size: 1.05rem;
}
.scrolly-phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
/* A lit pedestal so the phone sits in a scene, not on flat navy. */
.scrolly-phone-wrap::before {
  background: radial-gradient(
    ellipse at 50% 42%,
    rgba(226, 189, 75, 0.18),
    rgba(74, 155, 212, 0.08) 46%,
    transparent 72%
  );
  content: "";
  filter: blur(6px);
  height: 130%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  z-index: 0;
}
.scrolly-phone {
  position: relative;
  z-index: 1;
}
.scrolly-phone img {
  border-radius: 30px;
  height: 100%;
  left: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.45s ease;
  width: 100%;
}
.scrolly-phone img.active {
  opacity: 1;
}
@media (min-width: 860px) {
  .scrolly {
    align-items: start;
    grid-template-columns: 1fr 300px;
    gap: 56px;
  }
  .scrolly-steps {
    display: flex;
    flex-direction: column;
  }
  .scrolly-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78vh;
    max-width: 30rem;
  }
  .scrolly-phone-wrap {
    position: sticky;
    top: 90px;
  }
}
@media (max-width: 859px) {
  .scrolly-phone-wrap {
    order: -1;
    position: sticky;
    top: 70px;
    z-index: 1;
  }
  .scrolly-phone {
    height: 420px !important;
    width: 194px;
  }
  .scrolly-step {
    margin-bottom: 40px;
  }
}
.plans {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 56px auto 36px;
  max-width: var(--content);
}
@media (min-width: 720px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}
.plan {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px -20px rgba(0, 0, 0, 0.7);
  padding: 26px;
  position: relative;
}
.plan-pro {
  background:
    linear-gradient(180deg, rgba(226, 189, 75, 0.1), transparent 45%),
    var(--surface);
  border-color: var(--gold-dim);
  box-shadow:
    inset 0 1px 0 rgba(226, 189, 75, 0.18),
    0 0 0 1px rgba(226, 189, 75, 0.25),
    0 24px 60px -22px rgba(226, 189, 75, 0.3);
  transform: translateY(-8px);
}
@media (max-width: 719px) {
  .plan-pro {
    transform: none;
  }
}
.plan h3 {
  margin: 0 0 14px;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan li {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.96rem;
  padding: 10px 0 10px 26px;
  position: relative;
}
.plan li::before {
  color: var(--gold);
  content: "✦";
  left: 0;
  position: absolute;
}
.plan-tag {
  background: var(--gold);
  border-radius: 999px;
  color: #0a1220;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  position: absolute;
  right: 20px;
  text-transform: uppercase;
  top: -12px;
}
.showcase-cta {
  text-align: center;
}
.appstore {
  align-items: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  gap: 10px;
  padding: 10px 18px;
}
.appstore:hover {
  text-decoration: none;
  border-color: var(--gold);
}
.appstore span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.appstore small {
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}
.appstore b {
  font-size: 1.15rem;
  font-weight: 600;
}

/* ---- "What's open near me" ---- */
.nearme {
  background:
    radial-gradient(circle at 0% 0%, rgba(226, 189, 75, 0.08), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 40px 0;
  padding: 28px;
}
.nearme h2 {
  margin-top: 0;
}
.nearme-btn {
  margin-top: 6px;
}
.nearme-result {
  margin-top: 22px;
}
.nearme-result[hidden] {
  display: none;
}
.nearme-sample {
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  margin-top: 18px;
  opacity: 0.78;
  padding: 14px 18px;
}
.nearme-sample[hidden] {
  display: none;
}
.nearme-sample-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.nearme-sample p {
  margin: 4px 0;
}
.nearme-zone {
  font-size: 1.3rem;
  margin: 0 0 10px;
}
.nearme-open {
  font-size: 1.05rem;
}
.nearme-soon {
  color: var(--muted);
}
.nearme-list {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
}
.nearme-list li {
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}
.nearme-list li span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Stocking Time-Machine ---- */
.timemachine {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(74, 155, 212, 0.08),
      transparent 60%
    ),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin: 20px 0 36px;
  padding: 20px;
}
.tm-map {
  position: relative;
}
.tm-map .ontario-map .zone {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
}
.tm-map .ontario-map .zone-num {
  display: none;
}
.tm-map canvas {
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.tm-counter {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
  min-height: 1.4em;
  text-align: center;
}
.tm-counter strong {
  color: var(--gold);
  font-size: 1.15rem;
}
.tm-controls {
  align-items: center;
  display: flex;
  gap: 14px;
  margin: 16px 0 12px;
}
.tm-play {
  flex-shrink: 0;
  padding: 12px 20px;
}
.tm-slider {
  accent-color: var(--gold);
  flex: 1;
  height: 6px;
}
.tm-year {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 800;
  min-width: 3ch;
}
.tm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tm-chip {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-family: var(--display);
  font-size: 0.78rem;
  gap: 6px;
  min-height: var(--tap);
  padding: 8px 14px;
}
.tm-chip.active {
  border-color: var(--text);
  color: var(--text);
}
.tm-dot {
  background: var(--c, var(--muted));
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

/* ---- Ontario zone map (inline SVG, our own data) ---- */
.map-frame {
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(226, 189, 75, 0.06),
      transparent 60%
    ),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 16px 0;
  padding: 18px;
  position: relative;
}
.ontario-map {
  display: block;
  height: auto;
  width: 100%;
}
.map-frame-lg {
  margin: 16px auto 28px;
  max-width: 760px;
}
.ontario-map .zone {
  fill: rgba(123, 193, 66, 0.16);
  stroke: var(--gold);
  stroke-width: 1.4;
  transition:
    fill 0.12s ease,
    stroke 0.12s ease;
}
/* Subtle warm/cool alternation so adjacent zones read apart. */
.ontario-map .zone-link:nth-of-type(3n + 1) .zone {
  fill: rgba(226, 189, 75, 0.14);
}
.ontario-map .zone-link:nth-of-type(3n + 2) .zone {
  fill: rgba(123, 193, 66, 0.16);
}
.ontario-map .zone-link:nth-of-type(3n) .zone {
  fill: rgba(74, 155, 212, 0.14);
}
.ontario-map .zone-link:hover .zone,
.ontario-map .zone-link:focus .zone {
  fill: var(--gold);
  stroke: var(--gold);
}
.ontario-map .zone-num {
  fill: #fff;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(8, 16, 29, 0.85);
  stroke-width: 3.5;
  text-anchor: middle;
}
.ontario-map .zone-link:hover .zone-num {
  fill: #0a1220;
}
.map-tip {
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  left: 0;
  padding: 5px 10px;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translate(-50%, -130%);
  white-space: nowrap;
  z-index: 5;
}
