/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --ink: #0c1a27;
    --ink-soft: #4a5a6b;
    --paper: #ffffff;
    --paper-warm: #f3f7fb;
    --paper-cream: #f8f5f0;
    --line: #e0e9f2;
    --accent: #5b8bb5;
    --accent-ink: #2b5880;
    --highlight: #b8d4ec;
    --serif: "Fraunces", Georgia, serif;
    --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    --shadow: 0 24px 64px -32px rgba(12, 26, 39, .18);
    --shadow-lg: 0 40px 80px -40px rgba(12, 26, 39, .26);
}

/* ===== BASE ===== */
* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
}

body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 300;
    letter-spacing: -.02em;
    margin: 0;
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.font-serif {
    font-family: var(--serif);
}

.font-sans {
    font-family: var(--sans);
}

.color-ink {
    color: var(--ink);
}

.color-ink-soft {
    color: var(--ink-soft);
}

.color-accent {
    color: var(--accent);
}

.color-accent-ink {
    color: var(--accent-ink);
}

.color-highlight {
    color: var(--highlight);
}

.bg-paper {
    background: var(--paper);
}

.bg-paper-warm {
    background: var(--paper-warm);
}

.bg-paper-cream {
    background: var(--paper-cream);
}

.bg-ink {
    background: var(--ink);
}

/* ===== EYEBROW ===== */
.eyebrow {
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    padding: 24px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    transition: padding .4s ease, background .4s ease, color .4s ease, box-shadow .4s ease;
}

.nav.shrunk {
    padding: 13px 44px;
    background: rgba(248, 245, 240, .92);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(12, 26, 39, .06);
}

.brand {
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: .03em;
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand .monogram {
    width: 27px;
    height: 27px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-style: italic;
    opacity: .9;
}

.brand small {
    font-family: var(--sans);
    font-size: 9.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
    opacity: .6;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    gap: 34px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-menu a {
    opacity: .8;
    transition: opacity .2s;
}

.nav-menu a:hover {
    opacity: 1;
}

/* ===== LANG SWITCHER ===== */
.lang {
    display: inline-flex;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 9.5px;
    letter-spacing: .22em;
    overflow: hidden;
    opacity: .9;
}

.lang button {
    background: transparent;
    border: 0;
    color: inherit;
    padding: 6px 13px;
    font: inherit;
    cursor: pointer;
    letter-spacing: .2em;
    font-weight: 500;
}

.nav:not(.shrunk) .lang button.on {
    background: #fff;
}

.nav:not(.shrunk) .lang button.on span {
    color: var(--ink);
    mix-blend-mode: normal;
}

.nav.shrunk .lang button.on {
    background: var(--ink);
}

.nav.shrunk .lang button.on span {
    color: var(--paper);
    mix-blend-mode: normal;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    color: #fff;
}

/* FIX: reduced initial scale 1.06 → 1.03 and pulled bg-position up
    so the image reads as a wide establishing shot, not a tight crop */
.hero-img {
    position: absolute;
    inset: 0;
    background: url("assets/hero.jpeg") center 40% / cover no-repeat;
    transform: scale(1.03);
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, .38) 0%,
            rgba(0, 0, 0, .08) 30%,
            rgba(0, 0, 0, .22) 58%,
            rgba(0, 0, 0, .80) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 20% 80%, rgba(0, 0, 0, .4) 0%, transparent 52%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 44px 92px;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 10.5px;
    letter-spacing: .32em;
    text-transform: uppercase;
    font-weight: 500;
    opacity: .85;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-eyebrow .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: .65;
}

.hero h1 {
    font-size: clamp(54px, 8.5vw, 140px);
    line-height: .94;
    letter-spacing: -.025em;
    font-weight: 300;
    max-width: 14ch;
}

.hero h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--highlight);
}

