/* ============================================================
   FARAJI MARIJANI — farajimarijani.ke (Oct 2026 redesign)
   Faraji brand teal #085b72 / #064253 (as in the brochure) on
   white and a light teal tint, grey body text, Msingi type
   (EB Garamond + Open Sans). No cream, no ornaments.
   ============================================================ */

:root {
    /* Faraji Marijani brand teal (from the brochure) */
    --ink: #085b72;
    --ink-2: #1f2937;
    --muted: #55666e;
    --slate: #085b72;
    --slate-deep: #064253;
    --white: #ffffff;
    --mist: #edf4f6;
    --mist-2: #dfebef;
    --line: #d7e4e8;
    --line-2: #bfd3da;
    --ok: #23784a;
    --hold: #b07a2a;
    --sold: #a5443b;
    --wa: #157a45;
    --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1240px;
    --gut: clamp(20px, 4vw, 48px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --hdr: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
    background: var(--white);
    color: var(--ink-2);
    font: 400 16px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.anchor { display: block; position: relative; top: -10px; height: 0; }
.ic { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- type ---------- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font: 600 12px/1.3 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--slate);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow--light { color: rgba(255, 255, 255, .86); }
.h2 {
    font: 500 clamp(31px, 3.3vw, 48px)/1.1 var(--serif);
    letter-spacing: -.015em;
    color: var(--ink);
    text-wrap: balance;
    font-variant-numeric: lining-nums;
}
.h3 {
    font: 500 clamp(22px, 2vw, 28px)/1.2 var(--serif);
    letter-spacing: -.01em;
    color: var(--ink);
    font-variant-numeric: lining-nums;
}
.lead { font-size: 18px; line-height: 1.65; color: var(--ink); }
.lead em { font-family: var(--serif); font-size: 1.12em; }
.tlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 14.5px/1.4 var(--sans);
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line-2);
    padding-bottom: 3px;
    transition: border-color .25s ease, color .25s ease;
}
.tlink .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tlink:hover { border-color: var(--ink); }
.tlink:hover .ic { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 3px;
    font: 600 15px/1.2 var(--sans);
    letter-spacing: .005em;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--slate-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist-2); }
