/* =============================================================================
   Beni.Web - modern real-estate portal.
   Sora headlines and brand + Manrope body copy.
   Light theme: warm ivory ground, deep navy ink, soft gold accent.
   Dark theme: midnight ground, cream ink, light-blue accent.
   ============================================================================= */

/* ---------- Variables ----------------------------------------------------- */
:root,
[data-theme="light"] {
    --navy:        #0d1b2a;
    --navy-soft:   #1c2c43;
    --accent:      #c4955a;        /* warm brass - luxury real-estate tint */
    --accent-deep: #a4783f;
    --accent-tint: #f5ecdc;
    --slate:       #6a7385;

    --bg:          #faf7f1;
    --bg-elev:     #ffffff;
    --bg-soft:    #f1ece1;
    --bg-deep:    #0d1b2a;
    --rule:        rgba(13, 27, 42, 0.10);
    --rule-strong: rgba(13, 27, 42, 0.22);

    --fg:          #0d1b2a;
    --fg-quiet:    #4a5366;
    --fg-faint:    #8a93a5;
    --fg-on-dark:  #f6efe1;
    --fg-on-dark-quiet: rgba(246, 239, 225, 0.74);

    --placeholder-bg: #efe9da;
    --placeholder-fg: #0d1b2a;

    --max:         1240px;
    --gutter:      clamp(20px, 4vw, 56px);
    --radius-sm:   8px;
    --radius:      14px;
    --radius-lg:   22px;

    --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.06);
    --shadow:    0 8px 28px rgba(13, 27, 42, 0.08), 0 2px 6px rgba(13, 27, 42, 0.04);
    --shadow-lg: 0 24px 60px rgba(13, 27, 42, 0.14);

    color-scheme: light;
}

[data-theme="dark"] {
    --navy:        #f6efe1;
    --navy-soft:   #cad0d8;
    --accent:      #e0b478;
    --accent-deep: #f0c890;
    --accent-tint: #271d10;
    --slate:       #97a0b1;

    --bg:          #0a1018;
    --bg-elev:     #11192a;
    --bg-soft:    #1a2335;
    --bg-deep:    #050810;
    --rule:        rgba(246, 239, 225, 0.10);
    --rule-strong: rgba(246, 239, 225, 0.24);

    --fg:          #f6efe1;
    --fg-quiet:    #c0c6d2;
    --fg-faint:    #8d95a6;
    --fg-on-dark:  #f6efe1;
    --fg-on-dark-quiet: rgba(246, 239, 225, 0.72);

    --placeholder-bg: #131c2e;
    --placeholder-fg: #c0c6d2;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
    --shadow:    0 8px 28px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 28px 60px rgba(0, 0, 0, 0.55);

    color-scheme: dark;
}

/* ---------- Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color .35s ease, color .35s ease;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    padding: 10px 14px; background: var(--fg); color: var(--bg);
    z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px; overflow: hidden;
    clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ---------- Typography ---------------------------------------------------- */
h1, h2, h3 {
    margin: 0;
    color: var(--fg);
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
}
h4, h5, h6 { margin: 0; color: var(--fg); font-weight: 700; line-height: 1.3; }

h1 { font-size: 3.9rem; letter-spacing: 0; line-height: 1.04; }
h2 { font-size: 2.55rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.92rem; }

p { margin: 0 0 1em; color: var(--fg-quiet); }
.lead { font-size: 1.12rem; color: var(--fg-quiet); max-width: 56ch; }

@media (max-width: 760px) {
    h1 { font-size: 2.55rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.28rem; }
}

.tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.74rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent-deep);
}
.tag::before {
    content: ""; width: 28px; height: 1px; background: currentColor; display: inline-block;
}
.tag.solid {
    color: var(--accent);
    background: var(--accent-tint);
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.14em;
}
.tag.solid::before { display: none; }

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Page chrome --------------------------------------------------- */
.page { display: flex; flex-direction: column; min-height: 100vh; }
main  { flex: 1 0 auto; outline: 0; }

/* ---------- Site nav ------------------------------------------------------ */
.site-nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklab, var(--bg) 90%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background-color .3s ease, border-color .3s ease;
}
.site-nav.is-scrolled { border-bottom-color: var(--rule); }

