/* Naayab Suites — shared styles. Brand: charcoal + gold from the signage. */
:root {
  --bg: #F4F3F0; --surface: #FFFFFF; --ink: #232323; --muted: #5F5D59; --line: #E0DDD7;
  --gold: #A07628; --gold-bright: #F5C875; --gold-soft: #FBEED6;
  --band: #262626; --band-ink: #F2EFE9; --err: #B3261E;
  --display: "Marcellus", Georgia, serif;
  --brand: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #181818; --surface: #222222; --ink: #EEEBE5; --muted: #A8A39A; --line: #34322F;
    --gold: #F5C875; --gold-bright: #F5C875; --gold-soft: #3A3020; --band: #111111; --band-ink: #EEEBE5;
    --err: #F2B8B5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #181818; --surface: #222222; --ink: #EEEBE5; --muted: #A8A39A; --line: #34322F;
  --gold: #F5C875; --gold-bright: #F5C875; --gold-soft: #3A3020; --band: #111111; --band-ink: #EEEBE5;
  --err: #F2B8B5; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: #262626; }
a { color: var(--gold); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--brand); font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.note { font-size: 12.5px; color: var(--muted); }

/* Header & menu */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #262626; color: #F2EFE9; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #F2EFE9; }
.brand img { width: 38px; height: auto; }
.brand-name { font-family: var(--brand); font-size: 20px; letter-spacing: .32em; line-height: 1.05; }
.brand-name small { display: flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .38em; color: #CFCAC0; margin-top: 3px; }
.brand-name small::before, .brand-name small::after { content: ""; height: 1px; width: 14px; background: #CFCAC0; }
nav.main { display: flex; gap: 6px; align-items: center; }
nav.main ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
nav.main ul a { display: block; color: #E6E1D8; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
nav.main ul a:hover { color: #F5C875; }
nav.main ul a[aria-current="page"] { color: #F5C875; box-shadow: inset 0 -2px 0 #F5C875; border-radius: 0; }
@media (max-width: 860px) {
  header.site .wrap { flex-wrap: wrap; row-gap: 8px; padding-block: 10px 0; }
  nav.main { display: contents; }
  nav.main > .btn { order: 2; }
  nav.main ul { order: 3; flex-basis: 100%; justify-content: space-between; gap: 0; border-top: 1px solid #3A3835; overflow-x: auto; scrollbar-width: none; }
  nav.main ul::-webkit-scrollbar { display: none; }
  nav.main ul a { padding: 11px 6px; font-size: 14px; white-space: nowrap; }
  nav.main ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 #F5C875; }
}
@media (max-width: 380px) { nav.main ul a { font-size: 13px; padding-inline: 4px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 15px var(--body); padding: 12px 20px; border-radius: 999px; text-decoration: none; transition: transform .15s, background .15s; }
.btn-gold { background: #F5C875; color: #1D1D1D; }
.btn-gold:hover { background: #F8D592; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.chip { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(245,200,117,.45); color: #F4F1EB; }
.pill { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); white-space: nowrap; }

/* Photo heroes */
.hero, .page-hero { position: relative; background: #1B1B1B; color: #F4F1EB; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; max-width: none; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.88) 0%, rgba(20,20,20,.62) 50%, rgba(20,20,20,.3) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding-block: 72px 80px; align-items: center; }
.hero .eyebrow, .page-hero .eyebrow { color: #F5C875; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin-top: 16px; color: #FFFFFF; }
.hero h1 em { font-style: normal; color: #F5C875; }
.hero .lede, .page-hero .lede { font-size: 18px; color: #DAD5CC; max-width: 52ch; margin-top: 18px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-call { margin-top: 30px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 15px; color: #DAD5CC; }
.hero-call a { color: #FFFFFF; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 72px 64px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-top: 14px; color: #FFFFFF; }
.crumbs { font-size: 13px; color: #CFCAC0; margin-top: 18px; }
.crumbs a { color: #F5C875; text-decoration: none; }

/* Booking card */
.book-card { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); min-width: 0; border-top: 4px solid #F5C875; }
.book-card h2 { font-size: 27px; }
.book-card .sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.steps { display: flex; gap: 6px; margin: 18px 0 20px; padding: 0; }
.steps li { list-style: none; flex: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 3px solid var(--line); padding-top: 7px; }
.steps li.on { color: var(--gold); border-color: var(--gold); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font: 15px var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.unit-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.unit-opt { position: relative; }
.unit-opt input { position: absolute; opacity: 0; }
.unit-opt label { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; background: var(--bg); }
.unit-opt label b { font-family: var(--display); font-weight: 400; font-size: 19px; display: block; }
.unit-opt label span { font-size: 12.5px; color: var(--muted); }
.unit-opt input:checked + label { border-color: var(--gold); background: var(--gold-soft); }
.unit-opt input:focus-visible + label { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.summary { margin-top: 4px; border-top: 1px dashed var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; }
.summary .row span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.summary .total { font-weight: 700; font-size: 15.5px; }
.err { color: var(--err); font-size: 13.5px; min-height: 1em; }
.actions { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.actions .btn { flex: 1; min-width: 130px; }
.confirm-id { font-family: var(--mono); font-size: 20px; color: var(--gold); letter-spacing: .06em; }
.msgbox { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; max-height: 190px; overflow: auto; }

/* Sections */
section.band { padding-block: 84px; }
section.band.tight { padding-top: 0; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.sec-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-row .sec-head { margin-bottom: 0; }

/* Amenities */
.amen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.amen div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.amen b { font-family: var(--display); font-weight: 400; font-size: 19px; }
.amen span { font-size: 13px; color: var(--muted); }

/* Who we host */
.hosts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.host { background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.host h3 { font-size: 22px; }
.host p { color: var(--muted); font-size: 15px; }
.host .k { font-family: var(--brand); font-size: 11.5px; color: var(--gold); letter-spacing: .2em; text-transform: uppercase; }

/* Apartments */
.apts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.apt { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.apt-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16/10; max-width: 100%; }
.apt-photos img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.apt-photos img:first-child { grid-row: span 2; }
.apt-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.apt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.apt h3 { font-size: 30px; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14.5px; }
.ticks li { display: flex; gap: 8px; align-items: baseline; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
.apt .btn { align-self: flex-start; margin-top: auto; }

/* Dark promise band */
.promise { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.promise .mark-bg { position: absolute; right: -60px; top: 40px; width: 380px; opacity: .08; pointer-events: none; }
.promise .sec-head p { color: color-mix(in srgb, var(--band-ink) 70%, transparent); }
.promise .eyebrow { color: #F5C875; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; position: relative; }
.feat { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(245,200,117,.35); padding-top: 18px; }
.feat h3 { font-size: 22px; color: var(--band-ink); }
.feat p { font-size: 15px; color: color-mix(in srgb, var(--band-ink) 70%, transparent); }

/* Review */
.review { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.8vw, 31px); line-height: 1.35; }
blockquote::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.cite { margin-top: 18px; font-size: 14px; color: var(--muted); }
.cite b { color: var(--ink); }

/* Split blocks (About, location) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split-photo { border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 4/3; max-width: 100%; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo .maplink { position: absolute; left: 16px; bottom: 16px; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 60ch; }
.prose p { color: var(--muted); font-size: 17px; }
.near { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.near div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.near span:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-align: right; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.facts b { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--gold); }
.facts span { font-size: 14px; color: var(--muted); }

/* Two cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ls { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.ls h3 { font-size: 27px; }
.ls p { color: var(--muted); }
.ls .btn { align-self: flex-start; margin-top: 8px; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 65ch; }

/* Gallery page */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { font: 500 14px var(--body); padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters button span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.filters button[aria-pressed="true"] span { color: inherit; opacity: .7; }
.gal-section { margin-bottom: 56px; }
.gal-section h2 { font-size: 30px; margin-bottom: 6px; }
.gal-section > p { color: var(--muted); margin-bottom: 18px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; background: var(--line); cursor: zoom-in; aspect-ratio: 4/3; max-width: 100%; }
.gallery figure.tall { aspect-ratio: auto; grid-row: span 2; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20,20,20,.62); padding: 4px 10px; border-radius: 999px; }
.home-gallery { grid-template-columns: repeat(4, 1fr); }
.home-gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,.94); display: grid; place-items: center;
  padding: calc(56px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.lightbox img { max-height: 78vh; max-width: 100%; border-radius: 10px; }
.lightbox figcaption { color: #EEE; text-align: center; font-size: 14px; }
.lb-btn { position: absolute; background: #F5C875; color: #1D1D1D; border: 0; border-radius: 999px; padding: 9px 16px; font: 600 14px var(--body); cursor: pointer; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.lb-prev { left: calc(12px + env(safe-area-inset-left, 0px)); top: 50%; }
.lb-next { right: calc(12px + env(safe-area-inset-right, 0px)); top: 50%; }

/* Contact page */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cbox { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cbox .k { font-family: var(--brand); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cbox .v { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.cbox a.v { color: var(--ink); text-decoration: none; }
.copy { align-self: flex-start; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 4px 12px; font: 500 12.5px var(--body); cursor: pointer; margin-top: 4px; }
.copy:hover { border-color: var(--gold); color: var(--gold); }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }

/* CTA band */
.cta { background: var(--band); color: var(--band-ink); }
.cta .wrap { padding-block: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--band-ink); }
.cta p { color: color-mix(in srgb, var(--band-ink) 70%, transparent); margin-top: 8px; }
.cta .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost { color: var(--band-ink); border-color: rgba(245,200,117,.5); }

footer { background: #1D1D1D; color: #CFCAC0; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
footer h4 { font-family: var(--brand); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #F5C875; margin: 0 0 12px; font-weight: 500; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
footer a { color: #E6E1D8; text-decoration: none; }
footer a:hover { color: #F5C875; }
footer .brand { margin-bottom: 14px; }
footer p { font-size: 14px; max-width: 36ch; }
footer .base { border-top: 1px solid #34322F; padding-block: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.float-book { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }

@media (max-width: 960px) {
  .hero .wrap, .review, .split, .duo, .enquiry { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero .wrap { padding-block: 44px 56px; gap: 36px; }
  .hero::after, .page-hero::after { background: linear-gradient(180deg, rgba(20,20,20,.82), rgba(20,20,20,.7)); }
  .apts { grid-template-columns: 1fr; }
  .hosts, .feats, .contact, .facts { grid-template-columns: 1fr 1fr; }
  .amen { grid-template-columns: repeat(3, 1fr); }
  .gallery, .home-gallery { grid-template-columns: repeat(2, 1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .cols > :first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .hosts, .feats, .contact, .grid2, .ticks { grid-template-columns: 1fr; }
  .amen, .facts { grid-template-columns: 1fr 1fr; }
  .book-card, .form-card { padding: 20px; }
  section.band { padding-block: 60px; }
  .brand-name { font-size: 17px; letter-spacing: .26em; }
  .float-book span.t { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}

/* Policy page */
.policy { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.policy h2 { font-size: 28px; margin-top: 18px; }
.policy p, .policy li { color: var(--muted); font-size: 16.5px; }
.policy b { color: var(--ink); font-weight: 600; }
.policy ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.policy li::marker { color: var(--gold); }
