/* ============================================================
   Karibu Condominiums — v1 prototype
   Brand: Dark Blue #012365 | Light Blue #c5d5df
          Grey Azure #4c555c | Grey Blue #8d97ad
   Headings: The Seasons (brand font, Canva licence).
   Web stand-in used here: Marcellus. Body: Poppins.
   ============================================================ */

:root {
  --navy: #012365;
  --navy-deep: #011a4d;
  --light: #c5d5df;
  --light-soft: #d6e2ea;
  --azure: #4c555c;
  --greyblue: #8d97ad;
  --gold: #d9b36c;
  --gold-deep: #b8923f;
  --white: #ffffff;
  --serif: 'Marcellus', 'Times New Roman', serif;
  --sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--azure);
  background: var(--light);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--greyblue);
}
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
}
h2.section-title {
  font-size: clamp(1.35rem, 3.6vw, 2.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
}
.section-sub {
  font-family: var(--serif);
  font-size: clamp(0.82rem, 2.2vw, 1.02rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--greyblue);
  margin-top: 0.6rem;
}
.section-head { text-align: center; padding: 0 1.4rem; margin-bottom: 2.4rem; }
.section-head .lede {
  max-width: 640px; margin: 1.1rem auto 0;
  font-size: 0.95rem; color: var(--azure);
}
/* Gold fleuron flourish under section headings (echoes the brand map motif) */
.section-head::after {
  content: "\2740";
  display: block;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 1.05rem 1.7rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  line-height: 1.5;
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-deep); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.75); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); padding: 0.55rem 1.15rem; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-deep); }
.btn-outline-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-outline-navy:hover { background: transparent; color: var(--navy); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.3rem;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  background: linear-gradient(to bottom, rgba(1,26,77,0.55), transparent);
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 18px rgba(1,26,77,0.35);
  padding: 0.6rem 1.3rem;
}
.brand img { height: 42px; width: auto; }
.nav-links { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.mobile-cta { font-size: 0.56rem; padding: 0.5rem 0.7rem; letter-spacing: 0.12em; white-space: nowrap; }

.hamburger {
  background: none; border: none; cursor: pointer; padding: 0.4rem;
  display: flex; flex-direction: column; gap: 5px;
}
.hamburger span { width: 26px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile menu (per copydeck) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 1.6rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  color: var(--light);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu a.menu-dataroom { color: var(--gold); border: 1px solid var(--gold); padding: 0.7rem 1.6rem; }

@media (min-width: 900px) {
  .hamburger, .mobile-cta, .mobile-menu { display: none; }
  .site-header { padding: 1.1rem 2.6rem; }
  .brand img { height: 58px; }
  .nav-links { display: flex; align-items: center; gap: 1.9rem; }
  .nav-links a {
    color: var(--white); text-decoration: none;
    font-size: 0.72rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase;
    padding-bottom: 3px; border-bottom: 1px solid transparent;
    transition: border-color 0.25s;
  }
  .nav-links a:hover { border-color: var(--gold); }
}

/* ---------- Hero: the video, uninterrupted ----------
   Mobile: the full video frame fits the screen width at its natural
   16:9 shape, nothing cropped. Desktop: full-screen cover. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 66px 0 0; /* clears the fixed header on mobile, no gap below */
}
.hero video {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (min-width: 860px) {
  .hero { min-height: 100svh; padding-top: 0; }
  .hero video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    aspect-ratio: auto;
    z-index: 0;
  }
  .hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(1,26,77,0.5) 0%, rgba(1,26,77,0) 26%);
    z-index: 1;
  }
}