/* Note: the previous `.is-over-hero` transparent-over-photo variant was
   removed - the nav always renders with the solid theme background so the
   menu text stays readable on every page, light or dark. The hero photo
   sits below the nav and still reads as cinematic. */

.nav-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 18px var(--gutter);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}

.brand {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--fg);
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 600; font-size: 1.34rem;
    letter-spacing: 0;
}
.brand-mark { width: 32px; height: 32px; }

.nav-links {
    display: flex; gap: 28px; justify-self: center;
    font-size: 0.95rem; font-weight: 500;
}
.nav-link {
    display: flex; flex-direction: column;
    color: var(--fg-quiet);
    padding: 6px 0;
    position: relative;
    line-height: 1.15;
}
.nav-link span { font-weight: 600; }
.nav-link small {
    font-size: 0.72rem; font-weight: 500;
    color: var(--fg-faint); margin-top: 1px;
    letter-spacing: 0.02em;
}
.nav-link::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { transform: scaleX(1); }


.nav-actions { display: inline-flex; align-items: center; gap: 12px; }

.theme-toggle, .lang-toggle {
    background: transparent;
    border: 1px solid var(--rule-strong);
    color: var(--fg);
    padding: 9px 12px;
    border-radius: 999px;
    transition: background-color .2s, border-color .2s, color .2s;
    display: inline-flex; align-items: center; gap: 6px;
}
.theme-toggle:hover, .lang-toggle:hover {
    border-color: var(--fg);
    color: var(--accent);
}
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.lang-form { display: inline-block; margin: 0; }
.lang-toggle {
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.06em;
}
.lang-toggle .lang-divider, .lang-toggle .lang-next { color: var(--fg-faint); font-weight: 500; }

.cta-ghost {
    border: 1px solid var(--fg);
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 0.9rem; font-weight: 600;
    color: var(--fg);
    transition: background-color .2s, color .2s, border-color .2s;
}
.cta-ghost:hover { background: var(--fg); color: var(--bg); }


.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--rule-strong);
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: background-color .2s ease, border-color .2s ease;
}
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
    background: var(--bg-soft);
    border-color: var(--fg);
}
.menu-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--fg);
    transition: transform .22s ease, opacity .16s ease;
}
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: min(640px, calc(100dvh - 81px));
    padding: 20px var(--gutter) max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}
.mobile-links { display: grid; gap: 2px; }
.mobile-panel .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
}
.mobile-panel .nav-link::after { display: none; }
.mobile-panel .nav-link small { margin-top: 4px; font-size: .76rem; }
.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-access {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

@media (max-width: 880px) {
    .nav-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .menu-toggle { display: inline-flex; }
    body.mobile-menu-open { overflow: hidden; }
}

@media (min-width: 881px) {
    .mobile-panel { display: none; }
}

@media (max-width: 420px) {
    .brand { gap: 9px; font-size: 1.2rem; }
    .brand-mark { width: 30px; height: 30px; }
}

/* ---------- Buttons ------------------------------------------------------- */
.cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--fg);
    color: var(--bg);
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 0.95rem; font-weight: 600;
    border: 1px solid var(--fg);
    transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.cta-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.cta-primary svg { transition: transform .2s; }
.cta-primary:hover svg { transform: translateX(3px); }

.cta-primary.on-dark {
    background: var(--fg-on-dark);
    color: var(--bg-deep);
    border-color: var(--fg-on-dark);
}
.cta-primary.on-dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.cta-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--fg);
    font-weight: 600;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--accent);
    transition: color .15s ease, gap .15s ease, border-color .15s ease;
}
.cta-link:hover { color: var(--accent); gap: 12px; }
.cta-link.on-dark { color: var(--fg-on-dark); border-bottom-color: var(--accent); }
.cta-link.on-dark:hover { color: var(--accent); }

