/* ============================================================
   Tropical Wheels — Hero (luxury resort)
   ============================================================ */

:root {
  --gold:       #d9c39c;
  --gold-faint: rgba(217, 195, 156, .75);
  --ink:        #06282c;
  --ink-2:      #082f33;
  --lagoon:     #1fa396; /* pulled from the hero water */

  --text:       rgba(252, 250, 246, .96);
  --text-soft:  rgba(252, 250, 246, .78);
  --text-faint: rgba(252, 250, 246, .55);

  --hairline:   rgba(255, 255, 255, .3);

  /* Light (paper) section palette */
  --cream:      #f5efe3;
  --cream-2:    #ede4d1;
  --ink-text:   #0c3438;
  --ink-soft:   rgba(12, 52, 56, .72);
  --ink-faint:  rgba(12, 52, 56, .5);
  --ink-hair:   rgba(12, 52, 56, .18);

  --font-ui:      "Jost", "Segoe UI", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;

  --pad-x: clamp(20px, 4vw, 60px);

  /* Soft scrim behind the hero copy (weighted left, where the text sits) */
  --scrim-size: 82% 64%;
  --scrim-pos: 38% 48%;
}

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

/* `hidden` must beat any display rule set by a class below, since an author
   class selector otherwise outranks the browser's [hidden] { display: none }. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: #5fc9c4; /* fallback while photo loads */
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Background photo — served at native quality, no filters
   ------------------------------------------------------------ */

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

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../assets/AerialShot.jpg") 50% 45% / cover no-repeat;
  animation: bg-drift 42s ease-in-out infinite alternate;
}

@keyframes bg-drift {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* Scrims for legibility + a subtle vignette; photo stays bright */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(135% 135% at 50% 50%, rgba(2, 24, 28, 0) 58%, rgba(2, 24, 28, .34) 100%),
    radial-gradient(var(--scrim-size) at var(--scrim-pos), rgba(3, 40, 46, .46) 0%, rgba(3, 40, 46, 0) 74%),
    linear-gradient(180deg, rgba(3, 32, 38, .36) 0%, rgba(3, 32, 38, 0) 26%),
    linear-gradient(0deg,   rgba(3, 32, 38, .38) 0%, rgba(3, 32, 38, 0) 26%),
    linear-gradient(rgba(3, 30, 36, .22), rgba(3, 30, 36, .22));
}

/* ------------------------------------------------------------
   Page layout
   ------------------------------------------------------------ */

.hero-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}


/* ------------------------------------------------------------
   Top bar
   ------------------------------------------------------------ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 3vh, 32px) var(--pad-x);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, padding .3s ease;
}

.topbar.is-scrolled {
  background: rgba(4, 26, 30, .82);
  border-bottom-color: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  display: block;
  height: clamp(46px, 5.4vh, 62px);
  width: auto;
  transition: transform .45s cubic-bezier(.16, .6, .3, 1), opacity .35s ease;
}

.topbar.is-scrolled .brand-logo { height: clamp(40px, 4.6vh, 50px); }
.brand:hover .brand-logo { transform: scale(1.04); }

.nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 40px);
}

.nav-link {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .24em;
  color: var(--text-soft);
  padding: 8px 0;
  transition: color .3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s ease;
}

.nav-link:hover { color: #fff; }

.nav-link.is-active { color: #fff; }
.nav-link.is-active::after,
.nav-link:hover::after { transform: scaleX(1); }

.topbar-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-reserve {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .3em;
  color: #fff;
  padding: 12px 26px 11px;
  border: 1px solid rgba(255, 255, 255, .55);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.btn-reserve:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

/* Language switcher */
.lang { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  text-transform: uppercase;
  font-family: var(--font-ui);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .22em;
  padding: 12px 14px 11px 16px;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}

.lang-btn svg { width: 9px; height: 6px; transition: transform .25s ease; }
.lang-btn:hover { border-color: rgba(255, 255, 255, .8); }
.lang-open .lang-btn svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 150px;
  padding: 8px 0;
  background: rgba(5, 28, 32, .95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 56px rgba(2, 14, 18, .5);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.lang-open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 11px 20px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--text-soft);
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease;
}

