/* ==========================================================================
   Prestige Pools — design system
   Black + brushed platinum (from the logo), warm sand for the Naturi story.
   ========================================================================== */

:root {
  /* Colour */
  --bg: #070707;            /* matches the logo background exactly */
  --bg-2: #0d0d0e;
  --bg-3: #141416;
  --line: rgba(236, 236, 238, .12);
  --line-strong: rgba(236, 236, 238, .28);
  --text: #dcdcdf;
  --muted: #a1a1a7;         /* 7.9:1 on --bg */
  --platinum: #f0f0f2;
  --silver: #c4c4c9;
  --water: #2b3d45;
  --water-2: #46646c;
  --sand: #ebe4d7;
  --sand-2: #dcd1bd;
  --sand-ink: #1c1a16;
  --sand-muted: #575146;    /* 6.6:1 on --sand */
  --focus: #ffffff;
  --danger: #ff8a7a;

  --metal: linear-gradient(100deg, #8d8d93 0%, #f6f6f8 26%, #b3b3b9 48%, #ffffff 66%, #96969c 100%);

  /* Type */
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --f-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + .5vw, 1.3rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.8vw, 6rem);
  --fs-script: clamp(2.75rem, 1.6rem + 5vw, 6.5rem);

  /* Space & layout */
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(5rem, 11vw, 10rem);
  --maxw: 1320px;
  --radius: 2px;
  --header-h: 84px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
  --t-slow: 1100ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 300; line-height: 1.08; color: var(--platinum); letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--silver); color: var(--bg); }

