/* ==========================================================================
   Dimitri’s Mobile European — core stylesheet
   Light theme. Royal blue and gold, drawn from the crest.
   Brand colors live in :root — see README.md for the RGB list.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand blues */
  --navy:       #0E2A4D;
  --blue:       #1B4F86;
  --blue-mid:   #2E6DB4;
  --blue-soft:  #7FB2E2;
  --blue-tint:  #EAF1FA;
  --blue-wash:  #F4F8FD;

  /* Brand golds */
  --gold:       #C4941A;
  --gold-light: #E3B92C;
  --gold-pale:  #F7DC72;
  --gold-tint:  #FDF7E6;

  /* Neutrals */
  --paper:      #FFFFFF;
  --mist:       #F5F8FC;
  --line:       #D8E2EF;
  --line-soft:  #E9EFF7;

  /* Text */
  --text:       #17324F;
  --text-soft:  #40546E;
  --muted:      #6B7F98;
  --on-dark:    #EAF1FA;

  /* Accents */
  --sheen: linear-gradient(120deg, var(--blue) 0%, var(--blue-mid) 52%, var(--blue) 100%);
  --gold-rule: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold-pale) 50%, var(--gold) 82%, transparent);

  /* Type */
  --display: "Marcellus", "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);

  --radius: 3px;
  --radius-lg: 10px;

  --shadow-sm:   0 1px 2px rgba(14, 42, 77, .06), 0 2px 8px rgba(14, 42, 77, .05);
  --shadow-card: 0 1px 2px rgba(14, 42, 77, .05), 0 12px 28px -14px rgba(14, 42, 77, .22);
  --shadow-lift: 0 2px 6px rgba(14, 42, 77, .07), 0 26px 50px -20px rgba(14, 42, 77, .30);
  --shadow-crest: 0 18px 42px -14px rgba(14, 42, 77, .42);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 140px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-soft);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-mid); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  margin: 0 0 .6em;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.95rem, 4.1vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

strong { color: var(--navy); font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 999;
  padding: .75rem 1.25rem;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--panel { background: var(--mist); border-block: 1px solid var(--line-soft); }
.section--deep  { background: var(--blue-wash); border-block: 1px solid var(--line-soft); }

.stack > * + * { margin-top: 1.15rem; }

.head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--center { margin-inline: auto; text-align: center; }
.head p { color: var(--text-soft); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.head--center .eyebrow::after {
  content: "";
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* One accent word per headline */
.gilt { color: var(--blue-mid); }

.rule {
  height: 2px;
  border: 0;
  margin: 0;
  background: var(--gold-rule);
  opacity: .5;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1.02rem 2.1rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--gold {
  background: var(--sheen);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(27, 79, 134, .65);
}
.btn--gold:hover {
  color: #fff;
  box-shadow: 0 18px 34px -12px rgba(27, 79, 134, .6);
}

.btn--ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--navy);
}
.btn--ghost:hover {
  border-color: var(--blue-mid);
  color: var(--blue);
  background: var(--blue-tint);
}

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 1rem; margin-right: auto; }
.brand img {
  width: 108px; height: 108px; flex: none;
  filter: drop-shadow(0 5px 12px rgba(14, 42, 77, .30));
}
.brand__name {
  font-family: var(--display);
  font-size: 1.42rem;
  line-height: 1.14;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
}
.brand__tag {
  display: block;
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold);
  margin-top: .34rem;
}

/* The full-size lockup needs ~410px. Between the mobile breakpoint and 1250px
   that plus the nav and the call button exceeds the bar, so step it down. */
@media (min-width: 1201px) and (max-width: 1249px) {
  .brand img { width: 92px; height: 92px; }
  .brand__name { font-size: 1.3rem; }
  .brand__tag { display: none; }
  :root { --header-h: 124px; }
}