.lang-menu button:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.lang-menu button.is-active { color: var(--gold); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Hero copy — centered, editorial
   ------------------------------------------------------------ */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 420px);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  text-align: left;
  padding: clamp(20px, 3vh, 40px) var(--pad-x) 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .44em;
  font-size: .68rem;
  font-weight: 500;
  color: #ead9b5;
  margin-bottom: clamp(18px, 3vh, 30px);
  text-shadow: 0 1px 3px rgba(3, 32, 38, .55), 0 2px 18px rgba(3, 32, 38, .5);
}

.title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.4vw, 6.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: .015em;
  color: #fff;
  text-shadow: 0 2px 36px rgba(3, 36, 42, .38);
}

.title em {
  font-style: italic;
  font-weight: 400;
}

/* Masked word-by-word rise — each word climbs out from behind its own
   clipping box, which reads far better than a plain fade. */
.title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .06em;   /* room for descenders inside the mask */
}

.title .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-rise 1.05s cubic-bezier(.16, .72, .26, 1) forwards;
  animation-delay: calc(var(--i, 0) * .085s + .3s);
}

@keyframes word-rise {
  to { transform: translateY(0); }
}

/* ------------------------------------------------------------
   Quick quote card in the hero
   ------------------------------------------------------------ */

.quote {
  position: relative;
  padding: clamp(28px, 2.6vw, 40px) clamp(26px, 2.4vw, 36px) clamp(26px, 2.4vw, 34px);
  background: rgba(4, 27, 31, .66);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 90px rgba(2, 14, 18, .5);
}

.quote-head {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.quote-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.quote-sub {
  margin-top: 8px;
  text-transform: uppercase;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--gold-faint);
}

.q-field { margin-bottom: 20px; }

.q-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.q-field label {
  display: block;
  text-transform: uppercase;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text-faint);
  margin-bottom: 9px;
}

.q-field input,
.q-field select {
  width: 100%;
  padding: 12px 2px 11px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .26);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: .98rem;
  font-weight: 300;
  letter-spacing: .02em;
  color-scheme: dark;
  transition: border-color .3s ease;
}

/* custom chevron rather than the platform's default select arrow */
.q-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23d9c39c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px 6px;
  cursor: pointer;
}

.q-field input:hover,
.q-field select:hover { border-bottom-color: rgba(255, 255, 255, .5); }

.q-field input:focus,
.q-field select:focus { outline: none; border-bottom-color: var(--gold); }

.q-field select option { background: var(--ink); color: var(--text); }

.q-estimate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 20px;
  padding: 14px 16px;
  background: rgba(217, 195, 156, .1);
  border: 1px solid rgba(217, 195, 156, .28);
  font-size: .78rem;
  font-weight: 300;
  color: var(--text-soft);
  animation: quote-est-in .4s ease both;
}

.q-estimate strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
}

@keyframes quote-est-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

.q-btn {
  width: 100%;
  margin-top: 6px;
  padding: 18px 20px 17px;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .24em;
  color: var(--ink);
  transition: background-color .3s ease, color .3s ease;
}

.q-btn:hover { background: transparent; color: var(--gold); }

.lead {
  max-width: 46ch;
  font-size: clamp(.92rem, 1vw, 1.02rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: .04em;
  color: rgba(252, 250, 246, .88);
  margin-top: clamp(18px, 3vh, 28px);
  text-shadow: 0 1px 3px rgba(3, 36, 42, .5), 0 2px 20px rgba(3, 36, 42, .5);
}

/* ------------------------------------------------------------
   CTAs
   ------------------------------------------------------------ */

.cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(26px, 4vh, 40px);
}

.btn-outline {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .3em;
  color: #fff;
  padding: 17px 40px 16px;
  border: 1px solid rgba(255, 255, 255, .6);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

.btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .3em;
  color: rgba(252, 250, 246, .9);
  padding: 8px 0 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  text-shadow: 0 1px 3px rgba(3, 36, 42, .5);
  transition: color .3s ease, border-color .3s ease;
}

.btn-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ------------------------------------------------------------
   Feature strip — quiet small caps along the bottom
   ------------------------------------------------------------ */

.feature-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2.6vw, 34px);
  padding: 0 var(--pad-x);
  margin: clamp(36px, 6vh, 64px) 0 clamp(26px, 4vh, 42px);
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .32em;
  color: rgba(252, 250, 246, .85);
  text-shadow: 0 1px 3px rgba(3, 32, 38, .55), 0 1px 12px rgba(3, 32, 38, .5);
}

