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

:root {
  --navy: #0D1B2A;
  --navy-deep: #080F1A;
  --navy-mid: #0f2060;
  --steel: #98a6c1;
  --steel-light: #b8c4d8;
  --gray-mid: #6B7280;
  --indigo: #5161a3;
  --white: #F5F5F5;
  --off-white: #e2e6ef;
  --gold: #2D7DD2;
  --gold-bright: #3D8FE5;
  --gold-dim: #1E6ABF;
  --grid-line: rgba(81, 97, 163, 0.1);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-label: 'Barlow Semi Condensed', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   SUBTLE GRID BACKGROUND
   ═══════════════════════════════════════ */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100px 100px;
}

.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, transparent 0%, var(--navy-deep) 70%);
}

/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(81, 97, 163, 0.08);
  transition: all 0.4s ease;
}

nav.scrolled {
  padding: 0.75rem 3rem;
  background: var(--navy-deep);
  border-bottom-color: rgba(81, 97, 163, 0.18);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--white);
}

.nav-logo-mark {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  white-space: nowrap;
  line-height: 1;
}

.nav-logo-sub {
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  border: 1px solid var(--gold-dim) !important;
  color: var(--gold) !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--steel);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════
   HERO: Full-bleed photo with overlay
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 6rem;
  z-index: 1;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('hero-substation.jpg');
  background-size: cover;
  background-position: center 45%;
  filter: saturate(0.72) brightness(0.78);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(8, 15, 26, 0.95) 0%,
    rgba(8, 15, 26, 0.82) 32%,
    rgba(8, 15, 26, 0.38) 58%,
    rgba(8, 15, 26, 0) 100%
  );
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 15, 26, 1) 0%,
    rgba(8, 15, 26, 0) 20%
  );
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  text-shadow: 0 2px 20px rgba(8, 15, 26, 0.55);
  animation: fadeSlideUp 0.8s ease 0.5s forwards;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--steel-light);
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0;
  text-shadow: 0 1px 12px rgba(8, 15, 26, 0.85);
  animation: fadeSlideUp 0.8s ease 0.65s forwards;
}

.hero-description {
  max-width: 550px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--steel);
  margin-bottom: 3rem;
  opacity: 0;
  text-shadow: 0 1px 12px rgba(8, 15, 26, 0.85);
  animation: fadeSlideUp 0.8s ease 0.8s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.9s forwards;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 1s forwards;
}

.hero-stat {
  position: relative;
  padding-left: 1.5rem;
}

.hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero-stat-number .unit {
  font-size: 0.5em;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--steel);
}

.hero-stat-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════ */
section {
  position: relative;
  z-index: 1;
  padding: 8rem 3rem;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gold-dim);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--steel-light);
  max-width: 650px;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--grid-line) 20%, var(--grid-line) 80%, transparent 100%);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 149, 42, 0.25);
}

.btn-primary .arrow { transition: transform 0.3s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(152, 166, 193, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════
   LEGACY / ABOUT
   ═══════════════════════════════════════ */
.legacy {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: start;
}

.legacy-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--steel-light);
  margin-bottom: 1.5rem;
}

.legacy-text strong {
  color: var(--white);
  font-weight: 600;
}

.legacy-timeline {
  position: relative;
  padding-left: 3rem;
}

.legacy-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--indigo) 50%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.35rem;
  top: 0.4rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(212, 149, 42, 0.4);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--steel-light);
  line-height: 1.6;
}

.legacy-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.badge {
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(81, 97, 163, 0.25);
  background: rgba(81, 97, 163, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.badge-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.badge-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.services { background: var(--navy-deep); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(81, 97, 163, 0.15);
  background: rgba(13, 27, 42, 0.6);
  transition: all 0.5s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: rgba(81, 97, 163, 0.35);
  background: rgba(13, 27, 42, 0.9);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: rgba(212, 149, 42, 0.3);
  background: linear-gradient(170deg, rgba(212, 149, 42, 0.06) 0%, rgba(13, 27, 42, 0.6) 40%);
}

.service-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.service-icon {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--indigo);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(81, 97, 163, 0.12);
}

.service-card.featured .service-icon {
  color: var(--gold);
  border-bottom-color: rgba(212, 149, 42, 0.15);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--steel);
}

