:root {
    --primary: #2a2420;
    --secondary: #9a8064;
    --background: #f6f3ee;
    --surface: #fbfaf7;
    --text: #1a1714;
    --muted: #6a635c;
    --accent: #7a6550;
    --border: #e6dfd4;
    --dark: #1a1714;
    --dark-2: #221e1a;
    --cream: #f1ece4;
    --white: #fffcf8;
    --danger: #8a3d32;
    --success: #3a5f4a;
    --header-h: 76px;
    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-sans: "Outfit", system-ui, sans-serif;
    --max: 1180px;
    --pad: 16px;
    --sticky: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}
body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--background);
    line-height: 1.65;
    font-weight: 400;
    font-size: 16px;
    padding-bottom: calc(var(--sticky) + env(safe-area-inset-bottom, 0px));
    overflow-wrap: anywhere;
    word-break: break-word;
}
img, video, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; max-width: 100%; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.55em;
    overflow-wrap: anywhere;
}
h1 { font-size: clamp(1.85rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff; padding: 8px 16px; z-index: 10000;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap, .wrap-wide {
    width: min(var(--max), calc(100% - (var(--pad) * 2)));
    margin-inline: auto;
}
.wrap-wide { width: min(1360px, calc(100% - (var(--pad) * 2))); }

.kicker {
    font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); font-weight: 500; margin-bottom: 10px;
}
.lede { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); max-width: 42em; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 18px; border: 1px solid transparent; cursor: pointer;
    font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: #2e2824; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2c241c; }
.btn-line { background: transparent; border-color: var(--dark); color: var(--dark); }
.btn-line:hover { background: var(--dark); color: #fff; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(26,23,20,.94);
    color: #fff;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: var(--header-h);
    padding-block: 8px;
}
.brand { display: flex; align-items: center; min-width: 0; flex: 0 1 auto; }
.brand img {
    height: auto; width: auto;
    max-height: 44px; max-width: min(148px, 46vw);
    object-fit: contain; display: block;
}
.nav { display: none; align-items: center; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.nav a { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.82); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-cta .btn { min-height: 42px; padding: 0 12px; }
.header-cta .btn-ghost { display: none; }
.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25);
    background: transparent; color: #fff; flex-shrink: 0;
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: #fff; margin: 4px auto; }

.mobile-nav {
    display: none;
    background: var(--dark-2);
    color: #fff;
    padding: 8px var(--pad) calc(20px + env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid rgba(196,165,116,.2);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
}
.mobile-nav a {
    display: block; padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem;
}
.mobile-nav.is-open { display: block; }
body.nav-open { overflow: hidden; }

/* Hero */
.hero, .page-hero {
    position: relative;
    color: #fff;
    background: #1a1714;
    min-height: min(88vh, 820px);
    display: grid;
    place-items: end start;
    overflow: hidden;
}
.hero img, .hero video, .page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    margin: 0;
}
.hero::after, .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,23,20,.12) 0%, rgba(26,23,20,.18) 50%, rgba(26,23,20,.62) 100%);
    pointer-events: none;
}
.hero-copy {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - (var(--pad) * 2)));
    margin: 0 auto;
    padding: 32px 0 40px;
}
.hero-copy .hero-place {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    margin: 0 0 18px;
}
.hero-copy .sub {
    font-size: clamp(0.95rem, 2.4vw, 1.25rem);
    color: rgba(255,255,255,.82);
    max-width: 36em;
    margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { flex: 1 1 140px; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 10px 18px;
    margin: 12px 0 20px;
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary);
}
.page-hero .hero-copy { padding-bottom: 28px; }

.page-hero.hero-residences,
.page-hero.hero-plans {
    min-height: min(52vh, 420px);
}
.page-hero.hero-residences img {
    object-fit: cover;
    object-position: center 40%;
}
.page-hero.hero-plans img {
    object-fit: cover;
    object-position: center center;
}
.page-hero.hero-residences::after,
.page-hero.hero-plans::after {
    background: linear-gradient(180deg, rgba(26,23,20,.08) 0%, rgba(26,23,20,.12) 45%, rgba(26,23,20,.55) 100%);
}

