:root { --ink: #16202b; --muted: #5a6470; --accent: #1f5fd6; --navy: #0b1a2e; --alt: #f1f4f8; --card: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, sans-serif; color: var(--ink); background: var(--navy); }
/* Page background: /img/hero.jpg fixed behind the whole site. It shows through the hero and
   the band; the other sections are opaque. A fixed layer instead of background-attachment:
   fixed, which iOS Safari ignores. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url(/img/hero.jpg) center / cover no-repeat; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
button { font: inherit; border: 0; cursor: pointer; }
h1, h2 { line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 20px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.btn { display: inline-block; padding: 14px 26px; border-radius: 4px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--accent); transition: filter 0.15s; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }

.topbar { background: var(--navy); color: #c9d4e3; font-size: 0.9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
/* Header and footer match the logo's own black background (#020308), so the logo needs no cut-out. */
header.site { position: sticky; top: 0; z-index: 10; background: #020308; border-bottom: 1px solid #1d2a3d; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
header.site .wrap { display: flex; align-items: center; gap: 28px; padding-top: 6px; padding-bottom: 6px; }
header.site .logo { display: block; height: 72px; width: auto; }
header.site nav { display: flex; gap: 26px; margin-left: auto; }
header.site nav a { color: #e6edf6; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
header.site nav a:hover { color: #6fa0ff; }
header.site .btn { padding: 10px 18px; }

/* The hero is an empty window onto the fixed background: the image carries its own logo,
   which ends about 70% down the viewport, so the headline sits in the bar below it. */
.hero { height: calc(72svh - 120px); min-height: 220px; }
.hero.short { height: 22svh; min-height: 120px; }
.hero-bar { background: rgba(11, 26, 46, 0.94); color: #fff; padding: 40px 0; border-top: 4px solid var(--accent); }
.hero-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.hero-text h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.02em; }
.hero-text .lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 640px; margin: 0; color: #c9d4e3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.tiles { background: var(--navy); }
.tiles .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.tiles a { padding: 26px 20px; color: #fff; text-decoration: none; border-left: 1px solid rgba(255, 255, 255, 0.12); transition: background 0.15s; }
.tiles a:last-child { border-right: 1px solid rgba(255, 255, 255, 0.12); }
.tiles a:hover { background: var(--accent); }
.tiles strong { display: block; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tiles span { color: #b8c5d8; font-size: 0.95rem; }
.tiles a:hover span { color: #fff; }

.sec { background: #fff; padding: 80px 0; }
.sec.alt { background: var(--alt); }
.sec.dark { background: var(--navy); color: #e6edf6; }
.sec.dark h2 { color: #fff; }
.kicker { margin: 0 0 6px; color: var(--accent); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.sec.dark .kicker { color: #6fa0ff; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.exp { background: var(--navy); color: #c9d4e3; padding: 40px 36px; border-radius: 6px; border-top: 4px solid var(--accent);
  box-shadow: 0 18px 40px rgba(11, 26, 46, 0.25); }
.exp p { margin: 0 0 16px; }
.exp .exp-year { margin: 0 0 4px; color: #fff; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.exp ul { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.exp li { padding: 12px 16px; background: rgba(255, 255, 255, 0.06); border-left: 3px solid var(--accent); border-radius: 4px;
  color: #fff; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; margin: 28px 0 0; }
.stats li { border-top: 3px solid var(--accent); padding-top: 10px; color: var(--muted); font-size: 0.9rem; }
.stats strong { display: block; color: var(--ink); font-size: 1.7rem; line-height: 1.2; }

.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding: 0; margin: 0; }
.cards li { background: var(--card); padding: 26px; border-radius: 6px; border-top: 4px solid var(--accent);
  box-shadow: 0 6px 20px rgba(11, 26, 46, 0.07); color: var(--muted); }
.cards strong { display: block; margin: 0 0 6px; color: var(--ink); font-size: 1.15rem; }

.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel figure { flex: 0 0 min(85%, 520px); margin: 0; scroll-snap-align: start; background: #13253d; border-radius: 6px; overflow: hidden; }
.carousel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carousel figcaption { padding: 10px 14px; font-size: 0.9rem; color: #b8c5d8; }
.carousel-nav { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 0; font-weight: 700; }
.carousel-nav a { color: #fff; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 4px; font-size: 1.6rem; line-height: 1; color: #fff; background: var(--accent); }

/* Own photo (Big Sur, US Forest Service, public domain) so the logo in the page background
   never sits behind the band's heading. */
.band { padding: 120px 0; text-align: center; color: #fff;
  background: linear-gradient(rgba(5, 15, 30, 0.6), rgba(5, 15, 30, 0.6)), url(/img/band.jpg) center / cover; }
.band h2 { color: #fff; text-transform: uppercase; letter-spacing: 0.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.band p { max-width: 640px; margin: 0 auto 28px; font-size: 1.15rem; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 0; }
.steps li { counter-increment: s; color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 14px;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.2rem; }
.steps strong { display: block; color: var(--ink); font-size: 1.15rem; margin: 0 0 4px; }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.reviews blockquote { margin: 0; padding: 26px; background: var(--card); border-radius: 6px; box-shadow: 0 6px 20px rgba(11, 26, 46, 0.07); }
.reviews blockquote::before { content: "\201C"; display: block; height: 36px; color: var(--accent); font: 800 3.4rem/1 Georgia, serif; }
.reviews blockquote p { margin: 0 0 12px; }
.reviews cite { color: var(--muted); font-size: 0.9rem; font-style: normal; }

.contact { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.contact .ghost { text-transform: none; letter-spacing: 0; }
.fine { color: #9fb0c6; font-size: 0.95rem; margin: 0 0 16px; }
.mail { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mail a { display: block; padding: 14px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 4px;
  font-weight: 700; text-decoration: none; text-align: center; transition: background 0.15s; }
.mail a:hover { background: var(--accent); border-color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--card); border-radius: 6px; overflow: hidden; box-shadow: 0 6px 20px rgba(11, 26, 46, 0.07); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 0.9rem; color: var(--muted); }

footer { background: #020308; padding: 40px 0; color: #9fb0c6; font-size: 0.9rem; border-top: 4px solid var(--accent); }
footer .wordmark { width: 300px; display: block; margin: 0 0 12px; }
footer a { color: #6fa0ff; }
footer p { margin: 8px 0 0; }

@media (max-width: 860px) {
  header.site .wrap { flex-wrap: wrap; gap: 8px 16px; }
  header.site .logo { height: 56px; }
  header.site nav { order: 3; width: 100%; margin: 0; gap: 16px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  header.site nav a { white-space: nowrap; letter-spacing: 0.04em; font-size: 0.8rem; }
  header.site nav a:first-child { display: none; } /* the logo links home */
  /* A portrait screen crops the fixed background to the middle of its logo, so the
     hero shows the whole image at its own aspect ratio instead. */
  .hero { height: auto; min-height: 0; aspect-ratio: 966 / 549; background: url(/img/hero.jpg) center / cover; }
  .hero.short { aspect-ratio: auto; height: 90px; min-height: 0; background-position: center top; }
  header.site .btn { margin-left: auto; }
  .topbar span { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .tiles .wrap { grid-template-columns: 1fr; padding: 0; }
  .tiles a { border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .sec { padding: 56px 0; }
  .split, .steps { grid-template-columns: 1fr; gap: 32px; }
  .band { padding: 80px 0; }
}
