/* ---------------------------------------------------------------
   Simba Lane — tokens
   navy: the brochure's own side-panel colour, used as the site's
         primary dark ground rather than black
   sand: warm plaster/limestone, coastal Swahili palette
   gold: the brochure's own heading colour, reused as the single accent
----------------------------------------------------------------*/
:root{
  --navy: #172542;
  --navy-soft: #24365A;
  --sand: #F5EFE3;
  --sand-deep: #EAE0CB;
  --gold: #B99A61;
  --ink: #211D18;
  --ink-soft: #6B6255;
  --line: #DCD2BA;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
}

*{ box-sizing: border-box; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

html{ background: var(--sand); scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 17px;
}
a{ color: inherit; text-decoration: none; }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
img{ display: block; max-width: 100%; }

.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 480px){ .wrap{ padding: 0 18px; } }

h1, h2, h3{
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
}
p{ margin: 0 0 1em; max-width: 60ch; }

/* ---------------- header ---------------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  background: linear-gradient(to bottom, rgba(23,37,66,0.75), rgba(23,37,66,0));
  transition: background-color 0.2s ease;
}
.site-header.solid{ background: var(--navy); box-shadow: 0 1px 0 rgba(0,0,0,0.08); }
.header-row{
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.wordmark{
  font-family: var(--serif); color: #fff; font-size: 1.8rem; letter-spacing: 0.02em;
}
.wordmark span{ display: block; font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.24em; color: var(--gold); margin-top: 2px;}
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 40;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.site-nav{ display: flex; gap: 30px; font-size: 0.88rem; }
.site-nav a{ color: #EFE9DA; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.site-nav a:hover{ border-bottom-color: var(--gold); color: #fff; }
.site-nav a.cta{
  background: var(--gold); color: var(--navy); padding: 9px 18px;
  border-bottom: none; font-weight: 500;
}
.site-nav a.cta:hover{ background: #cbb27d; }

@media (max-width: 760px){
  .nav-toggle{ display: flex; }
  .site-nav{
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 35;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 1.1rem;
  }
  .site-nav.open{ display: flex; }
  .site-nav a.cta{ padding: 12px 32px; }
}

/* ---------------- hero ---------------- */
.hero{
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,22,38,0.82) 0%, rgba(15,22,38,0.25) 45%, rgba(15,22,38,0.1) 100%);
}
.hero-content{
  position: relative; z-index: 2;
  color: #fff;
  padding: 0 32px 64px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 480px){
  .hero-content{ padding: 0 18px 48px; }
  .hero .lede{ font-size: 1rem; }
  .btn{ padding: 11px 20px; font-size: 0.88rem; }
}
.hero-eyebrow{ color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 14px; }
.hero h1{
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  max-width: 14ch;
}
.hero .lede{ margin-top: 20px; max-width: 46ch; color: #E9E3D4; font-size: 1.1rem; }
.hero-actions{ margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn{
  display: inline-block;
  padding: 13px 26px;
  font-size: 0.92rem;
  border: 1px solid var(--gold);
}
.btn-solid{ background: var(--gold); color: var(--navy); }
.btn-solid:hover{ background: #cbb27d; }
.btn-outline{ color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover{ border-color: #fff; }


/* ---------------- split panels (mirrors the brochure's own spreads) ---------------- */
.split{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 78vh;
}
.split.reverse{ grid-template-columns: 1fr 1.15fr; }
.split.reverse .split-media{ order: 2; }
.split.reverse .split-text{ order: 1; }
.split-media{ position: relative; overflow: hidden; }
.split-media img{ width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.split-text{
  background: var(--navy);
  color: #EDE7D8;
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 60px;
}
.split-text .eyebrow{ color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 10px; }
.split-text h2{ font-size: 2.4rem; color: #fff; margin-bottom: 18px; }
.split-text p{ color: #D9D2BF; max-width: 42ch; }

@media (max-width: 880px){
  .split, .split.reverse{ grid-template-columns: 1fr; }
  .split.reverse .split-media, .split.reverse .split-text{ order: initial; }
  .split-media img{ min-height: 320px; }
  .split-text{ padding: 48px 28px; }
}
@media (max-width: 480px){
  .split-media img{ min-height: 240px; }
  .split-text{ padding: 36px 18px; }
  .split-text h2{ font-size: 1.9rem; }
}

/* ---------------- section frame ---------------- */
section.block{ padding: 88px 0; }
.section-head{ max-width: 62ch; margin-bottom: 44px; }
.section-head .eyebrow{ color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 10px; }
.section-head h2{ font-size: 2.3rem; color: var(--ink); margin-bottom: 14px; }
.section-head p{ color: var(--ink-soft); }
@media (max-width: 760px){ section.block{ padding: 60px 0; } .section-head h2{ font-size: 1.9rem; } }
@media (max-width: 480px){ section.block{ padding: 44px 0; } .section-head{ margin-bottom: 28px; } }

/* ---------------- gallery ---------------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}
.gallery-grid a{ display: block; overflow: hidden; position: relative; }
.gallery-grid img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img{ transform: scale(1.04); }
.g1{ grid-column: span 4; grid-row: span 2; }
.g2{ grid-column: span 2; grid-row: span 1; }
.g3{ grid-column: span 2; grid-row: span 1; }
.g4{ grid-column: span 3; grid-row: span 1; }
.g5{ grid-column: span 3; grid-row: span 1; }
.g6{ grid-column: span 3; grid-row: span 1; }
.g7{ grid-column: span 3; grid-row: span 1; } 

@media (max-width: 880px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g1,.g2,.g3,.g4,.g5,.g6,.g7{ grid-column: span 2; grid-row: span 1; }
  .g1{ grid-row: span 2; }
}
@media (max-width: 480px){
  .gallery-grid{ grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g1,.g2,.g3,.g4,.g5,.g6,.g7{ grid-column: span 1; grid-row: span 1; }
}

/* ---------------- amenities ---------------- */
.amenities-band{ background: var(--navy); color: #EDE7D8; padding: 80px 0; }
@media (max-width: 760px){ .amenities-band{ padding: 56px 0; } }
@media (max-width: 480px){ .amenities-band{ padding: 44px 0; } }
.amenities-band .section-head h2{ color: #fff; }
.amenities-band .section-head p{ color: #C9C2AE; }
.amenities-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.amenities-list li{
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(237,231,216,0.14);
  font-size: 0.98rem;
}
.amenities-list li::before{
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  flex: none;
  transform: translateY(-4px);
}
@media (max-width: 880px){ .amenities-list{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .amenities-list{ grid-template-columns: 1fr; } }

/* ---------------- floor plans ---------------- */
.unit-card{
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 28px;
}
.unit-card img{ width: 100%; }
.unit-card-body{ padding: 28px 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 480px){ .unit-card-body{ padding: 20px 18px; } .unit-card-body h3{ font-size: 1.3rem; } }
.unit-card-body h3{ font-size: 1.6rem; color: var(--ink); }
.unit-card-body .size{ color: var(--gold); font-family: var(--serif); font-size: 1.3rem; }
.unit-card-body p{ color: var(--ink-soft); font-size: 0.95rem; margin: 10px 0 0; }

/* ---------------- location ---------------- */
.location-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.location-grid img{ border: 1px solid var(--line); }
.proximity-list{ list-style: none; margin: 24px 0 0; padding: 0; }
.proximity-list li{
  display: flex; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.proximity-list .time{ color: var(--gold); font-family: var(--serif); font-size: 1.05rem; }
@media (max-width: 880px){ .location-grid{ grid-template-columns: 1fr; gap: 24px; } }

/* ---------------- site plan note ---------------- */
.siteplan-block{ background: var(--sand-deep); }
.siteplan-figure{ border: 1px solid var(--line); background: #fff; padding: 16px; }
.siteplan-caption{ font-size: 0.88rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------------- flash messages ---------------- */
.flash{
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  border-left: 3px solid;
}
.flash-success{ background: rgba(185,154,97,0.15); border-color: var(--gold); color: #EDE7D8; }
.flash-error{   background: rgba(180,60,60,0.18);  border-color: #c0504d;    color: #f5c6c5; }

/* ---------------- contact / enquiry ---------------- */
.contact-band{
  background: var(--navy);
  color: #d8edda;
  padding: 90px 0;
}
@media (max-width: 480px){ .contact-band{ padding: 56px 0; } }
.contact-grid{ display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-grid h2{ color: #fff; font-size: 2.3rem; margin-bottom: 16px; }
.contact-grid p{ color: #C9C2AE; }
.contact-detail{ margin-top: 28px; }
.contact-detail dt{ color: var(--gold); font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 3px; }
.contact-detail dd{ margin: 0 0 18px; font-size: 1.05rem; }
.contact-form{ display: grid; gap: 16px; }
.contact-form .row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label{ display: block; font-size: 0.8rem; color: #C9C2AE; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea{
  width: 100%;
  font-family: var(--sans);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(237,231,216,0.3);
  color: #fff;
  padding: 11px 14px;
  font-size: 0.95rem;
}
.contact-form textarea{ min-height: 100px; resize: vertical; }
.contact-form button{
  justify-self: start;
  background: var(--gold); color: var(--navy); border: none;
  padding: 13px 28px; font-size: 0.95rem; cursor: pointer; font-family: var(--sans);
}
.contact-form button:hover{ background: #cbb27d; }

#unit,
#unit option {
  background-color: #e8dcc4;
  color: #0f2742;
}
@media (max-width: 880px){ .contact-grid{ grid-template-columns: 1fr; gap: 36px; } .contact-form .row{ grid-template-columns: 1fr; } }
@media (max-width: 480px){ .contact-grid h2{ font-size: 1.8rem; } }

/* ---------------- footer ---------------- */
.site-footer{ background: #10192C; color: #9C9787; padding: 48px 0; }
@media (max-width: 480px){ .site-footer{ padding: 36px 0; } }
.footer-row{ display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-row .wordmark-small{ font-family: var(--serif); color: #EDE7D8; font-size: 1.1rem; }
.disclaimer{ margin-top: 22px; font-size: 0.78rem; color: #726D5F; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; max-width: 80ch; }
.copyright{ margin-top: 28px; font-size: 0.87rem; color: #726D5F; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; max-width: 80ch; }