/* ============================================================
   KaraSpace Uganda — karaspaceug.com
   Brand stylesheet · PRD v1.1 palette
   45% Cream · 30% Maroon · 10% Gold · 10% Cocoa · 5% Teal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --cream:    #F5F0EA;
  --cream-deep: #EDE5DA;
  --maroon:   #7A1F30;
  --maroon-deep: #5E1624;
  --gold:     #C8A96B;
  --gold-soft: #D9C49A;
  --teal:     #1A6B6B;
  --teal-deep: #145454;
  --cocoa:    #5A4338;
  --burgundy: #7D2252;
  --plum:     #6B2A4C;
  --ink:      #3D2E27;
  --font-display: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-h: 84px;
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }

h1, h2, h3, .display { font-family: var(--font-display); color: var(--maroon); font-weight: 600; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Kente strip (brand-toned nod to the table runners) ---------- */
.kente-strip {
  height: 7px;
  background:
    repeating-linear-gradient(90deg,
      var(--gold) 0 34px,
      var(--maroon) 34px 78px,
      var(--gold) 78px 92px,
      var(--teal) 92px 128px,
      var(--burgundy) 128px 168px,
      var(--gold) 168px 182px,
      var(--plum) 182px 224px,
      var(--maroon) 224px 280px);
}
body.no-kente .kente-strip { background: var(--gold); height: 3px; }

/* ---------- Shell ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }

.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.deep { background: var(--cream-deep); }
.section.maroon-band { background: var(--maroon); color: var(--cream); }
.section.maroon-band h2, .section.maroon-band h3 { color: var(--cream); }
.section.maroon-band .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: 56px; display: grid; gap: 18px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); }
.section-head .lede { font-size: 17px; color: var(--cocoa); }
.maroon-band .section-head .lede { color: var(--gold-soft); }

/* ---------- Mobile comfort ---------- */
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section.tight { padding: 48px 0; }
  .section-head { margin-bottom: 36px; gap: 14px; }
  .ks-nav .nav-logo img { height: 38px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 3px; border: 1px solid var(--teal);
  background: var(--teal); color: #FDFBF7; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #FDFBF7; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal); color: #FDFBF7; }
.btn.on-dark { background: var(--gold); border-color: var(--gold); color: var(--maroon-deep); }
.btn.on-dark:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn.ghost-light { background: transparent; border-color: rgba(245,240,234,.55); color: var(--cream); }
.btn.ghost-light:hover { background: var(--cream); color: var(--maroon); border-color: var(--cream); }

.text-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); display: inline-flex; align-items: center; gap: 8px;
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.ks-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  background: rgba(245, 240, 234, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 169, 107, 0.35);
}
.ks-nav .nav-inner {
  max-width: 1380px; margin: 0 auto; padding: 0 28px;
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
}
.ks-nav .nav-logo img { height: 44px; width: auto; }
.ks-nav .nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ks-nav .nav-item { position: relative; }
.ks-nav .nav-item > a {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink); padding: 10px 11px; white-space: nowrap;
}
.ks-nav .nav-item > a:hover { color: var(--maroon); }
.ks-nav .nav-item.active > a { color: var(--maroon); font-weight: 600; }
.ks-nav .nav-item > a .caret { font-size: 9px; color: var(--gold); transform: translateY(1px); transition: transform .25s ease; }
.ks-nav .nav-item:hover > a .caret { transform: translateY(1px) rotate(180deg); }
.ks-nav .dropdown {
  position: absolute; top: 100%; left: 50%; padding-top: 14px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.ks-nav .nav-item:hover .dropdown, .ks-nav .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}