.service-spec {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(81, 97, 163, 0.1);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--steel);
}

.service-card.featured .service-spec { color: var(--gold-dim); }

/* ═══════════════════════════════════════
   DATA CENTER / AI SECTION
   ═══════════════════════════════════════ */
.datacenter {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #040810 50%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}

.dc-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
}

.dc-header .section-label { justify-content: center; }
.dc-header .section-label::before { display: none; }
.dc-header .section-title { font-size: clamp(2.5rem, 5vw, 4rem); }
.dc-header .section-desc { max-width: 700px; margin: 0 auto; text-align: center; }

.dc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.dc-feature {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(212, 149, 42, 0.1);
  background: rgba(212, 149, 42, 0.02);
  position: relative;
}

.dc-feature::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.dc-feature-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.dc-feature-number .unit {
  font-size: 0.45em;
  font-family: var(--font-mono);
  font-weight: 400;
}

.dc-feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dc-feature-desc {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.6;
}

.dc-callout {
  margin-top: 5rem;
  padding: 3rem;
  border: 1px solid rgba(212, 149, 42, 0.15);
  background: linear-gradient(135deg, rgba(212, 149, 42, 0.04) 0%, rgba(8, 15, 26, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.dc-callout-text { flex: 1; }

.dc-callout-text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dc-callout-text p { color: var(--steel-light); line-height: 1.7; }

/* ═══════════════════════════════════════
   TERRITORY
   ═══════════════════════════════════════ */
.territory { background: var(--navy); }

.territory-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: start;
}

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

.state-tag {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(81, 97, 163, 0.2);
  background: rgba(81, 97, 163, 0.05);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel-light);
  text-align: center;
  transition: all 0.3s ease;
}

.state-tag:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  background: rgba(212, 149, 42, 0.05);
}

.state-tag.primary {
  border-color: rgba(212, 149, 42, 0.3);
  color: var(--gold);
  background: rgba(212, 149, 42, 0.06);
}

.territory-text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.territory-text p {
  color: var(--steel-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.territory-text .highlight { color: var(--gold); font-weight: 600; }

/* ═══════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════ */
.projects {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: rgba(81, 97, 163, 0.12);
  border: 1px solid rgba(81, 97, 163, 0.12);
}

.project-cell {
  padding: 2rem 1.5rem;
  background: var(--navy-deep);
  transition: all 0.4s ease;
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-cell:hover { background: rgba(13, 27, 42, 0.9); }

.project-cell::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-cell:hover::after { transform: scaleX(1); }

.project-voltage {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.project-voltage .unit {
  font-size: 0.5em;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--steel);
}

.project-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--steel);
  line-height: 1.5;
}

/* Photo-backed project cells */
.project-cell.has-photo {
  background-size: cover;
  background-position: center;
}

.project-cell.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 26, 0.82);
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.project-cell.has-photo:hover::before {
  background: rgba(8, 15, 26, 0.45);
}

.project-cell.has-photo:hover {
  background-color: transparent;
}

.project-cell::after { z-index: 2; }
.project-voltage { position: relative; z-index: 1; }
.project-name { position: relative; z-index: 1; }

/* Cinematic photo dividers */
.photo-divider {
  position: relative;
  z-index: 1;
  height: 200px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  filter: saturate(0.5);
}

.photo-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.4);
}

.photo-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, transparent 30%, transparent 70%, var(--navy-deep) 100%);
}

@media (min-width: 901px) {
  .photo-divider { height: 260px; }
}

/* ═══════════════════════════════════════
   TRUST
   ═══════════════════════════════════════ */
.trust { background: var(--navy-deep); }

.trust-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: center;
}

.trust-quote {
  position: relative;
  padding: 3rem;
  border-left: 3px solid var(--gold);
  background: rgba(212, 149, 42, 0.03);
}

.trust-quote p {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
  color: var(--off-white);
}

.trust-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-style: normal;
  font-weight: 600;
}

.trust-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.trust-fact {
  padding: 1.5rem;
  border: 1px solid rgba(81, 97, 163, 0.12);
}

