/* Presentation layer: spacing, motion, photo frames. Copy stays in the HTML. */

body { background: #f4f7f6; }

.site-header {
  height: 72px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: transparent;
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(215, 227, 222, 0.95);
  box-shadow: 0 10px 30px rgba(14, 28, 54, 0.06);
}
.site-nav a:not(.btn) {
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 56px 0 88px;
  background: #0e1c36;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 36, 0.94) 0%, rgba(10, 18, 36, 0.82) 36%, rgba(10, 18, 36, 0.42) 68%, rgba(10, 18, 36, 0.28) 100%);
}
.hero-grid, .hero-copy, .hero-card { position: relative; z-index: 1; }
.hero-swoosh { display: none; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  line-height: 1.16;
  letter-spacing: -0.05em;
}
.hero .lede { font-size: 1.2rem; max-width: 28rem; }
.hero-grid { align-items: center; }
.hero-visual { position: relative; display: grid; }

.media-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  min-height: 240px;
  background:
    radial-gradient(90% 80% at 85% 15%, rgba(10, 160, 120, 0.55), transparent 46%),
    radial-gradient(70% 70% at 8% 90%, rgba(255, 255, 255, 0.16), transparent 50%),
    linear-gradient(155deg, #1b3a68 0%, #0e1c36 42%, #067a5c 140%);
  box-shadow: 0 24px 60px rgba(8, 16, 32, 0.28);
}
.media-frame::before,
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.media-frame::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 60% 40%, #000 10%, transparent 72%);
}
.media-frame::after {
  background: linear-gradient(180deg, transparent 55%, rgba(8, 16, 32, 0.28));
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame:has(img)::before { display: none; }
.media-frame:has(img)::after {
  background: linear-gradient(180deg, transparent 62%, rgba(8, 16, 32, 0.28));
}
.media-frame img { z-index: 1; }
.media-frame::after { z-index: 2; }
.photo-row .media-frame:nth-child(2) {
  background:
    radial-gradient(80% 70% at 20% 20%, rgba(10, 160, 120, 0.4), transparent 50%),
    linear-gradient(200deg, #102445, #0a6b52);
}
.photo-row .media-frame:nth-child(3) {
  background:
    radial-gradient(80% 80% at 80% 80%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(160deg, #067a5c, #0e1c36 70%);
}
.hero-card { box-shadow: 0 24px 50px rgba(6, 12, 24, 0.28); }
.about-photo {
  margin-top: 22px;
  min-height: 0;
  aspect-ratio: 507 / 301;
  box-shadow: 0 16px 36px rgba(14, 28, 54, 0.12);
}

.photo-row {
  display: grid;
  gap: 14px;
  margin: 8px 0 22px;
}

.section { padding: 108px 0; }
.section-head h2,
h2 { letter-spacing: -0.042em; }
.kicker { letter-spacing: 0.01em; }

.stats { margin-top: -48px; }
.stats-grid {
  padding: 8px 10px;
  border: 1px solid rgba(215, 227, 222, 0.9);
}
.stat {
  background: transparent;
  min-height: 0;
  padding: 22px 12px 18px;
  border-radius: 16px;
  transition: background 0.25s ease;
}
.stat:hover { background: var(--mint-2); }
.stat-value { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }

.card, .value, .step, .fleet-item, .handover, .loc-card, .panel, .side, .facts {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover, .value:hover, .step:hover, .fleet-item:hover, .loc-card:hover, .handover:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14, 28, 54, 0.08);
  border-color: rgba(10, 160, 120, 0.45);
}
.btn { transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.form-actions { align-items: stretch; }
.form-actions .btn { min-width: 10rem; }
.email-form h2 { margin: 0 0 8px; font-size: 1.6rem; }
.visit-grid { display: grid; gap: 14px; margin-top: 22px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 80;
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(14, 28, 54, 0.25);
}
.footer-lead { max-width: 36rem; margin: 0 0 14px; color: rgba(255, 255, 255, 0.86); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
@media (max-width: 720px) {
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .loc-card .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (min-width: 721px) {
  .visit-grid { grid-template-columns: 1fr 1fr; }
}
.btn:hover { transform: translateY(-1px); }

.page-hero { padding: 88px 0 72px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); letter-spacing: -0.045em; }

.cta, .slogan { transition: transform 0.3s ease; }

.hero-copy { animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-visual { animation: rise 0.95s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both; }

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal-left { transform: translateX(-28px); }
html.js .reveal-left.is-in { transform: none; }

@media (max-width: 860px) {
  .hero { min-height: 0; display: block; padding: 0 0 40px; }
  .hero-media { position: relative; height: auto; }
  .hero-bg {
    height: auto;
    max-height: none;
    aspect-ratio: 1015 / 408;
    object-fit: cover;
    object-position: center;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(14, 28, 54, 0) 20%, #0e1c36 100%);
    top: auto;
    height: 72px;
  }
  .hero-grid { padding-top: 8px; }
  .section { padding: 72px 0; }
  .site-nav a {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    padding: 14px 4px;
  }
  .site-nav a::after { display: none; }
  .nav-check:checked ~ .site-nav a {
    animation: menu-in 0.45s ease both;
  }
  .nav-check:checked ~ .site-nav a:nth-child(2) { animation-delay: 0.05s; }
  .nav-check:checked ~ .site-nav a:nth-child(3) { animation-delay: 0.1s; }
  .nav-check:checked ~ .site-nav a:nth-child(4) { animation-delay: 0.15s; }
  .nav-check:checked ~ .site-nav a:nth-child(5) { animation-delay: 0.2s; }
}

@media (min-width: 900px) {
  .photo-row { grid-template-columns: 1.35fr 1fr 1fr; }
  .photo-row .media-frame,
  .photo-row .media-frame:first-child {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal.is-in,
  .hero-copy, .hero-visual,
  .card, .value, .step, .fleet-item, .btn, .site-header {
    transition: none;
    transform: none;
    opacity: 1;
    animation: none;
  }
}