:focus-visible { outline: 1px solid var(--focus); outline-offset: 4px; }
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--platinum); color: var(--bg); padding: .75rem 1.25rem;
  transition: top var(--t-fast);
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Cross-document page transitions (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 380ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 620ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--dark2 { background: var(--bg-2); }
.section--sand { background: var(--sand); color: var(--sand-ink); }
.section--sand h1, .section--sand h2, .section--sand h3 { color: var(--sand-ink); }
.section--sand .muted, .section--sand .lead { color: var(--sand-muted); }
.section--sand .eyebrow { color: var(--sand-muted); }
.section--sand .eyebrow::before, .section--sand .eyebrow::after { background: var(--sand-muted); }
.grid-2 { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--wide-left { grid-template-columns: 1.15fr .85fr; } .grid-2--wide-right { grid-template-columns: .85fr 1.15fr; } }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1.5rem; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--f-sans); font-size: var(--fs-xs); font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.5rem;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: var(--line-strong); }
.eyebrow--left::after { display: none; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.script {
  display: block;
  font-family: var(--f-script); font-weight: 400; letter-spacing: 0;
  font-size: 1.15em; line-height: 1.15; padding: .05em .15em .15em 0;
  background: var(--metal); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--sand .script { background: linear-gradient(100deg, #3a362f, #8b8272 45%, #2c2924 80%); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: var(--fs-lg); line-height: 1.75; color: var(--muted); max-width: 38em; }
.center .lead { margin-inline: auto; }
.serif-italic { font-family: var(--f-serif); font-style: italic; }
.caps { font-size: var(--fs-xs); letter-spacing: .28em; text-transform: uppercase; }

/* Logo-style diamond divider:  —— ◆ —— */
.divider { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-block: 2rem; color: var(--silver); }
.divider span { height: 1px; width: min(18vw, 140px); background: currentColor; opacity: .5; }
.divider i { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }
.section--sand .divider { color: var(--sand-muted); }

/* Hand-drawn dune ornament (echoes the logo's waves) */
.ornament { width: 132px; height: 34px; color: var(--silver); margin-bottom: 1.5rem; }
.center .ornament { margin-inline: auto; }
.ornament path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 0; }
html.js .ornament:not(.is-in) path { stroke-dashoffset: 160; }
.ornament.is-in path { transition: stroke-dashoffset 1.8s var(--ease-out); }
.ornament.is-in path + path { transition-delay: .25s; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--platinum);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 52px; padding: .9rem 2rem;
  font-family: var(--f-sans); font-size: var(--fs-xs); font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  border: 1px solid var(--b); border-radius: var(--radius); cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out), border-color var(--t-med);
}
.btn::before { /* silver sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 900ms var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(120%); }
.btn--solid { background: var(--platinum); color: var(--bg); }
.btn--solid:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--platinum); --b: var(--line-strong); }
.btn--ghost:hover { --b: var(--platinum); background: rgba(255,255,255,.04); }
.section--sand .btn--solid { background: var(--sand-ink); color: var(--sand); --b: var(--sand-ink); }
.section--sand .btn--ghost { color: var(--sand-ink); --b: rgba(28,26,22,.35); }
.btn .arrow { width: 22px; height: 10px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.center .btn-row { justify-content: center; }

.link-line {
  display: inline-flex; align-items: center; gap: .6rem; padding-block: .5rem;
  font-size: var(--fs-xs); letter-spacing: .26em; text-transform: uppercase; color: var(--platinum);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-med) var(--ease-out);
}
.link-line:hover { background-size: 35% 1px; }
.link-line .arrow { flex: none; width: 22px; height: 10px; }
.section--sand .link-line { color: var(--sand-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform 500ms var(--ease-out), background-color 400ms, border-color 400ms;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(7,7,7,.82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; transition: opacity var(--t-fast); }
.brand:hover img { opacity: .85; }
.nav ul { display: flex; gap: clamp(1.25rem, 2.2vw, 2.5rem); }
.nav a {
  position: relative; display: inline-block; padding-block: .75rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  transition: color var(--t-fast);
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .4rem; height: 1px; background: var(--platinum); transform: scaleX(0); transform-origin: right; transition: transform var(--t-med) var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--platinum); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 44px; padding: .6rem 1.4rem; }
.burger { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--platinum); transition: transform var(--t-med) var(--ease-out), top var(--t-med) var(--ease-out); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 28px; }
.burger[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 700ms var(--ease-in-out), visibility 0s 700ms;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 700ms var(--ease-in-out), visibility 0s; }
.mobile-menu ul { display: grid; gap: .25rem; }
.mobile-menu a.mm-link { display: block; padding-block: .35rem; font-family: var(--f-serif); font-size: clamp(2rem, 9vw, 3rem); color: var(--platinum); opacity: 0; transform: translateY(24px); transition: opacity 500ms, transform 700ms var(--ease-out); }
.mobile-menu.is-open a.mm-link { opacity: 1; transform: none; transition-delay: calc(250ms + var(--i) * 60ms); }
.mobile-menu a.mm-link[aria-current="page"] { font-style: italic; }
.mobile-menu .mm-foot { margin-top: 3rem; display: grid; gap: .5rem; color: var(--muted); font-size: var(--fs-sm); }
.mobile-menu .mm-foot a { color: var(--platinum); }
body.menu-open { overflow: hidden; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
html.js.first-visit .preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: grid; place-items: center;
  animation: pre-failsafe 0s 3.2s forwards;
}
.preloader img { width: min(42vw, 190px); opacity: 0; animation: pre-in 1.1s var(--ease-out) .1s forwards; -webkit-mask: linear-gradient(100deg, #000 40%, rgba(0,0,0,.35) 50%, #000 60%) 100% 0 / 300% 100%; mask: linear-gradient(100deg, #000 40%, rgba(0,0,0,.35) 50%, #000 60%) 100% 0 / 300% 100%; }
.preloader.is-done { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-in-out); }
@keyframes pre-in { 0% { opacity: 0; transform: translateY(10px) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes pre-failsafe { to { visibility: hidden; } }

/* ---------- Media / photo slots ---------- */
/* Each slot shows an abstract "beach pool" gradient until the real photo
   (same filename under assets/img/photos/) is dropped in. */
.media {
  --ratio: 4 / 5;
  --a: 168deg;
  position: relative; overflow: hidden; aspect-ratio: var(--ratio);
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(var(--a), #10181c 0%, #1f343b 38%, #4e6c70 56%, #a9a491 70%, #d8ccb4 84%, #e6dccb 100%);
  isolation: isolate;
}
.media::after { /* caustic light */
  content: ""; position: absolute; inset: -50%; z-index: 0; pointer-events: none;
  background: url("../assets/img/caustics.svg") 0 0 / 520px 520px;
  opacity: .14; mix-blend-mode: soft-light;
  animation: caustics 38s linear infinite; animation-play-state: paused;
}
.media.is-in::after { animation-play-state: running; }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media .ph-label {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; z-index: 0;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(28,26,22,.7);
}
.media--wide { --ratio: 16 / 10; }
.media--cine { --ratio: 21 / 9; }
.media--square { --ratio: 1 / 1; }
.media--tall { --ratio: 3 / 4; }
@keyframes caustics { to { transform: translate3d(25%, 25%, 0); } }

/* Curtain reveal for images */
html.js [data-reveal="curtain"] { clip-path: inset(100% 0 0 0); }
html.js [data-reveal="curtain"] > img { transform: scale(1.18); }
html.js [data-reveal="curtain"].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
html.js [data-reveal="curtain"].is-in > img { transform: scale(1); transition: transform 2.2s var(--ease-out); }

/* Generic reveal */
html.js [data-reveal="up"] { opacity: 0; transform: translate3d(0, 36px, 0); }
html.js [data-reveal="fade"] { opacity: 0; }
html.js [data-reveal="up"].is-in, html.js [data-reveal="fade"].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }

/* Split-word headline reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 70ms + var(--d, 0) * 1ms); }
.split.is-in .w > span { transform: none; }
.split .w-block { display: block; }
.split .w > .script { padding-right: .2em; }
.hero h1 .w > .script { font-size: 1.12em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; --ratio: auto; aspect-ratio: auto; }
.hero-media > img { animation: kenburns 24s var(--ease-in-out) infinite alternate; transform-origin: 60% 40%; }
.hero-media .ph-label { bottom: auto; top: calc(var(--header-h) + 1rem); left: auto; text-align: right; color: rgba(255,255,255,.45); }
.hero::before { /* legibility scrim */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,7,7,.75) 0%, rgba(7,7,7,.15) 28%, rgba(7,7,7,.35) 55%, rgba(7,7,7,.94) 100%),
    linear-gradient(90deg, rgba(7,7,7,.72) 0%, rgba(7,7,7,.25) 55%, transparent 80%);
}
.hero-content { position: relative; z-index: 3; padding-block: calc(var(--header-h) + 4rem) clamp(4rem, 9vh, 7rem); width: 100%; }
.hero h1 { font-size: var(--fs-h1); max-width: 13em; }
.hero h1 .script { font-size: 1.12em; margin-top: -.05em; }
.hero .lead { margin-top: 1.75rem; color: #c3c3c8; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: clamp(2rem, 6vh, 4rem); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--platinum), transparent); animation: scrollcue 2.4s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@media (max-width: 700px) { .hero-scroll { display: none; } }

.page-hero { position: relative; min-height: 72vh; min-height: 72svh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .hero-content { padding-bottom: clamp(3rem, 7vh, 5rem); }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); max-width: 14em; }
.page-hero--plain { min-height: auto; padding-top: calc(var(--header-h) + 5rem); padding-bottom: 3rem; }
.page-hero--plain::before { display: none; }

