/* Alizés website. Layout language after vilacarnauba.com, personalised: navy, gold, blush,
 * a serif display face and a gold wave line from the logo. Colours only via tokens.css.
 * Look and motion follow the previews the owner approved on 2026-09-26. */

:root {
  --site-max: 1180px;
  --gutter: 20px;
  --section-y: 72px;
  --site-text: 16px;
  --display-xl: clamp(40px, 6.4vw, 84px);
  --display-l: clamp(30px, 4vw, 48px);
  --display-m: clamp(24px, 2.6vw, 32px);
  --tracking-wide: 0.18em;
  --header-h: 76px;
  --float-clearance: 168px;   /* footer room for the pinned pill and WhatsApp button (owner 2026-09-26) */
  --hero-scrim: color-mix(in srgb, var(--navy-900) 50%, transparent);   /* behind the nav over the hero */
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-y: 96px; } }
@media (min-width: 1280px) { :root { --section-y: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
body { font-size: var(--site-text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--site-max)); margin-inline: auto; }
.center { text-align: center; }
.section { position: relative; padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--surface-dark); color: var(--text-on-dark); }
.section--head { padding-top: calc(var(--header-h) + var(--section-y)); }

.eyebrow { margin: 0 0 var(--space-3); font: 600 var(--text-caption) / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-accent); }
.section--dark .eyebrow, .stats .eyebrow, .site-footer .eyebrow, .hero .eyebrow { color: var(--gold-500); }
.heading { margin-bottom: var(--space-5); font-family: var(--font-display); font-weight: 300; font-size: var(--display-l); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.heading em { font-style: normal; color: var(--text-accent); }
.section--dark .heading em { color: var(--gold-500); }
.lede { max-width: 62ch; margin: 0 auto; color: var(--text-second); line-height: var(--leading-body); }
.lede--large { font-family: var(--font-display); font-size: var(--display-m); font-weight: 300; line-height: var(--leading-snug); color: var(--text); }
.section--dark .lede { color: var(--text-on-dark); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 var(--space-6);
  text-align: center; text-wrap: balance;   /* a label that wraps on a phone stays centred (owner 2026-10-04) */
  border: 1px solid transparent; border-radius: var(--radius-pill); text-decoration: none; cursor: pointer;
  font: 600 var(--text-caption) / 1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.btn--primary { background: var(--fill-primary); color: var(--text-on-fill); }
.btn--primary:hover { background: var(--fill-primary-hover); }
.btn--gold { background: var(--fill-accent); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-300); }
.btn--outline { border-color: var(--border-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--fill-primary); }
.btn--outline-light { border-color: var(--gold-500); color: var(--text-on-dark); }
.btn--outline-light:hover { background: var(--gold-500); color: var(--navy-900); }

/* Header: transparent over a hero and scrolls away with it (owner 2026-09-26, like
 * vilacarnauba.com). There is no solid or sticky state; only the open menu is fixed. */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  background: var(--page); color: var(--text); }
.site-header.is-over-hero:not([data-open="true"]) { background: transparent; color: var(--text-on-dark); }
/* Over the hero a navy scrim sits behind the nav, inside the header and so above the cursor light:
 * the light text keeps AA even where the photo is a bright sky and the light brightens it (tested). */
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: -1; height: 150px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, var(--hero-scrim) 0%, var(--hero-scrim) 36%, transparent 100%); }
.site-header.is-over-hero:not([data-open="true"])::before { opacity: 1; }
.site-header[data-open="true"] { position: fixed; }
.brand { position: relative; z-index: 2; display: block; }
.brand-logo { height: 52px; width: auto; }
.brand-logo--light { display: none; }
.site-header.is-over-hero:not([data-open="true"]) .brand-logo--light { display: block; }
.site-header.is-over-hero:not([data-open="true"]) .brand-logo--dark { display: none; }
body:not(.page-home) .site-header .brand { visibility: hidden; }   /* the Início button sits there on every non-home page */

.nav-toggle { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out); }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.site-header[data-open="true"] .bars { background: transparent; }
.site-header[data-open="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.site-header[data-open="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-6);
  background: var(--page); color: var(--text); font-family: var(--font-display); font-size: var(--display-m);
  visibility: hidden; opacity: 0; transition: opacity var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base); }
.site-header[data-open="true"] .site-nav { visibility: visible; opacity: 1; transition: opacity var(--dur-base) var(--ease-out); }
/* Hover and focus keep the text colour, so it never sinks into the photo or the cursor light, and
 * draw a gold line under it instead. */
.site-nav a, .site-footer a { text-decoration-line: none; text-decoration-color: var(--line-accent); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.site-nav a:hover, .site-nav a:focus-visible, .site-footer a:hover, .site-footer a:focus-visible { color: inherit; text-decoration-line: underline; }
body.nav-open { overflow: hidden; }
.lang-switch { display: flex; gap: var(--space-4); font: 600 var(--text-small) / 1 var(--font-sans); letter-spacing: var(--tracking-wide); }
.lang-switch a[aria-current="true"] { color: var(--text-accent); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; visibility: visible; opacity: 1; flex-direction: row; gap: var(--space-8); background: none; color: inherit;
    font: 600 var(--text-caption) / 1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; transition: none; }
  .site-header.is-over-hero .lang-switch a[aria-current="true"] { color: var(--gold-500); }
}