.sep {
  width: 1px;
  height: 13px;
  background: var(--hairline);
}

/* ------------------------------------------------------------
   Entrance animation — slow, quiet
   ------------------------------------------------------------ */

.anim {
  animation: rise 1.1s cubic-bezier(.16, .6, .3, 1) both;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: clamp(26px, 4vh, 40px);
    padding-top: clamp(90px, 12vh, 130px);
  }

  .hero-copy { display: contents; }
  .lead { max-width: 54ch; margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .quote { width: 100%; max-width: 460px; text-align: left; }
}

@media (max-width: 900px) {
  :root {
    --scrim-size: 88% 54%;
    --scrim-pos: 50% 42%;
  }

  .bg { background-position: 42% 45%; }

  .topbar { grid-template-columns: auto 1fr; }

  .nav {
    position: absolute;
    top: 84px;
    right: var(--pad-x);
    z-index: 10;
    flex-direction: column;
    gap: 0;
    min-width: 220px;
    padding: 12px 0;
    background: rgba(5, 28, 32, .94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 56px rgba(2, 14, 18, .5);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  .nav-open .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 24px;
    text-align: center;
  }

  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--gold); }

  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .btn-reserve { display: none; }

  .cta-row {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }

  .btn-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .feature-strip {
    flex-direction: column;
    gap: 14px;
  }

  .sep {
    width: 26px;
    height: 1px;
  }
}

/* ============================================================
   Content sections — About / Fleet / Contact
   ============================================================ */

#home, #about, #cars, #contact { scroll-margin-top: var(--header-h, 90px); }

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vh, 140px) 0 clamp(70px, 10vh, 120px);
}


.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section-head {
  max-width: 700px;
  margin: 0 auto clamp(50px, 7vh, 76px);
  text-align: center;
}

.eyebrow-dark, .eyebrow-light {
  text-transform: uppercase;
  letter-spacing: .38em;
  font-size: .68rem;
  font-weight: 500;
  margin-bottom: clamp(14px, 2vh, 20px);
}

.eyebrow-dark { color: var(--gold); }
.eyebrow-light { color: var(--lagoon); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.14;
  color: #fff;
}

.section-title em { font-style: italic; font-weight: 400; color: var(--gold); }

.section-title-dark { color: var(--ink-text); }
.section-title-dark em { color: #a97f4f; }

.section-lead {
  max-width: 56ch;
  margin: clamp(18px, 3vh, 26px) auto 0;
  font-size: .98rem;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: .015em;
  color: var(--text-soft);
}

.section-lead-dark { color: var(--ink-soft); }

/* ------------------------------------------------------------
   About — dark ink section
   ------------------------------------------------------------ */

.section-about {
  background: var(--ink);
  background-image:
    radial-gradient(120% 100% at 50% -10%, rgba(217,195,156,.07) 0%, rgba(217,195,156,0) 55%),
    radial-gradient(90% 80% at 8% 112%, rgba(31,163,150,.12) 0%, rgba(31,163,150,0) 60%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: feature;
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}

.feature-card {
  counter-increment: feature;
  position: relative;
  padding: clamp(28px, 4.5vh, 44px) clamp(18px, 2.4vw, 30px) 0;
  text-align: left;
}

.feature-card + .feature-card { border-left: 1px solid rgba(255, 255, 255, .14); }

.feature-card::before {
  content: "0" counter(feature);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-faint);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-ui);
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .16em;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(252, 250, 246, .72);
}

.info-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 30px);
  margin-top: clamp(44px, 6vh, 60px);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--text-soft);
}

.info-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.info-strip svg { width: 15px; height: 15px; flex: none; color: var(--gold); }

.sep-v { width: 1px; height: 13px; background: var(--hairline); }

/* ------------------------------------------------------------
   Fleet — light paper section
   ------------------------------------------------------------ */

.section-fleet {
  background: var(--cream);
}

/* Fleet rows: each car on a cream stage, detail panel tilted in 3D beside it.
   Both rows use identical sizing; only the side alternates. */
