/* ==========================================================================
   rankdshpurerippl.com — Football Stadium Maintenance
   Style: Soft Modern (rounded corners, sport pastels, micro-shadows, gentle blur)
   Card Style: Horizontal Split (media left, metadata + tags + CTA right)
   Spacing Scale: 4px, 8px, 16px, 24px, 40px, 64px
   ========================================================================== */

:root {
  /* Sport-inspired Soft Modern Color Palette */
  --color-pitch-dark: #1b3d2b;       /* Deep stadium turf green */
  --color-pitch-primary: #27523d;    /* Primary brand deep turf */
  --color-pitch-soft: #386b52;       /* Mid tone */
  --color-turf-light: #e8f3ec;       /* Soft mint pastel */
  --color-accent-mint: #10b981;      /* Bright vibrant accent */
  --color-surface-bg: #f7faf8;       /* Very soft warm mint-tinted gray base */
  --color-card-bg: #ffffff;          /* Clean white surface */
  --color-muted-bg: #eef4f0;         /* Section soft fill */

  /* Neutral Text Palette */
  --color-text-main: #192820;        /* Deep slate with green undertone */
  --color-text-muted: #4e6357;       /* Mid-tone body */
  --color-text-light: #708579;       /* Secondary details */
  --color-border: #d7e4dc;          /* Soft border */
  --color-border-focus: #10b981;    /* Accessible outline */

  /* Semantic */
  --color-error: #be123c;
  --color-error-bg: #ffe4e6;
  --color-success: #15803d;
  --color-success-bg: #dcfce7;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevation & Blur */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-micro: 0 1px 3px rgba(27, 61, 43, 0.05), 0 1px 2px rgba(27, 61, 43, 0.03);
  --shadow-card: 0 4px 16px rgba(27, 61, 43, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 24px rgba(27, 61, 43, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);

  /* Layout */
  --container-max: 1160px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-surface-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-surface-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-pitch-dark);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 2.85rem); margin-bottom: 16px; }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.1rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.45rem); margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-pitch-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-accent-mint);
}

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

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

li {
  margin-bottom: 8px;
}

/* Accessible Focus States */
:focus-visible {
  outline: 3px solid var(--color-border-focus);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Spacing & Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section-padding {
  padding-top: 64px;
  padding-bottom: 64px;
}

.bg-muted {
  background-color: var(--color-muted-bg);
}

/* Badges & Tags */
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background-color: var(--color-turf-light);
  color: var(--color-pitch-primary);
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background-color: var(--color-turf-light);
  color: var(--color-pitch-dark);
}

.tag-turf { background-color: #d1fae5; color: #065f46; }
.tag-stands { background-color: #e0e7ff; color: #3730a3; }
.tag-mep { background-color: #fef3c7; color: #92400e; }
.tag-civil { background-color: #e0f2fe; color: #0369a1; }
.tag-sanitary { background-color: #fce7f3; color: #9d174d; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary {
  background-color: var(--color-pitch-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-pitch-dark);
  color: #ffffff;
  box-shadow: var(--shadow-micro);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-pitch-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-turf-light);
  color: var(--color-pitch-dark);
  border-color: #c0d8cb;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-pitch-primary);
  border-color: var(--color-pitch-primary);
}

.btn-outline:hover {
  background-color: var(--color-pitch-primary);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  min-height: 36px;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Global Header (Non-sticky, strictly height checked)
   Desktop: 64px, Mobile: 52px
   ========================================================================== */

.site-header {
  position: static;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-micro);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-pitch-dark);
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.primary-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 8px 4px;
  position: relative;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-pitch-primary);
}

.nav-list a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-pitch-primary);
  border-radius: 2px;
}

.header-cta-wrap {
  display: none;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-pitch-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile Nav Panel (No layout shift, absolute overlay under header) */
.mobile-nav-panel {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.mobile-nav-panel.is-visible {
  display: block;
}

.mobile-nav-inner {
  padding-top: 16px;
  padding-bottom: 24px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.mobile-nav-list li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-muted-bg);
}

.mobile-nav-list a {
  display: block;
  padding: 12px 4px;
  font-weight: 600;
  color: var(--color-pitch-dark);
  font-size: 1rem;
}

.mobile-nav-list a:hover {
  color: var(--color-accent-mint);
}

@media (min-width: 860px) {
  .primary-nav {
    display: block;
  }
  .header-cta-wrap {
    display: block;
  }
  .hamburger-btn {
    display: none;
  }
  .mobile-nav-panel {
    display: none !important;
  }
}

@media (max-width: 859px) {
  .header-inner {
    height: 52px;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-bg) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-title {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

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

.hero-visual {
  min-width: 0;
}

.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

@media (min-width: 860px) {
  .hero-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
  .hero-img {
    height: 440px;
  }
}

/* ==========================================================================
   Horizontal Split Cards Stack (Commitment: Horizontal Split)
   Media Left, Metadata + Tags + CTA Right
   ========================================================================== */

.cards-section .section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.horizontal-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.h-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-micro);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.h-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #bfd4c8;
}

.h-card-media {
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  background-color: var(--color-muted-bg);
}

.h-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  min-width: 0;
}

