:root {
  --sand: #EFEBE4;        /* coral-limestone */
  --sand-2: #E6E0D6;
  --line: #D9D2C6;
  --stone: #D6CFC3;
  --ink: #1C2320;
  --ink-2: #39423E;
  --muted: #5C625D;
  --gold: #2D6A66;        /* bay teal: links and actions */
  --gold-dark: #1F504D;
  --gold-soft: #CFE0DC;
  --bronze: #8A6234;      /* from the logo, used sparingly */
  --espresso: #16302B;    /* mangrove */
  --white: #FBFAF7;       /* limewash */
  --head: 'Marcellus', Georgia, serif;
  --body: 'Figtree', system-ui, sans-serif;
  --header-h: 76px;
}
@font-face { font-family: 'Marcellus'; src: url(../fonts/marcellus.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-dark); }
button { font: inherit; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: .01em; margin: 0; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.25; }

.eyebrow {
  font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow.light { color: var(--gold-soft); }

.prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.note { font-size: 15px !important; color: var(--muted) !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px; border-radius: 2px; border: 1px solid transparent;
  font-family: var(--head); font-size: 15px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-solid { background: var(--gold); color: var(--white); }
.btn-solid:hover { background: var(--gold-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--gold); }
.btn-light:hover { background: var(--gold-soft); color: var(--gold-dark); }
.btn-line { border-color: rgba(255,255,255,.85); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.site-header.solid { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 52px; width: auto; }
.logo-on-light { display: none; }
.site-header.solid .logo-on-dark, .menu-open .logo-on-dark { display: none; }
.site-header.solid .logo-on-light, .menu-open .logo-on-light { display: block; }
.wordmark {
  font-family: var(--head); font-size: 22px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.wordmark em { font-style: normal; font-weight: 400; }
.site-header:not(.solid) .wordmark { color: var(--white); }
.wordmark.light { color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500;
  position: relative; padding: 4px 0;
}
.site-header.solid .nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
.site-header.solid .menu-toggle span { background: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: #4A3F33; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-img { object-position: 50% 58%; }
.hero-frame { display: none; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero-media { overflow: hidden; }
  .hero-img { filter: blur(26px) brightness(.62) saturate(1.15); transform: scale(1.12); object-position: 50% 60%; }
  .hero-media .hero-frame { display: block; position: absolute; top: 112px; right: max(5vw, calc((100vw - 1180px) / 2)); height: calc(100vh - 168px); height: calc(100svh - 168px); max-height: 900px; width: auto; aspect-ratio: 540 / 930; max-width: none; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); z-index: 1; }
  .hero-shade { z-index: 2; background: linear-gradient(90deg, rgba(30,24,18,.6) 0%, rgba(30,24,18,.25) 45%, rgba(30,24,18,0) 60%), linear-gradient(180deg, rgba(30,24,18,.35) 0%, rgba(30,24,18,0) 25%); }
  .hero-content { z-index: 3; }
  .hero .hero-content h1 { max-width: 600px; font-size: clamp(40px, 4.6vw, 62px); }
  .hero .hero-content .lead { max-width: 520px; }
}
.hero-video { position: absolute; inset: 0; }
.hero-shade { background: linear-gradient(90deg, rgba(30,24,18,.55) 0%, rgba(30,24,18,.15) 55%, rgba(30,24,18,0) 75%), linear-gradient(180deg, rgba(30,24,18,.45) 0%, rgba(30,24,18,.05) 28%, rgba(30,24,18,.25) 55%, rgba(30,24,18,.75) 100%); }
.hero-content { position: relative; padding-top: 140px; padding-bottom: 96px; width: 100%; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; max-width: 780px; margin-bottom: 22px; }
.hero .lead { margin: 0 0 32px; font-size: 18px; line-height: 1.65; max-width: 600px; color: #F1ECE3; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero.no-photo .hero-media img { display: none; }

/* Facts strip */
.facts { background: var(--espresso); color: var(--gold-soft); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 28px 12px; text-align: center; border-left: 1px solid rgba(230,220,200,.14); }
.facts-grid div:first-child { border-left: 0; }
.facts strong { display: block; font-family: var(--head); font-size: 26px; font-weight: 500; color: var(--white); }
.facts span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* Sections */
.section { padding: 112px 0; }
.section-tight-top { padding-top: 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--espresso); color: var(--white); }
.section-dark .prose p { color: #EDE5D8; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head p:not(.eyebrow) { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-top { align-items: start; }
.split > div > .btn { margin-top: 28px; }

/* Placeholders (shown only until real photos are added) */
.ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--stone); color: var(--muted); font-family: var(--head);
  font-size: 15px; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 20px;
}
.ph-box {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--stone); color: var(--muted); font-family: var(--head);
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 20px;
}

/* Villas */
.villa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.villa { display: flex; flex-direction: column; }
.villa-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.slides { position: absolute; inset: 0; display: flex; transition: transform .45s ease; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.villa.has-photos .ph { display: none; }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--ink); font-size: 26px; line-height: 1;
  display: none; align-items: center; justify-content: center; padding-bottom: 3px;
  opacity: 0; transition: opacity .2s;
}
.slide-btn.prev { left: 14px; } .slide-btn.next { right: 14px; }
.villa.multi .slide-btn { display: flex; }
.villa-media:hover .slide-btn, .slide-btn:focus-visible { opacity: 1; }
.photo-count {
  position: absolute; right: 14px; bottom: 14px; display: none;
  background: rgba(30,36,34,.72); color: var(--white); border: 0; cursor: pointer;
  font-size: 13px; letter-spacing: .04em; padding: 6px 12px; border-radius: 2px;
}
.villa.has-photos .photo-count { display: block; }
.villa-body { padding-top: 22px; flex: 1; }
.villa-body h3 { font-size: 26px; margin-bottom: 8px; }
.specs { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.villa-body p:not(.specs) { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.villa-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
}
.price { font-size: 16px; color: var(--ink); }
.price strong { font-family: var(--head); font-size: 20px; font-weight: 500; }
.link-cta {
  font-family: var(--head); font-size: 14px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* Amenities */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.amenity { background: var(--white); border: 1px solid var(--line); padding: 30px; }
.amenity svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.amenity h3 { font-size: 20px; margin-bottom: 8px; }
.amenity p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.also { margin: 36px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 820px; }

/* Media frame */
.media-frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Location */
.distances { list-style: none; padding: 0; margin: 0 0 16px; }
.distances li { padding: 12px 0; border-bottom: 1px solid rgba(230,220,200,.18); display: flex; justify-content: space-between; gap: 16px; color: #EDE5D8; }
.distances li span:last-child { color: var(--white); font-weight: 500; }
.map { aspect-ratio: 1 / 1; max-height: 460px; width: 100%; background: #4A3F33; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.g-item { position: relative; padding: 0; border: 0; background: var(--stone); overflow: hidden; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-item.empty { cursor: default; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--head); font-size: 19px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--gold); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 600px; }

/* Enquiry */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contact-list li span { width: 96px; flex: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.platforms { margin-top: 32px; }
.platforms p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.platform-links { display: flex; gap: 12px; flex-wrap: wrap; }

.enquiry { background: var(--white); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; width: 100%;
  border: 1px solid #BDB3A3; background: var(--white); border-radius: 2px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
.field input.invalid { border-color: #A3392B; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-2.tight { gap: 12px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .btn { flex: 1 1 auto; white-space: nowrap; padding: 0 22px; }
.form-hint { margin: 0; font-size: 13px; color: var(--muted); }
.form-error { margin: 0; font-size: 14px; color: #A3392B; }

/* Footer */
.site-footer { background: var(--ink); color: #CFC8BC; padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: #E6DCC8; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(207,200,188,.16); }
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand .wordmark { display: inline-block; margin-bottom: 18px; }
.footer-brand p { margin: 0; line-height: 1.7; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.social { display: flex; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.footer-base { padding-top: 24px; font-size: 13px; color: #9A9389; }

/* WhatsApp button */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(18,15,12,.94);
  display: flex; align-items: center; justify-content: center; padding: 60px 80px;
}
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox figcaption { color: #CFC8BC; font-size: 14px; letter-spacing: .04em; }
.lb-close, .lb-nav { position: absolute; border: 0; background: none; color: var(--white); cursor: pointer; line-height: 1; }
.lb-close { top: 16px; right: 22px; font-size: 40px; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 56px; padding: 10px 16px; opacity: .8; }
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slides { transition: none; }
}

/* Tablet */
@media (max-width: 1000px) {
  .split { gap: 48px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .wrap { padding: 0 20px; }
  .brand-logo { height: 38px; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 32px; transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav a:not(.btn) { color: var(--ink) !important; font-size: 20px; font-family: var(--head); padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 24px; min-height: 52px; }
  .menu-open .nav { transform: none; }
  .menu-open .site-header { background: var(--white); }
  .menu-open .menu-toggle span { background: var(--ink); }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu-open .site-header .wordmark { color: var(--gold); }

  .section { padding: 80px 0; }
  .section-tight-top { padding-top: 0; }
  .split, .villa-grid, .amenity-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .villa-grid { gap: 56px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(3) { border-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid rgba(230,220,200,.14); }
  .hero-content { padding-bottom: 64px; }
  .hero .lead { font-size: 17px; }
  .slide-btn { opacity: 1; width: 38px; height: 38px; font-size: 22px; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .enquiry { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .lightbox { padding: 56px 0; }
  .lb-nav { font-size: 44px; }
}

@media (max-width: 420px) {
  .row-2 { grid-template-columns: 1fr; }
  .row-2.tight { grid-template-columns: 1fr 1fr; }
}


/* ===== Kimara identity: coral stone, Swahili arch, mangrove and bay ===== */
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.12; margin-bottom: 20px; }
h3 { font-size: 24px; }
.hero h1 { letter-spacing: -.005em; }
.eyebrow { font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .01em; text-transform: none; }
.eyebrow.light { color: #D9E7E3; }
.btn { font-family: var(--body); font-weight: 600; letter-spacing: .01em; text-transform: none; font-size: 16px; border-radius: 999px; padding: 0 30px; }
.btn-sm { font-size: 15px; }
.btn-light { color: var(--espresso); }
.link-cta { font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 15px; }
.specs { letter-spacing: .01em; text-transform: none; font-size: 14px; }
.contact-list li span { letter-spacing: 0; text-transform: none; font-size: 14px; }
.price strong { font-size: 24px; }
.site-header.solid { background: rgba(251,250,247,.94); backdrop-filter: saturate(1.2) blur(10px); }
.section-white { background: var(--white); }

/* The one bold move: the Swahili arch, as in the villas' own doorways */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero-media .hero-frame { border-radius: 999px 999px 10px 10px; box-shadow: 0 40px 80px rgba(8,22,19,.55); outline: 1px solid rgba(255,255,255,.22); outline-offset: 10px; }
  .hero-shade { background: linear-gradient(90deg, rgba(14,32,28,.72) 0%, rgba(14,32,28,.3) 48%, rgba(14,32,28,0) 62%); }
  .hero-img { filter: blur(30px) brightness(.5) saturate(1.05) hue-rotate(-6deg); }
}

/* At a glance: one quiet sentence on the mangrove band */
.facts { background: var(--espresso); color: #DCE8E4; }
.facts-line { margin: 0; padding: 34px 0; font-family: var(--head); font-size: clamp(20px, 2.1vw, 27px); line-height: 1.4; text-align: center; color: #EEF4F1; }

/* Included: a calm list, not a wall of boxes */
.amenity-grid { gap: 8px 56px; grid-template-columns: repeat(2, 1fr); max-width: 980px; }
.amenity { background: none; border: 0; border-top: 1px solid var(--line); padding: 26px 0 26px 56px; position: relative; }
.amenity svg { position: absolute; left: 0; top: 28px; margin: 0; stroke: var(--gold); }
.amenity h3 { font-size: 22px; margin-bottom: 6px; }

/* Villas */
.villa-media { border-radius: 4px; }
.villa-body h3 { font-size: 30px; }
.photo-count { border-radius: 999px; }

/* Gallery */
.g-item { border-radius: 3px; }
.g-item:hover img { transform: none; }

/* Booking form panel */
.form-card, form.enquiry { border-radius: 6px; }

/* Footer */
.site-footer { background: #0F2420; }

/* Motion: one moment on page load, nothing else */
@media (prefers-reduced-motion: no-preference) {
  .hero-frame { animation: archIn 1.1s cubic-bezier(.2,.7,.2,1) both .15s; }
  .hero-content { animation: fadeIn .9s ease both .35s; }
  @keyframes archIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 760px) {
  .amenity-grid { grid-template-columns: 1fr; }
  .facts-line { padding: 26px 0; }
}

.platforms { margin-top: 30px; }
.platforms p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.btn.is-soon { border-color: var(--line); color: var(--muted); background: transparent; cursor: default; pointer-events: none; }

/* The arch on phones and tablets too: photo in a Swahili doorway, text beneath */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .hero { align-items: flex-start; }
  .hero-media { overflow: hidden; }
  .hero-img { filter: blur(26px) brightness(.5) saturate(1.05); transform: scale(1.15); }
  .hero-media .hero-frame { display: block; position: absolute; left: 50%; top: 92px; transform: translateX(-50%);
    height: min(46svh, 460px); width: auto; max-width: none; aspect-ratio: 540 / 930; object-fit: cover;
    border-radius: 999px 999px 8px 8px; outline: 1px solid rgba(255,255,255,.25); outline-offset: 7px;
    box-shadow: 0 24px 50px rgba(8,22,19,.55); z-index: 1; }
  .hero-shade { z-index: 2; background: linear-gradient(180deg, rgba(14,32,28,.35) 0%, rgba(14,32,28,0) 30%, rgba(14,32,28,.55) 62%, rgba(14,32,28,.85) 100%); pointer-events: none; }
  .hero-content { z-index: 3; padding-top: calc(92px + min(46svh, 460px) + 34px); padding-bottom: 48px; text-align: center; }
  .hero-content .lead { margin-left: auto; margin-right: auto; }
  .hero-content .actions { justify-content: center; }
  .hero .hero-content h1 { font-size: clamp(32px, 8.4vw, 48px); max-width: 15ch; margin-left: auto; margin-right: auto; }
  @media (prefers-reduced-motion: no-preference) {
    .hero-media .hero-frame { animation: archInM 1.1s cubic-bezier(.2,.7,.2,1) both .15s; }
    @keyframes archInM { from { opacity: 0; transform: translate(-50%, 22px); } to { opacity: 1; transform: translate(-50%, 0); } }
  }
}

/* The frame is now a wrapper; the photo glides slowly inside the arch */
.hero-media .hero-frame { overflow: hidden; background: #22302c; }
.hero-media .hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media .hero-frame img { animation: glideUp 22s ease-in-out 1.2s infinite alternate; transform-origin: 50% 60%; }
  @keyframes glideUp {
    from { transform: scale(1.16) translateY(7%); }
    to   { transform: scale(1.16) translateY(-7%); }
  }
}

/* Sections rise gently into place as you scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(42px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }
  .villa-grid > .reveal:nth-child(2n), .amenity-grid > .reveal:nth-child(2n), .gallery > .reveal:nth-child(3n+2) { transition-delay: .12s; }
  .gallery > .reveal:nth-child(3n) { transition-delay: .24s; }
}