/* On phones the wordmark wraps to two lines rather than shrinking away. */
@media (max-width: 700px) {
  :root { --header-h: 108px; }
  .brand { gap: .8rem; }
  .brand img { width: 78px; height: 78px; }
  .brand__name {
    font-size: 1.12rem;
    line-height: 1.2;
    white-space: normal;
    max-width: 11ch;
  }
  .brand__tag { display: none; }
}

.nav { display: flex; align-items: center; gap: .1rem; }
.nav > .btn { display: none; }   /* mobile drawer only */
.nav a {
  position: relative;
  padding: .55rem .78rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-soft);
  transition: color .22s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: .78rem; right: .78rem; bottom: .3rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---- Services dropdown ------------------------------------------------- */
.nav__item--drop { position: relative; }
.nav__item--drop > a { display: inline-flex; align-items: center; gap: .34rem; }

.nav__caret {
  width: 11px; height: 11px;
  transition: transform .25s var(--ease);
}
.nav__item--drop:hover .nav__caret,
.nav__item--drop:focus-within .nav__caret { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  top: 100%;
  left: -1rem;
  z-index: 20;
  /* Padding forms a hover bridge between the link and the panel. */
  padding-top: .55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item--drop:hover .nav__drop,
.nav__item--drop:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Escape collapses the panel until focus leaves the group. Declared after the
   hover/focus rules so it wins at equal specificity. */
@media (min-width: 1201px) {
  .nav__item--drop.is-collapsed .nav__drop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
  }
}

.nav__drop-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.75rem;
  width: min(620px, 78vw);
  padding: 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.nav__drop-inner::before {
  content: "";
  position: absolute;
  top: -7px; left: 2.4rem;
  width: 12px; height: 12px;
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
  rotate: 45deg;
}

.nav__label {
  margin: 0 0 .9rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Reset the compact top-level link styling inside the panel */
.nav__drop a {
  padding: 0;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  color: var(--text-soft);
}
.nav__drop a::after { display: none; }

.nav__feature {
  display: flex;
  gap: .85rem;
  padding: .8rem !important;
  margin-bottom: .4rem;
  border-radius: var(--radius-lg);
  transition: background .22s var(--ease);
}
.nav__feature:hover { background: var(--blue-tint); }
.nav__feature-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.nav__feature-icon svg { width: 19px; height: 19px; }
.nav__feature-title {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--navy);
}
.nav__feature-sub {
  display: block;
  margin-top: .2rem;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted);
}