/* Hero: a muted video loop or a photo, and a navy translucent panel behind the text */
.hero { position: relative; display: grid; align-items: end; min-height: 100svh; overflow: hidden; background: var(--navy-900); color: var(--text-on-dark); }
.hero--dev { min-height: 86svh; }
.hero-media { position: absolute; inset: 0; transform-origin: center; will-change: transform; }
.hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media > .hero-fallback { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--navy-900) 55%, transparent) 0%, transparent 25%, transparent 55%, color-mix(in srgb, var(--navy-900) 55%, transparent) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: calc(var(--header-h) + var(--space-10)) 72px; }
.hero-panel { display: inline-block; max-width: 640px; padding: 32px 36px 36px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--navy-900) 58%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 519px) { .hero-panel { padding: 22px 20px 24px; } }
.hero-title { max-width: 15ch; margin-bottom: var(--space-5); font-family: var(--font-display); font-weight: 300; font-size: var(--display-xl); line-height: 1.04; letter-spacing: var(--tracking-tight); }
.hero-title em { font-style: normal; color: var(--gold-300); }
.hero-sub { max-width: 46ch; margin: 0 0 var(--space-8); font-size: 17px; line-height: var(--leading-body); }
.img-missing { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.section .img-missing { background: linear-gradient(135deg, var(--blush-200), var(--gold-100)); }

/* The wave line between sections */
.wave { position: absolute; left: 0; right: 0; bottom: -32px; z-index: 1; display: block; height: 64px; pointer-events: none;
  background: url("/img/brand/wave-line.svg") center / 100% 100% no-repeat; }

/* Bands whose photo drifts at 0.21x the scroll (site.js). The frame clips the drift. */
.parallax { overflow: hidden; }
.stats-media, .feature-media { position: absolute; inset: 0; overflow: hidden; }
.stats-media > *, .feature-media > * { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; will-change: transform; }

/* Stats band: a navy wash over a photo */
.stats { position: relative; overflow: hidden; padding-block: 88px; background: var(--navy-800); color: var(--text-on-dark); }
.stats::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--navy-900) 72%, transparent); }
.stats > .container { position: relative; z-index: 1; }
.stats-grid { display: grid; gap: var(--space-10); grid-template-columns: 1fr; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-value { font-family: var(--font-display); font-weight: 300; font-size: var(--display-l); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { max-width: 28ch; margin: var(--space-3) auto 0; font: 600 var(--text-caption) / 1.5 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-300); }
.stat-sources { margin: var(--space-10) 0 0; text-align: center; font-size: var(--text-caption); color: var(--gold-300); }

/* Cards: the photo settles from a slight zoom as it scrolls in (site.js). Cards in a row are equal
 * height and the button sits at the bottom, so the buttons line up (owner 2026-09-26). */
.cards { display: grid; align-items: stretch; gap: var(--space-10) var(--space-6); grid-template-columns: 1fr; margin-top: var(--space-10); text-align: center; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-decoration: none; }
.card .btn, .offer .btn { margin-top: auto; }
.card-media { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.card-media > * { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.card-meta { margin: var(--space-2) 0 0; font: 600 var(--text-caption) / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-accent); }
.card-title { font-family: var(--font-display); font-weight: 400; font-size: var(--display-m); line-height: var(--leading-snug); }
.card-title a { text-decoration: none; }
.card-body { max-width: 44ch; margin: 0 0 var(--space-2); color: var(--text-second); }

/* Feature band: a solid two tone title over a photo with a navy scrim */
.feature { position: relative; display: grid; place-items: center; min-height: 72svh; overflow: hidden; background: var(--navy-900); text-align: center; }
.feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--navy-900) 50%, transparent); }
.feature-link { position: relative; z-index: 1; padding: var(--gutter); text-decoration: none; }
.feature-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(56px, 11vw, 160px); line-height: 0.95; color: var(--blush-50);
  text-shadow: 0 2px 30px color-mix(in srgb, var(--navy-900) 60%, transparent); }
.feature-title em { font-style: normal; color: var(--gold-300); }

/* Steps */
.steps { display: grid; gap: var(--space-10); margin: var(--space-10) 0 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--space-3); font-family: var(--font-display); font-size: var(--display-m); color: var(--text-accent); }
.step h3 { margin-bottom: var(--space-2); font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.step p { margin: 0; color: var(--text-second); }

/* Approach v2 (owner 2026-09-26): a two tone trust band, the top on lagoa, the steps,
 * pledges and WhatsApp button on blush. Ported from approach_v2.py. */
.approach { position: relative; overflow: hidden; }
.approach-top { padding-block: clamp(72px, 10vw, 120px); background: var(--lagoa-700); color: var(--text-on-dark); }
.approach-top .eyebrow { color: var(--gold-300); }
.approach-top .heading { max-width: 30ch; margin-inline: auto; font-size: var(--display-l); color: var(--blush-50); }
.approach-top .heading em { color: var(--gold-300); }
.approach-top .lede { max-width: 62ch; margin: var(--space-5) auto 0; color: var(--text-on-dark); }
.approach-body { padding-block: var(--space-4) clamp(72px, 9vw, 112px); background: var(--blush-100); color: var(--navy-800); }
.approach .steps { grid-template-columns: 1fr; gap: 0; margin-top: var(--space-10); text-align: left; }
.approach .step { padding: 28px 0; border-top: 1px solid color-mix(in srgb, var(--gold-500) 55%, transparent); }
.approach .step::before { margin-bottom: 14px; font-size: var(--display-l); line-height: 1; color: var(--gold-700); }
.approach .step h3 { font-size: 28px; color: var(--navy-800); }
.approach .step p { color: var(--navy-500); }
.pledges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) 28px; margin: var(--space-10) 0 0; padding: 0; list-style: none; }
.pledges li { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--text-caption) / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-700); }
.pledges svg { flex: none; color: var(--gold-500); }
.approach .actions { margin-top: var(--space-10); }
@media (max-width: 719px) { .pledges { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; } }
@media (min-width: 720px) { .approach .steps { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1100px) { .approach .steps { grid-template-columns: repeat(4, 1fr); column-gap: 36px; } .approach .step { padding-right: 8px; } }

/* Offers */
/* Offer cards wrap as a centred row of equal widths: a row with fewer cards than fit (two
 * titles, or the last card of four) sits in the middle instead of hugging the left edge. */
.offers { --offer-w: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6); margin-top: var(--space-10); text-align: left; }
.offers > * { flex: 0 1 var(--offer-w); min-width: 0; }
@media (min-width: 768px) { .offers { --offer-w: calc((100% - var(--space-6)) / 2); } }
@media (min-width: 1280px) { .offers { --offer-w: calc((100% - 2 * var(--space-6)) / 3); } }
.offer { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius); }
.offer h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.offer dl { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); margin: 0; font-size: var(--text-small); }
.offer dt { color: var(--text-second); }
.offer dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-features { margin: 0; padding-left: var(--space-4); color: var(--text-second); font-size: var(--text-small); }
.offer-note { margin: 0; font-size: var(--text-small); color: var(--text-second); }
.offer-price { margin: 0; font-family: var(--font-display); font-size: 28px; }
.offer-price-label { display: block; font: 600 var(--text-caption) / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-accent); }
.offer .btn { align-self: center; }
.status--sold { color: var(--text-danger); }
.status--reserved { color: var(--text-warning); }
.package-table, .lots-table { width: 100%; border-collapse: collapse; font-size: var(--text-small); }
.package-table td { padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.package-table td:last-child { text-align: right; }
.package-table tfoot td { font-weight: 600; border-bottom: 0; }
.table-wrap { overflow-x: auto; margin-top: var(--space-10); text-align: left; }
.lots-table th, .lots-table td { padding: var(--space-3); border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.lots-table thead th { font: 600 var(--text-caption) / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-accent); }
.fineprint { display: grid; gap: var(--space-2); max-width: 72ch; margin: var(--space-10) auto 0; font-size: var(--text-small); color: var(--text-second); }
.fineprint p { margin: 0; }
.amenities { max-width: 760px; margin: var(--space-8) auto 0; padding: 0; list-style: none; columns: 1; text-align: left; }
@media (min-width: 520px) { .amenities { columns: 2; } }
@media (min-width: 1024px) { .amenities { columns: 3; } }
.amenities li { break-inside: avoid; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.site-plan { margin-top: var(--space-8); }
.site-plan > * { margin-inline: auto; border-radius: var(--radius-sm); }
.draft-flag { margin: 0; padding: var(--space-3) var(--gutter); background: var(--bg-warning); color: var(--text-warning); text-align: center; font-weight: 600; }
.region-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }
.region-tabs a { padding: var(--space-2) var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); text-decoration: none; font: 600 var(--text-caption) / 1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.prose { max-width: 68ch; }
.prose p { line-height: var(--leading-body); color: var(--text-second); }

/* Photo strip: each photo settles from a slight zoom as it scrolls in (site.js) */
.strip-track { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--space-3); margin-top: var(--space-6); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-item { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); scroll-snap-align: start; }
.strip-item > * { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
@media (min-width: 768px) { .strip-track { grid-auto-columns: 34%; } }
@media (min-width: 1280px) { .strip-track { grid-auto-columns: 26%; } }
.strip-nav { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-5); }
.strip-nav button { width: 46px; height: 46px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: none; color: var(--text); cursor: pointer; font-size: 18px; }

