/* Hallmark cleanup: stat-led homepage draft, restrained theme-park operations tone. */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --dark: #061021;
  --navy: #071c39;
  --blue: #1a75bb;
  --sky: #60c1ff;
  --gold: #f4bd35;
  --green: #1f9b68;
  --red: #b32935;
  --muted: #53657a;
  --panel: #ffffff;
  --line: rgba(8, 28, 56, 0.16);
  --line-soft: rgba(8, 28, 56, 0.1);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 60px rgba(15, 48, 85, 0.14);
  --shadow-strong: 0 30px 72px rgba(15, 48, 85, 0.18);
  --radius: 8px;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 90;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #ffffff;
  color: var(--dark);
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.site-nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 clamp(14px, 3vw, 34px);
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1360px);
  min-height: 78px;
  margin: 0 auto;
  border: 1px solid rgba(12, 30, 58, 0.18);
  border-radius: 999px;
  background: rgba(240, 248, 253, 0.96);
  box-shadow: 0 22px 60px rgba(11, 31, 66, 0.28), 0 0 0 1px rgba(11, 31, 66, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  padding: 0 clamp(14px, 2.8vw, 34px);
  gap: 24px;
  pointer-events: auto;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.nav-logo img {
  display: block;
  width: auto;
  height: 62px;
  filter: drop-shadow(0 8px 14px rgba(11, 31, 66, 0.16));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(12, 30, 58, 0.08);
  border-radius: 999px;
  background: rgba(229, 244, 253, 0.92);
  color: #0b1f42;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(26, 117, 187, 0.24);
  background: rgba(207, 232, 247, 0.98);
  box-shadow: 0 12px 28px rgba(26, 117, 187, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.mobile-nav-menu {
  display: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 76svh, 790px);
  padding: clamp(116px, 13vh, 146px) 0 clamp(44px, 6vh, 72px);
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-section::before {
  z-index: 0;
  background: url("/assets/home/homepage/crowdlevels-header-image.avif") center center / cover no-repeat;
}

.hero-section::after {
  z-index: 1;
  background:
    radial-gradient(ellipse at 24% 46%, rgba(5, 12, 25, 0.28) 0%, rgba(5, 12, 25, 0.52) 42%, rgba(5, 12, 25, 0.76) 100%),
    linear-gradient(180deg, rgba(5, 12, 25, 0.18) 0%, rgba(5, 12, 25, 0.28) 46%, rgba(5, 12, 25, 0.78) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  min-height: clamp(500px, 58svh, 640px);
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy h1 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  text-wrap: balance;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.42));
}

.hero-copy p {
  max-width: 570px;
  color: rgba(235, 248, 255, 0.92);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 700;
  line-height: 1.38;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.44);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 2px;
}

.hero-stat-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(7, 18, 38, 0.46);
  padding: 13px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 16px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.hero-stat-card span {
  color: rgba(214, 246, 248, 0.8);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-stat-card strong {
  min-width: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 900;
  line-height: 1;
}

.hero-stat-card em {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: rgba(235, 248, 255, 0.74);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button::after,
.text-link::after,
.panel-link::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.button.primary {
  background: #1a75bb;
  color: #fff;
  box-shadow: 0 18px 42px rgba(26, 117, 187, 0.32);
}

.button.secondary {
  border-color: rgba(96, 193, 255, 0.42);
  background: rgba(240, 248, 253, 0.94);
  color: #0b1f42;
  box-shadow: 0 16px 38px rgba(8, 18, 38, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}

.signal-list strong {
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.2;
}

.signal-list span:last-child {
  color: rgba(235, 248, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.signal-icon {
  width: 28px;
  height: 28px;
  color: var(--sky);
}

.wait-icon {
  background:
    linear-gradient(90deg, transparent 0 3px, currentColor 3px 5px, transparent 5px 9px, currentColor 9px 11px, transparent 11px 15px, currentColor 15px 17px, transparent 17px),
    linear-gradient(currentColor, currentColor) 0 16px / 24px 2px no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.calendar-icon {
  border: 2px solid currentColor;
  border-radius: 5px;
  background:
    linear-gradient(currentColor, currentColor) 5px 8px / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 5px 15px / 14px 2px no-repeat;
}

.chart-icon {
  background:
    linear-gradient(currentColor, currentColor) 4px 13px / 3px 11px no-repeat,
    linear-gradient(currentColor, currentColor) 12px 7px / 3px 17px no-repeat,
    linear-gradient(currentColor, currentColor) 20px 2px / 3px 22px no-repeat;
}

.live-board {
  overflow: hidden;
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  background: rgba(8, 18, 38, 0.82);
  color: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
}

.board-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #d6f6f8;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.board-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ef06d;
  box-shadow: 0 0 0 6px rgba(126, 240, 109, 0.12), 0 0 20px rgba(126, 240, 109, 0.78);
  animation: livePulse 1.7s ease-in-out infinite;
}

.board-head h2 {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.15;
}

.board-time {
  max-width: 180px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  text-align: right;
}

.table-wrap {
  margin: 0 14px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #fff;
}

.park-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--navy);
}

.park-table th,
.park-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(9, 21, 40, 0.1);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: left;
  vertical-align: middle;
}

.park-table th {
  background: #eef6fa;
  color: #33455e;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.park-table tr:last-child td {
  border-bottom: 0;
}

.park-table td:first-child {
  font-weight: 900;
}

.park-table a {
  color: inherit;
  text-decoration: none;
}

.park-table a:hover,
.park-table a:focus-visible {
  color: var(--blue);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  vertical-align: -1px;
}

.status-dot.green { background: var(--green); }
.status-dot.yellow { background: var(--gold); }
.status-dot.red { background: var(--red); }

.level-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 0.74rem;
  font-weight: 900;
}

.level-chip.low {
  background: #dff7e9;
  color: #08743e;
}

.level-chip.moderate {
  background: #fff0ca;
  color: #8a5c00;
}

.level-chip.high {
  background: #ffe1dd;
  color: #af201a;
}

.sparkline {
  --bars: 40% 55% 35% 68% 50% 75% 44%;
  display: inline-grid;
  grid-template-columns: repeat(7, 4px);
  align-items: end;
  gap: 3px;
  width: 46px;
  height: 24px;
}

.sparkline::before,
.sparkline::after {
  display: contents;
  content: "";
}

.sparkline {
  background:
    linear-gradient(var(--sky), var(--sky)) 0 bottom / 4px var(--b1, 40%) no-repeat,
    linear-gradient(var(--sky), var(--sky)) 7px bottom / 4px var(--b2, 55%) no-repeat,
    linear-gradient(var(--sky), var(--sky)) 14px bottom / 4px var(--b3, 35%) no-repeat,
    linear-gradient(var(--sky), var(--sky)) 21px bottom / 4px var(--b4, 68%) no-repeat,
    linear-gradient(var(--sky), var(--sky)) 28px bottom / 4px var(--b5, 50%) no-repeat,
    linear-gradient(var(--sky), var(--sky)) 35px bottom / 4px var(--b6, 75%) no-repeat,
    linear-gradient(var(--sky), var(--sky)) 42px bottom / 4px var(--b7, 44%) no-repeat;
}

.sparkline.small {
  width: 42px;
  height: 20px;
}

.latest-strip-section {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(9, 21, 40, 0.16);
  background: #071c39;
  color: #fff;
}

.news-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(96, 193, 255, 0.1), rgba(244, 189, 53, 0.08), rgba(96, 193, 255, 0.04)),
    #071c39;
  padding: 14px clamp(24px, 4.8vw, 68px);
  overflow: hidden;
}