.nav__group--list { display: flex; flex-direction: column; gap: .1rem; }
.nav__group--list a { padding: .42rem 0 !important; }
.nav__group--list a:hover { color: var(--blue); }
.nav__all {
  margin-top: .6rem;
  padding-top: .8rem !important;
  border-top: 1px solid var(--line-soft);
  font-weight: 700 !important;
  font-size: .74rem !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--blue) !important;
}

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav > .btn { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: rgba(255,255,255,.99);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 1rem .25rem; font-size: .88rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.5rem; }

  /* In the drawer the panel becomes a plain indented sublist — no hover to
     rely on, and the two featured pages are what matter on a phone. */
  .nav__caret { display: none; }
  .nav__drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-top: 0;
  }
  .nav__drop-inner {
    display: block;
    width: auto;
    padding: 0 0 0 1rem;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav__drop-inner::before { display: none; }
  .nav__label { display: none; }
  .nav__feature-icon, .nav__feature-sub { display: none; }
  .nav__feature { display: block; padding: 0 !important; margin: 0; border-radius: 0; }
  .nav__feature:hover { background: none; }
  .nav__feature-title {
    display: block;
    padding: .95rem .25rem;
    font-family: var(--body);
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  /* The anchor list duplicates what the services page already shows. */
  .nav__group--list a:not(.nav__all) { display: none; }
  .nav__all {
    margin-top: 0;
    padding: .95rem .25rem !important;
    border-top: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(600px, 86svh, 880px);
  padding-block: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(88% 78% at 84% 4%,  rgba(127,178,226,.28), transparent 60%),
    radial-gradient(55% 45% at 2% 98%,  rgba(227,185,44,.10),  transparent 62%),
    linear-gradient(178deg, var(--blue-wash) 0%, #FFFFFF 62%, #FFFFFF 100%);
}
/* Optional photo layer: drop assets/img/hero.jpg and set --hero-photo in :root. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-photo, none) center/cover no-repeat;
  opacity: .14;
}

/* Concentric hairline rings echoing the crest — kept faint so it reads as
   texture behind the type rather than as an object. */
.hero__glow {
  position: absolute;
  z-index: 0;
  right: -8%;
  top: 50%;
  translate: 0 -50%;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(27, 79, 134, .10);
  background: radial-gradient(circle, rgba(127,178,226,.16), rgba(127,178,226,.04) 58%, transparent 72%);
  pointer-events: none;
}
.hero__glow::before,
.hero__glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(27, 79, 134, .09);
}
.hero__glow::before { inset: 13%; }
.hero__glow::after  { inset: 29%; }

.hero__inner { position: relative; z-index: 1; max-width: 800px; }

/* The crest is the centrepiece — give it room and lift it off the page */
.hero__crest {
  width: clamp(170px, 20vw, 260px);
  margin-bottom: 2.25rem;
  filter: drop-shadow(var(--shadow-crest));
  animation: crest-in .9s var(--ease) both;
}
@keyframes crest-in {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to   { opacity: 1; transform: none; }
}

.hero h1 { margin-bottom: 1.4rem; text-wrap: balance; }

.hero__lede {
  max-width: 58ch;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  color: var(--text-soft);
  margin-bottom: 2.4rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta span::before {
  content: "";
  width: 6px; height: 6px;
  rotate: 45deg;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   6b. Hero carousel
   -------------------------------------------------------------------------- */
.hc {
  position: relative;
  isolation: isolate;
  background: var(--blue-wash);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.hc__viewport {
  position: relative;
  /* Derived rather than a flat svh figure, so the header, the carousel and the
     brand strip always fit inside the first screen — a fixed 82svh pushed the
     strip below the fold on 700–800px-tall windows. --strip-h reserves the
     strip's height; raise --hc-reserve to pull everything up further still. */
  --strip-h: 60px;
  --hc-reserve: 14px;
  height: clamp(460px, calc(100svh - var(--header-h) - var(--strip-h) - var(--hc-reserve)), 780px);
}

.hc__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .85s var(--ease), visibility .85s;
}
.hc__slide.is-active { opacity: 1; visibility: visible; }

/* Abstract backdrop — safe to crop hard at any aspect ratio */
.hc__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
}

/* The vehicle is a separate transparent layer so its size and position are
   controlled here rather than left to object-fit cropping. */
.hc__car {
  position: absolute;
  right: 0;
  bottom: 9%;
  width: min(50vw, 780px);
  height: auto;
  transform: translateX(4%);
  transition: transform 1.1s var(--ease), opacity .85s var(--ease);
  opacity: 0;
}
.hc__slide.is-active .hc__car { opacity: 1; transform: translateX(0); }

/* Light scrim so navy type stays legible over the artwork */
.hc__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg,
    rgba(255,255,255,.96) 0%,
    rgba(255,255,255,.94) 32%,
    rgba(255,255,255,.72) 46%,
    rgba(255,255,255,.26) 60%,
    rgba(255,255,255,0) 74%);
}

/* .hc__content also carries .shell, so it must keep the shell's own max-width
   and auto margins. Constrain the children instead — setting max-width here
   would centre the whole text block inside the slide. */
/* The slide centres this block vertically, so bottom padding is what lifts the
   text off centre — every 1rem added raises the content 8px within the slide.
   Note this only moves the text; to move the strip below the carousel, change
   --hc-trim on .hc__viewport instead. */
.hc__content {
  position: relative;
  z-index: 1;
  padding-bottom: 4.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.hc__content > * { max-width: 620px; }
.hc__slide.is-active .hc__content {
  animation: hc-in .8s var(--ease) .12s forwards;
}
@keyframes hc-in { to { opacity: 1; transform: none; } }

.hc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.hc__eyebrow::before {
  content: "";
  width: 32px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hc__title {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  line-height: 1.1;
  color: var(--navy);
  text-wrap: balance;
}

.hc__sub {
  max-width: 50ch;
  margin: 0 0 2.2rem;
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  color: var(--text-soft);
}

/* Controls live in the bottom bar rather than floating over the slide, so they
   never land on top of the headline at narrow widths. */
.hc__controls { display: flex; align-items: center; gap: .5rem; }

.hc__arrow {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.hc__arrow svg { width: 19px; height: 19px; }
.hc__arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.06);
}

/* Bottom control bar */
.hc__ui {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  background: linear-gradient(transparent, rgba(255,255,255,.72) 42%);
}
.hc__ui-bar {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  padding-block: 1.15rem 1.35rem;
}

.hc__count {
  margin: 0;
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
}
.hc__count-now { color: var(--navy); }
.hc__count-sep { margin: 0 .45rem; color: var(--line); }

.hc__dots { display: flex; align-items: center; gap: .5rem; margin-right: auto; }
.hc__dot {
  width: 34px; height: 22px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hc__dot span {
  display: block;
  width: 100%; height: 3px;
  border-radius: 2px;
  background: rgba(27, 79, 134, .22);
  transition: background .3s var(--ease), height .3s var(--ease);
}
.hc__dot:hover span { background: rgba(27, 79, 134, .45); }
.hc__dot.is-active span { background: var(--gold); height: 4px; }

.hc__toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.hc__toggle:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.hc__toggle svg { width: 15px; height: 15px; }
.hc__toggle .hc__icon-play  { display: none; }
.hc__toggle[data-playing="false"] .hc__icon-pause { display: none; }
.hc__toggle[data-playing="false"] .hc__icon-play  { display: block; }

.hc__progress { height: 3px; background: rgba(27, 79, 134, .12); }
.hc__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transform-origin: left;
}

@media (max-width: 720px) {
  .hc__viewport {
    height: clamp(420px, calc(100svh - var(--header-h) - var(--strip-h) - var(--hc-reserve)), 640px);
  }
  .hc__scrim {
    background: linear-gradient(180deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.88) 46%,
      rgba(255,255,255,.58) 72%,
      rgba(255,255,255,.30) 100%);
  }
  .hc__img { object-position: 62% 70%; }
  .hc__car {
    right: -14%;
    bottom: 4%;
    width: 128%;
    opacity: .55;
  }
  .hc__slide.is-active .hc__car { opacity: .55; }
  .hc__content { padding-bottom: 5.5rem; }
  .hc__count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hc__slide, .hc__car { transition: opacity .3s linear; }
  .hc__slide.is-active .hc__car { transform: none; }
  .hc__slide.is-active .hc__content { animation: none; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   6c. Intro band — the brand statement, below the carousel
   -------------------------------------------------------------------------- */
.intro {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(127,178,226,.16), transparent 62%),
    var(--paper);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.intro__inner { display: grid; justify-items: center; }

.intro__crest {
  width: clamp(150px, 17vw, 240px);
  margin-bottom: 2rem;
  filter: drop-shadow(0 14px 30px rgba(14, 42, 77, .30));
}

.intro h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  text-wrap: balance;
}

.intro__lede {
  max-width: 62ch;
  margin-bottom: 2.25rem;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--text-soft);
}

.intro__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem 2.2rem;
  margin: 3rem 0 0;
  padding-top: 2rem;
  width: min(100%, 860px);
  border-top: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.intro__meta span { display: inline-flex; align-items: center; gap: .55rem; }
.intro__meta span::before {
  content: "";
  width: 6px; height: 6px;
  rotate: 45deg;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   7. Marquee trust strip
   -------------------------------------------------------------------------- */
.strip {
  background: var(--navy);
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  padding-block: 1.15rem;
  animation: slide 42s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(234,241,250,.82);
  white-space: nowrap;
}
.strip__item::before {
  content: "";
  width: 6px; height: 6px;
  rotate: 45deg;
  background: var(--gold-light);
  flex: none;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 .card { padding: clamp(1.4rem, 2vw, 1.8rem); }
.grid--4 .card__icon { width: 46px; height: 46px; margin-bottom: 1.1rem; }
.grid--4 .card__icon svg { width: 22px; height: 22px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* Gold hairline across the top edge on hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold-rule);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-lift);
}
.card:hover::before { opacity: 1; }

.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-soft); font-size: .97rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.35rem;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  flex: none;
}
.card__icon svg { width: 25px; height: 25px; }