/* Water-light overlay used on CTA band / hero */
.water-light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.water-light::before, .water-light::after {
  content: ""; position: absolute; inset: -60%;
  background: url("../assets/img/caustics.svg") 0 0 / 640px 640px;
  mix-blend-mode: screen; opacity: .045;
  animation: caustics 60s linear infinite;
}
.water-light::after { background-size: 900px 900px; animation-duration: 90s; animation-direction: reverse; opacity: .05; }

/* ---------- Intro / statement ---------- */
.statement { font-family: var(--f-serif); font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.1rem); line-height: 1.25; color: var(--platinum); font-weight: 300; max-width: 22em; margin-inline: auto; }
.statement em { font-style: italic; color: var(--silver); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.6rem; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); color: var(--silver); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; background: var(--muted); transform: rotate(45deg); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Feature cards ---------- */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 4rem; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .features--4 { grid-template-columns: repeat(4, 1fr); } .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--bg); padding: clamp(2rem, 3.5vw, 3rem); position: relative; transition: background-color var(--t-med); }
.section--dark2 .feature { background: var(--bg-2); }
.feature:hover { background: var(--bg-3); }
.feature .num { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 1.1rem; display: block; margin-bottom: 2.5rem; }
.feature h3 { font-size: 1.65rem; margin-bottom: 1rem; }
.feature p { color: var(--muted); font-size: .98rem; }
.feature .icon { width: 36px; height: 36px; color: var(--silver); margin-bottom: 2rem; }
.icon { stroke: currentColor; fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.section--sand .features { background: rgba(28,26,22,.15); border-color: rgba(28,26,22,.15); }
.section--sand .feature { background: var(--sand); }
.section--sand .feature:hover { background: var(--sand-2); }
.section--sand .feature p, .section--sand .feature .num { color: var(--sand-muted); }
.section--sand .feature .icon { color: var(--sand-ink); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; margin-top: 4rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.section--sand .stat { border-color: rgba(28,26,22,.2); }
.stat b { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2.5vw, 4.25rem); line-height: 1; color: var(--platinum); font-variant-numeric: lining-nums tabular-nums; }
.section--sand .stat b { color: var(--sand-ink); }
.stat span { display: block; margin-top: .75rem; font-size: var(--fs-sm); color: var(--muted); max-width: 16em; }
.section--sand .stat span { color: var(--sand-muted); }

/* ---------- Split media blocks ---------- */
.split-media { position: relative; }
.split-media .media + .media { position: absolute; width: 46%; right: -6%; bottom: -12%; border: 10px solid var(--bg); }
.section--dark2 .split-media .media + .media { border-color: var(--bg-2); }
.section--sand .split-media .media + .media { border-color: var(--sand); }
@media (max-width: 899px) { .split-media .media + .media { right: 0; } .split-media { margin-bottom: 12%; } }

/* ---------- Naturi explainer (sticky cross-section) ---------- */
.explainer { display: grid; gap: 2rem; }
@media (min-width: 960px) { .explainer { grid-template-columns: 1.1fr .9fr; gap: 5rem; } }
.explainer-graphic { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; z-index: 2; background: var(--sand); padding-block: 1rem; }
@media (min-width: 960px) { .explainer-graphic { top: calc(50vh - 220px); padding: 0; } }
.explainer-steps { position: relative; }
.x-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 2rem; opacity: .3; transition: opacity 600ms var(--ease-out); }
.x-step.is-active { opacity: 1; }
.x-step .num { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--sand-muted); margin-bottom: 1rem; }
.x-step h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.x-step p { color: var(--sand-muted); max-width: 30em; }
@media (max-width: 959px) { .x-step { min-height: 52vh; } .explainer-graphic { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } }
.xs { width: 100%; height: auto; overflow: visible; }
.xs .layer { transition: opacity 700ms var(--ease-out); }
.xs .lbl { font-family: var(--f-sans); font-size: 19px; letter-spacing: .12em; text-transform: uppercase; fill: var(--sand-ink); opacity: 0; transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transform: translateY(6px); }
.xs .lbl-line { stroke: var(--sand-ink); stroke-width: 1; stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 800ms var(--ease-out); }
.xs .flow { opacity: 0; transition: opacity 600ms; }
.xs .flow circle { fill: #fff; animation: rise 3.2s ease-in infinite; animation-delay: calc(var(--k) * -.4s); }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-70px); opacity: 0; } }
.xs .surface { animation: surface 6s var(--ease-in-out) infinite alternate; }
@keyframes surface { to { transform: translateX(-60px); } }
.xs[data-active="1"] .g-shell .lbl, .xs[data-active="2"] .g-flow .lbl, .xs[data-active="3"] .g-sand .lbl, .xs[data-active="4"] .g-beach .lbl { opacity: 1; transform: none; }
.xs[data-active="1"] .g-shell .lbl-line, .xs[data-active="2"] .g-flow .lbl-line, .xs[data-active="3"] .g-sand .lbl-line, .xs[data-active="4"] .g-beach .lbl-line { stroke-dashoffset: 0; }
.xs[data-active="1"] .g-water, .xs[data-active="1"] .g-sand-fill { opacity: .25; }
.xs[data-active="2"] .flow, .xs[data-active="3"] .flow, .xs[data-active="4"] .flow { opacity: 1; }
.xs[data-active="2"] .g-water { opacity: .55; }
.xs .g-shell-stroke { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2s var(--ease-out); }
.xs:not([data-active="0"]) .g-shell-stroke { stroke-dashoffset: 0; }
.xs .palm { transform-origin: 104px 156px; transform: scale(.6); opacity: 0; transition: transform 900ms var(--ease-out), opacity 600ms; }
.xs[data-active="4"] .palm { opacity: 1; transform: none; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; max-width: 960px; margin-inline: auto; text-align: center; }
.quote-mark { font-family: var(--f-script); font-size: 7rem; line-height: .6; color: var(--muted); display: block; height: 3.2rem; }
.quote { display: none; }
.quote.is-active { display: block; animation: quote-in 900ms var(--ease-out); }
@keyframes quote-in { from { opacity: 0; transform: translateY(14px); } }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.35; color: var(--platinum); }
.quote figcaption { margin-top: 2rem; font-size: var(--fs-xs); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.quote-nav { display: flex; justify-content: center; align-items: center; gap: 1.25rem; margin-top: 3rem; }
.quote-nav button { background: none; border: 1px solid var(--line-strong); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: border-color var(--t-fast), background-color var(--t-fast); }
.quote-nav button:hover { border-color: var(--platinum); background: rgba(255,255,255,.05); }
.quote-nav button svg { width: 18px; height: 18px; }
.quote-dots { display: flex; gap: .25rem; }
.quote-dots button { width: 32px; height: 44px; border: 0; border-radius: 0; position: relative; }
.quote-dots button::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: var(--line-strong); transition: background-color var(--t-fast); }
.quote-dots button[aria-current="true"]::after { background: var(--platinum); height: 2px; }
.quote-dots button:hover { background: none; }