/* ---------- Home hero (full-bleed photo + dark overlay) ------------------ */
.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(560px, 92vh, 900px);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: clamp(120px, 16vw, 200px) 0 clamp(72px, 8vw, 132px);
    color: var(--fg-on-dark);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("/images/properties/hero-property.webp");
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        /* Stronger top so the nav, even when it doesn't yet sit over the photo,
           gets darkness underneath; mid-section stays photographic; deep bottom
           guarantees contrast for the hero copy + stat band. */
        linear-gradient(180deg,
            rgba(8,14,26,0.70) 0%,
            rgba(8,14,26,0.35) 28%,
            rgba(8,14,26,0.65) 70%,
            rgba(8,14,26,0.92) 100%),
        linear-gradient(90deg, rgba(8,14,26,0.55), rgba(8,14,26,0.15) 60%);
    z-index: -1;
}

.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.hero .tag { color: var(--accent); }
.hero h1 {
    color: var(--fg-on-dark);
    max-width: 18ch;
    margin: 18px 0 22px;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 600;
}
.hero-lead {
    color: var(--fg-on-dark-quiet);
    font-size: 1.16rem;
    max-width: 56ch;
    margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-meta {
    margin-top: clamp(56px, 8vw, 96px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.18);
}
@media (min-width: 800px) {
    .hero-meta { grid-template-columns: repeat(4, 1fr); }
}
.hero-meta .num {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--fg-on-dark);
    line-height: 1;
}
.hero-meta .lbl {
    font-size: 0.82rem;
    color: var(--fg-on-dark-quiet);
    margin-top: 8px;
    letter-spacing: 0.04em;
}

@media (max-width: 760px) {
    .hero-meta .num { font-size: 1.7rem; }
}

/* ---------- Sections ----------------------------------------------------- */
.section {
    padding: clamp(72px, 9vw, 132px) 0;
    position: relative;
}
.section.surface-soft { background: var(--bg-soft); }
.section.surface-deep {
    background: var(--bg-deep);
    color: var(--fg-on-dark);
}
.section.surface-deep h1,
.section.surface-deep h2,
.section.surface-deep h3 { color: var(--fg-on-dark); }
.section.surface-deep p { color: var(--fg-on-dark-quiet); }
.section.surface-deep .tag { color: var(--accent); }

.section-head {
    display: grid; gap: 14px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    max-width: 760px;
    text-align: center;
}
.section-head.left { text-align: left; max-width: 760px; margin-left: 0; margin-right: 0; }
.section-head .tag { justify-content: center; }
.section-head.left .tag { justify-content: flex-start; }
.section-head h2 { max-width: 22ch; margin: 0 auto; }
.section-head.left h2 { margin: 0; }
.section-head p { color: var(--fg-quiet); max-width: 60ch; margin: 0 auto; }
.section-head.left p { margin: 0; }