.ks-nav .dropdown-inner {
  min-width: 260px; background: #FFFFFF; border-radius: 22px;
  box-shadow: 0 2px 6px rgba(43,18,25,.06), 0 22px 48px rgba(43,18,25,.18);
  padding: 10px; display: flex; flex-direction: column; gap: 2px;
}
.ks-nav .dropdown a {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: 0;
  padding: 11px 14px; border-radius: 14px;
  transition: background .16s ease, color .16s ease;
}
.ks-nav .dropdown a:hover { background: #F1ECE5; color: var(--maroon); }
.ks-nav .dropdown .dd-ic { width: 24px; height: 24px; flex: none; color: var(--cocoa); display: flex; align-items: center; justify-content: center; transition: color .16s ease; }
.ks-nav .dropdown .dd-ic svg { width: 22px; height: 22px; display: block; }
.ks-nav .dropdown a:hover .dd-ic { color: var(--maroon); }
.ks-nav .nav-cta { margin-left: 10px; padding: 13px 22px; }
.ks-nav .nav-burger {
  display: none; margin-left: auto; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  border-radius: 12px; transition: background .25s ease, box-shadow .25s ease;
}
.ks-nav .nav-burger span { width: 24px; height: 2px; background: var(--maroon); display: block; transition: transform .25s ease, opacity .2s ease; }

/* mobile menu — compact icon dropdown card (anchored under the burger) */
.ks-nav .nav-drawer { display: none; }

@media (max-width: 1180px) {
  .ks-nav .nav-links { display: none; }
  .ks-nav .nav-burger { display: flex; }

  /* the card: absolute inside the fixed nav so it anchors to the bar's bottom-right
     regardless of the nav's backdrop-filter containing-block behaviour */
  .ks-nav .nav-drawer {
    display: block;
    position: absolute; top: calc(var(--nav-h) - 4px); right: 18px;
    width: 264px; max-width: calc(100vw - 32px);
    background: var(--night);
    border: 1px solid rgba(200, 169, 107, 0.24);
    border-radius: 22px; padding: 9px; z-index: 620;
    box-shadow: 0 28px 64px -16px rgba(20, 4, 8, 0.62), 0 6px 16px rgba(20, 4, 8, 0.4);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px) scale(0.96); transform-origin: top right;
    transition: opacity .2s cubic-bezier(.16,.7,.3,1), transform .26s cubic-bezier(.16,.7,.3,1), visibility 0s linear .26s;
  }
  body.drawer-open .ks-nav .nav-drawer {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    transition: opacity .2s cubic-bezier(.16,.7,.3,1), transform .26s cubic-bezier(.16,.7,.3,1);
  }
  body.drawer-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.drawer-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.drawer-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav-drawer .dr-row {
    display: flex; align-items: center; gap: 13px;
    padding: 12px 13px; border-radius: 13px;
    font-family: var(--font-body); font-size: 15.5px; font-weight: 600; letter-spacing: 0;
    color: rgba(245, 240, 234, 0.92); text-decoration: none;
    transition: background .14s ease, color .14s ease;
  }
  .nav-drawer .dr-row:hover { background: rgba(245, 240, 234, 0.06); }
  .nav-drawer .dr-row.active { background: rgba(200, 169, 107, 0.16); color: var(--gold-soft); }
  .nav-drawer .dr-ic { width: 21px; height: 21px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--gold-soft); }
  .nav-drawer .dr-ic svg { width: 21px; height: 21px; display: block; }
  .nav-drawer .dr-row.active .dr-ic { color: var(--gold); }
  .nav-drawer .dr-sep { height: 1px; background: rgba(245, 240, 234, 0.14); margin: 7px 11px; }
  .nav-drawer .dr-cta { background: var(--gold); color: var(--maroon-deep); font-weight: 700; margin-top: 2px; }
  .nav-drawer .dr-cta .dr-ic { color: var(--maroon-deep); }
  .nav-drawer .dr-cta:hover { background: var(--gold-soft); color: var(--maroon-deep); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: flex-end;
  margin-top: var(--nav-h); overflow: hidden;
}
.hero.short { min-height: 62vh; }
.hero .hero-media { position: absolute; inset: 0; }
.hero .hero-media img, .hero .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(61,30,28,.18) 0%, rgba(74,22,33,.32) 46%, rgba(74,22,33,.82) 100%);
}
.hero .hero-content { position: relative; width: 100%; padding: 96px 0 72px; color: var(--cream); }
.hero .hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.hero .hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { color: #FDFBF7; font-size: clamp(42px, 5.6vw, 78px); max-width: 16ch; }
.hero .hero-sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; margin-top: 22px; color: rgba(245,240,234,.92); }
.hero .hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero .tagline-row {
  display: flex; gap: clamp(14px, 2.6vw, 34px); align-items: baseline; flex-wrap: wrap;
  font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 44px); font-weight: 500;
  color: #FDFBF7; margin-top: 14px;
}
.hero .tagline-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); align-self: center; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 28px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid.cols-3, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; } }

.space-card {
  display: flex; flex-direction: column; background: #FDFBF7;
  border: 1px solid rgba(200,169,107,.35); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.space-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(61,46,39,.16); }