section { padding: 56px 0; }
.section-dark { background: var(--dark); color: #f3ece3; }
.section-dark .kicker { color: var(--secondary); }
.section-dark .lede, .section-dark p { color: rgba(243,236,227,.78); }
.section-cream { background: var(--cream); }

.split, .split.reverse, .two-col, .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}
.split img, .media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    background: #14110e;
}
.split img.map-photo {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.snapshot {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.snapshot article { background: var(--surface); padding: 22px 18px; }
.snapshot h3 { font-size: 1.25rem; margin-bottom: 6px; }
.snapshot p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}
.card { background: var(--surface); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; border-radius: 0; box-shadow: none; }
.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    background: #14110e;
}
.residence-board .card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 40%;
}
.card .body { padding: 18px; }

.amenity-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.amenity-item { background: var(--surface); border: 1px solid var(--border); padding: 18px 16px; }
.amenity-item h3 { font-size: 1.15rem; margin: 0 0 6px; }
.amenity-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.gallery-grid,
.gallery-studio {
    columns: unset;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}
.gallery-grid a,
.gallery-studio a {
    display: block;
    margin: 0;
    overflow: hidden;
    background: #1a1714;
    cursor: zoom-in;
    min-height: 0;
}
.gallery-grid a:focus-visible,
.gallery-studio a:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}
.gallery-grid img,
.gallery-studio img,
.gallery-studio a:first-child img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.gallery-studio a:first-child,
.gallery-studio a:nth-child(3n) {
    grid-column: auto;
    grid-row: auto;
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-bar button {
    background: transparent; border: 1px solid var(--border);
    min-height: 40px; padding: 0 12px; cursor: pointer;
    letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem;
}

.cta-band { background: var(--dark); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 36em; margin: 0 auto 24px; }

.editorial { padding-top: 72px; }
.editorial-intro {
    display: grid;
    gap: 36px;
    align-items: center;
}
.editorial-copy h2 { max-width: 16ch; }
.editorial-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px 40px;
    margin-top: 28px;
}
.highlights article span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.highlights strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 8px;
}
.highlights p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.gallery-preview-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
}
.gallery-preview-head h2 { margin-bottom: 0; }
.gallery-preview-head .btn { flex-shrink: 0; }

.mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}
.mosaic a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #1a1714;
    min-height: 0;
}
.mosaic img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
}
.enquire-quiet { background: var(--cream); }
.enquire-quiet .form { background: transparent; border: 0; padding: 0; }

.form { display: grid; gap: 16px; background: transparent; padding: 0; border: 0; }
.form-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 28px 22px 24px;
}
.form-panel h2 { margin-top: 0; }
.form-intro { color: var(--muted); margin: 0 0 20px; font-size: 0.95rem; }
.form label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
    width: 100%; min-height: 48px; border: 1px solid var(--border);
    background: var(--white); padding: 10px 12px; font-size: 16px; color: var(--text);
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--secondary); border-color: var(--secondary); }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { font-size: 0.9rem; min-height: 1.4em; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--success); }
.form.is-loading .btn { opacity: .7; pointer-events: none; }