/* Footer: the bottom padding keeps the pinned pill and WhatsApp button off the footer text (owner 2026-09-26) */
.site-footer { position: relative; padding-top: 64px; padding-bottom: calc(var(--float-clearance) + env(safe-area-inset-bottom, 0px));
  background: var(--navy-900); color: var(--text-on-dark); }
.footer-grid { display: grid; gap: var(--space-10); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-logo { height: 96px; width: auto; }
.footer-nav { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-company p { margin: 0 0 var(--space-2); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); margin-top: var(--space-10); padding-top: var(--space-5); border-top: 1px solid var(--navy-700); font-size: var(--text-small); color: var(--gold-300); }
.footer-legal p { margin: 0; }

/* Pinned controls: WhatsApp, the gold pill beside it, and "Início" on development pages */
.wa-float { position: fixed; right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: var(--radius-pill); background: var(--fill-primary); color: var(--gold-500); box-shadow: 0 8px 24px color-mix(in srgb, var(--navy-900) 35%, transparent); }
.wa-float:hover { background: var(--fill-primary-hover); }
.pill-float { position: fixed; right: calc(var(--space-4) + 68px); bottom: calc(var(--space-4) + 6px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; justify-content: center; text-align: center; text-wrap: balance; min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--fill-accent); color: var(--navy-900);
  text-decoration: none; font: 600 var(--text-caption) / 1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--navy-900) 30%, transparent); }
.pill-float:hover { background: var(--gold-300); }
@media (max-width: 519px) { .pill-float { padding: 0 14px; font-size: 10px; } }
.home-btn { position: fixed; top: calc(var(--space-4) + env(safe-area-inset-top, 0px)); left: var(--space-4); z-index: 60; display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: 0 18px 0 14px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--navy-900) 70%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--blush-50); text-decoration: none;
  font: 600 var(--text-caption) / 1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--navy-900) 30%, transparent); }
.home-btn svg { width: 16px; height: 16px; }
.home-btn:hover { background: var(--navy-800); }
body.nav-open .wa-float, body.nav-open .pill-float, body.nav-open .home-btn { display: none; }
/* The pinned pill hides while the hero, with the same call to action, is on screen (owner 2026-10-04) */
.pill-float { transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 0s; }
body.hero-in-view .pill-float { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms; }
@media (prefers-reduced-motion: reduce) { .pill-float, body.hero-in-view .pill-float { transition: none; transform: none; } }
.preview-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: var(--space-2); background: var(--fill-warning); color: var(--navy-900);
  text-align: center; font: 600 var(--text-caption) / 1 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.preview-banner ~ .wa-float { bottom: calc(var(--space-4) + 32px); }
.preview-banner ~ .pill-float { bottom: calc(var(--space-4) + 38px); }

