/* ============================================================
   REACH SCREENS — v5 (Pattison-faithful palette + motion)
   Single-scroll home + Locations page
   Source palette: pattisonoutdoor.com (#0079C1 / #00285E / #50C1CB)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rs-text);
  background: var(--rs-navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ---------- Design Tokens (Pattison-matched) ---------- */
:root {
  /* Brand */
  --rs-primary:     #0079C1;
  --rs-primary-2:   #0089D9;
  --rs-navy:        #00285E;
  --rs-navy-2:      #051A3D;
  --rs-navy-3:      #001A41;
  --rs-mint:        #50C1CB;
  --rs-mint-2:      #6FCFD8;
  --rs-mint-soft:   rgba(80, 193, 203, 0.18);
  --rs-mint-glow:   rgba(80, 193, 203, 0.35);
  --rs-glow-navy:   rgba(0, 40, 94, 0.5);

  /* Surface */
  --rs-light:       #FAFAFA;
  --rs-text:        #FFFFFF;
  --rs-text-mid:    #B6C3D9;
  --rs-text-muted:  #6B7890;
  --rs-text-dark:   #1F2937;
  --rs-line:        rgba(255, 255, 255, 0.10);
  --rs-line-light:  rgba(0, 40, 94, 0.12);

  /* Type scale */
  --fs-h1:    clamp(2.5rem, 8vw, 7.5rem);
  --fs-h1-big: clamp(3rem, 11vw, 10rem);
  --fs-h2:    clamp(2rem, 6vw, 5rem);
  --fs-h3:    clamp(1.5rem, 3.5vw, 2.5rem);
  --fs-h4:    clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-eyebrow: 0.75rem;
  --fs-body:  1rem;
  --fs-lead:  clamp(1rem, 1.5vw, 1.25rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Layout */
  --container-max: 1536px;
  --container-pad: clamp(1rem, 4vw, 3rem);

  /* Motion — Pattison signature */
  --ease-pat: cubic-bezier(0.62, 0.16, 0.13, 1.01);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Effects */
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-sm: 8px;
  --nav-h: 80px;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-mint);
  margin-bottom: var(--space-3);
}
h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--rs-text);
}
h1 { font-size: var(--fs-h1); font-weight: 200; text-transform: uppercase; }
h2 { font-size: var(--fs-h2); font-weight: 300; }
h3 { font-size: var(--fs-h3); font-weight: 300; }
h4 { font-size: var(--fs-h4); font-weight: 400; }
p { color: var(--rs-text-mid); line-height: 1.6; }
.text-mint { color: var(--rs-mint); }
.text-primary { color: var(--rs-primary); }
.text-dark { color: var(--rs-text-dark); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.section { padding: var(--space-7) 0; position: relative; }
.section-light { background: var(--rs-light); color: var(--rs-text-dark); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: var(--rs-text-dark); }
.section-light p { color: #4B5563; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1500;
  height: var(--nav-h);
  transition: transform 300ms var(--ease-std), background-color 300ms var(--ease-std), backdrop-filter 300ms var(--ease-std), border-color 300ms var(--ease-std);
  will-change: transform;
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav.scrolled {
  background: rgba(0, 26, 65, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rs-line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--rs-text);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem 0;
  position: relative;
  transition: color 500ms var(--ease-std);
}
.nav-links a:hover { color: var(--rs-mint); transition-duration: 75ms; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rs-mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease-pat);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: var(--rs-primary);
  color: #FFFFFF !important;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: background 500ms var(--ease-std), transform 500ms var(--ease-std), box-shadow 500ms var(--ease-std);
}
.nav-cta:hover {
  background: var(--rs-primary-2);
  transform: translateY(-1px);
  transition-duration: 75ms;
  box-shadow: 0 8px 24px rgba(0, 121, 193, 0.4);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--rs-text);
  transition: transform 300ms var(--ease-std), opacity 300ms var(--ease-std);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Pattison parallax stack) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + var(--space-6));
  padding-bottom: var(--space-7);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: var(--rs-navy);
}
/* Layer 1 — background image (the venue photo) */
.hero-bg {
  --hero-img-pos: center;
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('assets/website-header.png') var(--hero-img-pos)/cover no-repeat;
  transform: translate3d(0, calc(var(--scroll-y, 0) * 0.18px), 0);
  will-change: transform;
}
@media (max-width: 900px) {
  .hero-bg { --hero-img-pos: 16% 28%; }
}
@media (max-width: 480px) {
  .hero-bg { --hero-img-pos: 12% 25%; }
}
/* Layer 2 — navy radial glow (Pattison signature) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 50% 45%, var(--rs-glow-navy) 0%, rgba(0, 40, 94, 0) 70%);
  pointer-events: none;
}
/* Layer 3 — fade-to-navy bottom (and side scrim for legibility) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(95deg, rgba(0, 26, 65, 0.75) 0%, rgba(0, 26, 65, 0.45) 45%, rgba(0, 26, 65, 0.15) 75%, rgba(0, 26, 65, 0.0) 100%),
    linear-gradient(180deg, rgba(0, 26, 65, 0.35) 0%, rgba(0, 26, 65, 0.15) 35%, rgba(0, 40, 94, 0.92) 92%, var(--rs-navy) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}
.hero h1 {
  max-width: 20ch;
  margin-bottom: var(--space-4);
  color: var(--rs-text);
  letter-spacing: -0.005em;
}
.hero h1 .accent { color: var(--rs-mint); }
.hero h1 .big {
  display: block;
  font-size: var(--fs-h1-big);
  font-weight: 200;
  line-height: 1;
}
.hero-sub {
  font-size: var(--fs-lead);
  color: var(--rs-text);
  max-width: 56ch;
  margin-bottom: var(--space-5);
  font-weight: 400;
  text-shadow: 0 1px 24px rgba(0, 26, 65, 0.6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- Buttons (Pattison pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: background 500ms var(--ease-std), color 500ms var(--ease-std), border-color 500ms var(--ease-std), transform 500ms var(--ease-std), box-shadow 500ms var(--ease-std);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rs-primary);
  color: var(--rs-text);
  border: 2px solid var(--rs-primary);
}
.btn-primary:hover {
  background: var(--rs-primary-2);
  border-color: var(--rs-primary-2);
  transition-duration: 75ms;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 121, 193, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--rs-text);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--rs-text);
  color: var(--rs-navy);
  border-color: var(--rs-text);
  transition-duration: 75ms;
}
.btn-outline-primary {
  background: transparent;
  color: var(--rs-primary);
  border: 2px solid var(--rs-primary);
}
.btn-outline-primary:hover {
  background: var(--rs-primary);
  color: var(--rs-text);
  transition-duration: 75ms;
}
.btn-outline-dark {
  background: transparent;
  color: var(--rs-text-dark);
  border: 2px solid var(--rs-text-dark);
}
.btn-outline-dark:hover {
  background: var(--rs-text-dark);
  color: var(--rs-text);
  transition-duration: 75ms;
}
.btn svg { width: 16px; height: 16px; }

/* ---------- Section Heads ---------- */
.section-head { max-width: 64ch; margin-bottom: var(--space-5); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head p { font-size: var(--fs-lead); }

/* ---------- Logo Collage ---------- */
.logo-collage-section {
  background: var(--rs-light);
  padding: var(--space-7) 0;
  color: var(--rs-text-dark);
}
.logo-collage-section h2 { color: var(--rs-text-dark); }
.logo-collage-section p { color: #4B5563; }
.logo-collage-section .eyebrow { color: var(--rs-primary); }
.logo-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(0.5rem, 1.5vw, 1.5rem);
  align-items: center;
  justify-items: center;
  margin-top: var(--space-5);
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 1.25rem;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(0, 40, 94, 0.06);
  opacity: 0.92;
  transition: opacity 500ms var(--ease-std), transform 500ms var(--ease-std), box-shadow 500ms var(--ease-std), border-color 500ms var(--ease-std);
}
.logo-tile:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 40, 94, 0.10);
  border-color: rgba(0, 121, 193, 0.20);
  transition-duration: 75ms;
}
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-tile.text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rs-navy);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}
/* Some logos use white text and need a dark tile to show */
.logo-tile.dark {
  background: var(--rs-navy);
  border-color: var(--rs-navy);
}
.logo-tile.dark.text { color: var(--rs-text); }