.fleet-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 500px);
  align-items: center;
  gap: clamp(12px, 3vw, 46px);
  max-width: 1340px;
  margin: 0 auto clamp(70px, 10vh, 120px);
  padding: 0 var(--pad-x);
  perspective: 1600px;
}

.fleet-row-alt { grid-template-columns: minmax(320px, 500px) minmax(0, 1.05fr); }
.fleet-row-alt .fleet-visual { order: 2; }
.fleet-row-alt .fleet-panel  { order: 1; }

.fleet-visual {
  position: relative;
  min-width: 0;
  padding: clamp(14px, 2.5vw, 30px) 0;
}

.fleet-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(200px, 26vw, 340px);
}

/* Cutout PNGs with real alpha — they sit on any background, so the car can
   overhang the stage and carry its own drop shadow. */
.car-img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  grid-area: 1 / 1;
  filter: drop-shadow(0 26px 26px rgba(12, 52, 56, .22));
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, .6, .3, 1);
}

/* Real photo from Mahé, revealed by the toggle */
.car-real {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--ink-hair);
  box-shadow: 0 26px 60px rgba(12, 52, 56, .2);
  opacity: 0;
  transform: scale(.97);
  pointer-events: none;
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, .6, .3, 1);
}

.fleet-visual[data-view="real"] .car-img {
  opacity: 0;
  transform: scale(.97);
}

.fleet-visual[data-view="real"] .car-real {
  opacity: 1;
  transform: scale(1);
}

/* Studio / On Mahé toggle */
.fleet-toggle {
  position: absolute;
  top: clamp(6px, 1.5vw, 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--ink-hair);
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.fleet-row-alt .fleet-toggle { left: 50%; }

.fleet-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 7px 15px 6px;
  font-family: var(--font-ui);
  text-transform: uppercase;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--ink-soft);
  transition: background-color .3s ease, color .3s ease;
}

.fleet-toggle button.is-on {
  background: var(--ink-text);
  color: var(--cream);
}

.fleet-toggle button:not(.is-on):hover { color: var(--ink-text); }

.fleet-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-hair);
  padding: clamp(26px, 3.2vw, 44px);
  box-shadow: 0 34px 70px rgba(12, 52, 56, .13), 0 8px 20px rgba(12, 52, 56, .06);
  transform-style: preserve-3d;
}

/* Permanent 3D tilt — each panel is angled towards its car and stays that way.
   Specificity is deliberately high so it wins over the generic .reveal rules. */
.fleet-row .fleet-panel,
.fleet-row .fleet-panel.reveal,
.fleet-row .fleet-panel.reveal.is-visible {
  transform: rotateY(-9deg) rotateX(1.5deg);
}

.fleet-row-alt .fleet-panel,
.fleet-row-alt .fleet-panel.reveal,
.fleet-row-alt .fleet-panel.reveal.is-visible {
  transform: rotateY(9deg) rotateX(1.5deg);
}

/* gold spine on the panel's outer edge */
.fleet-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: -1px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(217, 195, 156, .25));
}

.fleet-row-alt .fleet-panel::before { right: auto; left: -1px; }

.car-kicker {
  text-transform: uppercase;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--lagoon);
  margin-bottom: 10px;
}

.car-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink-text);
  margin-bottom: 10px;
}

.car-name em { font-style: italic; font-weight: 400; }

.car-blurb {
  max-width: 44ch;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: clamp(16px, 2.4vh, 22px);
}

/* Labelled spec facts, easy to scan */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 12px 18px;
  padding: 14px 0;
  border-top: 1px solid var(--ink-hair);
  border-bottom: 1px solid var(--ink-hair);
  margin-bottom: 6px;
}

.spec-grid dt {
  text-transform: uppercase;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.spec-grid dd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-text);
}

.spec-grid sup { font-size: .6rem; }

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table td {
  padding: 10px 0;
  font-size: .92rem;
  color: var(--ink-text);
  border-bottom: 1px solid var(--ink-hair);
}

.price-table tr:last-child td { border-bottom: none; }

.price-table td:first-child { color: var(--ink-soft); font-weight: 300; }

.price-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.price-table tr:last-child td:last-child { color: var(--lagoon); }

.price-table td:last-child span {
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 300;
  color: var(--ink-faint);
  margin-left: 4px;
}