/* Sourced figures: historical data and developer projections, always with their source */
.figures { display: grid; gap: var(--space-5); grid-template-columns: 1fr; margin-top: var(--space-10); text-align: left; }
@media (min-width: 768px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures-title { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 400; font-size: 26px; text-align: center; }
.figure { padding: var(--space-5); border-top: 1px solid var(--border-strong); }
.figure-value { margin: 0; font-family: var(--font-display); font-size: var(--display-m); }
.figure-label { margin: var(--space-2) 0 0; color: var(--text); }
.figure-source { margin: var(--space-2) 0 0; font-size: var(--text-small); color: var(--text-second); }

/* Email line under the contact buttons */
.contact-email { margin: var(--space-6) 0 0; font-size: var(--text-small); }
.contact-email a { color: var(--gold-300); }

/* Development landing page (Task 12e) */
.split { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.1fr 1fr; } }
.split-media > img, .split-media > .img-missing { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.split-copy { text-align: left; }
.split-copy .lede { margin: 0; }
.stats-grid--4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-5); }
@media (min-width: 1024px) { .stats-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.amenities li { font-family: var(--font-display); font-size: 21px; }
.amenities-note { margin-top: var(--space-8); }
.offers--center { max-width: 760px; margin-inline: auto; }
@media (min-width: 768px) { .offers--center { --offer-w: calc((100% - var(--space-6)) / 2); } }
.section-note { margin-top: var(--space-6); }

/* Instagram strip (Task 12f): the gallery strip, with covers at 3:4 like the Instagram grid */
.insta .heading a { color: inherit; text-decoration: none; }
.insta .strip-item { aspect-ratio: 3 / 4; }
.insta .strip-item > a { display: block; position: relative; color: var(--blush-50); }
.insta .ig-cover { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ig-badge { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--navy-900) 55%, transparent); color: var(--blush-50); pointer-events: none; }
.insta .actions { margin-top: var(--space-6); }

/* Region landing pages (Task 12g), after the approved region previews */
.split-copy .lede + .lede, .center .lede + .lede { margin-top: 14px; }
.info { display: grid; gap: var(--space-8); margin-top: var(--space-10); text-align: left; }
@media (min-width: 768px) { .info { grid-template-columns: repeat(3, 1fr); } .info--2 { grid-template-columns: repeat(2, 1fr); } }
.info h3, .attr h3 { margin-bottom: var(--space-2); font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.info p, .attr p { margin: 0; color: var(--text-second); }
.info p + p { margin-top: 10px; }
.attr { display: grid; gap: 0 40px; max-width: 980px; margin: var(--space-10) auto 0; padding: 0; list-style: none; text-align: left; }
@media (min-width: 768px) { .attr { grid-template-columns: 1fr 1fr; } }
.attr li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.attr h3 { margin-bottom: var(--space-1); font-size: 23px; }
.checked { margin-top: var(--space-8); text-align: center; font-size: var(--text-small); color: var(--text-second); }
.section--sources { padding-block: 48px; }
.sources { display: grid; gap: 6px; max-width: 72ch; margin: 0 auto; padding: 0; list-style: none; font-size: var(--text-small); color: var(--text-second); text-align: left; }
.sources a { color: inherit; text-underline-offset: 2px; }

/* Climate: rain bars and average highs. Rows with horizontal bars on a phone, 12 columns from 768 px. */
.clima { max-width: 980px; margin: var(--space-10) auto 0; text-align: left; }
.clima-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px var(--space-5); margin-bottom: var(--space-5);
  font: 600 var(--text-caption) / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-second); }
.clima-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; background: var(--fill-info); }
.clima-legend i.wet { background: var(--text-info); }
.clima-table { width: 100%; border-collapse: collapse; font-size: var(--text-small); font-variant-numeric: tabular-nums; }
.clima-table th, .clima-table td { padding: 3px 0; font-weight: 400; }
.clima-table .m-name { width: 44px; text-align: left; font-weight: 600; color: var(--text); }
.clima-table .m-rain { display: flex; align-items: center; gap: var(--space-2); }
.bar { display: block; fill: var(--fill-info); }
.clima-table .wet .bar { fill: var(--text-info); }
.bar--h { flex: 1; height: 14px; }
.bar--v { display: none; }
.m-mm { width: 52px; text-align: right; color: var(--text); }
.clima-table .m-t { width: 58px; text-align: right; color: var(--text-accent); }
.clima figcaption { margin-top: 18px; text-align: center; font-size: var(--text-small); color: var(--text-second); }
@media (min-width: 768px) {
  .clima-table tbody { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; align-items: end; }
  .clima-table tr { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .clima-table .m-rain { order: 1; flex-direction: column-reverse; align-items: center; gap: 6px; width: 100%; }
  .clima-table .m-name { order: 2; width: auto; text-align: center; }
  .clima-table .m-t { order: 3; width: auto; text-align: center; }
  .bar--h { display: none; }
  .bar--v { display: block; width: 62%; height: 180px; }
  .m-mm { width: auto; text-align: center; }
}

/* Motion (site.js): elements are revealed by scroll position, never by a timer */
.js .sreveal { will-change: opacity, transform; }
.no-motion .sreveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .hero-media > .hero-video { display: none; }
  .hero-media > .hero-fallback { display: block; }
}

/* ==========================================================================================
 * Design B: the visual effects layer. Same content and layout as A. Techniques from the
 * Bright Digital landing v2 (docs/website/proposal.md section 15), in the Alizés palette.
 * Rules: colours only via tokens; only transform and opacity animate; reduced motion shows
 * the final state; phones get a lighter blur, no refraction and no cursor glow.
 * ========================================================================================== */
