/* Game Venture Zones — athletic editorial */

:root {
  --ink: #102428;
  --ink-soft: #2a4046;
  --paper: #f1f5f2;
  --paper-2: #e4ece7;
  --field: #1c6b5c;
  --field-deep: #134a40;
  --signal: #e59a28;
  --signal-deep: #c47d14;
  --mist: #d7e4de;
  --line: rgba(16, 36, 40, 0.12);
  --line-strong: rgba(16, 36, 40, 0.22);
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(16, 36, 40, 0.1);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(229, 154, 40, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(28, 107, 92, 0.1), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 40%, #eaf1ed 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe.map {
  height: auto;
  min-height: 240px;
}

a {
  color: var(--field-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--signal-deep);
}

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2rem, 7vw, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 2rem, var(--max));
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(241, 245, 242, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex: 1;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand > span {
  min-width: 0;
}

.brand-name {
  font-size: clamp(0.92rem, 3.5vw, 1.05rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(28, 107, 92, 0.1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  min-height: 44px;
}

body.nav-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--field);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--field-deep);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-signal {
  background: var(--signal);
  color: var(--ink);
}

.btn-signal:hover,
.btn-signal:focus-visible {
  background: var(--signal-deep);
  color: #ffffff;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 36, 40, 0.25) 0%, rgba(16, 36, 40, 0.55) 45%, rgba(16, 36, 40, 0.9) 100%),
    linear-gradient(90deg, rgba(16, 36, 40, 0.55) 0%, transparent 65%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(3.25rem, 9vh, 7rem) 0 clamp(2.25rem, 5vh, 3.5rem);
  max-width: 720px;
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--signal);
  letter-spacing: -0.02em;
}

.hero h1 {
  margin-bottom: 0.75rem;
  max-width: 14ch;
}

.hero .lead {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 180px);
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Zone cards */
.zone-toolbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

.zone-toolbar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  min-height: 42px;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.zone-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.zone-card.is-hidden {
  display: none;
}

.zone-card img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}

.zone-card-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.zone-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--field);
}

.zone-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.zone-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.stars {
  color: var(--signal-deep);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.rating-num {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
}

/* Venture builder */
.builder {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.builder-panel,
.meter-panel,
.forecast-panel,
.form-panel,
.contact-side,
.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.chip {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.chip.is-selected {
  background: var(--field);
  border-color: var(--field);
  color: var(--white);
}

.builder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}

.stat span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.selected-list {
  min-height: 140px;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.selected-list li {
  margin-bottom: 0.4rem;
}

/* Telemetry meters */
.meters {
  display: grid;
  gap: 1rem;
}

.meter-row label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.meter-track {
  height: 10px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--field), var(--signal));
  border-radius: inherit;
  transition: width 0.8s var(--ease);
}

.meter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.log-box {
  margin-top: 1rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  min-height: 96px;
  white-space: pre-wrap;
}

.telemetry-legend {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.telemetry-legend li {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.telemetry-legend strong {
  color: var(--ink);
}

/* Forecast */
.forecast-list {
  display: grid;
  gap: 1rem;
}

.forecast-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.bar-dual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.bar-track {
  height: 8px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
  grid-column: 1 / -1;
}

.bar-fill {
  height: 100%;
  background: var(--field);
  width: 50%;
}

.bar-fill.away {
  background: var(--signal);
  margin-left: auto;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.25rem;
  border-left: 3px solid var(--signal);
  background: rgba(255, 255, 255, 0.55);
}

.step span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--field);
  margin-bottom: 0.4rem;
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero p {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field.checkbox {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.7rem 0.75rem;
}

.form-field.checkbox input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  margin: 0.2rem 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--field);
  cursor: pointer;
  border-radius: 4px;
}

.form-field.checkbox label {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.form-field.checkbox .field-error {
  flex: 1 1 100%;
  margin-left: calc(1.15rem + 0.75rem);
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

input[type="checkbox"] {
  width: auto;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(28, 107, 92, 0.35);
  border-color: var(--field);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin: 0.6rem 0 0;
  font-weight: 600;
  min-height: 1.3em;
}

.form-status.is-error {
  color: #9b1c1c;
}

.form-status.is-ok {
  color: var(--field-deep);
}

.field-error {
  color: #9b1c1c;
  font-size: 0.82rem;
  font-weight: 600;
}

.map {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: var(--paper-2);
}

.contact-card p {
  margin-bottom: 0.55rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--signal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 560px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.45s var(--ease);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 404 */
.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--field);
  line-height: 1;
}

/* Legal compact */
.legal-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* Live ticker */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.7rem 0;
  animation: ticker 42s linear infinite;
  font-size: 0.86rem;
  font-weight: 600;
}

.ticker-track span {
  white-space: nowrap;
}

.ticker-track b {
  color: var(--signal);
  font-weight: 700;
}

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

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  min-width: 0;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.feature-card em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--field);
}

.feature-card p {
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.feature-card .feature-link {
  font-weight: 700;
  color: var(--field-deep);
  margin-top: 0.35rem;
}

/* Play / crew builder */
.play-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.energy-track {
  height: 10px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.energy-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--field), var(--signal));
  transition: width 0.35s var(--ease);
}