.space-card .card-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.space-card .card-img img, .space-card .card-img image-slot { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.space-card:hover .card-img img { transform: scale(1.045); }
.space-card .card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.space-card h3 { font-size: 27px; }
.space-card p { font-size: 14.5px; color: var(--cocoa); flex: 1; }
.space-card .text-link { margin-top: 6px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split .split-copy { display: grid; gap: 20px; }
.split .split-copy h2 { font-size: clamp(32px, 3.6vw, 48px); }
.split .split-copy p { color: var(--cocoa); }
.split .split-media { position: relative; }
.split .split-media img, .split .split-media image-slot, .split .split-media video { width: 100%; display: block; }
.split .framed { border: 1px solid var(--gold); padding: 14px; background: #FDFBF7; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.media-first .split-media { order: -1; } }

/* ---------- Atmosphere collage ---------- */
.atmosphere-collage {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  grid-template-rows: repeat(21, 1fr);
  gap: 12px;
  aspect-ratio: 4 / 3;
}
.atmosphere-collage figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: #FDFBF7;
  box-shadow: 0 10px 24px -16px rgba(74, 22, 33, .5);
}
.atmosphere-collage figure img,
.atmosphere-collage figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atmosphere-collage figure.video {
  border-width: 2px;
  box-shadow: 0 14px 30px -14px rgba(74, 22, 33, .62);
}
.atmosphere-collage .ca { grid-column: 4 / 11;  grid-row: 4 / 8;  }
.atmosphere-collage .cb { grid-column: 12 / 18; grid-row: 1 / 8;  }
.atmosphere-collage .cc { grid-column: 3 / 6;   grid-row: 8 / 13; }
.atmosphere-collage .cd { grid-column: 7 / 14;  grid-row: 8 / 16; }
.atmosphere-collage .ce { grid-column: 15 / 17; grid-row: 8 / 13; }
.atmosphere-collage .cf { grid-column: 15 / 18; grid-row: 13 / 16; }
.atmosphere-collage .cg { grid-column: 1 / 7;   grid-row: 14 / 16; }
.atmosphere-collage .ch { grid-column: 4 / 10;  grid-row: 16 / 22; }
.atmosphere-collage .ci { grid-column: 10 / 17; grid-row: 17 / 21; }
@media (max-width: 560px) { .atmosphere-collage { gap: 6px; } }

/* ---------- Lists / info ---------- */
.gold-rule { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); border: none; margin: 26px 0; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(200,169,107,.4); border: 1px solid rgba(200,169,107,.4); }
.info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-cell { background: var(--cream); padding: 34px 30px; display: grid; gap: 10px; align-content: start; }
.info-cell h3 { font-size: 24px; }
.info-cell .num { font-family: var(--font-display); font-size: 18px; color: var(--gold); font-style: italic; }
.info-cell p { font-size: 14px; color: var(--cocoa); }
@media (max-width: 980px) { .info-grid, .info-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .info-grid, .info-grid.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Quote / testimonial ---------- */
.big-quote { max-width: 880px; margin: 0 auto; text-align: center; display: grid; gap: 26px; justify-items: center; }
.big-quote blockquote { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-style: italic; font-weight: 500; color: var(--maroon); line-height: 1.35; }
.maroon-band .big-quote blockquote { color: var(--cream); }
.big-quote cite { font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cocoa); }
.maroon-band .big-quote cite { color: var(--gold); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cocoa); }
/* form labels sit on dark maroon CTA bands — keep them legible (cocoa would vanish) */
.section.maroon-band .field label { color: var(--gold-soft); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #FDFBF7; border: 1px solid rgba(90,67,56,.3); border-radius: 3px;
  padding: 14px 16px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--teal); outline-offset: -1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ks-footer { background: var(--maroon); color: var(--cream); }