/* ---------- Screens + Map split ---------- */
.split-section {
  background: var(--rs-navy);
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
}
.split-section::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--rs-glow-navy) 0%, rgba(0, 40, 94, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.split-section > .container { position: relative; z-index: 1; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-5);
}
@media (min-width: 1024px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: start; }
}
.screen-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.screen-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--rs-navy-2);
  transition: transform 600ms var(--ease-pat), box-shadow 600ms var(--ease-pat);
}
.screen-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-pat);
}
.screen-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.screen-card:hover img { transform: scale(1.06); }
.screen-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 26, 65, 0.85) 60%, rgba(0, 26, 65, 0.97) 100%);
  color: var(--rs-text);
}
.screen-card-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-mint);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.screen-card-title { font-size: 1.1rem; font-weight: 400; line-height: 1.25; }

.map-block {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 480px;
  background: var(--rs-navy-2);
  border: 1px solid var(--rs-line);
}
@media (min-width: 1024px) {
  .map-block { min-height: 720px; position: sticky; top: calc(var(--nav-h) + 1rem); }
}
#map, .map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-caption {
  position: absolute;
  bottom: 1rem; left: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 26, 65, 0.92);
  border: 1px solid var(--rs-line);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--rs-text);
  font-size: 0.85rem;
  z-index: 5;
  backdrop-filter: blur(8px);
}
.map-caption-dot {
  width: 8px; height: 8px;
  background: var(--rs-mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--rs-mint-soft);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--rs-mint-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* Map marker */
.screen-marker { cursor: pointer; }
.screen-marker-pin {
  width: 36px; height: 36px;
  background: var(--rs-primary);
  color: var(--rs-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 0 4px rgba(0, 121, 193, 0.25);
  transition: transform 250ms var(--ease-pat), box-shadow 250ms var(--ease-pat);
}
.screen-marker:hover .screen-marker-pin {
  transform: scale(1.18);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 0 8px rgba(0, 121, 193, 0.35);
  background: var(--rs-primary-2);
}
.screen-marker-pin svg { width: 18px; height: 18px; }

/* Maplibre popup customization */
.maplibregl-popup-content {
  background: var(--rs-navy-2) !important;
  color: var(--rs-text) !important;
  padding: 1rem 1.25rem !important;
  border-radius: 12px !important;
  border: 1px solid var(--rs-line);
  font-family: 'Inter', sans-serif !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5) !important;
  min-width: 220px;
}
.maplibregl-popup-tip { border-top-color: var(--rs-navy-2) !important; border-bottom-color: var(--rs-navy-2) !important; }
.maplibregl-popup-close-button {
  color: var(--rs-text) !important;
  font-size: 1.5rem !important;
  padding: 0.25rem 0.5rem !important;
  right: 4px !important;
  top: 2px !important;
}
.map-popup-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rs-mint);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.map-popup-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--rs-text);
  margin-bottom: 0.25rem;
}
.map-popup-addr {
  font-size: 0.85rem;
  color: var(--rs-text-mid);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.map-popup-count {
  font-size: 0.75rem;
  color: var(--rs-mint);
  margin-bottom: 0.5rem;
}
.map-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  background: var(--rs-primary);
  color: var(--rs-text);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  transition: background 300ms var(--ease-std), transform 300ms var(--ease-std);
  cursor: pointer;
}
.map-popup-btn:hover { background: var(--rs-primary-2); transition-duration: 75ms; transform: translateY(-1px); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--rs-line);
}
.stat { text-align: left; }
.stat-num {
  font-size: clamp(2rem, 4vw, 3.25rem);
  white-space: nowrap;
  font-weight: 200;
  line-height: 1;
  color: var(--rs-mint);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--rs-text-mid);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---------- Photos strip (form side) ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: var(--space-4);
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 600ms var(--ease-pat);
}
.photo-strip img:hover { transform: scale(1.04); }