.energy-fill.is-hot {
  background: linear-gradient(90deg, var(--signal-deep), #c0392b);
}

.crew-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.35rem;
  align-items: start;
}

.crew-heading {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.crew-subhead {
  margin: 1.25rem 0 0.7rem;
  font-size: 1.05rem;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.roster-card {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.roster-card:hover:not(:disabled) {
  border-color: var(--field);
  transform: translateY(-1px);
}

.roster-card.is-selected {
  background: rgba(28, 107, 92, 0.1);
  border-color: var(--field);
}

.roster-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.roster-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--field);
}

.roster-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.roster-card__tag {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.roster-card__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.crew-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.crew-status {
  min-height: 1.4em;
  margin: 0.75rem 0 0;
  font-weight: 600;
  color: var(--field-deep);
}

.route-board {
  background:
    radial-gradient(circle at 50% 20%, rgba(229, 154, 40, 0.16), transparent 45%),
    linear-gradient(180deg, #163a34 0%, #0f2925 100%);
  color: #f4faf7;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.1rem 0.85rem 1.25rem;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  min-height: 320px;
  width: 100%;
  overflow: hidden;
}

.board-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
  justify-content: center;
}

.board-slot {
  width: min(150px, calc(50% - 0.4rem));
  min-width: 118px;
  min-height: 74px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.6rem 0.55rem;
  display: grid;
  gap: 0.15rem;
  text-align: center;
}

.board-slot--lead,
.board-slot--anchor {
  width: min(180px, 72%);
}

.board-slot.is-filled {
  border-style: solid;
  border-color: rgba(229, 154, 40, 0.75);
  background: rgba(229, 154, 40, 0.14);
}

.board-slot__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.board-slot strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.blueprint-grid {
  display: grid;
  gap: 0.55rem;
}

.blueprint-card {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: grid;
  gap: 0.2rem;
}

.blueprint-card span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.blueprint-card.is-active {
  border-color: var(--field);
  background: rgba(28, 107, 92, 0.1);
}

.board-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.board-metrics div {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  text-align: center;
}

.board-metrics span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.board-metrics strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.cta-band {
  background: var(--ink);
  color: #f4faf7;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  gap: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
  margin: 0;
}

.cta-band .btn-signal {
  background: var(--signal);
  color: var(--ink);
}

.cta-band .btn-signal:hover,
.cta-band .btn-signal:focus-visible {
  background: #f3b54a;
  color: #102428;
}

.cta-band .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn-secondary:hover,
.cta-band .btn-secondary:focus-visible {
  background: #ffffff;
  color: #102428;
  border-color: #ffffff;
}

.zone-card .btn {
  margin-top: 0.55rem;
  width: 100%;
}


/* =========================
   Responsive breakpoints
   (must stay AFTER component rules)
   ========================= */

@media (max-width: 1100px) {
  .zones-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .zones-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder,
  .split,
  .contact-grid,
  .footer-grid,
  .crew-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    gap: 1.35rem 1rem;
  }

  .map {
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    transform: none;
    width: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.85rem 1rem calc(1.1rem + env(safe-area-inset-bottom));
    background: rgba(247, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(16, 36, 40, 0.08);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    z-index: 60;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .hero {
    min-height: min(78vh, 680px);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(16, 36, 40, 0.2) 0%, rgba(16, 36, 40, 0.62) 42%, rgba(16, 36, 40, 0.94) 100%);
  }

  .form-grid,
  .builder-stats,
  .play-stats {
    grid-template-columns: 1fr;
  }

  .board-metrics {
    grid-template-columns: 1fr;
  }

  .bar-dual {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .bar-dual > span:nth-child(2) {
    display: none;
  }

  .cookie-banner {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: clamp(2.5rem, 8vw, 3.75rem) 0;
  }

  .zones-grid,
  .feature-grid,
  .roster-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(86svh, 620px);
  }

  .hero-actions,
  .cookie-actions,
  .crew-actions,
  .meter-actions,
  .cta-band .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .crew-actions .btn,
  .meter-actions .btn,
  .cta-band .btn,
  .btn {
    width: 100%;
    min-width: 0;
  }

  .brand-tag {
    display: none;
  }

  .board-slot {
    width: min(148px, calc(50% - 0.35rem));
    min-width: 0;
    flex: 1 1 calc(50% - 0.35rem);
  }

  .board-slot--lead,
  .board-slot--anchor {
    width: min(220px, 100%);
    flex-basis: 100%;
  }

  .board-slot strong {
    font-size: 0.88rem;
    overflow-wrap: anywhere;
  }

  .stat strong {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.45rem;
  }

  .page-404 {
    padding: 3rem 0;
    min-height: 55vh;
  }

  .ticker-track {
    gap: 1.5rem;
    font-size: 0.8rem;
    animation-duration: 28s;
  }

  .cta-band {
    padding: 1.35rem 1.15rem;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 1.1rem, var(--max));
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .hero .lead {
    font-size: 0.98rem;
  }

  .filter-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .nav a {
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
  }
}

@media (hover: none) {
  .zone-card:hover,
  .feature-card:hover,
  .roster-card:hover:not(:disabled) {
    transform: none;
    box-shadow: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    row-gap: 0.35rem;
  }
}