/* ---------- Credentials ---------- */
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3.5rem; }
@media (min-width: 900px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.badge { background: var(--bg); padding: 2.25rem 1.5rem; text-align: center; display: grid; justify-items: center; gap: 1rem; }
.section--dark2 .badge { background: var(--bg-2); }
.badge svg { width: 44px; height: 44px; color: var(--silver); }
.badge b { font-family: var(--f-serif); font-weight: 400; font-size: 1.3rem; color: var(--platinum); line-height: 1.2; }
.badge span { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Project cards / portfolio ---------- */
.projects { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 3.5rem; }
@media (min-width: 700px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .projects--3 { grid-template-columns: repeat(3, 1fr); } }
.project { display: block; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; width: 100%; }
.project .media { transition: transform 900ms var(--ease-out); }
.project .media > img { transition: transform 1.4s var(--ease-out), filter 600ms; }
.project:hover .media > img { transform: scale(1.06); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.project-meta h3 { font-size: 1.45rem; }
.project-meta span { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (min-width: 1080px) {
  .projects--feature > :nth-child(3n+1) { grid-column: span 2; }
  .projects--feature > :nth-child(3n+1) .media { --ratio: 16 / 9; }
  .projects--feature { grid-template-columns: repeat(2, 1fr); }
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.filters button { background: none; border: 1px solid var(--line); color: var(--muted); min-height: 44px; padding: .5rem 1.25rem; font-size: var(--fs-xs); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: all var(--t-fast); }
.filters button:hover { color: var(--platinum); border-color: var(--line-strong); }
.filters button[aria-pressed="true"] { background: var(--platinum); color: var(--bg); border-color: var(--platinum); }
.project.is-hidden { display: none; }
.project.is-entering { animation: card-in 700ms var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px); } }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(7,7,7,.96); color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 500ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); }
.lb-stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lb-stage .media { width: min(100%, 1200px, calc((100dvh - 200px) * 1.6)); --ratio: 16 / 10; }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem var(--gutter) 1.5rem; }
.lb-bottom h3 { font-size: 1.6rem; }
.lb-btn { background: none; border: 1px solid var(--line-strong); color: var(--platinum); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { border-color: var(--platinum); }
.lb-btn svg { width: 18px; height: 18px; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; margin-top: 4rem; }
.timeline::before, .timeline-progress { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline-progress { background: var(--platinum); transform-origin: top; transform: scaleY(var(--p, 0)); }
@media (min-width: 900px) { .timeline::before, .timeline-progress { left: 50%; } }
.t-item { position: relative; padding-left: 3.5rem; padding-bottom: 4.5rem; }
.t-item:last-child { padding-bottom: 0; }
.t-dot { position: absolute; left: 6px; top: .6rem; width: 11px; height: 11px; transform: rotate(45deg); background: var(--bg); border: 1px solid var(--platinum); transition: background-color 500ms; }
.t-item.is-in .t-dot { background: var(--platinum); }
.t-item .num { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.t-item h3 { font-size: var(--fs-h3); margin: .5rem 0 1rem; }
.t-item p { color: var(--muted); max-width: 32em; }
@media (min-width: 900px) {
  .t-item { width: 50%; padding-left: 0; padding-right: 4.5rem; text-align: right; }
  .t-item p { margin-left: auto; }
  .t-item .t-dot { left: auto; right: -6px; }
  .t-item:nth-child(even of .t-item) { margin-left: 50%; padding-right: 0; padding-left: 4.5rem; text-align: left; }
  .t-item:nth-child(even of .t-item) p { margin-left: 0; }
  .t-item:nth-child(even of .t-item) .t-dot { right: auto; left: -5px; }
}

/* ---------- FAQ ---------- */
.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.section--sand .faq, .section--sand .faq details { border-color: rgba(28,26,22,.18); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem 0; font-family: var(--f-serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); color: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform var(--t-med) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding-bottom: 1.75rem; max-width: 46em; color: var(--muted); }
.section--sand .faq .faq-body { color: var(--sand-muted); }
.faq details[open] .faq-body { animation: faq-in 500ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Area cards ---------- */
.areas { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3.5rem; }
@media (min-width: 700px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.area { background: var(--bg); padding: 2.25rem; display: flex; flex-direction: column; gap: .75rem; min-height: 230px; transition: background-color var(--t-med); position: relative; }
.area:hover { background: var(--bg-3); }
.area h3 { font-size: 2rem; }
.area p { color: var(--muted); font-size: .95rem; flex: 1; }
.area .link-line { align-self: flex-start; }
.area::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--platinum); opacity: 0; transition: opacity var(--t-med); pointer-events: none; }
.area:hover::after { opacity: .35; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; background: radial-gradient(80% 120% at 50% 100%, #1a272c 0%, var(--bg) 70%); }
.cta-band .container { position: relative; z-index: 3; }
.cta-band .mark { width: 92px; margin: 0 auto 2rem; opacity: .9; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.75rem; }
.form-row { display: grid; gap: 1.75rem; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; }
.field label, .field legend { font-size: var(--fs-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field .req { color: var(--platinum); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .85rem 1rem; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--platinum); font-size: 1rem; transition: border-color var(--t-fast), background-color var(--t-fast);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.75rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(236,236,238,.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--platinum); background: var(--bg-3); }
.field .hint { font-size: var(--fs-sm); color: var(--muted); }
.field .error { font-size: var(--fs-sm); color: var(--danger); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line-strong); font-size: var(--fs-sm); color: var(--muted); transition: all var(--t-fast); cursor: pointer; }
.check input:checked + span { background: var(--platinum); color: var(--bg); border-color: var(--platinum); }
.check input:focus-visible + span { outline: 1px solid var(--focus); outline-offset: 3px; }
.hp { display: none; }
.form-note { font-size: var(--fs-sm); color: var(--muted); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }

.contact-card { border: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem); display: grid; gap: 2rem; align-content: start; }
.contact-card dt { font-size: var(--fs-xs); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.contact-card dd { margin: 0; font-family: var(--f-serif); font-size: 1.5rem; color: var(--platinum); }
.contact-card dd a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(4rem, 8vw, 6rem); background: var(--bg); }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-logo { width: 190px; }
.footer-grid h4 { font-family: var(--f-sans); font-size: var(--fs-xs); font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.footer-grid li + li { margin-top: .35rem; }
.footer-grid a { color: var(--text); transition: color var(--t-fast); display: inline-block; padding-block: .2rem; }
.footer-grid a:hover { color: var(--platinum); text-decoration: underline; text-underline-offset: 4px; }
.footer-blurb { color: var(--muted); max-width: 22em; margin-top: 1.5rem; font-size: .95rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; padding: 0 !important; }
.socials a:hover { border-color: var(--platinum); text-decoration: none !important; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-block: 2rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Misc ---------- */
.breadcrumbs { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumbs a:hover { color: var(--platinum); }
.breadcrumbs span[aria-hidden] { margin-inline: .6rem; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .9rem; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }
.prose h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin: 3rem 0 1.25rem; }
.prose p { color: var(--muted); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--gutter) 3rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split .w > span { transform: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .media::after, .water-light { display: none; }
}