.news-ticker > span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-track {
  min-width: 0;
  overflow: hidden;
}

.ticker-track-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  min-width: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker-track a,
.ticker-track-inner a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.ticker-track a::before,
.ticker-track-inner a::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px 1px 0;
  border-radius: 50%;
  background: var(--sky);
  content: "";
}

.discovery-section {
  padding: 42px 0 52px;
  border-top: 1px solid rgba(9, 21, 40, 0.08);
  background: #fff;
}

.pulse-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 68px;
  border-top: 1px solid rgba(9, 21, 40, 0.08);
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8fc 52%, #edf5fa 100%);
}

.pulse-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 117, 187, 0.32), transparent);
  content: "";
  pointer-events: none;
}

.park-jump-section {
  padding: 48px 0 56px;
  border-top: 1px solid rgba(9, 21, 40, 0.08);
  background:
    linear-gradient(180deg, #edf5fa 0%, #ffffff 100%);
}

.deep-section {
  position: relative;
  overflow: hidden;
  padding: 52px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(96, 193, 255, 0.1), rgba(244, 189, 53, 0.06)),
    var(--dark);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.05;
  text-wrap: balance;
}

.section-head p {
  max-width: 620px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.text-link,
.panel-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.deep-section .section-head h2 {
  color: #fff;
}

.deep-section .section-head p {
  color: rgba(235, 248, 255, 0.78);
}

.deep-section .text-link {
  color: var(--sky);
}

.filter-tabs {
  display: inline-flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f4f8fb;
  padding: 5px;
}

.filter-tab {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #38485c;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-tab.is-active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(9, 21, 40, 0.08);
}

.discovery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 18px;
  scroll-snap-type: inline mandatory;
}

.discovery-card {
  min-width: 0;
  scroll-snap-align: start;
}

.discovery-card[hidden] {
  display: none;
}