.trust-fact-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.trust-fact-label {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.trust-certifications {
  grid-column: 1 / -1;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(81, 97, 163, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cert-label {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.cert-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #040810 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-detail { margin-bottom: 2rem; }

.contact-detail-label {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.contact-detail-value {
  font-size: 1.05rem;
  color: var(--white);
}

.contact-detail-value a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(152, 166, 193, 0.3);
  transition: all 0.3s ease;
}

.contact-detail-value a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.form-field label {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.9rem 1rem;
  background: rgba(81, 97, 163, 0.06);
  border: 1px solid rgba(81, 97, 163, 0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  outline: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold-dim);
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2398a6c1' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option { background: var(--navy); color: var(--white); }
.form-submit { align-self: flex-start; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
  position: relative;
  z-index: 1;
  padding: 3rem;
  border-top: 1px solid rgba(81, 97, 163, 0.1);
  background: #040810;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--steel);
}

.footer-right {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(152, 166, 193, 0.4);
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: 0.75rem 1.5rem; }
  .nav-logo { gap: 0.7rem; min-width: 0; }
  .nav-logo-mark { font-size: 1.5rem; letter-spacing: 0.05em; }
  .nav-logo-sub { font-size: 0.6rem; letter-spacing: 0.13em; }
  .nav-links { display: none; }
  .nav-links.show {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(81, 97, 163, 0.18);
    padding: 1.5rem;
  }
  .nav-cta { display: inline-block; }
  .mobile-toggle { display: flex; }
  section { padding: 5rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-bg { filter: saturate(0.7) brightness(0.62); background-position: center; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(8, 15, 26, 0.94) 0%,
      rgba(8, 15, 26, 0.82) 45%,
      rgba(8, 15, 26, 0.6) 75%,
      rgba(8, 15, 26, 0.45) 100%);
  }
  .hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.13em; gap: 0.7rem; margin-bottom: 1.5rem; }
  .hero-eyebrow::before { width: 24px; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-stats { flex-direction: column; gap: 1.75rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 1rem; margin-bottom: 3rem; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; max-width: 440px; justify-content: center; padding: 1rem 1.5rem; }
  .legacy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .dc-features { grid-template-columns: 1fr; gap: 1.5rem; }
  .dc-callout { flex-direction: column; text-align: center; }
  .territory-content { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-content { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .trust-certifications { gap: 2rem; }
}

@media (max-width: 600px) {
  .state-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .trust-facts { grid-template-columns: 1fr; }
  .legacy-badges { flex-direction: column; }
}

/* ═══════════════════════════════════════
   INTERACTIVE CELLS + DETAIL MODAL
   ═══════════════════════════════════════ */
.project-cell, .state-tag { cursor: pointer; }
.project-cell:focus-visible,
.state-tag:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

/* "+" affordance on project cells */
.project-cell .project-more {
  position: relative;
  z-index: 3;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
}
.project-cell:hover .project-more,
.project-cell:focus-visible .project-more { opacity: 1; transform: translateY(0); }
.project-cell:hover .project-more { color: var(--gold); }

/* Cells without an archived photo: patterned fallback */
.project-cell.no-photo {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(135deg, rgba(45,125,210,0.10) 0%, transparent 55%),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 22px);
}
.project-cell.no-photo:hover { background-color: rgba(13, 27, 42, 0.9); }

/* State tag affordance */
.state-tag { position: relative; }

/* Detail modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 8, 14, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--navy);
  border: 1px solid rgba(81, 97, 163, 0.28);
  border-top: 3px solid var(--gold);
  padding: 2.5rem 2.25rem 2.25rem;
  transform: translateY(16px) scale(0.985);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(81, 97, 163, 0.3);
  background: transparent;
  color: var(--steel-light);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.modal-spec {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
  border: 1px solid rgba(81, 97, 163, 0.25);
  padding: 0.35rem 0.6rem;
}
.modal-body p {
  color: var(--steel-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.modal-list { list-style: none; margin-top: 0.5rem; }
.modal-list li {
  color: var(--steel-light);
  line-height: 1.6;
  padding: 0.55rem 0 0.55rem 1.25rem;
  position: relative;
  border-bottom: 1px solid rgba(81, 97, 163, 0.12);
}
.modal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
}
.modal-list li:last-child { border-bottom: none; }
.modal-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--gray-mid);
  line-height: 1.6;
  font-style: italic;
}
body.modal-open { overflow: hidden; }

/* ═══════════════════════════════════════
   MULTI-PAGE SUBPAGE SHELL
   ═══════════════════════════════════════ */
.subpage-hero {
  position: relative;
  padding: 10rem 3rem 4rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-bottom: 1px solid rgba(81, 97, 163, 0.12);
  overflow: hidden;
}
.subpage-hero .section-inner { position: relative; z-index: 1; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-dim); margin: 0 0.5rem; }
.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.subpage-title .accent { color: var(--gold); }
.subpage-intro { font-size: 1.15rem; line-height: 1.7; color: var(--steel-light); max-width: 720px; }

.prose { max-width: 760px; }
.prose > p { color: var(--steel-light); line-height: 1.8; margin-bottom: 1.25rem; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em;
  margin: 3rem 0 1rem;
}
.prose h3 {
  font-family: var(--font-label);
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin: 2rem 0 0.75rem;
}
.prose ul { list-style: none; margin: 1rem 0; }
.prose ul li {
  position: relative; padding: 0.55rem 0 0.55rem 1.25rem;
  color: var(--steel-light); line-height: 1.6;
  border-bottom: 1px solid rgba(81, 97, 163, 0.1);
}
.prose ul li:last-child { border-bottom: none; }
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 6px; height: 6px; background: var(--gold);
}
.spec-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0; }

.card-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(81, 97, 163, 0.12); border: 1px solid rgba(81, 97, 163, 0.12);
  margin-top: 3rem;
}
.link-card {
  display: block; text-decoration: none; background: var(--navy-deep);
  padding: 2rem; position: relative; transition: background 0.3s ease;
}
.link-card:hover { background: rgba(13, 27, 42, 0.9); }
.link-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform 0.4s ease;
}
.link-card:hover::after { transform: scaleX(1); }
.lc-eyebrow { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.lc-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; color: var(--white); line-height: 1.1; margin-bottom: 0.6rem; }
.lc-desc { color: var(--steel); font-size: 0.95rem; line-height: 1.6; }