:root {
  --glass-blur: 8px;
  --glass-sat: 140%;
  /* Fills. The alphas are checked by tests/site/test_design_b.py against a white backdrop,
   * the worst case, so the text on them stays AA even where the blur is unsupported. */
  --glass-hero-fill: color-mix(in srgb, var(--navy-900) 72%, transparent);
  --glass-home-fill: color-mix(in srgb, var(--navy-900) 72%, transparent);
  --glass-wa-fill: color-mix(in srgb, var(--navy-800) 88%, transparent);
  --glass-pill-fill: color-mix(in srgb, var(--gold-500) 90%, transparent);
  --glass-light-fill: color-mix(in srgb, var(--surface-1) 74%, transparent);
  --glass-dark-fill: color-mix(in srgb, var(--navy-900) 45%, transparent);
  /* Depth after the landing mockup's .glass: a bright rim light along the top edge, a fainter one
   * along the bottom, a specular sheen from the top left corner and a two step drop shadow. The
   * dark sheen fades out by 30 %, before the text inset, so it never lifts the text's backdrop
   * past AA (tested). The light glass takes the mockup's values unchanged. */
  --glass-rim: inset 0 1px 0 color-mix(in srgb, var(--sand-0) 42%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--sand-0) 10%, transparent);
  --glass-spec: linear-gradient(140deg, color-mix(in srgb, var(--sand-0) 12%, transparent) 0%, transparent 30%, transparent 70%, color-mix(in srgb, var(--sand-0) 7%, transparent) 100%);
  --glass-shadow: 0 1px 2px color-mix(in srgb, var(--navy-900) 30%, transparent), 0 10px 28px color-mix(in srgb, var(--navy-900) 35%, transparent);
  --glass-shadow-lg: 0 2px 6px color-mix(in srgb, var(--navy-900) 30%, transparent), 0 30px 70px color-mix(in srgb, var(--navy-900) 40%, transparent);
  --glass-light-rim: inset 0 1px 0 color-mix(in srgb, var(--sand-0) 95%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--sand-0) 25%, transparent);
  --glass-light-spec: linear-gradient(140deg, color-mix(in srgb, var(--sand-0) 70%, transparent) 0%, transparent 34%, transparent 70%, color-mix(in srgb, var(--sand-0) 35%, transparent) 100%);
  --glass-light-shadow: 0 1px 2px color-mix(in srgb, var(--navy-900) 5%, transparent), 0 8px 24px color-mix(in srgb, var(--navy-900) 7%, transparent);
  --gold-edge: linear-gradient(140deg, color-mix(in srgb, var(--gold-100) 90%, transparent), color-mix(in srgb, var(--gold-300) 45%, transparent) 30%, color-mix(in srgb, var(--gold-500) 12%, transparent) 62%, color-mix(in srgb, var(--gold-300) 75%, transparent));
  /* The warm light that blooms around a button on hover (the mockup's --brand-glow) */
  --btn-glow: color-mix(in srgb, var(--gold-500) 42%, transparent);
  --btn-glow-dark: color-mix(in srgb, var(--gold-300) 46%, transparent);
  --ease-press: cubic-bezier(0.23, 1, 0.32, 1);
  --mask: var(--navy-900);   /* masks read alpha only; any opaque token does */
}
@media (min-width: 900px) { :root { --glass-blur: 22px; --glass-sat: 170%; } }

/* The SVG filter defs (base.html) take no room */
.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* Scroll progress: a thin gold line, scaled by site.js */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-700), var(--gold-500) 55%, var(--gold-300)); }

/* Progressive blur along the top edge once the header has scrolled away (site.js sets .is-on) */
.top-blur { position: fixed; inset: 0 0 auto 0; z-index: 45; height: 72px; pointer-events: none; visibility: hidden; }
.top-blur.is-on { visibility: visible; }
.top-blur i { position: absolute; inset: 0; }
.top-blur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px);
  -webkit-mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 60%, transparent 100%); mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 60%, transparent 100%); }
.top-blur i:nth-child(2) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 40%, transparent 75%); mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 40%, transparent 75%); }
.top-blur i:nth-child(3) { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 22%, transparent 50%); mask-image: linear-gradient(to bottom, var(--mask) 0%, var(--mask) 22%, transparent 50%); }
.top-blur i:nth-child(4) { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, var(--mask) 0%, transparent 28%); mask-image: linear-gradient(to bottom, var(--mask) 0%, transparent 28%); }
@media (max-width: 767px) { .top-blur { height: 56px; } .top-blur i:nth-child(4) { display: none; } }

/* Grain: a near invisible noise over the page */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Liquid glass: frosted blur, a specular sheen, a rim light and a gold gradient edge.
 * From 900 px the backdrop also passes through an SVG displacement map (base.html), which
 * bends the photo at the edges. Browsers without url() in backdrop-filter drop that
 * declaration and keep the blur. */
.glass { position: relative; isolation: isolate; box-shadow: var(--glass-rim), var(--glass-shadow);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)); backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat)); }
.hero-panel.glass, .contact-card.glass { box-shadow: var(--glass-rim), var(--glass-shadow-lg); }
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit; pointer-events: none; background: var(--gold-edge);
  -webkit-mask: linear-gradient(var(--mask) 0 0) content-box, linear-gradient(var(--mask) 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(var(--mask) 0 0) content-box exclude, linear-gradient(var(--mask) 0 0); }
.hero-panel.glass { background: var(--glass-spec), var(--glass-hero-fill); }
.home-btn.glass { background: var(--lg-sheen), var(--glass-spec), var(--glass-home-fill); }
.home-btn.glass:hover { background: var(--lg-sheen), var(--glass-spec), var(--navy-800); }
.wa-float.glass { position: fixed; background: var(--lg-sheen), var(--glass-spec), var(--glass-wa-fill); }
.wa-float.glass:hover { background: var(--lg-sheen), var(--glass-spec), var(--fill-primary-hover); }
.wa-float.glass, .home-btn.glass { box-shadow: var(--lg-rim), var(--glass-rim), var(--glass-shadow); }
.pill-float.glass { position: fixed; background: var(--lg-sheen), var(--glass-spec), var(--glass-pill-fill);
  box-shadow: var(--lg-rim), inset 0 1px 0 color-mix(in srgb, var(--sand-0) 45%, transparent), 0 8px 24px color-mix(in srgb, var(--navy-900) 30%, transparent); }
.pill-float.glass:hover { background: var(--lg-sheen), var(--glass-spec), var(--gold-300); }
.home-btn.glass { position: fixed; }
.pill-float.glass::before, .wa-float.glass::before, .home-btn.glass::before { opacity: 0.7; }
.offer.glass { border: 0; padding: calc(var(--space-6) + 1px); background: var(--glass-light-spec), var(--glass-light-fill);
  box-shadow: var(--glass-light-rim), var(--glass-light-shadow); }