/* ---------- Two-up ------------------------------------------------------- */
.two-up { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.two-up > * { min-width: 0; }
@media (min-width: 960px) {
    .two-up { grid-template-columns: 5fr 6fr; gap: 72px; }
}
.two-up.flip > :first-child { order: 2; }
@media (min-width: 960px) {
    .two-up.flip > :first-child { order: 0; }
}

.bullets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.bullets li {
    display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start;
}
.bullets li::before {
    content: "";
    width: 24px; height: 24px;
    border-radius: 999px;
    background: var(--accent-tint);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4955a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    margin-top: 2px;
}
.bullets li strong { display: block; color: var(--fg); font-weight: 700; font-size: 0.98rem; margin-bottom: 2px; }
.bullets li span { color: var(--fg-quiet); font-size: 0.94rem; }

.report-notes {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}
.report-notes article {
    display: grid;
    gap: 6px;
    padding: 0;
}
.report-notes strong {
    color: var(--fg);
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
}
.report-notes span {
    color: var(--fg-quiet);
    font-size: 0.94rem;
    max-width: 54ch;
}

/* ---------- Photo cards (Realexa "featured listings" style) -------------- */
.photo-cards {
    display: grid; gap: 28px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .photo-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .photo-cards { grid-template-columns: repeat(3, 1fr); } }

.photo-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: 0;
    transition: transform .35s ease;
    display: flex; flex-direction: column;
}
.photo-card:hover {
    transform: translateY(-4px);
}
.photo-card .placeholder {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    border: 0;
}
.photo-card .placeholder img { transition: transform .9s ease; }
.photo-card:hover .placeholder img { transform: scale(1.06); }
.photo-card-body {
    padding: 22px 2px 0;
    display: flex; flex-direction: column; gap: 12px;
}
.photo-card-body h3 { color: var(--fg); font-size: 1.4rem; }
.photo-card-body p  { color: var(--fg-quiet); font-size: 0.95rem; margin: 0; }
.photo-card-body .meta {
    display: flex; gap: 16px; margin-top: 4px;
    font-size: 0.82rem; color: var(--accent-deep);
    font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.photo-card-body .cta-link { margin-top: 6px; align-self: flex-start; }

/* Floating tag inside the card image - like price tags on listings. */
.photo-card .badge {
    position: absolute; top: 18px; left: 18px;
    background: rgba(255,255,255,0.92);
    color: var(--fg);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    backdrop-filter: blur(6px);
    z-index: 2;
}

/* ---------- Features grid ------------------------------------------------ */
.features-grid {
    display: grid; gap: 36px 48px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
    display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
}
.feature .ic {
    width: 52px; height: 52px;
    background: var(--accent-tint);
    color: var(--accent-deep);
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
}
.feature h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p  { color: var(--fg-quiet); font-size: 0.94rem; margin: 0; }

/* ---------- Apps / platforms band --------------------------------------- */
.apps-grid {
    display: grid; gap: 28px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .apps-grid { grid-template-columns: repeat(4, 1fr); } }

.app-card {
    background: var(--bg-soft);
    border: 0;
    border-radius: var(--radius-sm);
    padding: 30px 28px;
    transition: transform .25s ease, background-color .25s ease;
    display: flex; flex-direction: column; gap: 14px;
    height: 100%;
}
.app-card:hover { transform: translateY(-4px); background: var(--accent-tint); }
.app-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
}
.platform-logo {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.platform-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
[data-theme="dark"] .platform-logo[data-platform="apple"] img { filter: invert(1); }
.app-card .badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent-deep);
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.app-card h3 { font-size: 1.3rem; }
.app-card p  { color: var(--fg-quiet); font-size: 0.93rem; margin: 0; }