.proj-list {
  display: grid; gap: 1px;
  background: rgba(81, 97, 163, 0.12); border: 1px solid rgba(81, 97, 163, 0.12);
  margin-top: 3rem;
}
.proj-entry { display: grid; grid-template-columns: 220px 1fr; background: var(--navy-deep); }
.pe-photo { background-size: cover; background-position: center; min-height: 150px; }
.pe-photo.no-photo {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(135deg, rgba(45,125,210,0.12) 0%, transparent 55%),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 22px);
}
.pe-body { padding: 1.75rem 2rem; }
.pe-eyebrow { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.pe-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; color: var(--white); line-height: 1.1; margin-bottom: 0.85rem; }
.pe-body p { color: var(--steel-light); line-height: 1.7; margin-bottom: 0.75rem; }
.pe-body p:last-child { margin-bottom: 0; }

.cta-band {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(81, 97, 163, 0.12);
  text-align: center; padding: 5rem 3rem;
}
.cta-band h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.cta-band p { color: var(--steel-light); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }

@media (max-width: 900px) {
  .subpage-hero { padding: 8rem 1.5rem 3rem; }
  .card-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 4rem 1.5rem; }
}
@media (max-width: 700px) {
  .proj-entry { grid-template-columns: 1fr; }
  .pe-photo { min-height: 190px; }
}

/* tighten the gap between a subpage hero and its first content section */
.subpage-hero + section.section { padding-top: 3.25rem; }