/* ---------- Intro: Violet's hero mockup as its own section ---------- */
#intro { padding-top: 0; }
.intro-grid { display: grid; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-content { padding: 2.4rem 1.4rem 0; }
.intro-content h1 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--navy);
}
.intro-sub {
  font-family: var(--serif);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--greyblue);
  margin-top: 0.8rem;
}
.intro-card {
  background: var(--white);
  padding: 1.6rem 1.7rem;
  margin-top: 1.5rem;
  box-shadow: 0 12px 40px rgba(1,35,101,0.12);
  font-size: 0.9rem;
}
.intro-card p + p { margin-top: 0.8rem; }
.intro-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.intro-ctas .btn { flex: 1 1 220px; }
@media (min-width: 900px) {
  #intro { padding-bottom: 0; }
  .intro-grid { grid-template-columns: 1.05fr 0.95fr; min-height: 620px; }
  .intro-content {
    padding: 3.4rem 3rem;
    align-self: center;
    max-width: 620px;
  }
}

/* ---------- Desktop/mobile copy variants (per Master Content
   Register: WEB rows = desktop copy, MOB rows = mobile copy) ---------- */
.m-only { display: none !important; }
@media (max-width: 859px) {
  .d-only { display: none !important; }
  .m-only { display: revert !important; }
}

/* Hero writing-only band under the video (per copydeck mockup):
   wide block capitals with a fluid italic accent. */
#hero-text {
  padding: 3.2rem 1.4rem;
  text-align: center;
  background: var(--light);
}
#hero-text h1 {
  position: relative; z-index: 1;
  color: var(--navy);
  font-size: clamp(1.5rem, 4.6vw, 3rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
}
#hero-text em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 1.28em;
}

/* ---------- Floral section decorations ---------- */
section { position: relative; overflow: hidden; }
.deco {
  position: absolute; z-index: 0;
  width: clamp(200px, 30vw, 400px);
  opacity: 0.4;
  pointer-events: none;
}
.deco-tr { top: -16px; right: -24px; }
.deco-tl { top: -10px; left: -20px; }
.deco-br { bottom: -18px; right: -24px; }
.deco-bl { bottom: -18px; left: -24px; }
.deco-light { opacity: 0.3; }
section > .section-head, section > .container, section > .tl-wrap, section > .paths, section > .band { position: relative; z-index: 1; }

/* ---------- Sections ---------- */
section { padding: 4.2rem 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.4rem; }

/* Advantage + Location shared card layout */
.split { display: grid; gap: 1.6rem; align-items: center; }
.split .card {
  background: var(--white);
  padding: 2rem 1.6rem;
  box-shadow: 0 12px 40px rgba(1,35,101,0.10);
}
.feature-row { display: flex; gap: 1.1rem; margin-top: 1.5rem; align-items: flex-start; }
.feature-row img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.feature-row h3 {
  font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.feature-row p { font-size: 0.9rem; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 12px 40px rgba(1,35,101,0.18); }

@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 2.6rem; }
  .split.flip .card { order: 2; }
  .split.flip .photo { order: 1; }
  .split .card { padding: 2.8rem 2.6rem; }
}

/* Interactive location map (styled to the reference artwork) */
.map-app {
  display: none;
  margin-top: 2.6rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #f8faf9;
  box-shadow: 0 12px 40px rgba(1,35,101,0.12);
}
.map-app.live { display: grid; }
.map-panel { padding: 2rem 1.6rem; }
.map-panel h3 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: 1.5rem; line-height: 1.25;
}
.map-panel h3 em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; display: block;
}
.map-panel p { font-size: 0.85rem; margin-top: 0.9rem; }
.map-filters { display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; margin-top: 1.3rem; }
.map-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.06em;
  background: var(--white); color: var(--azure);
  border: 1px solid rgba(141,151,173,0.5); border-radius: 3px;
  padding: 0.4rem 0.8rem; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.map-chip .dot { width: 9px; height: 9px; border-radius: 2px; }