.contact-card { max-width: 820px; margin-inline: auto; padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px); border-radius: var(--radius-lg); }
.contact-card.glass { background: var(--glass-spec), var(--glass-dark-fill); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-panel.glass, .home-btn.glass { background: var(--navy-900); }
  .offer.glass { background: var(--surface-1); }
}
@media (min-width: 900px) {
  .hero-panel.glass { backdrop-filter: blur(var(--glass-blur)) url(#lg-hero) saturate(var(--glass-sat)); }
  .home-btn.glass { backdrop-filter: blur(var(--glass-blur)) url(#lg-home) saturate(var(--glass-sat)); }
  .pill-float.glass { backdrop-filter: blur(var(--glass-blur)) url(#lg-pill) saturate(var(--glass-sat)); }
  .wa-float.glass { backdrop-filter: blur(var(--glass-blur)) url(#lg-wa) saturate(var(--glass-sat)); }
  .offer.glass { backdrop-filter: blur(var(--glass-blur)) url(#lg-offer) saturate(var(--glass-sat)); }
  .contact-card.glass { backdrop-filter: blur(var(--glass-blur)) url(#lg-contact) saturate(var(--glass-sat)); }
}

/* Gold gradient edge on the card photos */
.card-media { position: relative; }
.card-media::before { content: ""; position: absolute; inset: 0; z-index: 1; padding: 1px; border-radius: inherit; pointer-events: none; background: var(--gold-edge);
  -webkit-mask: linear-gradient(var(--mask) 0 0) content-box, linear-gradient(var(--mask) 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(var(--mask) 0 0) content-box exclude, linear-gradient(var(--mask) 0 0); }

/* Mesh light: two slow drifting pools of gold and sand behind the approach top band and the
 * contact band. CSS only; site.js adds .tab-hidden so it rests while the tab is hidden. */
.mesh { position: relative; overflow: hidden; }   /* no isolation: the cursor glow passes between the light and the text */
.mesh > .container { position: relative; z-index: 1; }
.mesh::before, .mesh::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.mesh::before { width: 80vmax; height: 80vmax; left: -30vmax; top: -46vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold-500) 26%, transparent), transparent); }
.mesh::after { width: 70vmax; height: 70vmax; right: -28vmax; bottom: -44vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sand-100) 14%, transparent), transparent); }
@keyframes mesh-a { to { transform: translate3d(16vmax, 10vmax, 0) scale(1.08); } }
@keyframes mesh-b { to { transform: translate3d(-14vmax, -8vmax, 0) scale(0.94); } }

/* Cursor glow: one page level light that follows the pointer over the whole page, after the
 * landing mockup's .cursor-glow. It sits under every text and control: the section backgrounds
 * and photos paint below it, and each content wrapper is lifted to z-index 1 above it.
 * A soft near white light with a faint warm tint (owner 2026-10-04, "almost as strong as before
 * but whiter"): mix-blend-mode: screen with a near white source lifts what is under it toward
 * white, a bloom on the dark bands and photos and a clear white spot on the pale grounds.
 * --glow-k is its strength: one value for the whole page (owner 2026-10-04, "one brightness
 * for all parts"), the level the owner approved over the numbers band.
 * Fine pointers with motion allowed only; site.js moves it with transform and pauses it while
 * the tab is hidden. */
.container, .strip-track, .strip-nav, .section > .actions, .draft-flag { position: relative; z-index: 1; }
:root { --glow-k: 0.3; }   /* owner 2026-10-04: one brightness on the pale grounds */
/* owner 2026-10-04: "on the dark colors, the mouse backlight needs to be smoother, it's a bit too
 * bright right now". Screen lifts dark grounds far more than pale ones, so they share a softer level. */
.hero, .section--dark, .stats, .feature, .approach-top, .site-footer { --glow-k: 0.16; }
.cursor-glow { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-glow { position: fixed; top: 0; left: 0; z-index: 0; display: block; width: 640px; height: 640px; margin: -320px 0 0 -320px;
    border-radius: 50%; pointer-events: none; opacity: 0; mix-blend-mode: screen; will-change: transform;
    --glow-light: color-mix(in srgb, var(--sand-0) 90%, var(--gold-300));
    background: radial-gradient(closest-side, var(--glow-light), color-mix(in srgb, var(--glow-light) 82%, transparent) 40%, color-mix(in srgb, var(--glow-light) 34%, transparent) 72%, transparent);
    transition: opacity 400ms var(--ease-out); }
  .cursor-glow.is-on { opacity: var(--glow-k); }
}

/* Card photo glare (the first design B, restored 2026-10-04): a soft light that follows the pointer
 * inside each card photo and offer, on top of the page level glow. Desktop with a fine pointer only;
 * site.js moves it. */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .card-media::after, .offer::after { content: ""; position: absolute; left: 0; top: 0; width: 380px; height: 380px; margin: -190px 0 0 -190px;
    border-radius: 50%; pointer-events: none; opacity: 0; transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0);
    transition: opacity 320ms var(--ease-out); }
  .card-media::after { z-index: 1; mix-blend-mode: soft-light; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold-100) 70%, transparent), transparent); }
  .offer::after { z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--gold-300) 26%, transparent), transparent); }
  .card-media.is-glow::after, .offer.is-glow::after { opacity: 1; }
  .offer { overflow: hidden; }
}

/* Buttons, after the mockup: a lit vertical gradient with a highlight along the top edge, a lift
 * of one pixel on hover and a soft gold light that blooms underneath (an ::after shadow that only
 * fades in, so nothing but opacity animates). */
.btn { position: relative; }
.btn--gold { background-color: var(--fill-accent);
  background-image: var(--lg-sheen), linear-gradient(180deg, color-mix(in srgb, var(--gold-500) 82%, var(--sand-0)) 0%, var(--gold-500) 55%, color-mix(in srgb, var(--gold-500) 88%, var(--navy-900)) 100%);
  box-shadow: var(--lg-rim), inset 0 1px 0 color-mix(in srgb, var(--sand-0) 45%, transparent), 0 1px 2px color-mix(in srgb, var(--navy-900) 12%, transparent); }
.btn--gold:hover { background-color: var(--fill-accent);
  background-image: var(--lg-sheen), linear-gradient(180deg, color-mix(in srgb, var(--gold-300) 70%, var(--sand-0)) 0%, var(--gold-300) 45%, var(--gold-500) 100%); }
.btn--primary { background-color: var(--fill-primary);
  background-image: var(--lg-sheen), linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  box-shadow: var(--lg-rim), inset 0 1px 0 color-mix(in srgb, var(--sand-0) 18%, transparent), 0 1px 2px color-mix(in srgb, var(--navy-900) 18%, transparent); }