.ks-footer .footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: 84px 32px 60px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 48px;
}
.ks-footer .footer-logo img { height: 52px; width: auto; }
.ks-footer .footer-tagline { font-family: var(--font-display); font-size: 21px; font-style: italic; color: var(--gold-soft); margin-top: 18px; }
.ks-footer .footer-addr { font-size: 13.5px; color: rgba(245,240,234,.75); margin-top: 16px; line-height: 1.9; }
.ks-footer h4 { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.ks-footer .footer-links { display: grid; gap: 11px; }
.ks-footer .footer-links a { font-size: 14px; color: rgba(245,240,234,.85); }
.ks-footer .footer-links a:hover { color: #FFFFFF; }
.ks-footer .updates-copy { font-size: 13.5px; color: rgba(245,240,234,.8); margin-bottom: 18px; }
.ks-footer .updates-form { display: flex; gap: 0; }
.ks-footer .updates-form input {
  flex: 1; font-family: var(--font-body); font-size: 14px; padding: 14px 16px;
  background: rgba(245,240,234,.08); border: 1px solid rgba(200,169,107,.5);
  border-right: none; border-radius: 3px 0 0 3px; color: var(--cream);
}
.ks-footer .updates-form input::placeholder { color: rgba(245,240,234,.5); }
.ks-footer .updates-form button {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--gold); color: var(--maroon-deep); border: 1px solid var(--gold);
  padding: 0 22px; border-radius: 0 3px 3px 0; cursor: pointer;
}
.ks-footer .updates-form button:hover { background: var(--gold-soft); }
.ks-footer .socials { display: flex; gap: 12px; margin-top: 24px; }
.ks-footer .socials a {
  width: 40px; height: 40px; border: 1px solid rgba(200,169,107,.55); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold-soft);
  transition: background .2s ease, color .2s ease;
}
.ks-footer .socials a:hover { background: var(--gold); color: var(--maroon-deep); }
.ks-footer .socials svg { width: 17px; height: 17px; fill: currentColor; }
.ks-footer .footer-bottom { border-top: 1px solid rgba(245,240,234,.16); }
.ks-footer .footer-bottom-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 24px 32px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(245,240,234,.6);
}
.ks-footer .footer-bottom-inner a { color: rgba(245,240,234,.75); }
@media (max-width: 980px) { .ks-footer .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ks-footer .footer-main { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 700;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #FFFFFF; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--maroon); color: var(--cream); margin-top: var(--nav-h); position: relative; overflow: hidden; }
.page-hero .ph-inner { max-width: var(--maxw); margin: 0 auto; padding: 92px 32px 84px; position: relative; display: grid; gap: 20px; max-width: var(--maxw); }
.page-hero h1 { color: #FDFBF7; font-size: clamp(40px, 5vw, 68px); max-width: 18ch; }
.page-hero .ph-lede { font-size: 17.5px; color: rgba(245,240,234,.88); max-width: 60ch; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Misc ---------- */
.badge-soon {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--burgundy); border: 1px solid var(--burgundy); border-radius: 2px; padding: 4px 10px;
}
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

image-slot { display: block; }

/* ============================================================
   Immersive home — full-bleed panels, night sections, big type
   ============================================================ */
:root {
  --night: #4A1521;
  --night-soft: #5E1B2A;
}

/* --- transparent nav over the hero (night theme pages) --- */
body.theme-night .ks-nav { background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .35s ease, border-color .35s ease; }
body.theme-night .ks-nav .nav-item > a { color: rgba(245,240,234,.92); }
body.theme-night .ks-nav .nav-item > a:hover, body.theme-night .ks-nav .nav-item.active > a { color: #FFFFFF; }
body.theme-night .ks-nav .kente-strip { opacity: 0; transition: opacity .35s ease; }
body.theme-night .ks-nav .nav-logo .logo-light { display: block; }
body.theme-night .ks-nav .nav-logo .logo-dark { display: none; }
body.theme-night .ks-nav .nav-burger { background: rgba(43,18,25,.55); box-shadow: 0 2px 12px rgba(20,4,8,.35); }
body.theme-night .ks-nav.scrolled .nav-burger { background: rgba(43,18,25,.4); box-shadow: none; }
body.theme-night .ks-nav .nav-burger span { background: var(--cream); }
body.drawer-open.theme-night .ks-nav .nav-burger { background: transparent; box-shadow: none; }
body.theme-night .ks-nav.scrolled { background: rgba(43,18,25,.96); backdrop-filter: blur(10px); border-bottom-color: rgba(200,169,107,.3); }
body.theme-night .ks-nav.scrolled .kente-strip { opacity: 1; }
.ks-nav .nav-logo .logo-light { display: none; }
/* the mobile menu card is dark-maroon on both themes — styled in the base media query above */

/* soft top gradient for nav legibility (replaces the hard bar) */
body.theme-night .ks-nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px;
  background: linear-gradient(180deg, rgba(43,18,25,.42), rgba(43,18,25,0));
  pointer-events: none; z-index: -1; opacity: 1; transition: opacity .35s ease;
}
body.theme-night .ks-nav.scrolled::before { opacity: 0; }

/* full-bleed heroes slide under the transparent nav so the top reads as one piece */
body.theme-night .hero { margin-top: 0; }
body.theme-night .glass-hero { margin-top: 0; height: 100vh; }
body.theme-night .page-hero { margin-top: 0; }
body.theme-night .page-hero .ph-inner { padding-top: calc(92px + var(--nav-h)); }

/* --- hero slider slides (works inside the standard .hero) --- */
.hero .hero-media.slide { opacity: 0; transition: opacity 1.6s ease; }
.hero .hero-media.slide.on { opacity: 1; }
.hero .mh-dots { position: absolute; bottom: 28px; right: 36px; z-index: 3; display: flex; gap: 10px; }
.hero .mh-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; padding: 0; }
.hero .mh-dots button.on { background: var(--gold); }

/* --- full-viewport hero slider --- */
.mega-hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--night); }
.mega-hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.mega-hero .slide.on { opacity: 1; }
.mega-hero .slide img, .mega-hero .slide video { width: 100%; height: 100%; object-fit: cover; }
.mega-hero .mh-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,18,25,.55) 0%, rgba(43,18,25,.30) 45%, rgba(43,18,25,.78) 100%); }
.mega-hero .mh-content { position: relative; z-index: 2; color: var(--cream); display: grid; gap: 10px; justify-items: center; padding: 0 24px; }
.mega-hero .mh-greeting { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(64px, 11vw, 150px); line-height: 1; color: #FDFBF7; }
.mega-hero .mh-name { font-size: clamp(14px, 1.6vw, 19px); font-weight: 600; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-top: 8px; text-indent: .5em; }
.mega-hero .mh-meaning { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 27px); font-style: italic; color: rgba(245,240,234,.92); max-width: 44ch; margin-top: 16px; }
.mega-hero .mh-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.mega-hero .mh-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.mega-hero .mh-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; padding: 0; }
.mega-hero .mh-dots button.on { background: var(--gold); }