.map-chip.on { border-color: var(--navy); background: var(--light-soft); color: var(--navy); }
.map-canvas { height: clamp(420px, 60vh, 640px); }
@media (min-width: 900px) {
  .map-app.live { grid-template-columns: 330px 1fr; }
  .map-panel { padding: 2.6rem 2.2rem; }
  .map-canvas { height: 640px; }
}
.map-label {
  position: absolute;
  z-index: 20;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--sans);
  line-height: 1.3;
  /* Solid backing chip (not just a text-shadow halo) so the label stays fully
     legible over route polylines and doesn't blend into a neighbouring
     marker's label when two points of interest sit close together. */
  background: rgba(250, 251, 252, 0.92);
  border-radius: 3px;
  padding: 0.2rem 0.4rem;
  box-shadow: 0 1px 4px rgba(1, 35, 101, 0.12);
}
.map-label .ml-name {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  max-width: 150px;
  white-space: normal;
}
.map-label .ml-time {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  color: #a96e15;
}
.map-label-karibu {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.map-label-karibu .ml-name {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  max-width: none;
  text-shadow: 0 0 3px #ffffff, 0 0 6px #ffffff, 0 1px 2px rgba(255,255,255,0.9);
}

.karibu-iw { font-family: var(--sans); max-width: 240px; }
.karibu-iw h4 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: 0.95rem; letter-spacing: 0.05em; margin-bottom: 0.25rem;
}
.karibu-iw .iw-time {
  color: var(--gold-deep); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; margin-bottom: 0.3rem;
}
.karibu-iw p { font-size: 0.78rem; color: var(--azure); }

/* Image tuner (?tune mode) */
.tune-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: #b8923f; color: #fff;
  font-size: 0.75rem; letter-spacing: 0.06em;
  padding: 0.55rem 1rem; text-align: center;
}
.tune-banner button {
  margin-left: 0.7rem; border: 1px solid #fff; background: none; color: #fff;
  font-size: 0.7rem; padding: 0.2rem 0.7rem; cursor: pointer;
}
.tune-ctl {
  position: absolute; left: 10px; bottom: 10px; z-index: 50;
  background: rgba(1,26,77,0.85); color: #fff;
  padding: 0.45rem 0.7rem; border-radius: 6px;
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.62rem; letter-spacing: 0.04em;
}
.tune-ctl input[type="range"] { width: 170px; }

/* Location map: full-bleed across the section */
.map-figure {
  margin-top: 2.6rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(1,35,101,0.12);
}
.map-figure img { width: 100%; }
.map-links { text-align: center; margin-top: 1.1rem; font-size: 0.82rem; }
.map-links a { color: var(--navy); }

/* ---------- Residences ---------- */
#residences { background: var(--light-soft); }
.res-grid { display: grid; gap: 2.2rem; }
@media (min-width: 1000px) { .res-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; } }

.lifestyle h3 {
  font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin: 1.7rem 0 0.8rem;
}
.lifestyle .pair { margin-top: 1.2rem; }
.lifestyle .pair h4 {
  font-family: var(--serif); color: var(--navy); font-weight: 400;
  font-size: 0.98rem; letter-spacing: 0.05em;
}
.lifestyle .pair p { font-size: 0.9rem; }
.highlights {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.2rem;
}
.highlights li {
  font-family: var(--serif); color: var(--navy);
  font-size: 0.92rem; letter-spacing: 0.04em;
  padding-left: 1.1rem; position: relative;
}
.highlights li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}

.tabs-head { text-align: center; margin-bottom: 1.3rem; }
.tabs-head h3 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.tabs-head p {
  font-family: var(--serif); color: var(--greyblue);
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin-top: 0.35rem;
}

/* Tabs (touch-friendly targets) */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.tab-btn {
  font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.05em;
  background: var(--greyblue); color: var(--white);
  border: none; cursor: pointer;
  padding: 0.85rem 0.5rem; line-height: 1.35;
  min-height: 58px;
  transition: background 0.25s;
}
.tab-btn small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.08em; opacity: 0.85; }
.tab-btn.active { background: var(--navy); }
.tab-btn:hover { background: var(--azure); }
.tab-btn.active:hover { background: var(--navy); }