.car-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: clamp(20px, 3vh, 26px);
}

.car-note {
  display: block;
  margin-top: 12px;
  font-size: .78rem;
  font-style: italic;
  color: var(--ink-faint);
}

.btn-car {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--cream);
  background: var(--ink-text);
  padding: 15px 32px 14px;
  border: 1px solid var(--ink-text);
  transition: background-color .3s ease, color .3s ease;
}

.btn-car:hover {
  background: transparent;
  color: var(--ink-text);
}

.car-wa {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink-hair);
  transition: color .3s ease, border-color .3s ease;
}

.car-wa:hover { color: var(--lagoon); border-color: var(--lagoon); }

.fleet-footnote {
  max-width: 1000px;
  margin: 18px auto 0;
  text-align: right;
  font-size: .74rem;
  color: var(--ink-faint);
}

.terms-panel {
  max-width: 1000px;
  margin: clamp(56px, 7vh, 80px) auto 0;
  padding-top: clamp(40px, 6vh, 56px);
  border-top: 1px solid var(--ink-hair);
}

.terms-panel h3 {
  text-align: center;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  color: #a97f4f;
  margin-bottom: clamp(24px, 3.5vh, 34px);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px clamp(30px, 5vw, 60px);
}

.terms-grid ul { list-style: none; }

.terms-grid li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(12, 52, 56, .82);
  border-bottom: 1px solid var(--ink-hair);
}

.terms-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 1px;
  background: #a97f4f;
}

/* ------------------------------------------------------------
   How it works — the handover story (dark, real photos)
   ------------------------------------------------------------ */

.section-story {
  background: var(--ink);
  background-image:
    radial-gradient(85% 70% at 100% 0%, rgba(31,163,150,.10) 0%, rgba(31,163,150,0) 58%),
    radial-gradient(80% 70% at 0% 100%, rgba(217,195,156,.07) 0%, rgba(217,195,156,0) 55%);
}

.story-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  max-width: 1120px;
  margin: 0 auto;
}

.story-step {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* connecting hairline + travelling dot between steps */
.story-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: clamp(150px, 20vw, 220px);
  right: calc(-1 * clamp(12px, 1.7vw, 24px));
  width: clamp(24px, 3.4vw, 48px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-faint) 0 5px, transparent 5px 10px);
  opacity: .5;
  z-index: 2;
}

.story-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.story-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, .12);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(.16, .6, .3, 1);
}

.story-step:hover .story-photo img { transform: scale(1.07); }

/* gold corner ticks on the photo */
.story-photo::before,
.story-photo::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

.story-photo::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.story-photo::after  { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.story-text { padding-top: clamp(18px, 2.4vh, 24px); }

.story-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.story-text p {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-faint);
}

.story-steps .reveal:nth-child(2) { transition-delay: .12s; }
.story-steps .reveal:nth-child(3) { transition-delay: .24s; }

/* ------------------------------------------------------------
   Gallery — Instagram feed, cream (breaks up the run of dark
   sections either side of it)
   ------------------------------------------------------------ */

.section-gallery {
  background-color: var(--cream);
  /* a faint tiled camera-icon pattern, like Instagram's own greyed-out
     placeholder grid — decorative texture in the section's padding/margins
     around the (opaque, white) widget box, not competing with the photos */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h3l1.4-2h7.2L17 8h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z' fill='none' stroke='%230c3438' stroke-width='1.2' stroke-linejoin='round' opacity='.055'/%3E%3Ccircle cx='12' cy='13' r='3.1' fill='none' stroke='%230c3438' stroke-width='1.2' opacity='.055'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 72px 72px;
  /* no heading here — the widget is the whole section, so it doesn't need
     the same tall top/bottom breathing room as headed sections */
  padding-top: clamp(40px, 6vh, 70px);
  padding-bottom: clamp(40px, 6vh, 70px);
}

.gallery-embed {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

/* gold corner ticks, matching the contact CTA panel's language */
.gallery-embed::before,
.gallery-embed::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 1;
}

.gallery-embed::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.gallery-embed::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* Live Elfsight widget — wider than the fallback card (it's a photo grid,
   not a single message) and padded/backed so it sits inside the frame
   cleanly while the (lazy-loaded) widget script is still arriving. */