.hero-sub {
    margin-top: 30px;
    display: flex;
    gap: 48px;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-tag {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 300;
    max-width: 46ch;
    opacity: .88;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    gap: 38px;
    font-size: 10.5px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 500;
    opacity: .82;
}

.hero-meta div span {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
    margin-top: 7px;
    font-weight: 400;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 9.5px;
    letter-spacing: .32em;
    text-transform: uppercase;
    opacity: .68;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-cue .line {
    width: 1px;
    height: 36px;
    background: #fff;
    opacity: .5;
    animation: cue 2.6s ease-in-out infinite;
}

@keyframes cue {

    0%,
    100% {
        transform: scaleY(.25);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* ===== SECTION SHARED ===== */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 44px;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 88px;
    align-items: end;
    padding: 80px 0 44px;
}

.section-head .sh-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-head h2 {
    font-size: clamp(34px, 3.8vw, 56px);
    line-height: 1.04;
    letter-spacing: -.02em;
}

.section-head h2 em {
    font-style: italic;
    color: var(--accent-ink);
}

.section-head .lede {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--ink-soft);
    padding-bottom: 4px;
    text-wrap: pretty;
}

/* ===== ABOUT ===== */
.about-body {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 72px;
    align-items: start;
    padding-bottom: 80px;
}

.about-copy p {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--ink-soft);
    margin: 0 0 18px;
    text-wrap: pretty;
}

.about-copy p.first::first-letter {
    font-family: var(--serif);
    font-size: 68px;
    line-height: .78;
    float: left;
    padding: 8px 14px 0 0;
    color: var(--ink);
    font-weight: 300;
}

.about-stats {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 36px;
}

.stat .n {
    font-family: var(--serif);
    font-size: 46px;
    line-height: 1;
    font-weight: 300;
    color: var(--ink);
}

.stat .l {
    font-size: 10.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 7px;
}

.about-media {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 14px;
}

.about-media .a1 {
    aspect-ratio: 4/5;
    background: url("assets/pool-day.jpeg") center/cover;
    border-radius: 3px;
}

.about-media .a2 {
    aspect-ratio: 5/4;
    background: url("assets/balcony.jpeg") center/cover;
    margin-left: 18%;
    border-radius: 3px;
}

.sig {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--accent-ink);
    margin-top: 26px;
}

/* ===== STRIPE ===== */
.stripe {
    background: var(--ink);
    color: var(--paper);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stripe .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.stripe-img {
    aspect-ratio: 4/5;
    background: url("assets/pool-night.jpeg") center/cover;
    border-radius: 3px;
}

.stripe h3 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    max-width: 15ch;
}

.stripe h3 em {
    font-style: italic;
    color: var(--highlight);
}

.stripe p {
    font-size: 15.5px;
    line-height: 1.85;
    opacity: .75;
    max-width: 46ch;
    margin-top: 18px;
}

.stripe-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 22px;
}

.stripe-list li {
    list-style: none;
    font-size: 13px;
    letter-spacing: .06em;
    opacity: .82;
    display: flex;
    gap: 11px;
    align-items: baseline;
}

.stripe-list li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--highlight);
    border-radius: 50%;
    flex: 0 0 4px;
    transform: translateY(-2px);
}

/* ===== AMENITIES ===== */
.amenities {
    padding-bottom: 80px;
}

.amen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
}

.amen {
    background: var(--paper);
    padding: 28px 22px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: background .25s;
}

.amen:hover {
    background: var(--paper-cream);
}

.amen svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-ink);
    fill: none;
    stroke-width: 1.15;
    opacity: .9;
}

.amen h4 {
    font-size: 21px;
    font-weight: 400;
}

.amen p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 3px 0 0;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--paper-warm);
    padding-bottom: 80px;
}

.gal-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    grid-auto-rows: 96px;
}

.gal {
    background: #ccc center/cover;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}

.gal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 26, 39, 0);
    transition: background .3s;
}

.gal:hover::after {
    background: rgba(12, 26, 39, .1);
}

.gal .expand {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(.75);
    transition: opacity .25s, transform .25s;
    z-index: 2;
}

.gal:hover .expand {
    opacity: 1;
    transform: scale(1);
}

.gal .expand svg {
    width: 13px;
    height: 13px;
    stroke: var(--ink);
    fill: none;
    stroke-width: 1.5;
}

.g1 {
    grid-column: span 7;
    grid-row: span 5;
    background-image: url("assets/hero.jpeg");
}

.g2 {
    grid-column: span 5;
    grid-row: span 3;
    background-image: url("assets/pool-day.jpeg");
}

.g3 {
    grid-column: span 5;
    grid-row: span 2;
    background-image: url("assets/balcony.jpeg");
}

.g4 {
    grid-column: span 4;
    grid-row: span 3;
    background-image: url("assets/bedroom.jpeg");
}

.g5 {
    grid-column: span 4;
    grid-row: span 3;
    background-image: url("assets/kitchen.jpeg");
}

.g6 {
    grid-column: span 4;
    grid-row: span 3;
    background-image: url("assets/pool-night.jpeg");
}

.g7 {
    grid-column: span 6;
    grid-row: span 3;
    background-image: url("assets/terrace.jpeg");
}

.g8 {
    grid-column: span 6;
    grid-row: span 3;
    background-image: url("assets/stairs.jpeg");
}

/* ===== LIGHTBOX ===== */
.lb {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 18, 28, .96);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.lb.on {
    display: flex;
}

.lb img {
    max-width: 90vw;
    max-height: 86vh;
    border-radius: 2px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}

.lb-close,
.lb-nav {
    position: absolute;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s;
}

.lb-close:hover,
.lb-nav:hover {
    background: rgba(255, 255, 255, .14);
}

.lb-close {
    top: 26px;
    right: 26px;
}