.discovery-card a,
.feature-story a {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(9, 21, 40, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.discovery-card a:hover,
.discovery-card a:focus-visible,
.feature-story a:hover,
.feature-story a:focus-visible {
  border-color: rgba(26, 117, 187, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.discovery-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  background: #e9f2f7;
}

.card-body,
.feature-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #617084;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
}

.card-meta strong {
  color: var(--blue);
  text-transform: uppercase;
}

.discovery-card h3,
.feature-story h3 {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.18;
}

.discovery-card p,
.feature-story p {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.pulse-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 28, 56, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 44px rgba(9, 21, 40, 0.09);
  padding: 22px;
}

.pulse-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  content: "";
}

.movers-panel::before {
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
}

.panel-head h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.panel-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(26, 117, 187, 0.14);
  border-radius: 999px;
  background: rgba(229, 244, 253, 0.82);
  color: #31536e;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: right;
}

.mini-table {
  display: grid;
  align-content: start;
  gap: 10px;
}

.wait-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(108px, auto) 48px;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  border: 1px solid rgba(9, 21, 40, 0.08);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  padding: 12px 14px;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mini-table .wait-row {
  box-shadow: 0 1px 0 rgba(8, 28, 56, 0.03);
}

.outlier-row {
  grid-template-columns: 34px minmax(0, 1fr) minmax(118px, auto);
  border-color: rgba(179, 41, 53, 0.12);
  background: #fffafa;
}

.row-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5f4fd;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.outlier-row .row-rank {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(179, 41, 53, 0.16);
}

.mini-table .wait-row:hover,
.mini-table .wait-row:focus-visible {
  border-color: rgba(26, 117, 187, 0.28);
  box-shadow: 0 14px 32px rgba(26, 117, 187, 0.12);
  transform: translateY(-1px);
}

.row-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.row-main strong {
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-main small,
.row-metric small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
}

.row-metric {
  display: grid;
  justify-items: end;
  gap: 3px;
  min-width: 0;
  text-align: right;
}

.row-metric strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #33455e;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.row-metric.hot strong,
.row-metric.hot small {
  color: var(--red);
}

.trend-up strong::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(96, 193, 255, 0.18);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  content: "↗";
}

.row-metric.hot strong::before {
  background: rgba(179, 41, 53, 0.12);
  color: var(--red);
  content: "↑";
}

.mover-list {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-link {
  margin-top: auto;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(11, 79, 138, 0.34);
  border-radius: var(--radius);
  background: #ffffff;
  color: #0b4f8a;
  padding: 12px 18px;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(11, 79, 138, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.panel-link::after {
  width: 9px;
  height: 9px;
  margin-left: 11px;
  border-width: 2px;
}

.panel-link:hover,
.panel-link:focus-visible {
  background: #eef8ff;
  box-shadow: 0 14px 30px rgba(11, 79, 138, 0.18);
  transform: translateY(-2px);
}

.park-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.park-tile-link {
  position: relative;
  display: flex;
  min-height: 150px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(8, 28, 56, 0.13);
  border-radius: var(--radius);
  background: #071327;
  color: #fff;
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(15, 48, 85, 0.13);
  isolation: isolate;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.park-tile-link::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 16, 33, 0.08) 0%, rgba(6, 16, 33, 0.18) 34%, rgba(6, 16, 33, 0.88) 100%);
  content: "";
  pointer-events: none;
}

.park-tile-link img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(1.02);
  transform: scale(1.02);
  transition: filter 0.32s ease, transform 0.32s ease;
}

.park-tile-animal-kingdom img {
  object-position: center 50%;
}

.park-tile-link:hover,
.park-tile-link:focus-visible {
  border-color: rgba(96, 193, 255, 0.58);
  box-shadow: 0 24px 54px rgba(15, 48, 85, 0.2);
  transform: translateY(-2px);
}

.park-tile-link:hover img,
.park-tile-link:focus-visible img {
  filter: saturate(1.15) contrast(1.06) brightness(1.08);
  transform: scale(1.08);
}

.park-tile-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.park-tile-copy strong {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.14;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.park-tile-copy span {
  color: rgba(235, 248, 255, 0.74);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  text-transform: uppercase;
}

.deep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}