.btn--line { border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--line-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--line-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--line-light .ic { width: 17px; height: 17px; }

/* ---------- header ---------- */
.hdr {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: var(--hdr);
    display: flex;
    align-items: center;
    color: #fff;
    transition: background .3s ease, box-shadow .3s ease, color .3s ease;
}
.hdr::before {
    content: "";
    position: absolute;
    inset: 0 0 -30px 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(3, 40, 51, .55), rgba(3, 40, 51, 0));
    transition: opacity .3s ease;
    pointer-events: none;
}
.hdr.is-solid, body.is-page .hdr { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid::before, body.is-page .hdr::before { opacity: 0; }
.hdr__in { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: inherit; }
.brand__name { font: 500 19px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.brand__by { font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.brand--ink { color: var(--ink); }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 32px); }
.hdr__nav a {
    position: relative;
    font: 500 14px/1 var(--sans);
    text-decoration: none;
    opacity: .9;
    padding: 8px 0;
}
.hdr__nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.hdr__nav a:hover { opacity: 1; }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__end { display: flex; align-items: center; gap: 18px; }
.hdr__tel { font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.hdr.is-solid .hdr__cta, body.is-page .hdr__cta { background: var(--ink); color: #fff; }
.hdr.is-solid .hdr__cta:hover, body.is-page .hdr__cta:hover { background: var(--slate-deep); }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 3px; opacity: .9; }
.burger i, .burger i::before, .burger i::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 18px; height: 1.6px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .3s var(--ease), background .3s ease;
}
.burger i::before { transform: translate(-50%, calc(-50% - 6px)); }
.burger i::after { transform: translate(-50%, calc(-50% + 6px)); }
body.mnav-open .burger i { background: transparent; }
body.mnav-open .burger i::before { transform: translate(-50%, -50%) rotate(45deg); }
body.mnav-open .burger i::after { transform: translate(-50%, -50%) rotate(-45deg); }
body.mnav-open .hdr { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
body.mnav-open .hdr::before { opacity: 0; }
body.mnav-open { overflow: hidden; }

.mnav {
    position: fixed;
    inset: 0;
    z-index: 55;
    padding: calc(var(--hdr) + 24px) var(--gut) 32px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav__links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mnav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font: 500 24px/1.2 var(--serif);
    color: var(--ink);
    text-decoration: none;
}
.mnav__tel { font: 600 16px/1 var(--sans); color: var(--ink); text-decoration: none; }
.mnav__msingi { font: 400 13.5px/1.4 var(--sans); color: var(--muted); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(520px, calc(100svh - 60px), 860px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 40, 51, .62) 0%, rgba(3, 40, 51, .28) 48%, rgba(3, 40, 51, 0) 75%),
        linear-gradient(0deg, rgba(3, 40, 51, .55) 0%, rgba(3, 40, 51, 0) 55%);
}
.hero__in { width: 100%; padding-top: calc(var(--hdr) + 32px); padding-bottom: clamp(88px, 11vh, 124px); }
.hero h1 {
    max-width: 25ch;
    font: 500 clamp(38px, 4.7vw, 72px)/1.04 var(--serif);
    letter-spacing: -.02em;
    text-wrap: balance;
}
.hero__sub { max-width: 34em; text-wrap: pretty; margin-top: 18px; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.6; color: rgba(255, 255, 255, .9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* key facts panel overlapping the hero */
.keys {
    position: relative;
    z-index: 2;
    margin-top: -56px;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr 1.05fr;
    background: #fff;
    box-shadow: 0 24px 60px -24px rgba(6, 66, 83, .35), 0 1px 0 var(--line);
}
.keys__cell { display: flex; flex-direction: column; gap: 6px; padding: 22px clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.keys__cell:first-child { border-left: 0; }
.keys__label { font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.keys__value { font: 500 clamp(22px, 2vw, 28px)/1.1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.keys__note { font-size: 14px; color: var(--muted); }
.keys__bar { display: flex; gap: 4px; margin-top: 4px; }
.keys__bar i { width: 18px; height: 6px; background: var(--ok); }
.keys__bar i.is-sold { background: var(--line-2); }
.keys__bar i.is-reserved { background: var(--hold); }
.keys__link {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font: 600 15px/1.35 var(--sans);
    transition: background .25s ease;
}
.keys__link .ic { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.keys__link:hover { background: var(--slate-deep); }
.keys__link:hover .ic { transform: translateX(4px); }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--mist { background: var(--mist); }
.head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px clamp(32px, 6vw, 96px);
    align-items: end;
    margin-bottom: clamp(36px, 4.5vw, 56px);
}
.head__aside { color: var(--muted); max-width: 46ch; justify-self: end; }
.head__aside:empty { display: none; }

/* intro */
.intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}
.intro__copy .h2 { margin-bottom: 22px; }
.intro__copy p + p { margin-top: 16px; }
.intro__copy p:not(.lead):not(.eyebrow) { color: var(--ink-2); max-width: 54ch; }
.intro__links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
.intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption, .caption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: clamp(48px, 6vw, 80px);
    border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 22px 20px 0 0; }
.stats dd { font: 500 clamp(30px, 3.2vw, 46px)/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.stats dt { font-size: 14px; color: var(--muted); }

/* photo band */
.band {
    position: relative;
    isolation: isolate;
    min-height: clamp(480px, 78vh, 760px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}
.band__img { position: absolute; inset: 0; z-index: -2; }
.band__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(3, 40, 51, .78) 0%, rgba(3, 40, 51, .35) 45%, rgba(3, 40, 51, 0) 75%);
}
.band__in { width: 100%; padding-top: 80px; padding-bottom: clamp(48px, 7vw, 88px); }
.band .h2 { color: #fff; max-width: 22ch; }
.band p:not(.eyebrow) { margin-top: 18px; max-width: 58ch; color: rgba(255, 255, 255, .88); font-size: 17px; }

/* ---------- floor plan ---------- */
.fp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.fp__plan { background: var(--mist); padding: clamp(14px, 2vw, 26px); }
.fp__map { position: relative; max-width: 520px; margin-inline: auto; }
.fp__map img { width: 100%; height: auto; }
.fp__zone {
    position: absolute;
    border: 2px solid transparent;
    background: transparent;
    transition: background .2s ease, border-color .2s ease;
}
.fp__zone:hover { background: rgba(8, 91, 114, .14); border-color: rgba(6, 66, 83, .45); }
.fp__zone.is-on { background: rgba(6, 66, 83, .16); border-color: var(--ink); }
.fp__zone:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fp__plan figcaption { text-align: center; }
.fp__panel { position: sticky; top: calc(var(--hdr) + 20px); }
.fp__media { position: relative; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.fp__photo { width: 100%; height: 100%; object-fit: cover; }
.fp__zoom { position: absolute; inset: 0; background-color: #fff; background-image: url('/assets/img/v2/floorplan.jpg'); background-repeat: no-repeat; }
.fp__zoom[hidden], .fp__photo[hidden] { display: none; }
.fp__tag {
    position: absolute;
    left: 12px; top: 12px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, .92);
    font: 600 11px/1 var(--sans);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
}
.fp__info { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 20px; }
.fp__name { font: 500 clamp(24px, 2.2vw, 30px)/1.15 var(--serif); color: var(--ink); }
.fp__area { font: 500 22px/1 var(--serif); color: var(--slate-deep); white-space: nowrap; font-variant-numeric: lining-nums; }
.fp__desc { margin-top: 8px; color: var(--ink-2); min-height: 3.4em; }
.fp__list { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.fp__room {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14.5px;
    color: var(--ink-2);
    transition: color .2s ease;
}
.fp__room em { font-style: normal; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.fp__room:hover { color: var(--ink); }
.fp__room.is-on { color: var(--ink); font-weight: 600; }
.fp__room.is-on em { color: var(--ink); }

.specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(48px, 6vw, 72px);
    border-top: 1px solid var(--line);
}
.specs div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.specs dd { color: var(--ink); font-size: 15.5px; }

/* ---------- site plan ---------- */
.sp {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
    align-items: stretch;
}
.sp__board { display: flex; flex-direction: column; justify-content: center; background: #fff; padding: clamp(10px, 1.6vw, 22px); box-shadow: 0 1px 0 var(--line); }
.sp__board .plan-map { max-width: 640px; width: 100%; margin-inline: auto; }
.sp__board figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.sp__scale { margin-left: auto; }
.dot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.dot--available { background: var(--ok); }
.dot--reserved { background: var(--hold); }
.dot--sold { background: var(--sold); }
.sp__panel { background: #fff; box-shadow: 0 1px 0 var(--line); }
.sp__detail { padding: 26px 26px 24px; border-bottom: 1px solid var(--line); }
.sp__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sp__title h3 { font: 500 32px/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.sp__facts { margin: 18px 0 22px; }
.sp__facts div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.sp__facts dt { color: var(--muted); }
.sp__facts dd { color: var(--ink); }
.sp__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sp__actions .btn { width: 100%; }
.sp__actions .tlink .ic { width: 17px; height: 17px; color: var(--wa); }
.sp__actions[hidden], .sp__sold[hidden] { display: none; }
.sp__sold { color: var(--muted); font-size: 14.5px; }
.sp__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.sp__row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    transition: background .2s ease;
}
.sp__list li:nth-child(odd) .sp__row { border-right: 1px solid var(--line); }
.sp__list li:nth-last-child(-n+2) .sp__row { border-bottom: 0; }
.sp__row:hover { background: var(--mist); }
.sp__row.is-on { background: var(--mist-2); }
.sp__no { font: 500 17px/1.2 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.sp__meta { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.sp__row .tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sp__row[data-status="sold"] .sp__no { color: var(--muted); }

.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    font: 700 10.5px/1 var(--sans);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.tag--available { background: rgba(44, 138, 86, .12); color: #1f6d42; }
.tag--reserved { background: rgba(176, 122, 42, .14); color: #855a19; }
.tag--sold { background: rgba(165, 68, 59, .1); color: #8a352d; }

/* plan zones (site plan + WhatsApp picker) */
.plan-map { position: relative; }
.plan-map img { width: 100%; height: auto; }
.zone {
    position: absolute;
    display: block;
    border: 1.5px solid transparent;
    padding: 0;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.zone b {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    min-width: 32px; height: 32px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font: 700 12.5px/1 var(--sans);
    color: #fff;
    box-shadow: 0 2px 10px rgba(6, 66, 83, .3);
    transition: transform .2s var(--ease);
}
.zone--available { background: rgba(44, 138, 86, .12); border-color: rgba(44, 138, 86, .5); }
.zone--available b { background: var(--ok); }
.zone--available:hover { background: rgba(44, 138, 86, .24); border-color: var(--ok); }
.zone--reserved { background: rgba(176, 122, 42, .16); border-color: rgba(176, 122, 42, .55); }
.zone--reserved b { background: var(--hold); }
.zone--sold { background: rgba(165, 68, 59, .16); border-color: rgba(165, 68, 59, .55); }
.zone--sold b { background: var(--sold); }
.zone.is-on { border-color: var(--ink); border-width: 2.5px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
.zone.is-on b { transform: translate(-50%, -50%) scale(1.15); background: var(--ink); }
.zone:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* infrastructure */
.infra { margin-top: clamp(48px, 6vw, 80px); }
.infra .h3 { margin-bottom: 22px; }
.infra__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.infra__grid li { display: flex; align-items: flex-start; gap: 16px; padding: 22px 22px; background: var(--mist); font-size: 15px; color: var(--ink); }
.infra__grid .ic { width: 26px; height: 26px; color: var(--slate-deep); margin-top: 1px; }

/* ---------- prices ---------- */
.curswitch { display: inline-flex; border: 1px solid var(--line-2); padding: 3px; }
.curswitch button { min-width: 64px; padding: 8px 14px; font: 600 13px/1 var(--sans); color: var(--muted); transition: background .2s ease, color .2s ease; }
.curswitch button.is-on { background: var(--ink); color: #fff; }
.offers { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: clamp(14px, 1.8vw, 24px); }
.offer {
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 2.6vw, 36px);
    border: 1px solid var(--line);
    background: #fff;
}
.offer__label { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.offer__price { margin-top: 14px; font: 500 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.offer__price small { font: 400 15px/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.offer__desc { margin-top: 14px; color: var(--ink-2); }
.offer__note { margin-top: auto; padding-top: 18px; font-size: 13.5px; color: var(--muted); }
.offer .tlink { margin-top: 18px; align-self: flex-start; }
.offer--photo { position: relative; isolation: isolate; padding: 0; border: 0; color: #fff; min-height: 380px; overflow: hidden; }
.offer--photo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.offer--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 40, 51, .86) 0%, rgba(3, 40, 51, .7) 55%, rgba(3, 40, 51, .82) 100%); }
.offer__body { display: flex; flex-direction: column; height: 100%; padding: clamp(26px, 2.6vw, 36px); }
.offer--photo .offer__label { color: rgba(255, 255, 255, .8); }
.offer--photo .offer__price { color: #fff; }
.offer--photo .offer__price small, .offer--photo .offer__desc { color: rgba(255, 255, 255, .86); }
.offer--photo .btn { margin-top: auto; align-self: flex-start; }
.offer--photo .offer__desc { margin-bottom: 24px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }

.steps { margin-top: clamp(48px, 6vw, 80px); }
.steps .h3 { margin-bottom: 22px; }
.steps ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 15px/1 var(--serif); color: var(--slate); font-variant-numeric: lining-nums; margin-bottom: 6px; }
.steps b { font: 600 16px/1.35 var(--sans); color: var(--ink); }
.steps span { color: var(--ink-2); font-size: 15px; }

/* ---------- gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 16vw, 236px);
    grid-template-areas:
        "a a b c"
        "a a d e"
        "f g h i";
    gap: clamp(8px, 1vw, 14px);
}
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; }
.g-f { grid-area: f; } .g-g { grid-area: g; } .g-h { grid-area: h; } .g-i { grid-area: i; }
.gallery a { position: relative; display: block; overflow: hidden; background: var(--mist-2); cursor: zoom-in; isolation: isolate; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a::after { content: ""; position: absolute; inset: 50% 0 0 0; background: linear-gradient(0deg, rgba(3, 40, 51, .62), rgba(3, 40, 51, 0)); pointer-events: none; }
.gallery span { position: absolute; left: 14px; right: 14px; bottom: 11px; z-index: 2; font: 500 13px/1.35 var(--sans); color: #fff; }

.lb { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; background: rgba(3, 32, 41, .96); }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .85); }
.lb button { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 20px; transition: background .2s ease; }
.lb button:hover { background: rgba(255, 255, 255, .12); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- location ---------- */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: stretch; }
.loc__copy .h2 { margin-bottom: 30px; }
.loc__group { display: flex; align-items: center; gap: 10px; margin: 26px 0 6px; font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.loc__group .ic { width: 20px; height: 20px; }
.dist { list-style: none; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15.5px; }
.dist small { display: block; font-size: 13px; color: var(--muted); }
.dist em { font: 500 19px/1 var(--serif); font-style: normal; color: var(--ink); white-space: nowrap; font-variant-numeric: lining-nums; }
.loc__map { min-height: 420px; background: var(--mist); }
.loc__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.25) contrast(1.02); }

/* ---------- reserve ---------- */
.reserve { position: relative; isolation: isolate; color: #fff; padding: clamp(72px, 9vw, 128px) 0; overflow: hidden; }
.reserve__img { position: absolute; inset: 0; z-index: -2; }
.reserve__img img { width: 100%; height: 100%; object-fit: cover; }
.reserve::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 66, 83, .94) 0%, rgba(8, 91, 114, .84) 50%, rgba(8, 91, 114, .62) 100%); }
.reserve__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(36px, 6vw, 96px); align-items: center; }
.reserve .h2 { color: #fff; }
.reserve__copy > p:not(.eyebrow) { margin-top: 18px; max-width: 50ch; color: rgba(255, 255, 255, .86); font-size: 17px; }
.contactlist { list-style: none; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .22); max-width: 560px; }
.contactlist li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.contactlist span { font: 600 11.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .66); white-space: nowrap; }
.contactlist a, .contactlist b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; text-align: right; color: #fff; }
.contactlist a .ic { width: 16px; height: 16px; }
.contactlist a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { background: #fff; color: var(--ink-2); padding: clamp(26px, 3vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.form h3 { font: 500 30px/1.1 var(--serif); color: var(--ink); }
.form > p { margin-top: 6px; margin-bottom: 20px; font-size: 14.5px; color: var(--muted); }
.form form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font: 600 12.5px/1.2 var(--sans); color: var(--ink); }
.field input, .field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line-2);
    border-radius: 3px;
    background: #fff;
    font-size: 15.5px;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
    appearance: none;
    padding-right: 36px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23085b72' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(8, 91, 114, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px; }
.field-row--even { grid-template-columns: 1fr 1fr; }
.form .btn--block { margin-top: 6px; }
.form__pdf { justify-self: center; font-size: 14px; }
.form__pdf .ic { width: 16px; height: 16px; }
.flash { padding: 14px 16px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; }
.flash--ok { background: rgba(44, 138, 86, .1); color: #1d5e3a; }
.flash--err { background: rgba(165, 68, 59, .09); color: #7f3029; }

/* ---------- footer ---------- */
.ftr { background: var(--mist); color: var(--ink-2); padding: clamp(56px, 7vw, 88px) 0 28px; }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px clamp(24px, 4vw, 56px); }
.ftr__brand p { margin-top: 16px; max-width: 40ch; font-size: 14.5px; color: var(--muted); }
.ftr__msingi { display: inline-block; margin-top: 22px; opacity: .85; transition: opacity .2s ease; }
.ftr__msingi:hover { opacity: 1; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.ftr__col h4 { margin-bottom: 4px; font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ftr__col a { text-decoration: none; color: var(--ink); }
.ftr__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__col span { color: var(--ink-2); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }

/* ---------- floating call / WhatsApp ---------- */
.fabs { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    font: 600 14px/1 var(--sans);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(3, 40, 51, .45);
    transition: transform .25s var(--ease), box-shadow .25s ease;
}
.fab:hover { transform: translateY(-2px); }
.fab .ic { width: 19px; height: 19px; }
.fab--call { background: var(--ink); }
.fab--wa { background: var(--wa); }
.fab--book { display: none; }
@media (min-width: 721px) {
    .fabs { transition: opacity .3s ease, transform .3s var(--ease); }
    .fabs.is-away { opacity: 0; transform: translateY(12px); pointer-events: none; }
}

/* ---------- WhatsApp qualifier ---------- */
.qmodal { position: fixed; inset: 0; z-index: 90; display: none; }
.qmodal.is-open { display: block; }
.qmodal__backdrop { position: absolute; inset: 0; background: rgba(3, 32, 41, .66); }
.qmodal__card {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: min(620px, calc(100vw - 24px));
    max-height: min(90svh, 780px);
    overflow-y: auto;
    background: #fff;
    padding: 30px clamp(18px, 4vw, 36px) 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
}
.qmodal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); }
.qmodal__close:hover { background: var(--mist); }
.qmodal__head { text-align: center; margin-bottom: 18px; }
.qmodal__brand { display: block; font: 500 18px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.qmodal__sub { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.qmodal__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.qmodal__dots i { width: 28px; height: 3px; background: var(--line); transition: background .3s ease; }
.qmodal__dots i.on { background: var(--ink); }
.qstep { display: none; }
.qstep.is-on { display: block; animation: qfade .3s ease; }
@keyframes qfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.qstep h3 { margin-bottom: 6px; text-align: center; font: 500 clamp(22px, 3vw, 26px)/1.2 var(--serif); color: var(--ink); }
.qstep > p { margin-bottom: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.plan-map--pick { border: 1px solid var(--line); background: #fff; }
.plan-map--pick .zone { cursor: pointer; }
.plan-map--pick .zone b { min-width: 24px; height: 24px; font-size: 11px; }
.plan-map--pick .zone.is-picked { background: rgba(44, 138, 86, .36); border-color: #1f6d42; }
.qopts { display: grid; gap: 10px; }
.qopt {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    border: 1px solid var(--line-2);
    background: #fff;
    font: 600 15px/1.3 var(--sans);
    color: var(--ink);
    transition: border-color .2s ease, background .2s ease;
}
.qopt span { display: block; margin-top: 3px; font-weight: 400; font-size: 13px; color: var(--muted); }
.qopt:hover { border-color: var(--ink); background: var(--mist); }
.qopt--ghost { margin-top: 12px; text-align: center; border-style: dashed; }
.qsummary { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.qsummary span { padding: 7px 12px; background: var(--mist); font-size: 13px; color: var(--ink); }
.qform { display: grid; gap: 10px; }
.qform input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 15.5px; color: var(--ink); }
.qform input:focus { outline: none; border-color: var(--ink); }
.qerr { color: #8a352d; font-size: 13.5px; }
.qnote { text-align: center; font-size: 12.5px; color: var(--muted); }
.qmodal__foot { margin-top: 14px; text-align: center; }
.qback { padding: 8px 12px; font-size: 14px; color: var(--slate-deep); }
.qback:hover { text-decoration: underline; }

/* ============================================================
   Landing pages (villas / plots for sale)
   ============================================================ */
.hero--page { min-height: clamp(520px, 84svh, 820px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.prose { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose__lead { font: 500 clamp(26px, 2.8vw, 40px)/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.prose__copy p { color: var(--ink-2); max-width: 62ch; }
.prose__copy p + p { margin-top: 16px; }
.prose__copy p:first-child { font-size: 18px; color: var(--ink); }
.prose__copy a:not(.btn):not(.tlink) { color: var(--ink); text-underline-offset: 4px; }
.prose__copy .btn, .prose__copy .tlink { margin-top: 24px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.point { background: #fff; padding: clamp(26px, 3vw, 40px); }
.point .ic { width: 30px; height: 30px; color: var(--slate-deep); margin-bottom: 18px; }
.point h3 { font: 500 clamp(21px, 1.9vw, 25px)/1.2 var(--serif); color: var(--ink); margin-bottom: 10px; }
.point p { color: var(--ink-2); font-size: 15px; }
.pair { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.pair img { width: 100%; height: 100%; min-height: 300px; aspect-ratio: 4 / 3; object-fit: cover; }
.pair img.pair__plan { object-fit: contain; background: #fff; padding: clamp(10px, 2vw, 24px); border: 1px solid var(--line); }
.deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.deal .offer--photo { min-height: 440px; }
.deal .offer--photo .h2 { color: #fff; margin: 14px 0 0; }
.checks { list-style: none; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.checks li::before { content: ""; flex-shrink: 0; width: 14px; height: 8px; margin-top: 7px; border-left: 1.8px solid var(--ok); border-bottom: 1.8px solid var(--ok); transform: rotate(-45deg); }
.avail { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.avail a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink); text-decoration: none; }
.avail a:hover { border-color: var(--ink); }
.avail a.is-sold { color: var(--muted); text-decoration: line-through; }
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font: 500 clamp(19px, 1.7vw, 22px)/1.35 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); max-width: 70ch; }
.faq details a { color: var(--ink); text-underline-offset: 3px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.related a { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 320px; overflow: hidden; color: #fff; text-decoration: none; }
.related img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.related a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 40, 51, .82), rgba(3, 40, 51, .05) 70%); }
.related a:hover img { transform: scale(1.04); }
.related div { padding: clamp(22px, 3vw, 36px); }
.related span { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.related h3 { display: flex; align-items: center; gap: 10px; margin-top: 8px; font: 500 clamp(24px, 2.6vw, 34px)/1.15 var(--serif); }
.related h3 .ic { width: 24px; height: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
    .hdr__tel { display: none; }
}
@media (max-width: 1020px) {
    .hdr__nav, .hdr__cta { display: none; }
    .burger { display: block; }
    .keys { grid-template-columns: 1fr 1fr; }
    .keys__cell:nth-child(3) { border-left: 0; }
    .keys__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
    .intro, .fp, .loc, .reserve__in, .prose, .deal { grid-template-columns: 1fr; }
    .fp__panel { position: static; }
    .sp { grid-template-columns: 1fr; }
    .offers { grid-template-columns: 1fr 1fr; }
    .offers .offer--photo { grid-column: 1 / -1; min-height: 340px; }
    .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ftr__top { grid-template-columns: 1fr 1fr; }
    .ftr__brand { grid-column: 1 / -1; }
    .head { grid-template-columns: 1fr; }
    .head__aside { justify-self: start; }
}
@media (max-width: 720px) {
    :root { --hdr: 64px; }
    body { font-size: 15.5px; padding-bottom: 64px; }
    .brand__name { font-size: 16px; letter-spacing: .16em; }
    .hero { min-height: 640px; }
    .hero::after { background: linear-gradient(0deg, rgba(3, 40, 51, .8) 0%, rgba(3, 40, 51, .5) 55%, rgba(3, 40, 51, .3) 100%); }
    .hero__in { padding-bottom: 76px; }
    .hero__cta .btn { width: 100%; }
    .keys { grid-template-columns: 1fr; margin-top: -40px; }
    .keys__cell { border-left: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
    .keys__cell:first-child { border-top: 0; }
    .keys__link { padding: 18px 20px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats div:last-child { grid-column: 1 / -1; }
    .fp__list { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr; }
    .sp__detail { padding: 22px 20px; }
    .sp__row { padding: 12px 14px; }
    .zone b { min-width: 22px; height: 22px; font-size: 10px; }
    .infra__grid, .steps ol, .points, .related, .pair { grid-template-columns: 1fr; }
    .offers { grid-template-columns: 1fr; }
    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 42vw;
        grid-template-areas: "a a" "b c" "d e" "f g" "h i";
    }
    .gallery .g-a { grid-row: span 1; }
    .loc__map, .loc__map iframe { min-height: 320px; }
    .field-row { grid-template-columns: 1fr; }
    .contactlist li { flex-direction: column; gap: 4px; }
    .contactlist a, .contactlist b { text-align: left; }
    .ftr__top { grid-template-columns: 1fr; }
    .ftr__base { flex-direction: column; }
    /* phone action bar */
    .fabs { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -12px rgba(3, 40, 51, .25); }
    .fab { flex: 1; justify-content: center; height: 60px; padding: 0 8px; border-radius: 0; box-shadow: none; font-size: 14px; }
    .fab:hover { transform: none; }
    .fab--call { background: #fff; color: var(--ink); }
    .fab--wa { background: #fff; color: #17804a; border-left: 1px solid var(--line); }
    .fab--book { display: inline-flex; background: var(--ink); color: #fff; flex: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   v2 (13 Oct 2026) — more visual, fewer words, scroll effects.
   Effects only move, scale or crop; nothing is hidden, so the
   page still reads (and screenshots) correctly without them.
   ============================================================ */

.head--tight { grid-template-columns: 1fr auto; margin-bottom: clamp(28px, 3.5vw, 44px); }
.h2__chip {
    display: inline-flex; align-items: center; gap: 2px;
    margin-left: 14px; padding: 7px 12px; vertical-align: middle;
    background: #fff; box-shadow: 0 1px 0 var(--line);
    font: 600 13px/1 var(--sans); letter-spacing: 0; color: var(--ink);
}

/* hero intro */
.hero__img img { animation: heroIn 2.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__line { animation: lineIn .9s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s + .25s); }
@keyframes lineIn { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
.hero h1 { font-size: clamp(40px, 5.2vw, 80px); }

/* ---------- bento ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(210px, 22vw, 300px));
    grid-template-areas: "photo photo eight acre" "photo photo ocean secure";
    gap: clamp(10px, 1.2vw, 16px);
}
.b-photo { grid-area: photo; } .b-eight { grid-area: eight; } .b-acre { grid-area: acre; }
.b-ocean { grid-area: ocean; } .b-secure { grid-area: secure; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(18px, 2vw, 28px); margin: 0; }
.tile--ink { background: var(--ink); color: #fff; }
.tile--slate { background: var(--slate-deep); color: #fff; }
.tile--tint { background: var(--mist); color: var(--ink); }
.tile--tint .tile__txt { color: var(--ink-2); }
.tile--white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); justify-content: center; }
.tile--photo { color: #fff; }
.tile .fx-par { position: absolute; inset: -9% 0; z-index: -2; }
.tile .fx-par img { width: 100%; height: 100%; object-fit: cover; }
.tile--photo figcaption { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .9); }
.tile--photo::after { content: ""; position: absolute; inset: 40% 0 0 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 40, 51, .7), rgba(3, 40, 51, 0)); }
.tile__num { font: 500 clamp(56px, 6.6vw, 104px)/.86 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.tile__num small { font: 600 .26em/1 var(--sans); letter-spacing: .02em; margin-left: 6px; }
.tile__txt { font-size: 15px; line-height: 1.4; opacity: .9; }
.tile__small { font-size: 13px; opacity: .75; }
.tile__bar { margin-top: 10px; }
.tile__bar i.is-sold { background: rgba(255, 255, 255, .25); }
.tile__over { display: flex; flex-direction: column; gap: 6px; }
.tile__icons { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.tile__icons li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.tile__icons .ic { width: 28px; height: 28px; color: var(--slate-deep); }

/* ---------- story (pinned walk through the villa) ---------- */
.story { position: relative; background: var(--ink); color: #fff; }
.js .story { height: 360vh; }
.story__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.js .story__pin { position: sticky; top: 0; }
.story__media { position: absolute; inset: 0; }
.story__frame { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.js .story__frame:not([data-i="0"]) { clip-path: inset(100% 0 0 0); }
.story__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--s, 1)); will-change: transform; }
.story__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(3, 40, 51, .62) 0%, rgba(3, 40, 51, .2) 55%, rgba(3, 40, 51, 0) 80%),
                linear-gradient(0deg, rgba(3, 40, 51, .6) 0%, rgba(3, 40, 51, 0) 50%);
}
.story__copy { position: absolute; left: 0; right: 0; bottom: clamp(36px, 9vh, 96px); z-index: 2; }
.story__chaps { position: relative; min-height: calc(clamp(64px, min(13vw, 24vh), 210px) * .9 + 70px); }
.story__chap { position: absolute; left: 0; bottom: 0; transition: opacity .5s ease, translate .6s var(--ease); }
.js .story__chap:not(.is-on) { opacity: 0; translate: 0 30px; pointer-events: none; }
html:not(.js) .story__chap:not([data-i="0"]) { display: none; }
.story__word { display: block; font: 500 clamp(64px, min(13vw, 24vh), 210px)/.9 var(--serif); letter-spacing: -.035em; }
.story__chap p { margin-top: 14px; max-width: 36ch; text-shadow: 0 1px 16px rgba(0, 0, 0, .35); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; color: rgba(255, 255, 255, .92); }
.story__rail {
    position: absolute; right: var(--gut); top: 50%; z-index: 2; translate: 0 -50%;
    list-style: none; display: flex; flex-direction: column; gap: 14px;
    font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.story__rail li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .62); text-shadow: 0 1px 10px rgba(0, 0, 0, .55); transition: color .3s ease; }
.story__rail li i { position: relative; width: 36px; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.story__rail li i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }
.story__rail li.is-on { color: #fff; }
html:not(.js) .story__rail { display: none; }

/* ---------- floor plan chips ---------- */
.fp__desc { min-height: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.chips .ic { width: 20px; height: 20px; color: var(--slate-deep); }

/* ---------- site plan extras ---------- */
.sp__row { grid-template-columns: 1fr auto; align-items: center; padding: 14px 18px; }
.sp__row .tag { grid-row: auto; }
.icons-row { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(36px, 4.5vw, 56px); border-top: 1px solid var(--line-2); }
.icons-row li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 16px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.icons-row .ic { width: 30px; height: 30px; color: var(--slate-deep); }

/* ---------- gallery film ---------- */
.film { position: relative; background: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.film__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.film__note { font-size: 14px; color: var(--muted); }
.film__track {
    display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px);
    padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.film__track::-webkit-scrollbar { display: none; }
.film__item {
    --h: clamp(260px, 52vh, 480px);
    position: relative; flex: none; display: block; height: var(--h); aspect-ratio: 4 / 3;
    overflow: hidden; background: var(--mist-2); cursor: zoom-in; scroll-snap-align: start;
}
.film__item--xl { aspect-ratio: 16 / 10; }
.film__item--tall { aspect-ratio: 3 / 4; }
.film__item--low { --h: clamp(220px, 40vh, 380px); align-self: flex-end; }
.film__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.film__item:hover img { transform: scale(1.04); }
.film__item::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(0deg, rgba(3, 40, 51, .6), rgba(3, 40, 51, 0)); pointer-events: none; }
.film__item span { position: absolute; left: 16px; bottom: 13px; z-index: 2; font: 500 14px/1.3 var(--sans); color: #fff; }
.film__bar { display: none; margin-top: 26px; }
.film__bar i { display: block; height: 2px; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (min-width: 721px) {
    .js .film { padding: 0; }
    .js .film__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--hdr); }
    .js .film__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
    .js .film__bar { display: block; position: relative; }
    .js .film__bar::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 0; height: 2px; background: var(--line); }
}

/* ---------- price cards ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.pcard {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(360px, 34vw, 470px);
    display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
    padding: clamp(22px, 2.4vw, 32px); color: #fff; text-decoration: none;
}
.pcard > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 40, 51, .92) 0%, rgba(3, 40, 51, .55) 45%, rgba(3, 40, 51, .15) 100%); }
.pcard:hover > img { transform: scale(1.05); }
.pcard__label { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.pcard__price { font: 500 clamp(38px, 3.6vw, 56px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.pcard__price small { font: 400 15px/1 var(--sans); letter-spacing: 0; opacity: .8; }
.pcard__txt { font-size: 15px; color: rgba(255, 255, 255, .86); }
.pcard__go { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .28); font: 600 14.5px/1 var(--sans); }
.pcard__go .ic { transition: transform .3s var(--ease); }
.pcard:hover .pcard__go .ic { transform: translateX(4px); }

/* buying route with a line that fills on scroll */
.route { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(44px, 5vw, 64px); padding-top: 30px; }
.route::before, .route::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.route::after { background: var(--ink); transform-origin: left; }
.route li { position: relative; display: flex; flex-direction: column; gap: 4px; }
.route li::before { content: ""; position: absolute; left: 0; top: -30px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.route b { font: 600 16px/1.3 var(--sans); color: var(--ink); }
.route span { font-size: 14.5px; color: var(--muted); }

/* ---------- distance ruler ---------- */
.ruler { position: relative; height: 210px; margin: 0 clamp(8px, 4vw, 60px) 26px clamp(40px, 6vw, 90px); }
.ruler__line { position: absolute; left: 0; right: 0; top: 50%; height: 4px; translate: 0 -50%; background: var(--line-2); }
.ruler__walk, .ruler__drive { position: absolute; top: 0; bottom: 0; transform-origin: left; }
.ruler__walk { left: 0; width: 38.5%; background: var(--slate); }
.ruler__drive { left: 38.5%; right: 0; background: var(--ink); }
.ruler__walk::after, .ruler__drive::after { position: absolute; left: 50%; top: 12px; translate: -50% 0; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ruler__walk::after { content: "On foot"; color: var(--slate-deep); }
.ruler__drive::after { content: "By car"; color: var(--ink); left: 30%; }
.ruler__start { position: absolute; left: 0; top: 50%; translate: -50% -50%; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px rgba(6, 66, 83, .12); }
.ruler__start b { position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; font: 600 14px/1.2 var(--sans); color: var(--ink); white-space: nowrap; }
.ruler__stop { position: absolute; left: var(--x); top: 50%; width: 0; }
.ruler__stop i { position: absolute; left: 0; top: 0; width: 16px; height: 16px; translate: -50% -50%; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.ruler__stop em, .ruler__stop b, .ruler__stop small { position: absolute; left: 0; translate: -50% 0; white-space: nowrap; text-align: center; }
.ruler__stop em { font: 500 26px/1 var(--serif); font-style: normal; color: var(--ink); font-variant-numeric: lining-nums; }
.ruler__stop b { font: 600 14px/1.25 var(--sans); color: var(--ink); }
.ruler__stop small { font-size: 12.5px; color: var(--muted); }
.ruler__stop--up em { bottom: 52px; } .ruler__stop--up b { bottom: 30px; } .ruler__stop--up small { bottom: 12px; }
.ruler__stop--up:has(small) em { bottom: 68px; } .ruler__stop--up:has(small) b { bottom: 46px; } .ruler__stop--up:has(small) small { bottom: 26px; }
.ruler__stop--down em { top: 22px; } .ruler__stop--down b { top: 54px; } .ruler__stop--down small { top: 75px; }
.ruler__stop--end em, .ruler__stop--end b, .ruler__stop--end small { translate: -100% 0; text-align: right; left: 10px; }
.loc2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; margin-top: clamp(28px, 4vw, 48px); }
.loc2__more { list-style: none; align-self: start; border-top: 1px solid var(--line-2); }
.loc2__more li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; color: var(--ink); }
.loc2__more em { font: 500 18px/1 var(--serif); font-style: normal; white-space: nowrap; font-variant-numeric: lining-nums; }
.loc2__map { min-height: 300px; background: var(--mist-2); }
.loc2__map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.3) contrast(1.02); }
.reserve__copy > p:not(.eyebrow) { font-size: 18px; }
.form h3 { margin-bottom: 16px; }

/* ---------- scroll-linked effects (progressive) ---------- */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .hero__img { animation: heroDrift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
        @keyframes heroDrift { to { translate: 0 20%; } }
        .hero__in { animation: heroLift linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
        @keyframes heroLift { to { translate: 0 -10vh; opacity: .2; } }

        .fx-rise { animation: fxRise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
        @keyframes fxRise { from { translate: 0 var(--y, 40px); } to { translate: 0 0; } }

        .fx-par img { animation: fxPar linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
        @keyframes fxPar { from { translate: 0 -6%; } to { translate: 0 6%; } }

        .fx-pops .zone b { animation: fxPop linear both; animation-timeline: view(); animation-range: entry calc(20% + var(--k, 0) * 9%) entry calc(60% + var(--k, 0) * 9%); }
        @keyframes fxPop { 0% { scale: .25; } 70% { scale: 1.18; } 100% { scale: 1; } }

        .fx-route::after { animation: fxFill linear both; animation-timeline: view(); animation-range: entry 60% cover 55%; }
        .fx-ruler .ruler__walk { animation: fxFill linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
        .fx-ruler .ruler__drive { animation: fxFill linear both; animation-timeline: view(); animation-range: cover 35% cover 55%; }
        @keyframes fxFill { from { scale: 0 1; } to { scale: 1 1; } }
        .fx-ruler .ruler__stop i { animation: fxPop linear both; animation-timeline: view(); animation-range: entry calc(50% + var(--i, 0) * 10%) cover calc(30% + var(--i, 0) * 6%); }

        .fx-clip { animation: fxClip linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
        @keyframes fxClip { from { clip-path: inset(8% 6% 8% 6%); } to { clip-path: inset(0 0 0 0); } }
    }
}

/* ---------- responsive (v2) ---------- */
@media (max-width: 1020px) {
    .bento { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(260px, 50vw, 420px) repeat(2, clamp(180px, 30vw, 260px)); grid-template-areas: "photo photo" "eight acre" "ocean secure"; }
    .pcards { grid-template-columns: 1fr 1fr; }
    .pcards .pcard--best { grid-column: 1 / -1; }
    .icons-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .story__rail { display: none; }
}
@media (max-width: 720px) {
    .head--tight { grid-template-columns: 1fr; }
    .h2__chip { margin: 10px 0 0; display: flex; width: max-content; }
    .bento { grid-template-rows: 300px repeat(2, 210px); }
    .tile__icons { gap: 14px 8px; }
    .tile__icons li { font-size: 13px; }
    .js .story { height: 320vh; }
    .story__chap p { max-width: 24ch; }
    .pcards { grid-template-columns: 1fr; }
    .pcard { min-height: 330px; }
    .route { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 22px; }
    .route::before, .route::after { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
    .route::after { transform-origin: top; }
    .route li::before { left: -34px; top: 2px; }
    .icons-row { grid-template-columns: 1fr 1fr; }
    .film__item { --h: 240px; }
    .film__item--low { --h: 240px; align-self: center; }
    .film__item--xl { aspect-ratio: 4 / 3; }
    /* the ruler turns vertical */
    .ruler { height: auto; margin: 0 0 10px; padding: 6px 0 6px 34px; display: flex; flex-direction: column; gap: 22px; }
    .ruler__line { left: 9px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; translate: 0 0; }
    .ruler__walk { left: 0; right: 0; width: auto; top: 0; height: 38%; bottom: auto; transform-origin: top; }
    .ruler__drive { left: 0; right: 0; top: 38%; bottom: 0; transform-origin: top; }
    .ruler__walk::after, .ruler__drive::after { display: none; }
    .ruler__start { position: relative; left: auto; top: auto; translate: 0 0; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; }
    .ruler__start::before { content: ""; position: absolute; left: -34px; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
    .ruler__start b { position: static; translate: 0 0; }
    .ruler__stop { position: relative; left: auto; top: auto; width: auto; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
    .ruler__stop i { left: -25px; top: 9px; }
    .ruler__stop em, .ruler__stop b, .ruler__stop small { position: static !important; translate: 0 0 !important; text-align: left !important; white-space: normal; }
    .ruler__stop em { grid-column: 2; grid-row: 1; font-size: 20px; }
    .ruler__stop b { grid-column: 1; grid-row: 1; }
    .ruler__stop small { grid-column: 1; }
    .loc2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .fx-ruler .ruler__walk, .fx-ruler .ruler__drive { animation-name: fxFillY; }
        .fx-route::after { animation-name: fxFillY; }
        @keyframes fxFillY { from { scale: 1 0; } to { scale: 1 1; } }
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero__img img, .hero__line { animation: none; }
}

/* ---------- floating "Book a private viewing" form (13 Oct) ---------- */
.enq-trigger {
    position: fixed; left: 20px; bottom: 20px; z-index: 50;
    display: flex; align-items: center; gap: 12px; max-width: 340px;
    padding: 8px 8px 8px 8px; background: #fff; text-align: left;
    box-shadow: 0 18px 40px -12px rgba(6, 66, 83, .45), 0 0 0 1px var(--line);
    transition: opacity .3s ease, transform .3s var(--ease);
}
.enq-trigger:hover { transform: translateY(-2px); }
.enq-trigger.is-away { opacity: 0; transform: translateY(14px); pointer-events: none; }
.enq-trigger__img img { width: 52px; height: 52px; object-fit: cover; }
.enq-trigger__copy { display: flex; flex-direction: column; gap: 2px; padding-right: 4px; }
.enq-trigger__copy b { font: 600 14.5px/1.25 var(--sans); color: var(--ink); }
.enq-trigger__copy small { font-size: 12.5px; color: var(--muted); }
.enq-trigger__go { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; }
.enq-trigger__go .ic { width: 18px; height: 18px; }
.qcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.qcard {
    position: relative; isolation: isolate; overflow: hidden; min-height: 150px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
    padding: 14px; color: #fff; text-align: left;
}
.qcard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.qcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 40, 51, .88) 0%, rgba(3, 40, 51, .25) 70%); }
.qcard:hover img { transform: scale(1.05); }
.qcard__price { font: 600 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.qcard b { font: 500 22px/1.15 var(--serif); }
.qcard small { font-size: 13px; opacity: .88; }
.qcard.is-picked { outline: 3px solid var(--ink); outline-offset: 2px; }
.qopt.is-picked { border-color: var(--ink); background: var(--mist); }
.emodal .qform button[disabled] { opacity: .6; }
.qdone { text-align: center; }
.qdone.is-on { display: block; }
.qdone__tick { width: 56px; height: 56px; margin: 6px auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 26px; }
.qdone > p { text-align: center; margin: 4px 0 14px; color: var(--ink-2); }
.qdone__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.qdone__actions .btn { min-height: 46px; padding: 0 18px; font-size: 14px; }
.qdone__actions .btn .ic { width: 17px; height: 17px; }
@media (max-width: 720px) {
    .enq-trigger { display: none; }
    .qcard { min-height: 120px; }
    .qcard b { font-size: 19px; }
}


/* ---------- legal links, form privacy note (14 Oct) ---------- */
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14px; }
.ftr__legal a, .ftr__legal button { padding: 0; border: 0; background: none; color: var(--ink); font: 500 14px/1.6 var(--sans); text-decoration: none; cursor: pointer; }
.ftr__legal a:hover, .ftr__legal button:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__legal + .ftr__base { margin-top: 14px; }
.form__privacy { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.form__privacy a, .qnote a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.loc2__map[data-st-embed] { min-height: 300px; }
main:focus { outline: none; }
/* keep the cookie banner clear of the phone action bar */
@media (max-width: 720px) { html .st-consent { bottom: 70px; max-height: calc(100vh - 90px); } html .st-a11y-btn { bottom: 150px; } }

/* HTML sitemap */
.page-top { padding-top: calc(var(--hdr) + clamp(48px, 6vw, 80px)); }
.page-top .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.smap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(32px, 6vw, 96px); }
.smap ul { list-style: none; margin-top: 12px; border-top: 1px solid var(--line); }
.smap li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.smap li a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .smap { grid-template-columns: 1fr; } }

/* contrast fixes from the automated check (14 Oct) */
.brand--ink .brand__by { opacity: 1; color: var(--muted); }