/* ---------- Form ---------- */
.form-section { background: var(--rs-light); color: var(--rs-text-dark); padding: var(--space-7) 0; }
.form-section h2 { color: var(--rs-text-dark); }
.form-section .eyebrow { color: var(--rs-primary); }
.form-section p { color: #4B5563; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 1024px) {
  .form-grid { grid-template-columns: 1fr 1.2fr; gap: var(--space-6); align-items: start; }
}
.form-side h2 { margin-bottom: var(--space-3); }
.form-side p { font-size: var(--fs-lead); margin-bottom: var(--space-3); }
.form-checklist { list-style: none; margin-top: var(--space-4); }
.form-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  color: var(--rs-text-dark);
}
.form-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background-color: var(--rs-primary);
  border-radius: 50%;
  display: inline-block;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3-3a1 1 0 111.4-1.4l2.3 2.3 6.3-6.3a1 1 0 011.4 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.form-card {
  background: var(--rs-text);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 60px -20px rgba(0, 26, 65, 0.18);
  border: 1px solid var(--rs-line-light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
.form-field { position: relative; display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-text-muted);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--rs-text-dark);
  background: var(--rs-light);
  border: 1.5px solid var(--rs-line-light);
  border-radius: var(--radius-sm);
  transition: border-color 200ms var(--ease-std), background 200ms var(--ease-std), box-shadow 200ms var(--ease-std);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--rs-primary);
  background: var(--rs-text);
  box-shadow: 0 0 0 3px rgba(0, 121, 193, 0.15);
}
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  background: var(--rs-primary);
  color: var(--rs-text);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 500ms var(--ease-std), transform 500ms var(--ease-std), box-shadow 500ms var(--ease-std);
}
.form-submit:hover {
  background: var(--rs-primary-2);
  transition-duration: 75ms;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 121, 193, 0.4);
}
.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.success {
  background: rgba(80, 193, 203, 0.12);
  color: var(--rs-navy);
  border: 1px solid var(--rs-mint);
}
.form-feedback.error {
  background: rgba(220, 38, 38, 0.08);
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ---------- Locations page ---------- */
.locations-page-header {
  position: relative;
  background: var(--rs-navy-2);
  padding: calc(var(--nav-h) + var(--space-5)) 0 var(--space-5);
  border-bottom: 1px solid var(--rs-line);
  overflow: hidden;
}
.locations-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 70% 30%, var(--rs-glow-navy) 0%, transparent 65%);
  pointer-events: none;
}
.locations-page-header > .container { position: relative; z-index: 1; }
.locations-section { padding: var(--space-6) 0 var(--space-7); background: var(--rs-navy); }
.locations-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 1024px) {
  .locations-split { grid-template-columns: 0.85fr 1fr; gap: var(--space-4); align-items: start; }
}
.locations-list-wrap {
  background: var(--rs-navy-2);
  border-radius: var(--radius-card);
  border: 1px solid var(--rs-line);
  max-height: 760px;
  overflow-y: auto;
}
.locations-list-wrap::-webkit-scrollbar { width: 8px; }
.locations-list-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
.locations-list-wrap::-webkit-scrollbar-thumb { background: rgba(80, 193, 203, 0.25); border-radius: 4px; }
.locations-list { list-style: none; }
.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--rs-line);
  cursor: pointer;
  transition: background 250ms var(--ease-std);
  background: none;
  width: 100%;
  text-align: left;
}
.location-item:last-child { border-bottom: none; }
.location-item:hover {
  background: rgba(80, 193, 203, 0.08);
  transition-duration: 75ms;
}
.location-item.active { background: rgba(80, 193, 203, 0.14); }
.location-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--rs-primary);
  color: var(--rs-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.location-info { flex: 1; min-width: 0; }
.location-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--rs-text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.location-addr {
  font-size: 0.85rem;
  color: var(--rs-text-mid);
  line-height: 1.4;
}
.location-screens-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  background: var(--rs-mint-soft);
  color: var(--rs-mint);
  border-radius: var(--radius-pill);
  margin-top: 0.4rem;
}
.location-arrow {
  flex-shrink: 0;
  color: var(--rs-text-muted);
  font-size: 1.25rem;
  align-self: center;
  transition: color 250ms var(--ease-std), transform 250ms var(--ease-std);
}
.location-item:hover .location-arrow { color: var(--rs-mint); transform: translateX(3px); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 26, 65, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 250ms var(--ease-std);
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: var(--rs-navy-2);
  border-radius: var(--radius-card);
  border: 1px solid var(--rs-line);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(8px);
  opacity: 0;
  transition: transform 300ms var(--ease-pat), opacity 300ms var(--ease-pat);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); opacity: 1; }
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--rs-line);
}
.modal-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-mint);
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: block;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--rs-text);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.modal-addr {
  font-size: 0.95rem;
  color: var(--rs-text-mid);
  line-height: 1.5;
}
.modal-close {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--rs-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 200ms var(--ease-std);
}
.modal-close:hover { background: rgba(255,255,255,0.12); }
.modal-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--rs-navy);
  border-bottom: 1px solid var(--rs-line);
  position: relative;
  overflow: hidden;
}
.modal-image-wrap iframe,
.modal-image-wrap img {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}
.modal-image-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--rs-text-mid);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}
.modal-image-empty svg { width: 48px; height: 48px; opacity: 0.5; }
.modal-image-pill {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: rgba(0, 26, 65, 0.92);
  color: var(--rs-text);
  border: 1px solid var(--rs-line);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: calc(100% - 2rem);
  z-index: 2;
}
.modal-image-pill svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--rs-mint); }
.modal-image-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-body { padding: 1.5rem 1.75rem; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(80, 193, 203, 0.12);
  color: var(--rs-mint);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
}
.modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.modal-actions .btn { padding: 0.7rem 1.25rem; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer {
  background: #000;
  color: var(--rs-text);
  padding: var(--space-6) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  bottom: -220px;
  right: -220px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(0, 121, 193, 0.10);
  border-radius: 50%;
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -160px;
  right: -160px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(80, 193, 203, 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  position: relative;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-5); }
}
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { color: var(--rs-text-muted); font-size: 0.9rem; max-width: 32ch; }
.footer-col h5 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rs-mint);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.95rem;
  color: var(--rs-text-mid);
  transition: color 250ms var(--ease-std);
}
.footer-col a:hover { color: var(--rs-mint); transition-duration: 75ms; }
.footer-bottom {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  position: relative;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p { font-size: 0.85rem; color: var(--rs-text-muted); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rs-text-mid);
  transition: background 250ms var(--ease-std), color 250ms var(--ease-std), border-color 250ms var(--ease-std);
}
.footer-social a:hover {
  background: var(--rs-mint);
  color: var(--rs-navy);
  border-color: var(--rs-mint);
  transition-duration: 75ms;
}
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-pat), transform 700ms var(--ease-pat); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-pat), transform 600ms var(--ease-pat); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 50ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 100ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 150ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 200ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 250ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 300ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 350ms; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(10) { transition-delay: 450ms; }
.reveal-stagger.in > *:nth-child(11) { transition-delay: 500ms; }
.reveal-stagger.in > *:nth-child(12) { transition-delay: 550ms; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: rgba(0, 26, 65, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rs-line);
  }
  .nav.menu-open .nav-links li { width: 100%; }
  .nav.menu-open .nav-links a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rs-line);
    font-size: 1.1rem;
  }
  .nav.menu-open .nav-links a::after { display: none; }
  .nav.menu-open .nav-cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }
  .screen-gallery { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + var(--space-4)); min-height: 92vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .stat-num { font-size: 2.5rem; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg { transform: none !important; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