.specs { border-top: 1px solid var(--border); }
.spec-row { border-bottom: 1px solid var(--border); }
.spec-row button, .faq-item button {
    width: 100%; text-align: left; background: transparent; border: 0;
    padding: 16px 0; display: flex; justify-content: space-between; align-items: flex-start;
    gap: 12px; cursor: pointer; font-family: var(--font-display);
    font-size: clamp(1.05rem, 3.4vw, 1.45rem); line-height: 1.25; white-space: normal;
}
.spec-row .panel, .faq-item .panel { display: none; padding: 0 0 16px; color: var(--muted); }
.spec-row.is-open .panel, .faq-item.is-open .panel { display: block; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h2 { margin: 0; font-size: inherit; }

.contact-card { border: 1px solid var(--border); padding: 18px; background: var(--surface); margin-bottom: 12px; }

.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,.72);
    padding: 48px 0 calc(28px + var(--sticky) + env(safe-area-inset-bottom, 0px));
    font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 16px;
}
.footer-raaya {
    height: auto; width: auto;
    max-width: min(180px, 70%);
    max-height: 70px;
    object-fit: contain;
}
.footer-brand .brand-partner { margin: 0 0 12px; }
.footer-manak {
    height: auto; width: auto;
    max-width: min(200px, 80%);
    max-height: 44px;
    object-fit: contain;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 5px 0; min-height: 32px; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 0.75rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.rera { letter-spacing: 0.03em; margin: 14px 0 0; color: rgba(255,255,255,.55); }

.sticky-cta {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--dark);
    border-top: 1px solid rgba(196,165,116,.3);
    grid-template-columns: 1fr 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sticky-cta a {
    color: #fff; text-align: center; padding: 12px 6px;
    font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
}

.modal { position: fixed; inset: 0; z-index: 80; display: none; padding: env(safe-area-inset-top, 8px) 0 env(safe-area-inset-bottom, 8px); }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,14,11,.72); }
.modal-panel {
    position: relative;
    width: min(520px, calc(100% - 24px));
    margin: 6vh auto;
    background: var(--surface);
    padding: 28px 18px 18px;
    max-height: min(88dvh, 88vh);
    overflow: auto;
}
.modal-panel .form { padding: 8px 0 0; }

.lightbox { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(10,8,6,.96); color: #fff; padding: env(safe-area-inset-top) 8px env(safe-area-inset-bottom); }
.lightbox.is-open { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; object-fit: contain; position: relative; z-index: 1; }
.brand img, .footer-raaya {
    object-fit: contain;
}
.lightbox-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lightbox-ui button {
    pointer-events: auto; position: absolute; min-width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,.45); background: rgba(26,23,20,.85); color: #fff; cursor: pointer;
    letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; padding: 0 14px;
}
.lightbox .close {
    top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px;
    z-index: 3;
}
.lightbox .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-cap { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; text-align: center; font-size: 0.85rem; pointer-events: none; }
body.lightbox-open { overflow: hidden; }