.gallery-embed-live {
  max-width: 100%; /* fills the standard 1180px .section-inner content column */
  min-height: 360px;
  padding: clamp(20px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--ink-hair);
  position: relative;
  overflow: hidden; /* pairs with the JS-computed max-height that crops the badge */
  transition: max-height .25s ease;
}

.gallery-fallback {
  padding: clamp(48px, 8vw, 72px) clamp(24px, 5vw, 40px);
  background: #fff;
  border: 1px solid var(--ink-hair);
  text-align: center;
}

.gallery-ig-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--ink-hair);
  color: var(--ink-text);
  margin-bottom: 22px;
}

.gallery-ig-icon svg { width: 24px; height: 24px; }

.gallery-handle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-text);
  margin-bottom: 10px;
}

.gallery-note {
  max-width: 38ch;
  margin: 0 auto clamp(24px, 3.5vh, 32px);
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
}

.btn-gallery {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--cream);
  background: var(--ink-text);
  padding: 15px 34px 14px;
  border: 1px solid var(--ink-text);
  transition: background-color .3s ease, color .3s ease;
}

.btn-gallery:hover {
  background: transparent;
  color: var(--ink-text);
}

/* ------------------------------------------------------------
   Island ticker — slow scroll of Mahé place names
   ------------------------------------------------------------ */

.loc-band {
  position: relative;
  overflow: hidden;
  background: #041a1d;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: clamp(34px, 5vh, 52px) 0 clamp(30px, 4.5vh, 46px);
}

.loc-head {
  text-align: center;
  margin-bottom: clamp(22px, 3.5vh, 34px);
  padding: 0 var(--pad-x);
}

.loc-head p {
  text-transform: uppercase;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--lagoon);
  margin-bottom: 10px;
}

.loc-head p { margin-bottom: 0; }

/* edges fade so cards drift in and out rather than being cut off */
.loc-viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.loc-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(26px, 3.6vw, 54px);
  padding-right: clamp(26px, 3.6vw, 54px); /* keeps the loop seam even */
  will-change: transform;
  animation: loc-scroll var(--loc-duration, 48s) linear infinite;
}

@keyframes loc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Just the place names, drifting past — no cards, no boxes */
.loc-track span {
  flex: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(252, 250, 246, .82);
}

.loc-track i {
  flex: none;
  align-self: center;
  font-style: normal;
  font-size: .5rem;
  color: var(--gold);
}

.loc-foot {
  margin-top: clamp(22px, 3.5vh, 32px);
  text-align: center;
  padding: 0 var(--pad-x);
  font-size: .82rem;
  font-weight: 300;
  color: var(--text-faint);
}

/* ------------------------------------------------------------
   Contact — dark ink bookend
   ------------------------------------------------------------ */

.section-contact {
  background: var(--ink);
  background-image:
    radial-gradient(120% 100% at 50% 110%, rgba(217,195,156,.07) 0%, rgba(217,195,156,0) 55%),
    radial-gradient(90% 80% at 94% -12%, rgba(31,163,150,.12) 0%, rgba(31,163,150,0) 60%);
}

/* The line-up photo, darkened, drifting behind the contact block for depth */
.contact-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assets/texture-fleet.jpg") center / cover no-repeat;
  opacity: .16;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
  animation: texture-drift 40s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes texture-drift {
  from { transform: scale(1.05) translateX(-1.5%); }
  to   { transform: scale(1.12) translateX(1.5%); }
}

.section-contact .section-inner { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1020px;
  margin: 0 auto;
  align-items: start;
}

.contact-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(16px, 2.4vh, 20px) 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-list li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--gold); }

.contact-list .label {
  display: block;
  text-transform: uppercase;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text-faint);
  margin-bottom: 5px;
}

.contact-list li div { font-size: .92rem; font-weight: 300; color: var(--text-soft); }

.contact-list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  transition: color .3s ease, border-color .3s ease;
}

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

.contact-cta {
  position: relative;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--hairline);
  padding: clamp(30px, 4vw, 42px);
  text-align: center;
}

.contact-cta::before,
.contact-cta::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.contact-cta::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.contact-cta::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.contact-cta-kicker {
  text-transform: uppercase;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--gold);
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--ink);
  background: var(--gold);
  padding: 17px 20px 16px;
  border: 1px solid var(--gold);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.btn-whatsapp svg { width: 18px; height: 18px; flex: none; }