.h-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.read-time {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.h-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.h-card-title a {
  color: var(--color-pitch-dark);
}

.h-card-title a:hover {
  color: var(--color-accent-mint);
}

.h-card-summary {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.h-card-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-muted-bg);
}

.h-card-hint {
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-style: italic;
}

@media (min-width: 768px) {
  .h-card {
    flex-direction: row;
    min-height: 240px;
  }
  .h-card-media {
    width: 320px;
    height: auto;
  }
  .h-card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Deep Dive & Split Layouts
   ========================================================================== */

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.split-text {
  min-width: 0;
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.point-item {
  background-color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.point-item h4 {
  color: var(--color-pitch-primary);
  margin-bottom: 6px;
}

.point-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.card-callout {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.divider {
  border: 0;
  height: 1px;
  background-color: var(--color-border);
  margin: 20px 0;
}

@media (min-width: 860px) {
  .split-layout {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
  }
  .points-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Article & Content Sub-pages
   ========================================================================== */

.page-title-banner {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding-top: 40px;
  padding-bottom: 40px;
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.breadcrumb-nav a {
  color: var(--color-text-muted);
}

.lead-subhead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 840px;
  margin-bottom: 0;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.main-copy {
  min-width: 0;
}

.featured-media-block {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-micro);
}

.featured-media-block img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.image-caption {
  padding: 10px 16px;
  background-color: #ffffff;
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-style: italic;
  border-top: 1px solid var(--color-border);
}

.sidebar-col {
  min-width: 0;
}

.sidebar-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-micro);
}

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

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-mint);
  font-weight: bold;
}

.related-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-nav li {
  border-bottom: 1px solid var(--color-muted-bg);
  padding: 8px 0;
  margin: 0;
}

.related-nav a {
  font-size: 0.92rem;
  font-weight: 500;
}

@media (min-width: 860px) {
  .content-layout {
    grid-template-columns: 2fr 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   Data Tables
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 24px;
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.data-table th {
  background-color: var(--color-turf-light);
  color: var(--color-pitch-dark);
  font-weight: 700;
}

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

.data-table tr:nth-child(even) td {
  background-color: #fafcfb;
}

/* ==========================================================================
   Legal & Policy Pages
   ========================================================================== */

.legal-article {
  background-color: #ffffff;
}

.legal-content-wrapper {
  max-width: 840px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.4rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Contact Page & Form Components
   ========================================================================== */

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form-pane,
.contact-info-pane {
  min-width: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-pitch-dark);
}

.required {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-main);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--color-border-focus);
  outline: 2px solid var(--color-border-focus);
  outline-offset: 1px;
}

.form-control.is-invalid {
  border-color: var(--color-error);
  background-color: #fff9f9;
}

.error-msg {
  display: none;
  font-size: 0.82rem;
  color: var(--color-error);
  margin-top: 4px;
}

.error-msg.is-visible {
  display: block;
}

.form-success-card {
  background-color: var(--color-success-bg);
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.form-success-card .success-icon {
  margin-bottom: 16px;
}

.info-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-micro);
  margin-bottom: 24px;
}

.entity-details p {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.static-map-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-micro);
}

.map-header {
  padding: 12px 16px;
  background-color: var(--color-turf-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-pitch-dark);
}

.map-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-mint);
}

.map-graphic {
  height: 200px;
  background-color: #e2ece5;
}

.map-caption {
  padding: 12px 16px;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

@media (min-width: 860px) {
  .contact-grid-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #162a1f;
  color: #cfdcd4;
  border-top: 1px solid #233e2f;
  padding-top: 64px;
  padding-bottom: 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.brand-col .brand-name {
  color: #ffffff;
}

.footer-desc {
  margin-top: 16px;
  margin-bottom: 20px;
  color: #a4beae;
  line-height: 1.5;
}

.company-legal-info p {
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: #9cb8a7;
}

.company-legal-info a {
  color: #a7f3d0;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cfdcd4;
}

.footer-links a:hover {
  color: #a7f3d0;
}

.footer-bottom {
  border-top: 1px solid #244332;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.82rem;
  color: #8dafa0;
}

.footer-sub-links {
  display: flex;
  gap: 16px;
}

.footer-sub-links a {
  color: #8dafa0;
}

.footer-sub-links a:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   Cookie Banner & Modal
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 16px 0;
  z-index: 1000;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Modal Backdrop */
.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(22, 42, 31, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-modal-backdrop[hidden] {
  display: none !important;
}

.cookie-modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
}

.pref-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.pref-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  cursor: pointer;
}

.pref-item input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-pitch-primary);
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Responsive & Safe Wraps
   ========================================================================== */

/* Sub-400px breakpoint */
@media (max-width: 399px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .h-card-body {
    padding: 16px;
  }
  .cookie-actions {
    flex-direction: column;
  }
}

/* Safe text wrapper */
.brand-name, h1, h2, h3, h4, .lead-subhead, .footer-desc {
  overflow-wrap: anywhere;
}

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