.tab-panel { display: none; margin-top: 1.4rem; }
.tab-panel.active { display: block; }
.price-line {
  font-family: var(--serif); color: var(--navy);
  text-align: center;
  font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.plan-card { background: var(--white); padding: 0.8rem; box-shadow: 0 12px 40px rgba(1,35,101,0.12); }
.unit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.5rem; }
.unit-info { margin-top: 2rem; }
.unit-block { display: none; }
.unit-block.active { display: grid; }
.unit-block .tab-ctas { grid-column: 1 / -1; margin-top: 1.2rem; }
.unit-cols h4 {
  font-family: var(--serif); color: var(--navy); font-weight: 400;
  font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.unit-cols ul { list-style: none; font-size: 0.86rem; }
.unit-cols li { padding: 0.28rem 0; border-bottom: 1px solid rgba(141,151,173,0.25); }
.status {
  display: inline-block; font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.1rem 0.5rem; margin-left: 0.35rem;
  border-radius: 2px;
}
.status.founder { background: var(--gold); color: var(--navy-deep); }
.status.presale { background: var(--navy); color: var(--white); }
.status.future { background: rgba(141,151,173,0.35); color: var(--azure); }
.unit-cols li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; }
.unit-price { font-family: var(--serif); color: var(--navy); font-size: 0.85rem; margin-left: auto; }
.tab-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.tab-ctas .btn { flex: 1 1 200px; }

.siteplan { margin-top: 3rem; text-align: center; }
.siteplan summary {
  cursor: pointer; list-style: none;
  display: inline-block;
  font-family: var(--sans); font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--navy);
  padding: 1.05rem 2.4rem;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.siteplan summary:hover { background: var(--navy); color: var(--white); }
.siteplan summary::-webkit-details-marker { display: none; }
.siteplan summary::after { content: " +"; color: var(--gold); }
.siteplan[open] summary::after { content: " \2212"; }
.siteplan .plan-card { max-width: 760px; margin: 1.4rem auto 0; }

/* ---------- Gallery carousel ---------- */
#gallery { background: var(--light); }
.carousel { position: relative; }
.car-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 1.4rem;
  scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide {
  flex: 0 0 min(86%, 980px);
  scroll-snap-align: center;
}
.car-slide img {
  width: 100%;
  height: clamp(240px, 44vw, 560px);
  object-fit: cover;
  object-position: center 68%;
  box-shadow: 0 12px 40px rgba(1,35,101,0.16);
}
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(1,35,101,0.25);
  transition: background 0.25s, color 0.25s;
}
.car-btn:hover { background: var(--navy); color: var(--white); }
.car-prev { left: 0.9rem; }
.car-next { right: 0.9rem; }
@media (min-width: 900px) {
  .car-prev { left: 2rem; }
  .car-next { right: 2rem; }
}
.car-count {
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.72rem; letter-spacing: 0.24em;
  color: var(--azure);
}

/* ---------- Back to top (mobile) ---------- */
.backtop {
  position: fixed; right: 1.1rem; bottom: 1.2rem; z-index: 70;
  width: 46px; height: 46px;
  border: none; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: none;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(1,26,77,0.4);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.backtop.show { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .backtop { display: flex; pointer-events: none; }
  .backtop.show { pointer-events: auto; }
}

/* ---------- Team ---------- */
.partners { text-align: center; }
.partners .dev-logo { max-width: 210px; margin: 0.9rem auto 0.7rem; }
.partners .dev-line { max-width: 560px; margin: 0 auto; font-size: 0.9rem; }
.partner-tier {
  font-family: var(--serif); color: var(--navy);
  letter-spacing: 0.26em; text-transform: uppercase;
  font-size: 0.95rem; margin: 2rem 0 1.1rem;
}
.partner-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.6rem 3rem; align-items: center;
}
.partner-row figure { width: 200px; }
.partner-row img { height: 56px; width: auto; margin: 0 auto; object-fit: contain; }
.partner-row figcaption {
  margin-top: 0.7rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--azure);
}
.team-cols { display: grid; gap: 1.8rem; margin-top: 1.4rem; }
#teamToggle { margin-top: 2rem; }
@media (max-width: 859px) {
  /* Mobile (MOB-006): partners row plus a Project Team button that
     reveals the full team list. */
  .team-tier { display: none; }
  .team-cols { display: none; }
  .team-cols.open { display: grid; }
}
@media (min-width: 800px) {
  .team-cols { grid-template-columns: 1fr auto 1fr; align-items: start; }
  .team-divider { width: 110px; opacity: 0.85; align-self: stretch; display: flex; align-items: center; }
}
.team-divider { display: none; }
@media (min-width: 800px) { .team-divider { display: flex; } }
.team-col h4 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  text-align: center; font-size: 1.15rem; margin-bottom: 1rem;
}
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; text-align: center; }
.person .name { font-family: var(--serif); color: var(--navy); font-size: 0.95rem; }
.person .role {
  font-size: 0.64rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azure); margin-top: 0.2rem;
}