.platform-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}
.platform-list article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
}
.platform-list strong {
    display: block;
    color: var(--fg);
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.platform-list span { color: var(--fg-quiet); font-size: 0.94rem; }

/* ---------- Testimonials ------------------------------------------------- */
.testimonial-grid {
    display: grid; gap: 28px;
    grid-template-columns: 1fr;
}
@media (min-width: 880px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
    background: var(--bg-elev);
    border: 0;
    border-radius: var(--radius);
    padding: 32px 30px;
    display: flex; flex-direction: column; gap: 20px;
    position: relative;
}
.testimonial::before {
    content: "\201C";
    position: absolute;
    top: -16px; left: 22px;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    font-style: italic;
}
.testimonial blockquote {
    margin: 0; padding: 0;
    color: var(--fg);
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.45;
}
.testimonial .who {
    display: flex; align-items: center; gap: 14px;
    border-top: 1px solid var(--rule);
    padding-top: 16px;
}
.testimonial .avatar {
    width: 44px; height: 44px;
    border-radius: 999px;
    background: var(--accent-tint);
    color: var(--accent-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem;
    letter-spacing: 0.04em;
}
.testimonial .who-info { display: flex; flex-direction: column; }
.testimonial .who-info strong { color: var(--fg); font-size: 0.95rem; }
.testimonial .who-info span { color: var(--fg-faint); font-size: 0.82rem; }

/* ---------- Pricing ------------------------------------------------------ */
.pricing {
    display: grid; gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

.plan {
    background: var(--bg-elev);
    border: 0;
    border-radius: var(--radius);
    padding: 32px 26px;
    display: flex; flex-direction: column; gap: 22px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.plan.highlight {
    background: var(--bg-deep);
    color: var(--fg-on-dark);
    border-color: var(--bg-deep);
}
.plan.highlight h3 { color: var(--fg-on-dark); }
.plan.highlight p, .plan.highlight .plan-features li { color: var(--fg-on-dark-quiet); }
.plan.highlight .price-period { color: var(--fg-on-dark-quiet); }
.plan.highlight .plan-tag { color: var(--accent); background: rgba(196,149,90,0.15); }
.plan.highlight .plan-features li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0b478' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

.plan-tag {
    align-self: flex-start;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent-deep);
    background: var(--accent-tint);
    padding: 5px 12px;
    border-radius: 999px;
}
.plan h3 { font-size: 1.7rem; }
.plan > p { margin: 0; color: var(--fg-quiet); font-size: 0.93rem; }

.price {
    display: flex; align-items: baseline; gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
}
.plan.highlight .price { border-top-color: rgba(255,255,255,0.18); }
.price-amount {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 700; font-size: 2.4rem; line-height: 1;
}
.price-period { color: var(--fg-quiet); font-size: 0.9rem; }

.plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.plan-features li {
    position: relative; padding-left: 26px;
    font-size: 0.93rem; color: var(--fg);
}
.plan-features li::before {
    content: "";
    position: absolute; left: 0; top: 4px;
    width: 18px; height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4955a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat; background-position: center; background-size: contain;
}

.pricing-note {
    margin-top: 28px;
    color: var(--fg-faint);
    font-size: 0.86rem;
    text-align: center;
}

/* ---------- FAQ grid ----------------------------------------------------- */
.faq-grid {
    display: grid; gap: 28px 40px;
    grid-template-columns: 1fr;
}
@media (min-width: 880px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-grid article {
    padding: 26px 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.faq-grid h4 { margin-bottom: 8px; font-size: 1.02rem; }
.faq-grid p { margin: 0; color: var(--fg-quiet); }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band {
    margin: 0 auto;
    padding: clamp(72px, 9vw, 132px) var(--gutter);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    color: var(--fg-on-dark);
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("/images/properties/city-dusk.webp");
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.cta-band::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,14,26,0.78), rgba(8,14,26,0.9));
    z-index: -1;
}
.cta-band h2 {
    color: var(--fg-on-dark);
    max-width: 22ch;
    margin: 0 auto 22px;
}
.cta-band p {
    color: var(--fg-on-dark-quiet);
    max-width: 56ch; margin: 0 auto 30px;
}
.cta-band .actions {
    display: inline-flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}

/* ---------- Page hero (non-home) ---------------------------------------- */
.page-hero {
    padding: clamp(96px, 12vw, 160px) 0 clamp(48px, 6vw, 80px);
    background:
        radial-gradient(circle at 80% 0%, var(--accent-tint), transparent 38rem),
        linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero-grid {
    display: grid; grid-template-columns: 1fr; gap: 40px;
    align-items: center;
}
.page-hero-grid > * { min-width: 0; }
@media (min-width: 960px) {
    .page-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(360px, 5fr); gap: 72px; }
}
.page-hero h1 { max-width: 18ch; margin: 14px 0 18px; }
.page-hero-photo .placeholder {
    aspect-ratio: 5/4;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.page-hero-photo .placeholder img { transition: transform 1.2s ease; }
.page-hero-photo:hover .placeholder img { transform: scale(1.04); }
.page-hero-photo .placeholder-caption { display: none; }

/* ---------- Invitation access ------------------------------------------ */
.access-hero {
    padding: clamp(108px, 13vw, 170px) 0 clamp(58px, 7vw, 92px);
    background:
        radial-gradient(circle at 10% 22%, var(--accent-tint), transparent 32rem),
        radial-gradient(circle at 92% 12%, rgba(92, 122, 255, 0.12), transparent 30rem),
        var(--bg);
    position: relative;
    overflow: hidden;
}
.access-hero::before {
    content: "";
    position: absolute;
    width: 34rem;
    height: 34rem;
    right: -18rem;
    top: -16rem;
    border: 1px solid var(--rule);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(196, 149, 90, 0.03), 0 0 0 10rem rgba(196, 149, 90, 0.02);
    pointer-events: none;
    animation: access-orbit 18s ease-in-out infinite alternate;
}
.access-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 62px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.access-hero-copy h1 { max-width: 15ch; margin: 16px 0 22px; }
.access-hero-copy .lead { max-width: 62ch; }
.access-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.access-visual {
    min-height: clamp(480px, 58vw, 650px);
    position: relative;
    isolation: isolate;
}
.access-visual-glow {
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    left: 14%;
    top: 12%;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 22%, transparent);
    filter: blur(56px);
    opacity: 0.44;
    z-index: -1;
    animation: access-glow 7s ease-in-out infinite alternate;
}
.access-photo {
    position: absolute;
    margin: 0;
    overflow: hidden;
    background: var(--placeholder-bg);
    border: 5px solid color-mix(in srgb, var(--bg-elev) 92%, transparent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.access-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.75,.25,1);
}
.access-photo:hover img { transform: scale(1.045); }
.access-photo-main {
    inset: 0 11% 15% 7%;
    z-index: 1;
    animation: access-float-main 8s ease-in-out infinite;
}
.access-photo-detail {
    width: 38%;
    height: 31%;
    right: 0;
    top: 8%;
    z-index: 3;
    animation: access-float-detail 7s ease-in-out infinite;
}
.access-photo-portfolio {
    width: 33%;
    height: 28%;
    left: 0;
    bottom: 0;
    z-index: 4;
    animation: access-float-portfolio 9s ease-in-out infinite;
}
.access-invited-card {
    position: absolute;
    right: 0;
    bottom: 2%;
    width: min(390px, 76%);
    display: grid;
    gap: 11px;
    padding: clamp(22px, 3vw, 30px);
    color: var(--fg-on-dark);
    background: linear-gradient(145deg, rgba(13,27,42,0.96), rgba(28,44,67,0.94));
    backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 5;
    animation: access-card-float 6s ease-in-out infinite;
}
.access-card-brand { display: flex; align-items: center; gap: 12px; }
.access-invited-card h2 { color: var(--fg-on-dark); margin: 0; font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.access-invited-card p { color: var(--fg-on-dark-quiet); margin: 0 0 8px; }
.access-invited-card .cta-ghost { justify-self: start; color: var(--fg-on-dark); border-color: rgba(255,255,255,0.35); }
.access-card-label {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.access-capability-ribbon {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: clamp(58px, 7vw, 88px);
    overflow: hidden;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.access-capability-ribbon > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 68px;
    padding: 15px;
    background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
    color: var(--fg-quiet);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.access-capability-ribbon .icon { color: var(--accent-deep); }
.access-process-section { overflow: hidden; }
.access-process-grid { display: grid; grid-template-columns: 1fr; gap: 54px; align-items: center; }
.access-process-visual {
    min-height: 480px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.access-process-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.access-process-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8,14,26,0.62));
}
.access-process-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    color: var(--fg-on-dark);
    background: rgba(8,14,26,0.68);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    font-weight: 700;
}
.access-process-heading { margin-bottom: 34px; }
.access-process-heading h2 { max-width: 14ch; margin: 14px 0 16px; }
.access-process-heading p { max-width: 56ch; margin: 0; color: var(--fg-quiet); }
.access-steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
.access-steps article {
    padding: 22px 22px 23px;
    background: var(--bg-elev);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.access-steps article:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.access-steps article > span { color: var(--accent-deep); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; }
.access-steps h3 { margin: 14px 0 10px; font-size: 1.32rem; }
.access-steps p { margin: 0; color: var(--fg-quiet); }
.access-request-section { scroll-margin-top: 82px; }
.access-request-grid { display: grid; grid-template-columns: 1fr; gap: 42px; align-items: start; }
.access-request-copy h2 { max-width: 14ch; margin: 14px 0 18px; }
.access-request-copy .lead { max-width: 52ch; }
.access-privacy-note { color: var(--fg-quiet); font-size: 0.88rem; max-width: 52ch; margin-top: 28px; }
.access-form-panel {
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--rule);
    overflow: hidden;
}
.access-form-panel::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -85px;
    top: -85px;
    border-radius: 50%;
    background: var(--accent-tint);
    pointer-events: none;
}
.access-form-panel .contact-form { position: relative; }
.js [data-access-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity .8s cubic-bezier(.2,.75,.25,1),
        transform .8s cubic-bezier(.2,.75,.25,1);
}
.js [data-access-reveal][data-access-delay="1"] { transition-delay: .12s; }
.js [data-access-reveal][data-access-delay="2"] { transition-delay: .22s; }
.js [data-access-reveal][data-access-delay="3"] { transition-delay: .32s; }
.js [data-access-reveal].is-visible { opacity: 1; transform: none; }
@keyframes access-orbit { to { transform: translate(-32px, 24px) rotate(8deg); } }
@keyframes access-glow { to { transform: scale(1.16); opacity: 0.7; } }
@keyframes access-float-main { 50% { transform: translateY(-8px); } }
@keyframes access-float-detail { 50% { transform: translate(5px, -12px) rotate(1deg); } }
@keyframes access-float-portfolio { 50% { transform: translate(-4px, 10px) rotate(-1deg); } }
@keyframes access-card-float { 50% { transform: translateY(-7px); } }
@media (min-width: 760px) {
    .access-capability-ribbon { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
    .access-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(500px, 6fr); gap: 72px; }
    .access-process-grid { grid-template-columns: minmax(380px, 5fr) minmax(0, 6fr); gap: 82px; }
    .access-request-grid { grid-template-columns: minmax(0, 4fr) minmax(520px, 7fr); gap: 72px; }
    .access-request-copy { position: sticky; top: 118px; }
}
@media (max-width: 620px) {
    .access-visual { min-height: 510px; }
    .access-photo-main { inset: 0 4% 19% 0; }
    .access-photo-detail { width: 40%; height: 27%; }
    .access-photo-portfolio { display: none; }
    .access-invited-card { width: 88%; right: 0; bottom: 0; }
    .access-capability-ribbon > span { min-height: 60px; font-size: 0.8rem; }
}

/* ---------- Placeholder primitive --------------------------------------- */
.placeholder {
    margin: 0;
    background: var(--placeholder-bg);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}
.placeholder img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.placeholder-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,14,26,0.0), rgba(8,14,26,0.18));
    pointer-events: none;
}
.placeholder-caption {
    position: absolute; bottom: 14px; left: 16px;
    font-size: 0.72rem; font-weight: 600;
    color: var(--fg-on-dark);
    background: rgba(8,14,26,0.55);
    padding: 4px 10px;
    border-radius: 999px;
    max-width: 80%;
}