.deep-section .feature-story a {
  grid-template-rows: auto minmax(0, 1fr);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(248, 252, 255, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.deep-section .feature-story a:hover,
.deep-section .feature-story a:focus-visible {
  border-color: rgba(96, 193, 255, 0.52);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.34);
}

.feature-story img {
  display: block;
  width: 100%;
  height: clamp(220px, 17vw, 286px);
  object-fit: cover;
  background: #e9f2f7;
}

.feature-body {
  min-width: 0;
  padding: 18px;
}

.feature-story h3 {
  font-size: 1.18rem;
}

.check-list {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.check-list span {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  color: #42536a;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.check-list span::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e7f6ec;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  content: "✓";
}

.seo-section {
  padding: 52px 0 56px;
  border-top: 1px solid rgba(9, 21, 40, 0.08);
  background: #ffffff;
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.seo-grid h2 {
  max-width: 700px;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
}

.seo-grid p {
  max-width: 760px;
  margin-top: 14px;
  color: #35465e;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.7;
}

.seo-grid p a {
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.seo-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.seo-links a {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  padding: 16px;
  text-decoration: none;
}

.seo-links strong {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.seo-links span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.site-footer {
  padding: 20px 0 28px;
  background: #fff;
  border-top: 1px solid rgba(9, 21, 40, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-socials,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-socials {
  gap: 12px;
}

.footer-links {
  gap: 16px;
}

.footer-inner a {
  text-decoration: none;
}

.footer-text-link {
  padding: 10px 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(9, 21, 40, 0.12);
  border-radius: 999px;
  background: #eff7ff;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(11, 31, 66, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.footer-social-link-facebook {
  color: #1a75bb;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  border-color: rgba(26, 117, 187, 0.34);
  background: #dff1ff;
  color: #0b1f42;
  box-shadow: 0 16px 32px rgba(26, 117, 187, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.72; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 18px;
  }

  .hero-copy h1 {
    max-width: 840px;
    font-size: 3.7rem;
  }

  .hero-stat-grid,
  .signal-list,
  .live-board {
    max-width: 840px;
  }

  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .park-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .seo-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container,
  .nav-inner {
    width: min(100% - 32px, 1320px);
  }

  .site-nav {
    padding: 10px 0;
  }

  .nav-logo img {
    height: 48px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-menu {
    position: relative;
    display: block;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0b1f42;
    padding: 0;
    font-size: 0;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  .mobile-nav-toggle::-webkit-details-marker,
  .mobile-nav-toggle::marker {
    display: none;
    content: "";
  }

  .mobile-nav-lines,
  .mobile-nav-lines::before,
  .mobile-nav-lines::after {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    content: "";
  }

  .mobile-nav-lines {
    position: relative;
  }

  .mobile-nav-lines::before {
    position: absolute;
    top: -8px;
  }

  .mobile-nav-lines::after {
    position: absolute;
    top: 8px;
  }

  .mobile-nav-label {
    display: none !important;
  }

  .mobile-nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 80;
    display: grid;
    width: min(260px, calc(100vw - 36px));
    gap: 8px;
    border: 1px solid rgba(11, 31, 66, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    padding: 10px;
    box-shadow: 0 24px 64px rgba(11, 31, 66, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(11, 31, 66, 0.08);
    border-radius: 16px;
    color: #0b1f42;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible {
    border-color: rgba(26, 117, 187, 0.28);
    background: rgba(229, 244, 253, 0.96);
    color: #0b1f42;
  }

  .hero-section {
    padding-top: 108px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .filter-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .pulse-grid,
  .deep-grid {
    grid-template-columns: 1fr;
  }

  .park-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container,
  .nav-inner {
    width: min(100% - 24px, 1320px);
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stat-grid,
  .signal-list {
    grid-template-columns: 1fr;
  }

  .board-head,
  .news-ticker {
    grid-template-columns: 1fr;
  }

  .board-head {
    display: grid;
  }

  .board-time {
    max-width: none;
    text-align: left;
  }

  .table-wrap {
    margin: 0 10px;
  }

  .park-table {
    min-width: 0;
    table-layout: fixed;
  }

  .park-table th:nth-child(4),
  .park-table td:nth-child(4) {
    display: none;
  }

  .park-table th,
  .park-table td {
    padding: 12px 10px;
    font-size: 0.78rem;
  }

  .park-table th:nth-child(1),
  .park-table td:nth-child(1) {
    width: 48%;
  }

  .park-table th:nth-child(2),
  .park-table td:nth-child(2) {
    width: 30%;
  }

  .park-table th:nth-child(3),
  .park-table td:nth-child(3) {
    width: 22%;
  }

  .pulse-section {
    padding: 42px 0 52px;
  }

  .park-jump-section {
    padding: 40px 0 46px;
  }

  .park-tile-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .park-tile-link {
    min-height: 118px;
    padding: 13px;
  }

  .pulse-panel {
    padding: 20px 16px 18px;
  }

  .wait-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    min-height: 62px;
    padding: 11px;
  }

  .row-main strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .row-metric {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .mini-table .sparkline {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .outlier-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .outlier-row .row-metric {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .discovery-rail {
    grid-auto-columns: minmax(238px, 82vw);
  }

  .seo-links {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .footer-nav {
    justify-content: start;
  }

  .footer-socials {
    width: 100%;
  }

  .footer-links {
    gap: 8px 16px;
  }
}

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