/* ---------- Image bands: let the renders breathe on desktop ---------- */
.band { height: clamp(300px, 42vw, 620px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
/* Crop focus values tuned by Ejiro and Violet (?tune tool, 5 Jul 2026) */
.band-pool img { object-position: center 85%; }
.band-cars img { object-position: center 62%; }
.intro-photo img { object-position: center 36%; }
#location .split .photo img { object-position: center 100%; }
.car-slide:nth-child(1) img { object-position: center 100%; }  /* g01 */
.car-slide:nth-child(2) img { object-position: center 66%; }   /* g02 */
.car-slide:nth-child(3) img { object-position: center 89%; }   /* g03 */
.car-slide:nth-child(4) img { object-position: center 100%; }  /* g04 */
.car-slide:nth-child(5) img { object-position: center 63%; }   /* g05 */
.car-slide:nth-child(6) img { object-position: center 100%; }  /* g06 */
.car-slide:nth-child(7) img { object-position: center 69%; }   /* g07 */
.car-slide:nth-child(8) img { object-position: center 79%; }   /* g08 */
.car-slide:nth-child(9) img { object-position: center 72%; }   /* g11 */
.car-slide:nth-child(10) img { object-position: center 0%; }   /* g12 */
.car-slide:nth-child(11) img { object-position: center 58%; }  /* g13 */
.car-slide:nth-child(12) img { object-position: center 44%; }  /* g14 */
.car-slide:nth-child(13) img { object-position: center 83%; }  /* g15 */
.car-slide:nth-child(14) img { object-position: center 100%; } /* g16 */
#timeline { background: var(--light); padding-top: 0; }
#timeline .section-head { padding-top: 3.6rem; }
.tl-wrap { position: relative; max-width: 1080px; margin: 2.8rem auto 0; padding: 0 1.4rem; }
.tl-track { position: relative; }
.tl-line {
  position: absolute; background: rgba(141,151,173,0.5);
}
.tl-progress {
  position: absolute;
  background: linear-gradient(90deg, var(--navy) 55%, var(--gold));
  box-shadow: 0 0 10px rgba(217,179,108,0.85), 0 0 22px rgba(217,179,108,0.45);
  border-radius: 2px;
  transition: width 1.6s cubic-bezier(0.25, 0.6, 0.3, 1), height 1.6s cubic-bezier(0.25, 0.6, 0.3, 1);
}
.tl-items { display: grid; position: relative; }
.tl-item { position: relative; transition: transform 0.3s; }
.tl-item .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--light); border: 2px solid var(--greyblue);
  position: relative; z-index: 2;
  transition: background 0.4s, border-color 0.4s;
}
.tl-item.done .dot {
  background: var(--navy); border-color: var(--navy);
  box-shadow: 0 0 8px rgba(1,35,101,0.5);
}
.tl-item.current .dot {
  background: var(--gold); border-color: var(--gold-deep);
  animation: karibuPulse 2.2s ease-out infinite;
}
.tl-item.current h4 { color: var(--navy); }
@keyframes karibuPulse {
  0%   { box-shadow: 0 0 0 0 rgba(217,179,108,0.65), 0 0 12px rgba(217,179,108,0.9); }
  70%  { box-shadow: 0 0 0 16px rgba(217,179,108,0), 0 0 12px rgba(217,179,108,0.9); }
  100% { box-shadow: 0 0 0 0 rgba(217,179,108,0), 0 0 12px rgba(217,179,108,0.9); }
}
@media (hover: hover) {
  .tl-item:hover { transform: translateY(-4px); }
}
.tl-item h4 {
  font-family: var(--serif); font-weight: 400; color: var(--navy);
  font-size: 1rem; letter-spacing: 0.04em;
}
.tl-item .dates {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--azure); margin-top: 0.25rem;
}
.tl-item .phase-tag {
  display: inline-block; margin-top: 0.45rem;
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold-deep);
  padding: 0.12rem 0.55rem; border-radius: 999px;
}