.cookie-banner {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--sticky) + env(safe-area-inset-bottom, 0px));
    z-index: 70; display: none;
    background: var(--surface); color: var(--text); padding: 20px 22px;
    border: 1px solid var(--border); max-width: 640px; margin: 0 auto;
    box-shadow: 0 12px 40px rgba(26,23,20,.08);
}
.cookie-banner h2 { font-size: 1.35rem; color: var(--text); margin-bottom: 8px; }
.cookie-banner p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.cookie-banner.is-open, .cookie-prefs.is-open { display: block; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cookie-actions .btn { flex: 1 1 140px; }
.cookie-banner .btn-ghost { color: var(--text); border-color: var(--border); }
.cookie-banner .btn-ghost:hover { background: var(--dark); color: #fff; }
.cookie-prefs { position: fixed; inset: 0; z-index: 75; display: none; background: rgba(26,23,20,.45); padding: 12px; overflow: auto; }
.cookie-prefs .box { width: min(560px, 100%); margin: 8vh auto; background: var(--surface); padding: 22px 18px; }
.switch { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }

.partner-mark { width: 100%; max-width: 360px; height: auto; padding: 24px; background: #120e0b; object-fit: contain; }
.plan-stage {
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
}
.plan-panel { display: none; }
.plan-panel.is-active { display: block; }
.plan-panel > a { display: block; cursor: zoom-in; }
.plan-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    height: auto;
}
.plan-meta { padding: 20px 20px 24px; }
.plan-meta h2 { margin-bottom: 8px; }
.plan-meta p { margin: 0 0 10px; color: var(--muted); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.plan-actions .btn { flex: 1 1 140px; }
.config-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.config-switch button {
    flex: 1 1 90px; min-height: 48px; padding: 0 14px;
    border: 1px solid var(--border); background: var(--surface); cursor: pointer;
    letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem;
}
.config-switch button[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.plans-page .two-col { align-items: start; }
.map-frame { width: 100%; min-height: 240px; height: min(55vh, 420px); border: 0; background: #ddd; }
.impression { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* 375–480 phones in landscape / larger phones */
@media (min-width: 390px) {
    :root { --pad: 18px; }
    .brand img { max-height: 50px; max-width: 168px; }
}

/* Small tablets / large phones */
@media (min-width: 600px) {
    :root { --pad: 22px; --header-h: 88px; }
    section { padding: 72px 0; }
    .snapshot, .cards, .amenity-grid { grid-template-columns: 1fr 1fr; }
    .highlights { grid-template-columns: 1fr 1fr; }
    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 12px;
        aspect-ratio: 2 / 1;
        width: 100%;
        max-height: none;
    }
    .mosaic a:first-child { grid-row: 1 / span 2; }
    .mosaic img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        aspect-ratio: unset;
        object-fit: cover;
    }
    .gallery-studio, .gallery-grid.gallery-studio { columns: unset; display: grid; grid-template-columns: 1fr 1fr; }
    .gallery-grid { columns: unset; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form .btn { width: auto; }
    .map-frame { min-height: 360px; }
}

/* Tablets */
@media (min-width: 768px) {
    :root { --pad: 24px; }
    .header-cta .btn-ghost { display: inline-flex; }
    .hero, .page-hero { min-height: min(86vh, 860px); }
    .page-hero.hero-residences, .page-hero.hero-plans {
        min-height: min(58vh, 520px);
        max-height: 560px;
    }
    .hero img, .hero video, .page-hero img {
        max-height: none;
        height: 100%;
        object-fit: cover;
    }
    .hero::after, .page-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(26,23,20,.08) 0%, rgba(26,23,20,.14) 50%, rgba(26,23,20,.68) 100%);
        pointer-events: none;
    }
    .hero-copy {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        padding: 0 0 48px;
        width: min(var(--max), calc(100% - 48px));
    }
    .hero-actions .btn { flex: 0 0 auto; }
    .cta-band { padding: 72px 0; }
}

/* Small laptops / iPad landscape */
@media (min-width: 900px) {
    .split, .split.reverse, .two-col, .contact-grid, .editorial-intro { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .amenity-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-studio, .gallery-grid.gallery-studio { columns: unset; display: grid; grid-template-columns: repeat(3, 1fr); }
    .gallery-studio a:nth-child(3n) { grid-row: auto; }
    .gallery-grid { columns: unset; }
    section { padding: 88px 0; }
}

/* Desktop — compact nav until there is room */
@media (min-width: 1100px) {
    .nav { display: flex; flex: 1 1 auto; justify-content: flex-end; }
    .nav-toggle { display: none; }
    .mobile-nav, .mobile-nav.is-open { display: none !important; }
    body.nav-open { overflow: auto; }
    .snapshot { grid-template-columns: repeat(3, 1fr); }
    .highlights { grid-template-columns: repeat(3, 1fr); }
    .cards { grid-template-columns: repeat(3, 1fr); }
    .amenity-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid {
        grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(130px, 1fr));
    }
    .brand img { max-height: 48px; max-width: 160px; }
}

@media (min-width: 1280px) {
    :root { --pad: 28px; --max: 1240px; }
    .nav { gap: 10px 20px; }
    .hero-copy { padding-bottom: 64px; }
}

@media (min-width: 1440px) {
    :root { --max: 1280px; }
}

/* Sticky mobile bar only below desktop */
@media (max-width: 1099px) {
    :root { --sticky: 52px; }
    .sticky-cta { display: grid; }
}

/* Ultra-narrow 320px */
@media (max-width: 360px) {
    .header-cta .btn-primary { padding: 0 10px; letter-spacing: 0.06em; }
    .brand img { max-width: 120px; max-height: 36px; }
    .hero-copy h1 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