.card__list {
  margin: 1.25rem 0 0;
  padding: 1.25rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  font-size: .92rem;
  color: var(--text-soft);
}
.card__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: .5rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  rotate: 45deg;
  background: var(--gold);
}

.card__link {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.card__link span { transition: transform .28s var(--ease); }
.card:hover .card__link span { transform: translateX(5px); }

/* Feature card — the two signature services */
.card--feature {
  padding: clamp(2rem, 3.4vw, 3rem);
  background: linear-gradient(168deg, var(--blue-wash) 0%, var(--paper) 55%);
  border-color: var(--line);
}
.card--feature::before { opacity: 1; }
.card--feature h3 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
.card--feature p { font-size: 1.02rem; }
.card--feature .card__icon { background: var(--blue); color: #fff; }

.tag {
  align-self: flex-start;
  margin-bottom: 1.1rem;
  padding: .36rem .85rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7A5A08;
  background: var(--gold-tint);
  border: 1px solid rgba(196, 148, 26, .35);
}

/* --------------------------------------------------------------------------
   9. Numbered process
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: 1px solid var(--line-soft); }
.step::before {
  content: "0" counter(step);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--blue-soft);
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--text-soft); max-width: 62ch; }
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: .5rem; }
}

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.stat { padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--paper); text-align: center; }
.stat__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1;
  color: var(--blue);
}
.stat__label {
  display: block;
  margin-top: .85rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Marques (brand wall)
   -------------------------------------------------------------------------- */
.marques {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.marque {
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem;
  background: var(--paper);
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.marque:hover { background: var(--blue-tint); color: var(--blue); }

/* --------------------------------------------------------------------------
   12. Gallery
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter {
  padding: .62rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { color: var(--blue); border-color: var(--blue-soft); background: var(--blue-tint); }
.filter[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.15rem);
}

.shot {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--mist);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.shot.is-hidden { display: none; }
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line); }
.shot:hover img { transform: scale(1.05); }

.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.75rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(14, 42, 77, .88));
  text-align: left;
  translate: 0 6px;
  opacity: 0;
  transition: opacity .35s var(--ease), translate .35s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; translate: 0 0; }
.shot__cap strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  color: #fff;
}
.shot__cap em {
  display: block;
  margin-top: .2rem;
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(14, 42, 77, .82);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 78vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6);
}
.lightbox__cap {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.94);
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.15rem;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.lightbox__btn:hover { background: #fff; color: var(--blue); transform: scale(1.06); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev  { left: clamp(.6rem, 2.5vw, 2rem); top: 50%; translate: 0 -50%; }
.lightbox__next  { right: clamp(.6rem, 2.5vw, 2rem); top: 50%; translate: 0 -50%; }

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.quote::after {
  content: "\201D";
  position: absolute;
  right: 1.4rem; top: .5rem;
  font-family: var(--display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--blue-soft);
  opacity: .3;
}
.quote__stars { display: flex; gap: .2rem; margin-bottom: 1.1rem; color: var(--gold-light); }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0 0 1.5rem; font-size: 1.02rem; color: var(--text-soft); }
.quote figcaption { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.quote__name { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--navy); }
.quote__car {
  display: block;
  margin-top: .2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   14. Split feature (image + copy)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__media {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* For portrait photography — keeps the full height of the frame instead of
   cropping it to a landscape band. */
.split__media--tall img { aspect-ratio: 4/5; }
@media (max-width: 720px) {
  .split__media--tall img { aspect-ratio: 4/3; object-position: center 35%; }
}

.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: .85rem;
  color: var(--text-soft);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .18em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-tint);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px; top: .52em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  rotate: -45deg;
}

/* --------------------------------------------------------------------------
   15. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate .3s var(--ease), translate .3s var(--ease);
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq details > div { padding-bottom: 1.75rem; color: var(--text-soft); max-width: 78ch; }

/* --------------------------------------------------------------------------
   16. Contact bits
   -------------------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.info { padding: clamp(1.6rem, 2.6vw, 2.2rem); background: var(--paper); }
.info h3 {
  font-size: .72rem; font-family: var(--body); font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .9rem;
}
.info p, .info address { font-style: normal; color: var(--text-soft); font-size: 1rem; line-height: 1.85; }
.info a { color: var(--blue); }
.info a:hover { color: var(--blue-mid); }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  color: var(--text-soft);
}
.hours li:last-child { border-bottom: 0; }
.hours li.is-closed { color: var(--muted); }
.hours span:first-child { font-weight: 600; color: var(--navy); }

.map {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Big call band */
.callband {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(46,109,180,.55), transparent 66%),
    linear-gradient(180deg, #143964, var(--navy));
  text-align: center;
  color: var(--on-dark);
}
.callband h2 { color: #fff; margin-bottom: 1rem; }
.callband p { max-width: 56ch; margin-inline: auto; color: rgba(234,241,250,.85); margin-bottom: 2.4rem; }
.callband .eyebrow { color: var(--gold-pale); }
.callband .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-pale)); }
.callband .eyebrow::after  { background: linear-gradient(90deg, var(--gold-pale), transparent); }
.callband__tel {
  display: inline-block;
  margin-bottom: 1.75rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: .03em;
  color: #fff;
  transition: color .25s var(--ease);
}
.callband__tel:hover { color: var(--gold-pale); }
.callband .btn--gold {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.5);
}
.callband .btn--gold:hover { background: var(--gold-pale); color: #4A3606; }
.callband .btn--ghost {
  background: transparent;
  border-color: rgba(234,241,250,.42);
  color: #fff;
}
.callband .btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

/* --------------------------------------------------------------------------
   17. Page header (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 130% at 88% 0%, rgba(127,178,226,.28), transparent 62%),
    linear-gradient(180deg, var(--blue-wash), var(--paper));
  overflow: hidden;
}
.page-head h1 { max-width: 20ch; margin-bottom: 1.1rem; }
.page-head p { max-width: 62ch; font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--text-soft); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { color: var(--blue); }
.crumbs li { list-style: none; margin: 0; }
.crumbs ol { display: contents; }
.crumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--line); }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(234,241,250,.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
/* Brand block spans the full row on phones, sits in the wide track on desktop.
   minmax(0, …) keeps the grid from forcing a horizontal scrollbar. */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(234,241,250,.16);
}
@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 940px) {
  .footer-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

.footer-brand img {
  width: 172px;
  margin-bottom: 1.35rem;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.4));
}
.footer-brand p { color: rgba(234,241,250,.66); font-size: .95rem; max-width: 38ch; }

.site-footer h4 {
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.15rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer li a, .site-footer address a { color: rgba(234,241,250,.72); font-size: .95rem; }
.site-footer li a:hover, .site-footer address a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(234,241,250,.66); font-size: .95rem; line-height: 1.85; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: .8rem;
  color: rgba(234,241,250,.55);
}
.footer-base p { margin: 0; }

/* --------------------------------------------------------------------------
   19. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__crest { animation: none; }
  .strip__track { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