/* --- night sections --- */
.section.night { background: var(--night); color: rgba(245,240,234,.9); }
.section.night h2, .section.night h3 { color: #FDFBF7; }
.section.night .eyebrow { color: var(--gold); }
.section.night .section-head .lede { color: rgba(245,240,234,.78); }

/* --- tagline band --- */
.tagline-band { background: var(--night); color: var(--cream); text-align: center; padding: 64px 24px; }
.tagline-band .tb-words { display: flex; gap: clamp(18px, 4vw, 54px); justify-content: center; align-items: center; flex-wrap: wrap; font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 58px); font-weight: 500; color: #FDFBF7; }
.tagline-band .tb-words .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tagline-band .tb-sub { font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }

/* --- giant doorway panels --- */
.panel { position: relative; display: flex; align-items: center; justify-content: center; height: 78vh; min-height: 480px; overflow: hidden; text-align: center; }
.panel .panel-media { position: absolute; inset: 0; }
.panel .panel-media img, .panel .panel-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.panel:hover .panel-media img, .panel:hover .panel-media video { transform: scale(1.05); }
.panel .panel-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,18,25,.5), rgba(43,18,25,.22) 45%, rgba(43,18,25,.62)); transition: background .4s ease; }
.panel:hover .panel-scrim { background: linear-gradient(180deg, rgba(43,18,25,.6), rgba(43,18,25,.38) 45%, rgba(43,18,25,.72)); }
.panel .panel-label { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: center; padding: 0 24px; }
.panel .panel-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); text-indent: .34em; }
.panel .panel-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 7.6vw, 104px); line-height: 1; color: #FDFBF7; }
.panel .panel-line { font-family: var(--font-display); font-style: italic; font-size: clamp(17px, 1.8vw, 22px); color: rgba(245,240,234,.9); max-width: 46ch; }
.panel .panel-go { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); border-bottom: 1px solid var(--gold); padding-bottom: 6px; margin-top: 8px; opacity: .85; transition: opacity .3s ease, letter-spacing .3s ease; }
.panel:hover .panel-go { opacity: 1; letter-spacing: .26em; }
.panel-divider { height: 10px; }