.lb-nav.prev {
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-nav.next {
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-nav svg,
.lb-close svg {
    width: 15px;
    height: 15px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
}

.lb-count {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
    letter-spacing: .24em;
}

/* ===== LOCATION ===== */
.location {
    background: var(--paper);
    padding-bottom: 80px;
}

.loc-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 52px;
}

.loc-map {
    aspect-ratio: 4/5;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #e4ddd2;
    position: relative;
}

.loc-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.2) contrast(.96);
}

.nearby {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 26px;
}

.near {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 16px;
    align-items: baseline;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.near:last-child {
    border-bottom: 1px solid var(--line);
}

.near .dist {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--accent-ink);
}

.near .name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
}

.near .note {
    font-size: 10px;
    color: var(--ink-soft);
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* ===== AVAILABILITY ===== */
.avail {
    background: var(--paper-warm);
    padding-bottom: 80px;
}

.avail .section-head {
    padding-bottom: 24px;
}

.cal-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.cal {
    background: var(--paper);
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
}

.cal-nav .picker {
    display: flex;
    gap: 10px;
    align-items: baseline;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
}

.cal-nav select {
    font: inherit;
    font-family: var(--serif);
    font-size: 26px;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    padding: 2px 22px 2px 6px;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='%230c1a27' stroke-width='1.2'><path d='M2 4l3 3 3-3'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
}

#cal-year {
    min-width: 86px;
}

.cal-nav select:hover {
    background-color: var(--paper-warm);
}

.cal-nav select:focus {
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.cal-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: background .2s, border-color .2s;
}

.cal-arrow:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.cal-arrow svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.dow {
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: center;
    padding: 3px 0 7px;
    font-weight: 500;
}

.d {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    font-size: 12.5px;
    color: var(--ink);
    border-radius: 50%;
    transition: background .2s, color .2s;
    cursor: pointer;
}

.d.m {
    color: var(--line);
    cursor: default;
}

.d.t {
    background: var(--accent);
    color: #fff;
    font-weight: 500;
}

.d.a:hover {
    background: var(--paper-warm);
}

.d.m:hover {
    background: transparent;
}

.cal-hint {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--ink-soft);
    letter-spacing: .06em;
    text-align: center;
}

/* ===== FOOTER ===== */
footer {
    background: var(--ink);
    color: var(--paper);
    padding: 64px 44px 34px;
}

.foot-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 52px;
}

.foot-brand {
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1;
    font-weight: 300;
}

.foot-brand em {
    font-style: italic;
    color: var(--highlight);
}

.foot-brand p {
    font-family: var(--sans);
    font-size: 13px;
    opacity: .65;
    margin-top: 16px;
    max-width: 34ch;
    line-height: 1.75;
}

.foot h5 {
    font-size: 9.5px;
    letter-spacing: .28em;
    text-transform: uppercase;
    opacity: .55;
    font-weight: 500;
    margin-bottom: 14px;
    font-family: var(--sans);
}

.foot ul {
    padding: 0;
    margin: 0;
}

.foot li {
    list-style: none;
    font-size: 13.5px;
    margin-bottom: 9px;
    opacity: .82;
}

.foot-bot {
    max-width: 1280px;
    margin: 44px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .45;
}

/* ===== CHAT CONCIERGE ===== */
.chat-fab {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 120;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .4);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform .25s;
}

.chat-fab:hover {
    transform: translateY(-2px);
}

.chat-fab svg {
    width: 24px;
    height: 24px;
    stroke: var(--paper);
    fill: none;
    stroke-width: 1.3;
}

.chat-fab .pulse {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.chat-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 9.5px;
    display: grid;
    place-items: center;
    font-weight: 600;
}

.chat-panel {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 130;
    width: 376px;
    max-width: calc(100vw - 32px);
    height: 548px;
    max-height: calc(100vh - 56px);
    background: var(--paper);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 28px 70px -18px rgba(0, 0, 0, .3), 0 0 0 1px var(--line);
    display: none;
    flex-direction: column;
    transform-origin: bottom right;
    animation: chatIn .3s cubic-bezier(.2, .9, .3, 1.2);
}

.chat-panel.on {
    display: flex;
}

@keyframes chatIn {
    from {
        opacity: 0;
        transform: scale(.82) translateY(18px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.chat-head {
    padding: 16px 18px 14px;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    align-items: center;
    gap: 13px;
}

.chat-head .av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: url("assets/hero.jpeg") center/cover;
    border: 2px solid rgba(184, 212, 236, .6);
    flex: 0 0 42px;
}

.chat-head h4 {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
}

.chat-head p {
    font-size: 11px;
    opacity: .65;
    letter-spacing: .04em;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-head p::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #79b87a;
    display: inline-block;
}

.chat-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--paper);
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: .65;
    transition: opacity .2s;
}