/* ---------- Contact ----------------------------------------------------- */
.contact-layout {
    display: grid; grid-template-columns: 1fr; gap: 36px;
}
@media (min-width: 960px) { .contact-layout { grid-template-columns: 4fr 7fr; gap: 60px; } }

.contact-aside { display: grid; gap: 28px; align-content: start; }
.contact-aside article {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.contact-aside .label {
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 8px;
}
.contact-aside a { color: var(--fg); font-weight: 600; }
.contact-aside a:hover { color: var(--accent); }
.contact-aside p { margin: 0; color: var(--fg-quiet); font-size: 0.95rem; }

.contact-form-panel {
    background: var(--bg-elev);
    border: 0;
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
}

.contact-form { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
    .contact-form { grid-template-columns: 1fr 1fr; }
    .contact-form .full { grid-column: 1 / -1; }
}
.field label {
    display: block;
    font-size: 0.84rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 8px;
}
.field input, .field textarea, .field select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-sm);
    color: var(--fg);
    padding: 13px 14px;
    font: inherit; font-size: 0.97rem;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }

.form-msg {
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    background: var(--accent-tint);
    color: var(--fg);
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
}
.form-msg.error { border-left-color: #b73a3a; background: #fbeaea; color: #6c2222; }
[data-theme="dark"] .form-msg.error { background: #3a1818; color: #ffb3b3; }

/* ---------- Prose pages -------------------------------------------------- */
.prose {
    max-width: 760px;
}
.prose h3 {
    margin-top: clamp(36px, 5vw, 56px);
    margin-bottom: 12px;
    font-size: 1.35rem;
}
.prose h3:first-of-type { margin-top: 0; }
.prose p { margin: 0 0 14px; color: var(--fg-quiet); font-size: 1rem; }
.prose ul { color: var(--fg-quiet); padding-left: 1.3rem; }
.prose .legal-updated { color: var(--accent-deep); font-weight: 700; margin-bottom: 32px; }
.premium-feature { border-color: color-mix(in srgb, var(--accent) 38%, var(--rule)); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.about-grid article { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--bg-elev); }
.about-grid article > span { color: var(--accent-deep); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.about-grid h2 { margin: 18px 0 12px; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.about-grid p { margin: 0; color: var(--fg-quiet); }
@media (min-width: 900px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Blog --------------------------------------------------------- */
.blog-hero .shell { max-width: 920px; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 760px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow-soft); }
.blog-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.035); }
.blog-card-body { padding: 26px; }
.blog-card h2 { margin: 10px 0 12px; font-size: 1.42rem; line-height: 1.22; }
.blog-card h2 a { color: var(--fg); }
.blog-card p { color: var(--fg-quiet); }
.blog-meta { color: var(--accent-deep); font-size: .78rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.blog-loading { min-height: 220px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--fg-quiet); }
.blog-loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blogPulse 1.1s ease-in-out infinite; }
.blog-loading span:nth-child(2) { animation-delay: .14s; }
.blog-loading span:nth-child(3) { animation-delay: .28s; }
.blog-loading em { margin-left: 8px; font-style: normal; }
@keyframes blogPulse { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
.blog-empty { max-width: 680px; margin: 0 auto; padding: 64px 28px; text-align: center; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--bg-elev); }
.blog-empty p { color: var(--fg-quiet); margin-bottom: 26px; }
.blog-article-section { padding-top: clamp(72px, 10vw, 130px); }
.blog-article-shell { max-width: 930px; }
.blog-back { display: inline-flex; margin-bottom: 30px; color: var(--accent-deep); font-weight: 700; }
.blog-article h1 { max-width: 18ch; margin: 14px 0 20px; font-size: clamp(2.35rem, 7vw, 5.2rem); line-height: .98; }
.blog-deck { max-width: 760px; margin-bottom: 42px; color: var(--fg-quiet); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.blog-cover { margin: 0 0 48px; }
.blog-cover img, .blog-gallery img { width: 100%; border-radius: var(--radius-lg); }
.blog-cover figcaption, .blog-gallery figcaption { margin-top: 10px; color: var(--fg-quiet); font-size: .85rem; }
.blog-prose { max-width: 760px; margin: 0 auto; }
.blog-prose h2, .blog-prose h3 { margin-top: 2em; }
.blog-prose img { max-width: 100%; }
.blog-prose pre { overflow-x: auto; padding: 18px; border-radius: 14px; background: var(--bg-deep); color: var(--fg-on-dark); }
.blog-gallery { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 52px; }
@media (min-width: 700px) { .blog-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
    margin-top: 0;
    background: var(--bg-deep);
    color: var(--fg-on-dark);
    padding: clamp(64px, 8vw, 96px) var(--gutter) 36px;
}
.footer-grid {
    max-width: var(--max); margin: 0 auto;
    display: grid; gap: 40px;
    grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; } }

.footer-brand .brand { color: var(--fg-on-dark); margin-bottom: 18px; }
.footer-brand .brand-word { color: var(--fg-on-dark); }
.footer-tag { color: var(--fg-on-dark-quiet); max-width: 36ch; }
.footer-mail {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--fg-on-dark); font-weight: 600;
    border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
.footer-mail:hover { color: var(--accent); }

.footer-col h4 {
    font-size: 0.84rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--fg-on-dark);
    margin-bottom: 18px;
}
.footer-col a, .footer-col span {
    display: block; padding: 4px 0;
    color: var(--fg-on-dark-quiet); font-size: 0.95rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-soon { color: rgba(255,255,255,0.4); }

.footer-base {
    max-width: var(--max); margin: 56px auto 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    color: rgba(255,255,255,0.5); font-size: 0.82rem;
}

/* ---------- Reveal animation -------------------------------------------- */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
[data-reveal] { animation: revealUp .65s ease both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; animation: none; }
    [data-access-reveal] { opacity: 1 !important; transform: none !important; }
    .access-hero::before,
    .access-visual-glow,
    .access-photo,
    .access-invited-card { animation: none !important; }
    html { scroll-behavior: auto; }
}