.btn--primary:hover { background-color: var(--fill-primary-hover);
  background-image: var(--lg-sheen), linear-gradient(180deg, color-mix(in srgb, var(--navy-500) 60%, var(--navy-700)) 0%, var(--navy-700) 55%, var(--navy-800) 100%); }
.btn--outline { background-image: var(--lg-sheen); box-shadow: var(--lg-rim), inset 0 1px 0 color-mix(in srgb, var(--sand-0) 60%, transparent), 0 1px 2px color-mix(in srgb, var(--navy-900) 6%, transparent); }
.btn--outline-light { background-image: var(--lg-sheen); box-shadow: var(--lg-rim), inset 0 1px 0 color-mix(in srgb, var(--sand-0) 14%, transparent); }
.btn::after, .pill-float::after, .wa-float::after, .home-btn::after { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: 0 10px 30px var(--btn-glow), 0 0 0 1px color-mix(in srgb, var(--gold-300) 30%, transparent); opacity: 0; transition: opacity 260ms var(--ease-out); }
.section--dark .btn::after, .hero .btn::after, .approach-top .btn::after, .site-footer .btn::after, .wa-float::after, .home-btn::after { box-shadow: 0 10px 34px var(--btn-glow-dark), 0 0 0 1px color-mix(in srgb, var(--gold-300) 40%, transparent); }

/* Hover lift and press. translate and scale compose with the scroll reveal's transform. */
.btn { transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), translate 200ms var(--ease-press), scale 160ms var(--ease-press), var(--lg-flow); }
.pill-float, .wa-float, .home-btn { transition: translate 200ms var(--ease-press), scale 160ms var(--ease-press), var(--lg-flow); }
.strip-nav button, .region-tabs a { transition: translate 200ms var(--ease-press), scale 160ms var(--ease-press); }
.btn:active, .pill-float:active, .wa-float:active, .home-btn:active, .strip-nav button:active, .region-tabs a:active { scale: 0.97; }
.card, .offer { transition: translate 320ms var(--ease-press), scale 160ms var(--ease-press); }
.card:active, .offer:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) {
  .card:hover, .offer:hover { translate: 0 -4px; }
  .btn:hover, .pill-float:hover, .wa-float:hover, .home-btn:hover { translate: 0 -1px; }
  .btn:hover::after, .pill-float:hover::after, .wa-float:hover::after, .home-btn:hover::after { opacity: 1; }
}
.btn:focus-visible::after, .pill-float:focus-visible::after, .wa-float:focus-visible::after, .home-btn:focus-visible::after { opacity: 1; }

/* ==========================================================================================
 * Liquid glass on hover (owner 2026-10-04: "I like the button colors we have now, but I would
 * like the liquid glass effect when you swipe over the button"). At rest nothing changes: every
 * layer below is transparent while --lg-k and --lg-r are 0. On hover or keyboard focus they flow
 * to 1: a translucent sheen over the button's own colour, a specular reflection that follows the
 * pointer along the button (site.js sets --lg-x; without it the light sweeps to the right third),
 * and a bright thin rim. The sheen alphas are capped per tone so the hovered text stays AA
 * (tests/site/test_button_glass.py). Touch gets a brief flash on tap; reduced motion the rim only (in the
 * reduced motion block at the end of the file, so it wins over the states here).
 * ========================================================================================== */
