/* ============================================================
   BOULTON - shared styles for interior pages + global footer
   (index.html carries its own hero/landing styles inline;
    it links this file for the footer only.)
   ============================================================ */
:root {
  --teal-deep: #0C2E2A;
  --teal: #0F5B52;
  --teal-bright: #12756A;
  --orange: #EB5A26;
  --orange-soft: #F9D9C7;
  --paper: #FFFFFF;
  --ink-dark: #161616;
  --ink-light: #F2EFE9;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Archivo", "Inter", ui-sans-serif, system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.page {
  background: var(--teal-deep);
  color: var(--ink-light);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
.page a { color: var(--ink-light); }
.page a:hover { color: #fff; }
.display {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 68, "wght" 680;
  text-transform: uppercase;
  letter-spacing: .005em;
}

/* ============ NAV (identical to landing) ============ */
.nav {
  position: fixed;
  top: 0; left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: calc(100% - 192px);
  max-width: 1820px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  background: transparent;
  transition: background .3s ease, border-radius .3s ease, transform .3s ease,
              border-color .3s ease, box-shadow .3s ease;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink-light); text-decoration: none;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 74, "wght" 640;
  font-size: 24px; letter-spacing: .06em;
  justify-self: start;
}
.nav-brand svg { width: 29px; height: 29px; color: var(--orange); }
.nav-links {
  display: flex; align-items: center;
  gap: clamp(22px, 2.55vw, 44px);
  justify-self: center;
}
.nav-links a {
  color: rgba(242, 239, 233, .9);
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: .65; color: rgba(242,239,233,.9); }
.nav-links a[aria-current="page"] { color: var(--orange); }
.nav-cta {
  justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 122px; min-height: 46px;
  padding: 0 18px;
  background: var(--orange);
  color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: background .3s ease, transform .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: #F26A38; color: #fff; }
.nav.is-pill {
  transform: translate3d(-50%, 16px, 0);
  background: rgba(12, 46, 42, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 40px;
  border-color: rgba(242, 239, 233, .12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.nav.is-hidden { transform: translate3d(-50%, -100px, 0); pointer-events: none; }

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: clamp(160px, 20vh, 240px) clamp(24px, 5vw, 96px) clamp(56px, 7vw, 110px);
  background:
    radial-gradient(70% 60% at 72% 8%, rgba(18, 117, 106, .32), transparent 70%),
    linear-gradient(180deg, #0A2724 0%, var(--teal-deep) 60%);
}
.page-hero .inner { max-width: 1820px; margin: 0 auto; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(242, 239, 233, .55);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.page-hero .eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--orange);
}
.page-hero h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 65, "wght" 720;
  text-transform: uppercase;
  font-size: clamp(46px, 6.8vw, 118px);
  line-height: .94;
  letter-spacing: .004em;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero .lede {
  margin-top: 26px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  color: rgba(242, 239, 233, .78);
  max-width: 62ch;
}
.page-hero .lede a { color: var(--ink-light); text-decoration-color: rgba(235,90,38,.6); }

/* full-width media band under a hero */
.hero-media {
  margin: clamp(40px, 5vw, 72px) auto 0;
  max-width: 1820px;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(242, 239, 233, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ SECTIONS ============ */
.band { position: relative; padding: clamp(64px, 9vw, 150px) clamp(24px, 5vw, 96px); }
.band .inner { max-width: 1820px; margin: 0 auto; }
.band--light {
  background: var(--paper);
  color: var(--ink-dark);
  border-radius: 28px 28px 0 0;
}
.band--light + .band--light { border-radius: 0; padding-top: 0; }
.band--grey { background: #f7f8f8; color: #111; }
.band h2.title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 66, "wght" 660;
  text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 72px);
  line-height: .98;
  max-width: 20ch;
}
.band h2.title em { font-style: normal; color: var(--orange); }
.band .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(22, 22, 22, .5);
}
.band--dark .kicker, .page-hero + .band .kicker { color: rgba(242,239,233,.5); }
.band .kicker::before { content: ""; width: 34px; height: 1px; background: var(--orange); }
.band p.body {
  margin-top: 22px;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.7;
  max-width: 68ch;
}
.band--light p.body, .band--grey p.body { color: #4d5454; }
.band--dark p.body { color: rgba(242, 239, 233, .72); }
.band p.body strong { font-weight: 650; }
.band p.body a { text-decoration-color: rgba(235,90,38,.55); text-underline-offset: 3px; }
.band--light p.body a, .band--grey p.body a { color: #14413b; }
.band--light p.body a:hover, .band--grey p.body a:hover { color: var(--orange); }
.band--dark p.body a { color: var(--ink-light); }
.band--dark p.body a:hover { color: #fff; }

/* two-column statement layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.split .media {
  aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(18, 35, 35, .1);
  box-shadow: 0 24px 64px rgba(21, 34, 34, .14);
}
.band--dark .split .media { border-color: rgba(242,239,233,.12); box-shadow: 0 24px 64px rgba(0,0,0,.35); }
.split .media img, .split .media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* card grids */
.cards { display: grid; gap: clamp(14px, 1.4vw, 22px); margin-top: clamp(36px, 4vw, 64px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  border-radius: 18px;
  padding: clamp(24px, 2.2vw, 36px);
  border: 1px solid rgba(18, 35, 35, .09);
  background: #fff;
  box-shadow: 0 18px 48px rgba(21, 34, 34, .07);
}
.band--dark .card {
  background: rgba(242, 239, 233, .05);
  border-color: rgba(242, 239, 233, .12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: none;
}
.card .no {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
}
.card h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 70, "wght" 620;
  text-transform: uppercase;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.05;
}
.card p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: #5d6464; }
.band--dark .card p { color: rgba(242, 239, 233, .62); }
.card b.big {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 68, "wght" 620;
  font-size: clamp(42px, 4.4vw, 68px);
  line-height: 1;
}
.card b.big em { font-style: normal; color: var(--orange); }

/* big stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(14px, 1.4vw, 22px);
  margin-top: clamp(36px, 4vw, 64px);
}

/* ============ OUTRO CTA (shared) ============ */
.page-outro {
  position: relative;
  background: var(--teal-deep);
  color: var(--ink-light);
  padding: clamp(90px, 12vw, 180px) clamp(24px, 5vw, 96px);
}
.page-outro .inner { max-width: 1820px; margin: 0 auto; }
.page-outro h2 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 66, "wght" 700;
  text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: .95;
  max-width: 14ch;
}
.page-outro h2 em { font-style: normal; color: var(--orange); }
.page-outro a.go {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 40px;
  color: var(--ink-light); text-decoration: none;
  font-weight: 600; font-size: 17px;
  border-bottom: 1px solid rgba(242, 239, 233, .3);
  padding-bottom: 6px;
}
.page-outro a.go:hover { color: #fff; border-color: var(--orange); }

/* ============ FOOTER (all pages incl. landing) ============ */
.footer {
  position: relative; z-index: 90;
  background: #081E1B;
  color: rgba(242, 239, 233, .72);
  padding: clamp(56px, 7vw, 100px) clamp(24px, 5vw, 96px) 40px;
  font-family: var(--font-ui);
}
.footer * { box-sizing: border-box; }
.footer .inner { max-width: 1820px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 72px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(242, 239, 233, .12);
}
.footer-brand a.mark {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink-light); text-decoration: none;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 74, "wght" 640;
  text-transform: uppercase;
  font-size: 24px; letter-spacing: .06em;
}
.footer-brand a.mark svg { width: 29px; height: 29px; color: var(--orange); }
.footer-brand .strap {
  margin-top: 18px;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 68, "wght" 620;
  text-transform: uppercase;
  font-size: clamp(20px, 1.6vw, 26px);
  color: var(--ink-light);
}
.footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.65; max-width: 34ch; color: rgba(242,239,233,.55); }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(242, 239, 233, .45);
}
.footer-col ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.footer-col a {
  color: rgba(242, 239, 233, .82); text-decoration: none;
  font-size: 15px; font-weight: 500;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 28px;
  font-size: 13px; color: rgba(242, 239, 233, .45);
}
.footer-bottom a { color: rgba(242, 239, 233, .55); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }

/* ============ reveal on scroll ============ */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .25, 1);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .nav { grid-template-columns: auto 1fr auto; width: calc(100% - 96px); }
  .nav-brand { font-size: 22px; }
  .nav-links { gap: 20px; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
  .cards--3, .stat-strip { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .nav { width: calc(100% - 64px); padding: 10px 14px; }
  .nav-brand { font-size: 17px; }
  .nav-brand svg { width: 24px; height: 24px; }
  .nav-cta { min-height: 38px; min-width: 0; padding: 0 12px; font-size: 13px; }
  .cards--4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