.chat-close:hover {
    opacity: 1;
}

.chat-close svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    background: linear-gradient(180deg, var(--paper) 0%, #ece8e0 100%);
}

.msg {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
}

.msg.bot {
    background: #fff;
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
    color: var(--ink);
}

.msg.me {
    align-self: flex-end;
    background: var(--ink);
    color: var(--paper);
    border-bottom-right-radius: 4px;
}

.msg small {
    display: block;
    font-size: 10px;
    opacity: .45;
    margin-top: 4px;
    letter-spacing: .08em;
}

.quick {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 11px 16px 4px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.quick button {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 6px 12px;
    border-radius: 999px;
    font: inherit;
    font-size: 11.5px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.quick button:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.chat-foot {
    padding: 11px 16px 14px;
    background: var(--paper);
    display: flex;
    gap: 9px;
    border-top: 1px solid var(--line);
}

.chat-foot input {
    flex: 1;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font: inherit;
    font-size: 13px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s;
}

.chat-foot input:focus {
    border-color: var(--accent);
}

.chat-foot button {
    background: var(--ink);
    color: var(--paper);
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: opacity .2s;
}

.chat-foot button:hover {
    opacity: .85;
}

.chat-foot button svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .85s ease, transform .85s cubic-bezier(.2, .6, .2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal.d1 {
    transition-delay: .12s;
}

.reveal.d2 {
    transition-delay: .24s;
}

.reveal.d3 {
    transition-delay: .36s;
}

/* ===== MOBILE MENU ===== */
.mmenu {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--paper);
    z-index: 90;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 40px;
}

.mmenu.on {
    display: flex;
}

.mmenu a {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 300;
}

.mmenu a em {
    font-style: italic;
    color: var(--highlight);
}

.mmenu-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 8px;
}

.mmenu-close svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.burger {
    display: none;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 6px;
}

.burger svg {
    width: 22px;
    height: 22px;
}

.nav-controls {
    display: flex;
    gap: 14px;
    align-items: center;
}

.text-soft {
    color: var(--ink-soft);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav {
        padding: 16px 20px;
    }

    .nav.shrunk {
        padding: 11px 20px;
    }

    .nav-menu {
        display: none;
    }

    .burger {
        display: inline-grid;
        place-items: center;
    }

    .hero-inner {
        padding: 0 20px 52px;
    }

    .hero-sub {
        flex-direction: column;
        gap: 22px;
        align-items: flex-start;
    }

    .hero-meta {
        gap: 22px;
    }

    .wrap {
        padding: 0 20px;
    }

    .section-head {
        grid-template-columns: 1fr;
        padding: 56px 0 30px;
        gap: 18px;
    }

    .about-body {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 64px;
    }

    .about-media {
        position: static;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about-media .a2 {
        margin-left: 0;
    }

    .stripe {
        padding: 64px 0;
    }

    .stripe .wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stripe-list {
        grid-template-columns: 1fr;
    }

    .amen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gal-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 80px;
    }

    .g1 {
        grid-column: span 6;
        grid-row: span 4;
    }

    .g2 {
        grid-column: span 6;
        grid-row: span 3;
    }

    .g3 {
        grid-column: span 6;
        grid-row: span 2;
    }

    .g4,
    .g5,
    .g6 {
        grid-column: span 3;
        grid-row: span 3;
    }

    .g7,
    .g8 {
        grid-column: span 6;
        grid-row: span 3;
    }

    .loc-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cal-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .foot-bot {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .chat-panel {
        right: 12px;
        bottom: 12px;
        height: 70vh;
    }

    .chat-fab {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }

    .near {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

    .near .note {
        grid-column: 2;
    }
}

@media (max-width: 600px) {

    /* Hero: pull the focal point up so the sea/landscape is visible
        and reduce the animation's starting scale so it feels less zoomed */
    .hero-img {
        background-position: center 30%;
    }

    .hero h1 {
        font-size: 54px;
    }

    .section-head h2 {
        font-size: 40px;
    }

    .amen-grid {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr;
    }

    .brand small {
        display: none;
    }

    /* Calendar: shrink the oversized selects and tighten padding
        so the whole widget stays within the screen width */
    .avail .wrap {
        padding: 0 14px;
    }

    .cal {
        padding: 14px 10px;
        max-width: 100%;
    }

    .cal-nav {
        gap: 4px;
    }

    .cal-nav .picker {
        font-size: 17px;
        gap: 2px;
    }

    .cal-nav select {
        font-size: 17px;
        padding-right: 16px;
    }

    #cal-year {
        min-width: 60px;
    }

    .cal-arrow {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .cal-grid {
        gap: 1px;
    }

    .dow {
        font-size: 8px;
        letter-spacing: .05em;
        padding-bottom: 4px;
    }

    .d {
        font-size: 11px;
    }
}