/* Mobile: vertical timeline */
.tl-items { grid-template-columns: 1fr; gap: 1.9rem; }
.tl-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.tl-item .dot { margin-top: 0.2rem; flex-shrink: 0; }
.tl-line { left: calc(1.4rem + 8px); top: 10px; bottom: 10px; width: 2px; }
.tl-progress { left: calc(1.4rem + 8px); top: 10px; width: 2px; }
@media (max-width: 859px) {
  .tl-progress { background: linear-gradient(180deg, var(--navy) 55%, var(--gold)); }
}

@media (min-width: 860px) {
  .tl-items { grid-template-columns: repeat(5, 1fr); gap: 0; text-align: center; }
  .tl-item { display: block; }
  .tl-item .dot { margin: 0 auto 1rem; }
  .tl-line { left: 10%; right: 10%; top: 8px; bottom: auto; width: auto; height: 2px; }
  .tl-progress { left: 10%; top: 8px; height: 2px; width: 0; }
}
.tl-cta { text-align: center; margin-top: 3rem; }

/* ---------- Conversion ---------- */
#secure { background: var(--light-soft); padding-bottom: 0; }
.paths { display: grid; gap: 2.4rem; max-width: 1080px; margin: 2.4rem auto 0; padding: 0 1.4rem 4.2rem; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; gap: 3.4rem; } }
.path { display: flex; flex-direction: column; align-items: center; text-align: center; }
.path h3 {
  font-size: 1.15rem; letter-spacing: 0.24em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.path p { font-size: 0.92rem; max-width: 430px; margin: 0 auto 1.1rem; text-align: justify; text-align-last: center; }
.path-subhead {
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--navy);
  text-align: center !important;
}
.path .btn { margin-top: auto; }

.release-schedule {
  max-width: 900px; margin: 0 auto; padding: 0 1.4rem 4.2rem; text-align: center;
}
.release-schedule-title {
  font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.release-schedule-note {
  font-size: 0.9rem; color: var(--azure); max-width: 640px; margin: 0 auto 1.8rem;
}
.release-table-wrap { overflow-x: auto; }
.release-table {
  width: 100%; min-width: 560px; border-collapse: collapse; text-align: left;
  background: var(--white); font-size: 0.85rem;
}
.release-table th, .release-table td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--light); }
.release-table th {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--greyblue); border-bottom: 2px solid var(--navy);
}
.release-table td:first-child { font-family: var(--serif); color: var(--navy); }
.release-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--light); padding: 3.6rem 0 2rem; position: relative; overflow: hidden; }
.site-footer > .container, .site-footer > .disclaimer { position: relative; z-index: 1; }
.site-footer .deco { opacity: 0.14; }
.footer-grid { display: grid; gap: 2.6rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1.2fr 1fr; align-items: start; } }
.footer-links { list-style: none; }
.footer-links a {
  color: var(--light); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  display: inline-block; padding: 0.32rem 0;
}
.footer-links a:hover { color: var(--gold); }
.footer-brand { text-align: center; }
.footer-brand img { max-width: 220px; margin: 0 auto 0.9rem; }
.footer-brand p { font-size: 0.8rem; color: rgba(197,213,223,0.85); }
.footer-inq h4 {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.9rem;
  margin-bottom: 0.9rem;
}
.footer-inq p { font-size: 0.82rem; margin-bottom: 0.4rem; }
.footer-inq a { color: var(--light); }
.footer-inq .ig {
  display: inline-flex; margin-top: 1rem; width: 40px; height: 40px;
  border: 1px solid rgba(197,213,223,0.6); border-radius: 8px;
  align-items: center; justify-content: center;
  color: var(--light); text-decoration: none;
}
.footer-inq .ig:hover { border-color: var(--gold); color: var(--gold); }
.disclaimer { max-width: 1080px; margin: 3rem auto 0; padding: 0 1.4rem; }
.disclaimer summary {
  cursor: pointer; list-style: none;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(197,213,223,0.8); text-align: center;
}
.disclaimer summary::-webkit-details-marker { display: none; }
.disclaimer summary::after { content: " +"; color: var(--gold); }
.disclaimer[open] summary::after { content: " \2212"; }
.disclaimer p {
  font-size: 0.72rem; color: rgba(197,213,223,0.75);
  margin-top: 1rem; text-align: center; line-height: 1.8;
}