.btn-whatsapp:hover {
  background: transparent;
  color: var(--gold);
}

.btn-book-alt {
  display: inline-block;
  margin-top: 16px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--gold);
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(217, 195, 156, .45);
  transition: color .3s ease, border-color .3s ease;
}

.btn-book-alt:hover { color: #fff; border-color: #fff; }

.contact-cta-note {
  margin-top: 18px;
  font-size: .84rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(252, 250, 246, .68);
}

.contact-cta-note a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(217,195,156,.4); }

/* ------------------------------------------------------------
   Site footer
   ------------------------------------------------------------ */

.site-footer {
  background: #041a1d;
  padding: clamp(36px, 5vh, 50px) var(--pad-x) clamp(24px, 3vh, 32px);
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: clamp(24px, 3vh, 32px);
  border-bottom: 1px solid var(--hairline);
}

.brand-footer .brand-logo { height: 66px; }

.footer-nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 34px);
}

.footer-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--text-faint);
  transition: color .3s ease;
}

.footer-nav a:hover { color: var(--gold); }

.footer-social {
  color: var(--text-soft);
  transition: color .3s ease;
}

.footer-social svg { width: 20px; height: 20px; }
.footer-social:hover { color: var(--gold); }

.footer-copy {
  max-width: 1180px;
  margin: clamp(18px, 3vh, 24px) auto 0;
  text-align: center;
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--text-faint);
}

/* ------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.16,.6,.3,1), transform .9s cubic-bezier(.16,.6,.3,1);
}

.reveal.is-visible {
  opacity: 1;
  /* must end at `none`, not translateY(0): a transform creates a stacking
     context that would break the fleet images' mix-blend-mode */
  transform: none;
}

.feature-grid .reveal:nth-child(2) { transition-delay: .08s; }
.feature-grid .reveal:nth-child(3) { transition-delay: .16s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .24s; }
.car-grid .reveal:nth-child(2) { transition-delay: .12s; }

/* ------------------------------------------------------------
   Section responsive
   ------------------------------------------------------------ */

@media (max-width: 1020px) {
  .fleet-row,
  .fleet-row-alt {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
    perspective: none;
  }

  .fleet-row-alt .fleet-visual { order: 0; }
  .fleet-row-alt .fleet-panel  { order: 0; }

  /* flat on small screens: a tilted panel is hard to read on a phone */
  .fleet-panel.reveal,
  .fleet-row-alt .fleet-panel.reveal { transform: translateY(22px); }

  .fleet-row .fleet-panel.reveal.is-visible,
  .fleet-row-alt .fleet-panel.reveal.is-visible { transform: none; }

  .fleet-row .fleet-panel.reveal.is-visible:hover,
  .fleet-row-alt .fleet-panel.reveal.is-visible:hover { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); row-gap: clamp(24px, 4vh, 36px); }
  .feature-grid .feature-card:nth-child(3) { border-left: none; }

  .contact-grid { grid-template-columns: 1fr; max-width: 560px; }
  .terms-grid { grid-template-columns: 1fr; }
  .fleet-footnote { text-align: center; }

  .story-steps { grid-template-columns: 1fr; max-width: 440px; gap: clamp(30px, 5vh, 44px); }
  .story-step:not(:last-child)::after { display: none; }
  .story-step { flex-direction: row; align-items: center; gap: 20px; }
  .story-num { position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0; }
  .story-photo { flex: none; width: 40%; align-self: stretch; }
  .story-text { padding-top: 0; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card + .feature-card { border-left: none; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }

  .story-step { flex-direction: column; align-items: stretch; }
  .story-photo { width: 100%; }
  .story-text { padding-top: 16px; }

  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .anim { animation: none; }
  .bg { animation: none; }
  html { scroll-behavior: auto; }
  /* safe: the fleet tilt uses higher specificity, so it survives this reset */
  .reveal { opacity: 1; transform: none; transition: none; }

  /* The place names keep drifting (just slower) and the fleet panels keep
     their tilt — a fixed angle is not motion, so it is safe to leave on. */
  .loc-track { animation-duration: calc(var(--loc-duration, 48s) * 2.5); }
  .contact-texture { animation: none; }
}