/* Selected clients (trust section) */
.trust-clients { margin-top: 3.5rem; text-align: center; }
.trust-clients-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
}
.trust-clients-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.75rem;
}
.trust-clients-list span {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--steel-light);
}
/* state-page client callout */
.state-clients {
  margin: 1.75rem 0; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold); background: rgba(45, 125, 210, 0.06);
}
.state-clients .sc-label {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
.state-clients p { color: var(--off-white); line-height: 1.6; margin: 0; }

/* Contractor-support callout under the home services grid */
.services-aside {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.5rem; padding: 1.5rem 1.75rem;
  border: 1px solid rgba(81, 97, 163, 0.18);
  background: rgba(45, 125, 210, 0.05);
  text-decoration: none; transition: border-color 0.3s ease, background 0.3s ease;
}
.services-aside:hover { border-color: var(--gold-dim); background: rgba(45, 125, 210, 0.09); }
.sa-label {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); white-space: nowrap;
}
.sa-text { color: var(--steel-light); font-size: 0.95rem; line-height: 1.5; flex: 1; }
.sa-arrow { color: var(--gold); font-size: 1.2rem; }
@media (max-width: 700px) {
  .services-aside { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

/* ── Projects: located cards, group headings, detail pages ── */
.proj-group-title {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--white); margin-bottom: 0.4rem;
}
.proj-group-note { color: var(--steel-light); max-width: 640px; line-height: 1.6; margin-bottom: 0.5rem; }
.pe-meta {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em;
  color: var(--steel-light); margin-bottom: 0.85rem;
}
.proj-link { text-decoration: none; color: inherit; position: relative; transition: background 0.2s ease; }
.proj-link:hover { background: rgba(45, 125, 210, 0.06); }
.proj-link:hover .pe-title { color: var(--gold); }
.proj-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.pe-more {
  display: inline-block; margin-top: 1rem; font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
}
.pe-more .arrow { transition: transform 0.2s ease; display: inline-block; }
.proj-link:hover .pe-more .arrow { transform: translateX(4px); }

/* project detail page */
.proj-detail { max-width: 900px; }
.pd-photo {
  width: 100%; height: auto; display: block; border: 1px solid rgba(81, 97, 163, 0.18);
  margin-bottom: 2rem;
}
.pd-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px;
  background: rgba(81, 97, 163, 0.14); border: 1px solid rgba(81, 97, 163, 0.14); margin-bottom: 2.25rem;
}
.pd-facts > div { background: var(--navy-deep); padding: 1rem 1.25rem; }
.pd-facts dt {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem;
}
.pd-facts dd { color: var(--white); font-size: 0.98rem; line-height: 1.4; }
.pd-figure { margin: 2.25rem 0 0; }
.pd-figure img {
  width: 100%; height: auto; display: block;
  border: 1px solid rgba(81, 97, 163, 0.18);
}
.pd-figure figcaption {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em;
  color: var(--steel-light); margin-top: 0.7rem;
}
.back-link {
  display: inline-block; margin-top: 2rem; font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.05em; color: var(--steel-light); text-decoration: none;
}
.back-link:hover { color: var(--gold); }

/* home project modal: location/client + link */
.modal-meta {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em;
  color: var(--gold); margin-bottom: 1rem;
}
.modal-link {
  display: inline-block; margin-top: 0.5rem; font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); text-decoration: none;
}
.modal-link:hover { text-decoration: underline; }

.projects-viewall { text-align: center; margin-top: 2.5rem; }

/* ── Hero: looping "waterfall" of project tiles ──
   Desktop: vertical column on the right, scrolling down, fading at the fold.
   Mobile: horizontal strip across the bottom, scrolling left.
   The tile list is rendered twice (JS) so translate(-50%) loops seamlessly. */
.hero-strip {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: clamp(220px, 21vw, 288px);
  overflow: hidden;
  z-index: 0;
  background: rgba(8, 15, 26, 0.4);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
}
.hero-strip-track {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  will-change: transform;
  animation: heroWaterfall 100s linear infinite;
}
.ptile {
  position: relative;
  flex: 0 0 auto;
  height: 140px;
  margin: 0 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  text-decoration: none;
  background: var(--navy-deep);
}
.ptile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ptile-meta {
  position: absolute; inset: auto 0 0 0;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.02em; font-weight: 500;
  line-height: 1.2; color: #fff; padding: 20px 11px 9px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(to top, rgba(8,15,26,0.95) 0%, rgba(8,15,26,0.55) 60%, transparent 100%);
}
.ptile-meta b { color: var(--gold); font-weight: 700; }
.hero-strip:hover .hero-strip-track { animation-play-state: paused; }

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

@media (max-width: 900px) {
  /* In-flow horizontal strip, placed above the hero CTA buttons */
  .hero-strip {
    position: static;
    width: 100%; height: 126px;
    margin: 0.25rem 0 1.75rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .hero-strip-track { flex-direction: row; height: 100%; padding: 0; animation-name: heroMarquee; animation-duration: 88s; }
  .ptile { height: 100%; width: 200px; margin: 0 9px 0 0; }
}

@media (prefers-reduced-motion: reduce) { .hero-strip-track { animation: none; } }