/* ---------- Form panels ----------
   Desktop: a drawer that slides in from the right so the page
   stays visible. Mobile: a bottom sheet. Never a full-screen block. */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(1,26,77,0.28);
  display: none;
  align-items: flex-end; justify-content: center;
  padding: 0;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white); width: 100%; max-width: 560px;
  max-height: 88svh; overflow-y: auto;
  padding: 2.2rem 1.6rem 2.4rem;
  position: relative;
  box-shadow: 0 -14px 50px rgba(1,26,77,0.35);
  animation: karibuSheetUp 0.35s ease-out;
}
@keyframes karibuSheetUp {
  from { transform: translateY(60px); opacity: 0.4; }
  to   { transform: none; opacity: 1; }
}
@media (min-width: 700px) {
  .modal-backdrop { align-items: stretch; justify-content: flex-end; }
  .modal {
    max-width: 480px; max-height: none; height: 100%;
    padding: 2.8rem 2.4rem;
    box-shadow: -18px 0 50px rgba(1,26,77,0.35);
    animation: karibuDrawerIn 0.35s ease-out;
  }
  @keyframes karibuDrawerIn {
    from { transform: translateX(80px); opacity: 0.4; }
    to   { transform: none; opacity: 1; }
  }
}
.modal-close {
  position: absolute; top: 0.9rem; right: 1rem;
  background: none; border: none; font-size: 1.5rem; line-height: 1;
  color: var(--greyblue); cursor: pointer; padding: 0.3rem;
}
.modal h3 {
  font-size: 1.25rem; letter-spacing: 0.1em; line-height: 1.3;
  margin-bottom: 0.7rem; padding-right: 1.6rem;
}
.modal .modal-sub { font-size: 0.88rem; margin-bottom: 1.4rem; }
.modal label {
  display: block; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azure); margin: 1rem 0 0.35rem;
}
.modal input[type="text"], .modal input[type="email"], .modal input[type="tel"], .modal select {
  width: 100%; padding: 0.75rem 0.85rem;
  border: 1px solid var(--greyblue); background: #fbfcfd;
  font-family: var(--sans); font-size: 0.92rem; color: var(--azure);
}
.modal input:focus, .modal select:focus { outline: 2px solid var(--navy); }
.phone-row { display: grid; grid-template-columns: 130px 1fr; gap: 0.6rem; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.45rem 0; font-size: 0.85rem; }
.choice input { margin-top: 0.28rem; }
.modal .btn { width: 100%; margin-top: 1.6rem; }
.demo-note {
  margin-top: 1rem; font-size: 0.68rem; color: var(--greyblue); text-align: center;
}
.nda-box {
  border: 1px solid var(--greyblue); background: #fbfcfd;
  max-height: 240px; overflow-y: auto;
  padding: 1rem 1.1rem; margin-top: 1rem;
  font-size: 0.78rem; line-height: 1.7;
}
.nda-box h4 { font-size: 0.8rem; color: var(--navy); margin: 0.8rem 0 0.2rem; }
.nda-box h4:first-child { margin-top: 0; }
.modal .success { text-align: center; padding: 1.2rem 0 0.4rem; }
.modal .success h3 { font-size: 1.35rem; }
.modal .success .list { text-align: left; font-size: 0.86rem; margin: 1.1rem auto; max-width: 400px; }
.modal .success .list li { margin: 0.4rem 0; }
.hidden { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