/* --- alakara proverb --- */
.proverb { background: var(--night); text-align: center; padding: clamp(90px, 12vw, 150px) 24px; position: relative; }
.proverb.on-cream { background: var(--cream-deep); }
.proverb.on-cream .pv-word { color: var(--maroon); }
.proverb.on-cream .pv-def { color: var(--burgundy); }
.proverb.on-cream .pv-sub { color: var(--cocoa); }
.proverb.on-cream .pv-lang { color: var(--teal); }
.proverb .pv-inner { max-width: 860px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; }
.proverb .pv-word { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(56px, 8vw, 108px); color: #FDFBF7; line-height: 1; }
.proverb .pv-lang { font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); text-indent: .34em; }
.proverb .pv-def { font-family: var(--font-display); font-size: clamp(21px, 2.6vw, 30px); font-style: italic; color: rgba(245,240,234,.9); max-width: 40ch; }
.proverb .pv-sub { font-size: 14.5px; color: rgba(245,240,234,.65); max-width: 52ch; }

/* --- tilted, bleeding editorial photo (smooth scroll-linked entrance) --- */
body { overflow-x: clip; }
.split-media.tilted { position: relative; z-index: 6; }
.split-media.tilted img {
  width: 124%; max-width: none; display: block;
  transform: rotate(2.5deg);
  box-shadow: 0 34px 90px rgba(43,18,25,.30);
  margin: -36px -8% -150px -4%;
}
.split.media-first .split-media.tilted img,
.split-media.tilted.tilt-left img { transform: rotate(-2.5deg); margin-left: -16%; margin-right: 4%; }
@media (max-width: 880px) {
  .split-media.tilted img { width: 106%; margin: 0 0 -50px -3%; }
  .split.media-first .split-media.tilted img, .split-media.tilted.tilt-left img { margin-left: -1.5%; margin-right: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .split-media.tilted img {
      animation: ks-tilt-in ease-out both;
      animation-timeline: view();
      animation-range: entry 5% entry 95%;
    }
    .split.media-first .split-media.tilted img,
    .split-media.tilted.tilt-left img { animation-name: ks-tilt-in-left; }
  }
}
@keyframes ks-tilt-in {
  from { transform: rotate(0deg) translateY(80px); opacity: .35; }
  to   { transform: rotate(2.5deg) translateY(0); opacity: 1; }
}
@keyframes ks-tilt-in-left {
  from { transform: rotate(0deg) translateY(80px); opacity: .35; }
  to   { transform: rotate(-2.5deg) translateY(0); opacity: 1; }
}

/* --- tonal border: steps a maroon band gently into the cream below --- */
.tone-border {
  height: 64px;
  background: linear-gradient(180deg,
    var(--maroon)    0 24%,
    var(--burgundy) 24% 44%,
    var(--plum)     44% 62%,
    var(--cocoa)    62% 76%,
    var(--gold)     76% 85%,
    var(--gold-soft) 85% 93%,
    var(--cream)    93% 100%);
}
.tone-border.to-deep { background: linear-gradient(180deg,
    var(--maroon)    0 24%,
    var(--burgundy) 24% 44%,
    var(--plum)     44% 62%,
    var(--cocoa)    62% 76%,
    var(--gold)     76% 85%,
    var(--gold-soft) 85% 93%,
    var(--cream-deep) 93% 100%);
}

/* --- footer find-us row --- */
.ks-footer .footer-find { max-width: var(--maxw); margin: 0 auto; padding: 72px 32px 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: stretch; }
.ks-footer .footer-find h4 { margin-bottom: 20px; }
.ks-footer .ff-map { border: 1px solid rgba(200,169,107,.45); padding: 8px; background: rgba(245,240,234,.05); }
.ks-footer .ff-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: sepia(.22) saturate(.9); }
.ks-footer .ff-hours { display: grid; gap: 0; align-content: start; }
.ks-footer .ff-hours .hr { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(245,240,234,.14); font-size: 14px; color: rgba(245,240,234,.85); }
.ks-footer .ff-hours .hr strong { color: var(--gold-soft); font-weight: 600; }
.ks-footer .ff-addr { font-size: 13.5px; color: rgba(245,240,234,.75); margin-top: 18px; line-height: 1.9; }
@media (max-width: 880px) { .ks-footer .footer-find { grid-template-columns: 1fr; } }