@property --lg-k { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --lg-r { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --lg-x { syntax: "<percentage>"; inherits: false; initial-value: -20%; }
:root {
  /* peak sheen strengths: light tones carry dark text, so more light only raises its contrast */
  --lg-surface-light: 24%;
  --lg-spec-light: 42%;
  --lg-surface-dark: 7%;
  --lg-spec-dark: 11%;
  --lg-surface-icon: 4%;   /* the WhatsApp glyph is gold on navy: lighter still, so it keeps 3:1 */
  --lg-spec-icon: 7%;
  --lg-rim-ring: 42%;
  --lg-rim-top: 80%;
  --lg-blur: 10px;
  --lg-flow: --lg-k 420ms var(--ease-out), --lg-r 380ms var(--ease-out), --lg-x 450ms var(--ease-press);
}
.btn, .pill-float, .wa-float, .home-btn {
  --lg-surface: var(--lg-surface-light);
  --lg-spec: var(--lg-spec-light);
  --lg-sheen: radial-gradient(60% 140% at var(--lg-x) 0%, color-mix(in srgb, var(--sand-0) calc(var(--lg-k) * var(--lg-spec)), transparent), transparent 72%),
    linear-gradient(180deg, color-mix(in srgb, var(--sand-0) calc(var(--lg-k) * var(--lg-surface)), transparent) 0%, transparent 56%, color-mix(in srgb, var(--sand-0) calc(var(--lg-k) * var(--lg-surface) * 0.4), transparent) 100%);
  --lg-rim: inset 0 0 0 1px color-mix(in srgb, var(--sand-0) calc(var(--lg-r) * var(--lg-rim-ring)), transparent),
    inset 0 1px 0 color-mix(in srgb, var(--sand-0) calc(var(--lg-r) * var(--lg-rim-top)), transparent);
}
.btn--primary, .wa-float, .home-btn { --lg-surface: var(--lg-surface-dark); --lg-spec: var(--lg-spec-dark); }
.wa-float { --lg-surface: var(--lg-surface-icon); --lg-spec: var(--lg-spec-icon); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .pill-float:hover, .wa-float:hover, .home-btn:hover { --lg-k: 1; --lg-r: 1; --lg-x: 72%; }
  .btn--outline:hover { -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(140%); backdrop-filter: blur(var(--lg-blur)) saturate(140%); }
  .btn--outline-light:hover { background-image: var(--lg-sheen); }
}
.btn:focus-visible, .pill-float:focus-visible, .wa-float:focus-visible, .home-btn:focus-visible { --lg-k: 1; --lg-r: 1; --lg-x: 50%; }
.btn--outline-light:focus-visible { background-image: var(--lg-sheen); }
@media (hover: none) {
  /* a tap flashes the glass in fast; on release it fades out over the full flow */
  .btn:active, .pill-float:active, .wa-float:active, .home-btn:active { --lg-k: 1; --lg-r: 1; --lg-x: 50%; transition-duration: 90ms; }
  .btn--outline-light:active { background-image: var(--lg-sheen); }
}

/* The hero title line by line, and words that light up on scroll in section headings (site.js) */
.hero-title .ln { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .mesh::before { animation: mesh-a 26s ease-in-out infinite alternate; }
  .mesh::after { animation: mesh-b 32s ease-in-out infinite alternate; }
  .tab-hidden .mesh::before, .tab-hidden .mesh::after { animation-play-state: paused; }
  /* The title waits for site.js to split it into lines; if the script never runs it shows anyway */
  .hero-title { animation: title-failsafe 1ms linear 2.4s both; }
  .hero-title.is-split { animation: none; }
  .hero-title.is-split .ln { animation: line-in 1000ms var(--ease-press) both; animation-delay: calc(var(--line, 0) * 140ms + 120ms); }
}
@keyframes title-failsafe { from { opacity: 0; } to { opacity: 1; } }
@keyframes line-in { from { opacity: 0; transform: translate3d(0, 0.45em, 0); } to { opacity: 1; transform: none; } }

/* Liquid glass that shows on light ground (owner 2026-10-04: "I also want to see the liquid glass
 * effect online"). A blur over flat blush has nothing to refract, so on hover the outline button
 * becomes a frosted pill: a white body, a curved highlight along the top, a shaded lower edge
 * and a soft lift. The text is navy on a lighter ground, so its contrast only rises. */
.btn--outline { transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out),
  box-shadow 420ms var(--ease-out), translate 200ms var(--ease-press), scale 160ms var(--ease-press), var(--lg-flow); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover {
    border-color: color-mix(in srgb, var(--sand-0) 70%, var(--border-strong));
    background-color: color-mix(in srgb, var(--sand-0) 58%, transparent);
    box-shadow: var(--lg-rim),
      inset 0 2px 1px -1px color-mix(in srgb, var(--sand-0) 100%, transparent),
      inset 0 -10px 16px -12px color-mix(in srgb, var(--navy-900) 30%, transparent),
      0 10px 24px -10px color-mix(in srgb, var(--navy-900) 30%, transparent); }
}
.btn--outline:focus-visible { background-color: color-mix(in srgb, var(--sand-0) 58%, transparent); }
@media (hover: none) { .btn--outline:active { background-color: color-mix(in srgb, var(--sand-0) 58%, transparent); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .scroll-progress, .cursor-glow, .card-media::after, .offer::after { display: none; }
  .btn:active, .pill-float:active, .wa-float:active, .home-btn:active, .strip-nav button:active, .region-tabs a:active, .card:active, .offer:active { scale: none; }
  .card:hover, .offer:hover, .btn:hover, .pill-float:hover, .wa-float:hover, .home-btn:hover { translate: none; }
  .lw { opacity: 1 !important; }
  /* button glass: a static rim, no sheen */
  .btn:hover, .pill-float:hover, .wa-float:hover, .home-btn:hover,
  .btn:focus-visible, .pill-float:focus-visible, .wa-float:focus-visible, .home-btn:focus-visible,
  .btn:active, .pill-float:active, .wa-float:active, .home-btn:active { --lg-k: 0; }
}

/* Section blocks on a development page (Carnaúba Wind House): a photo band carrying the title,
 * the developer's line, sourced highlights, a gallery strip, then the membership cards. */
.section-band { min-height: 64svh; }
.section-band-copy { position: relative; z-index: 1; padding: var(--gutter); }
.section-band .eyebrow { color: var(--gold-300); }
.section-band .feature-title { font-size: clamp(48px, 8.4vw, 128px); }
.section-quote { margin: 0 0 var(--space-6); }
.section-quote blockquote { margin: 0; }
.section-quote p { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: var(--display-m); line-height: var(--leading-snug); color: var(--text); }
.section-quote figcaption { margin-top: var(--space-3); font: 600 var(--text-caption) / 1.4 var(--font-sans); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-accent); }
.center .section-quote { max-width: 40ch; margin-inline: auto; }
.highlights { display: grid; gap: 0 var(--space-10); margin: var(--section-y) 0 0; padding: 0; list-style: none; text-align: left; }
@media (min-width: 768px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlight { padding: var(--space-6) 0; border-top: 1px solid var(--line-accent); }
.highlight h3 { margin-bottom: var(--space-2); font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.highlight p { margin: 0; color: var(--text-second); line-height: var(--leading-body); }
.section-strip { margin-top: var(--space-10); }
.section-strip .strip-track { margin-top: 0; }
.section-sources { margin-top: var(--space-8); color: var(--text-second); }
.section-sources a { color: var(--text-accent); }

/* A development that is a club (Carnaúba Wind House page): its highlights open their own section,
 * and a section block split around a stats band continues below it without a second top margin. */
.highlights--lead { margin-top: 0; }
.dev-section-body + .dev-section-more { padding-top: 0; }
/* a section of text blocks only (no photo, no figures between): heading and blocks read as one */
.dev-section-body:has(+ .dev-section-more) { padding-bottom: 0; }
.dev-section-body + .dev-section-more .highlights { margin-top: var(--space-10); }
.stats + .dev-section-more .highlights { margin-top: 0; }

/* Five or more development cards: rows of three, the last row centred, so no card sits alone */
@media (min-width: 768px) {
  .cards--flow { display: flex; flex-wrap: wrap; justify-content: center; }
  .cards--flow > .card { flex: 0 1 calc((100% - 2 * var(--space-6)) / 3); }
}

/* Feature bands: a deeper scrim in the middle, where the title sits, so the title reads over a
 * pale sky as well as over the sea (owner 2026-10-04: "improve the text visibility here"). */
.feature::after { background: radial-gradient(75% 65% at 50% 50%, color-mix(in srgb, var(--navy-900) 66%, transparent), color-mix(in srgb, var(--navy-900) 48%, transparent)); }

