/* ============================================================
   BINGIN VILLAS — production styles
   ============================================================ */

/* ============ TOKENS ============ */
:root {
  --bone:    #F9F7F3;
  --sand:    #EEE7DC;
  --linen:   #DADCDC;
  --olive:   #C5C6AF;
  --stone:   #A9A29D;
  --ink:     #2B2724;
  --ink-2:   #1c1a17;
  --ember:   #6B4A2B;
  --ember-2: #8C5E36;

  --type-display: clamp(48px, 7vw, 120px);
  --type-h1:      clamp(36px, 4.5vw, 68px);
  --type-h2:      clamp(24px, 2.5vw, 36px);
  --type-body:    17px;
  --type-micro:   11px;

  --gutter: clamp(24px, 5vw, 80px);
  --container: 1280px;
  --section-y: clamp(88px, 14vw, 192px);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bone);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

::selection { background: var(--ember); color: var(--bone); }

/* ============ TYPE ============ */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--type-display);
  line-height: 1.0;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 144;
}
.h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--type-h1);
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 96;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--type-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
}
.body {
  font-size: var(--type-body);
  line-height: 1.65;
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
}
.micro {
  font-size: var(--type-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}
.eyebrow {
  display: block;
  margin-bottom: 1.8em;
}
.eyebrow--cream { color: rgba(249,247,243,0.55); }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { position: relative; }

/* ============ CUSTOM CURSOR ============ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 250ms ease;
}
.cursor.is-visible { opacity: 1; }
.cursor__dot,
.cursor__ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: #fff;
  left: 0; top: 0;
}
.cursor__ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.6);
  left: 0; top: 0;
  transition: width 250ms var(--ease-out), height 250ms var(--ease-out), border-color 250ms ease, background 250ms ease;
}
.cursor.is-hover .cursor__ring {
  width: 56px; height: 56px;
  border-color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.06);
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ============ SCROLL PROGRESS ============ */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 60;
  transition: transform 100ms linear;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  color: var(--bone);
  transition: background 500ms ease, color 500ms ease, padding 400ms ease, border-color 400ms ease, transform 500ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(249,247,243,0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: rgba(218,220,220,0.6);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.005em;
  line-height: 1;
  font-variation-settings: "opsz" 36;
}
.nav__links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 200ms ease;
}
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 250ms ease, color 250ms ease, transform 200ms ease;
  will-change: transform;
}
.nav__cta:hover { background: currentColor; color: var(--bone); }
.nav.is-scrolled .nav__cta:hover { color: var(--bone); }
.nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 280ms var(--ease-out), opacity 200ms ease;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; color: inherit; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--bone);
    color: var(--ink);
    padding: 32px var(--gutter);
    gap: 18px;
    border-bottom: 1px solid var(--linen);
    font-size: 17px;
  }
}

/* ============ IMG WRAPPER (reveal + hover scale) ============ */
.img {
  position: relative;
  overflow: hidden;
  background: var(--linen);
  isolation: isolate;
}
.img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1100ms var(--ease-out), filter 700ms ease;
  will-change: transform;
}
.img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,39,36,0.0), rgba(43,39,36,0.12));
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
}
.img:hover img { transform: scale(1.04); }
.img:hover::before { opacity: 1; }
.img--sq    { aspect-ratio: 1 / 1; }
.img--rect-43 { aspect-ratio: 4 / 3; }
.img--rect-56 { aspect-ratio: 5 / 6; }

/* image reveal — safe fallback: visible by default, JS opt-in via .img-reveal */
.img.img-reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.img.img-reveal.is-in { opacity: 1; transform: none; }
.img.img-reveal img { transform: scale(1.08); transition: transform 1500ms var(--ease-out); }
.img.img-reveal.is-in img { transform: scale(1); }

/* ============ HERO (slideshow) ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  color: var(--bone);
  overflow: hidden;
  background: var(--ink);
}
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1600ms var(--ease-in-out);
  will-change: opacity;
  pointer-events: none;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 9s ease-out forwards;
  animation-play-state: paused;
  will-change: transform;
}
.hero__slide:nth-child(2n) img {
  animation-name: kenburns-2;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero__slide.is-active img {
  animation-play-state: running;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.2%, 0); }
}
@keyframes kenburns-2 {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.18) translate3d(1.4%, -1.0%, 0); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(120% 80% at 30% 20%, transparent 0%, rgba(0,0,0,0.25) 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.18) 30%, rgba(0,0,0,0.42) 70%, rgba(0,0,0,0.78) 100%);
  pointer-events: none;
}
.hero__grain {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  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.9' numOctaves='2' 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%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero__inner {
  position: absolute;
  inset: auto 0 14% 0;
  z-index: 4;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.hero__eyebrow {
  color: rgba(249,247,243,0.78);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember-2);
  box-shadow: 0 0 12px var(--ember-2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.4); }
}
.hero__headline {
  color: var(--bone);
  max-width: 16ch;
}
.hero__sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: rgba(249,247,243,0.85);
  max-width: 36ch;
}
.hero__ctas {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.hero__price {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(249,247,243,0.7);
  letter-spacing: -0.005em;
  border-left: 1px solid rgba(249,247,243,0.25);
  padding-left: 24px;
}
.hero__price strong {
  color: var(--bone);
  font-weight: 400;
  font-size: 22px;
  margin-left: 6px;
}
/* Slide dots */
.hero__dots {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__dot-btn {
  width: 24px;
  height: 1px;
  border: 0;
  background: rgba(249,247,243,0.4);
  padding: 12px 0;
  background-clip: content-box;
  cursor: pointer;
  position: relative;
  transition: background-color 250ms ease;
}
.hero__dot-btn::after {
  content: "";
  position: absolute;
  inset: 12px 0;
  width: 0;
  background: var(--bone);
  transition: width 6000ms linear;
}
.hero__dot-btn.is-active::after { width: 100%; }
.hero__dot-btn:hover { background-color: rgba(249,247,243,0.8); }
@media (max-width: 760px) {
  .hero__dots { flex-direction: row; top: auto; bottom: 88px; left: var(--gutter); right: auto; transform: none; gap: 10px; }
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(249,247,243,0.7);
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(249,247,243,0.5);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 20px;
  background: var(--bone);
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(120%); }
  100% { transform: translateY(120%); }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  border-block: 1px solid rgba(249,247,243,0.06);
  padding-block: 22px;
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 3vw, 40px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  display: inline-block;
  padding-inline: 6px;
}
.marquee__track span:nth-child(odd) {
  color: rgba(249,247,243,0.32);
  font-style: italic;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ FACTS ============ */
.facts {
  background: var(--sand);
  padding-block: var(--section-y);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 24px;
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
}
.facts__item {
  padding: clamp(40px, 6vw, 72px) 0;
  border-right: 1px solid var(--linen);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-inline: 8px;
  transition: background 400ms ease;
}
.facts__item:hover { background: rgba(255,255,255,0.4); }
.facts__item:last-child { border-right: 0; }
.facts__num {
  font-size: clamp(56px, 7vw, 100px);
  font-weight: 300;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.facts__num em {
  font-style: normal;
  font-size: 0.45em;
  letter-spacing: -0.01em;
  margin-left: 0.1em;
  color: var(--stone);
}
.facts__label {
  color: var(--stone);
}
.facts__caption {
  margin-top: clamp(40px, 6vw, 72px);
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: balance;
}
@media (max-width: 700px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(2) { border-right: 0; }
  .facts__item:nth-child(1), .facts__item:nth-child(2) {
    border-bottom: 1px solid var(--linen);
  }
}

/* ============ THE VILLA ============ */
.villa {
  background: var(--bone);
  padding-block: var(--section-y);
}
.villa__intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(80px, 10vw, 128px);
}
.villa__copy { position: sticky; top: 120px; }
.villa__copy .body { margin-top: 32px; }
.villa__stack { display: grid; gap: clamp(24px, 4vw, 56px); }
.figure { margin: 0; }
.figure .img { width: 100%; }
.figure figcaption {
  margin-top: 14px;
  color: var(--stone);
}
@media (max-width: 860px) {
  .villa__intro { grid-template-columns: 1fr; }
  .villa__copy { position: static; }
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(20px, 2.5vw, 40px);
  row-gap: clamp(40px, 5vw, 88px);
  margin-top: clamp(40px, 6vw, 80px);
}
.gallery__cell { margin: 0; }
.gallery__cell .img { width: 100%; }
.gallery__cell figcaption { margin-top: 14px; color: var(--stone); }

.gallery__cell--a1 { grid-column: 1 / span 8; }
.gallery__cell--a1 .img { aspect-ratio: 16 / 11; }
.gallery__cell--a2 { grid-column: 9 / span 4; }
.gallery__cell--a2 .img { aspect-ratio: 8 / 11; }

.gallery__cell--b1 { grid-column: 1 / span 6; }
.gallery__cell--b2 { grid-column: 7 / span 6; }
.gallery__cell--b1 .img,
.gallery__cell--b2 .img { aspect-ratio: 5 / 4; }

.gallery__cell--c1 { grid-column: 1 / span 5; }
.gallery__cell--c1 .img { aspect-ratio: 1 / 1; }
.gallery__cell--c2 { grid-column: 6 / span 7; }
.gallery__cell--c2 .img { aspect-ratio: 7 / 5; }

@media (max-width: 760px) {
  .gallery { row-gap: clamp(32px, 6vw, 48px); }
  .gallery__cell--a1, .gallery__cell--a2,
  .gallery__cell--b1, .gallery__cell--b2,
  .gallery__cell--c1, .gallery__cell--c2 {
    grid-column: 1 / -1;
  }
  .gallery__cell--a1 .img,
  .gallery__cell--b1 .img,
  .gallery__cell--b2 .img,
  .gallery__cell--c2 .img { aspect-ratio: 4 / 3; }
  .gallery__cell--a2 .img,
  .gallery__cell--c1 .img { aspect-ratio: 4 / 5; }
}

/* ============ TOUR / VIDEO ============ */
.tour {
  background: var(--bone);
  padding-block: var(--section-y);
}
.tour__head {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.tour__head .h1 { max-width: 22ch; }
.tour__frame {
  position: relative;
  width: 100%;
  max-width: calc(var(--container) + 0px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.tour__frame {
  position: relative;
}
.tour__poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
  display: block;
  transition: opacity 400ms ease, transform 600ms var(--ease-out);
  cursor: pointer;
}
.tour__poster.is-hidden { opacity: 0; }
.tour__frame:hover .tour__poster { transform: scale(1.01); }
.tour__video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
  width: auto;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  background: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.tour__video.is-playing {
  opacity: 1;
  pointer-events: auto;
}
.tour__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(96px, 12vw, 144px);
  height: clamp(96px, 12vw, 144px);
  border-radius: 50%;
  background: rgba(43,39,36,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(249,247,243,0.5);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 320ms var(--ease-out), background 250ms ease, opacity 320ms ease;
}
.tour__play:hover { transform: scale(1.07); background: rgba(43,39,36,0.7); }
.tour__play.is-playing { opacity: 0; pointer-events: none; }
.tour__play-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(249,247,243,0.35);
  animation: ring 2.2s var(--ease-out) infinite;
}
@keyframes ring {
  0%   { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.4);  opacity: 0; }
}
.tour__play .micro { font-size: 10px; }
.tour__caption {
  position: absolute;
  left: calc(var(--gutter) + 20px);
  bottom: 20px;
  color: rgba(249,247,243,0.85);
  background: rgba(0,0,0,0.35);
  padding: 8px 14px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ============ THE FLOORS ============ */
.floors {
  background: var(--sand);
  padding-block: var(--section-y);
}
.floors__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 120px);
}
.floor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 88px);
  border-top: 1px solid var(--linen);
}
.floor:last-child { border-bottom: 1px solid var(--linen); }
.floor--reverse .floor__plan { order: 2; }
.floor--reverse .floor__copy { order: 1; }
.floor__plan {
  position: relative;
  background: var(--bone);
  padding: clamp(20px, 2.8vw, 36px);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 600ms var(--ease-out), box-shadow 600ms ease;
  border: 0;
  width: 100%;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}
.floor__plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(43,39,36,0.25);
}
.floor__plan:hover .floor__zoom { opacity: 1; transform: translateY(0); }
.floor__plan:hover img { transform: scale(1.02); }
.floor__plan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--ease-out);
}
.floor__chip {
  position: absolute;
  left: 20px; top: 20px;
  background: var(--ink);
  color: var(--bone);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2em;
}
.floor__zoom {
  position: absolute;
  right: 20px; bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bone);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms var(--ease-out);
}
.floor__zoom svg { display: block; }
.floor__tag { color: var(--ink); margin-bottom: 24px; }
.floor__copy .body { max-width: 36ch; }
@media (max-width: 860px) {
  .floors__head { grid-template-columns: 1fr; gap: 24px; }
  .floor { grid-template-columns: 1fr; }
  .floor--reverse .floor__plan { order: initial; }
  .floor--reverse .floor__copy { order: initial; }
}

/* ============ MATERIALS ============ */
.materials {
  background: var(--bone);
  padding-block: var(--section-y);
}
.materials__head { margin-bottom: clamp(56px, 8vw, 96px); }
.materials__head .h1 { max-width: 18ch; }
.materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 40px);
}
.material .img { margin-bottom: 18px; }
.material__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 36;
}
.material__use { color: var(--stone); }
.materials__caption {
  margin-top: clamp(56px, 8vw, 96px);
  max-width: 56ch;
  color: var(--stone);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .materials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .materials__grid { grid-template-columns: 1fr; }
}

/* ============ THE PLACE ============ */
.place { background: var(--bone); }
.place__hero {
  position: relative;
  height: clamp(520px, 75vh, 820px);
  overflow: hidden;
  background: var(--ink);
}
.place__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.place__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.65) 100%);
}
.place__headline {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(40px, 7vw, 80px);
  color: var(--bone);
  max-width: 18ch;
}
.place__body {
  padding-block: var(--section-y);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.place__body .body { max-width: 40ch; }
.place__distances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--linen);
  border: 1px solid var(--linen);
}
.place__distances li {
  background: var(--bone);
  padding: clamp(24px, 3vw, 36px) clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  justify-content: space-between;
  transition: background 350ms ease;
}
.place__distances li:hover { background: var(--sand); }
.place__d-num {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 0.95;
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}
.place__d-num em {
  font-style: normal;
  font-size: 0.34em;
  color: var(--stone);
  margin-left: 0.15em;
  letter-spacing: 0;
}
.place__d-name {
  font-size: 14px;
  color: var(--ink);
  border-top: 1px solid var(--linen);
  padding-top: 12px;
}
@media (max-width: 860px) {
  .place__body { grid-template-columns: 1fr; }
  .place__distances { grid-template-columns: repeat(2, 1fr); }
}

/* ============ INVESTMENT ============ */
.invest {
  background: var(--ink);
  color: var(--bone);
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}
.invest::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(107,74,43,0.32) 0%, transparent 60%);
  pointer-events: none;
}
.invest::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(197,198,175,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.invest > .container { position: relative; z-index: 1; }
.invest__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  margin-bottom: clamp(64px, 9vw, 128px);
  align-items: end;
}
.invest__headline { color: var(--bone); }
.invest__intro {
  color: rgba(249,247,243,0.72);
  max-width: 50ch;
}

/* pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(249,247,243,0.12);
  border: 1px solid rgba(249,247,243,0.12);
  margin-bottom: clamp(80px, 10vw, 144px);
}
.price-card {
  background: var(--ink);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: background 400ms ease;
}
.price-card:hover { background: #322c28; }
.price-card .micro { color: rgba(249,247,243,0.55); }
.price-card__num {
  font-size: clamp(48px, 5.5vw, 84px);
  color: var(--bone);
  line-height: 1;
}
.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(249,247,243,0.78);
  font-size: 15px;
}
.price-card__list li {
  padding-block: 12px;
  border-top: 1px solid rgba(249,247,243,0.12);
}
.price-card__list li:last-child {
  border-bottom: 1px solid rgba(249,247,243,0.12);
}
.price-card--early::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
}
.price-card--early::after {
  content: "Limited";
  position: absolute;
  top: 24px; right: 24px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember-2);
  border: 1px solid var(--ember);
  padding: 4px 10px;
  border-radius: 999px;
}
.link-arrow {
  align-self: flex-start;
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--bone);
  transition: gap 250ms ease, color 250ms ease;
  display: inline-flex;
  gap: 6px;
}
.link-arrow:hover { gap: 14px; color: var(--olive); }
.link-arrow--cream { color: var(--bone); }
@media (max-width: 760px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ROI table */
.roi {
  display: grid;
  gap: 0;
  margin-bottom: 32px;
  font-variant-numeric: tabular-nums;
}
.roi__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  padding-block: 18px;
  border-bottom: 1px solid rgba(249,247,243,0.12);
  color: rgba(249,247,243,0.85);
  font-size: 15px;
  transition: background 250ms ease;
}
.roi__row:not(.roi__row--head):hover {
  background: rgba(249,247,243,0.03);
}
.roi__row--head {
  align-items: end;
  padding-bottom: 28px;
  padding-top: 0;
  border-bottom: 1px solid rgba(249,247,243,0.4);
}
.roi__metric {
  color: rgba(249,247,243,0.6);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.roi__col {
  text-align: right;
  padding-inline: 12px;
}
.roi__row--head .roi__col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  position: relative;
  padding-top: 18px;
}
.roi__row--head .roi__col--accent::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
}
.roi__roi {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 0.95;
  color: var(--bone);
}
.roi__roi em {
  font-style: normal;
  font-size: 0.38em;
  color: rgba(249,247,243,0.55);
  margin-left: 0.1em;
}
.roi__col--accent { color: var(--bone); font-weight: 500; }

.invest__caption {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(249,247,243,0.5);
  max-width: 64ch;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .roi__row { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
  .roi__col { text-align: left; padding-inline: 0; }
  .roi__col::before { content: attr(data-label); display: block; color: rgba(249,247,243,0.5); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
  .roi__row--head .roi__col { align-items: flex-start; }
  .roi__row--head .roi__col--accent::before { left: 0; right: auto; }
}

/* lease */
.lease {
  margin-top: clamp(80px, 10vw, 144px);
  padding-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid rgba(249,247,243,0.12);
}
.lease__head {
  color: var(--bone);
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 22ch;
}
.lease__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
}
.lease__grid .body { color: rgba(249,247,243,0.78); }
.lease__grid strong { color: var(--bone); font-weight: 500; }
@media (max-width: 760px) {
  .invest__head { grid-template-columns: 1fr; gap: 24px; }
  .lease__grid { grid-template-columns: 1fr; }
}

/* ============ ARCHITECT ============ */
.architect {
  background: var(--bone);
  padding-block: var(--section-y);
}
.architect__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.architect__portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
}
.architect__portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.92) contrast(1.02);
  transition: filter 700ms ease, transform 1200ms var(--ease-out);
}
.architect__portrait-frame:hover img {
  filter: saturate(1) brightness(1) contrast(1);
  transform: scale(1.03);
}
.architect__portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,39,36,0.18) 0%, rgba(43,39,36,0.32) 100%);
  pointer-events: none;
  transition: opacity 600ms ease;
}
.architect__portrait-frame:hover::after { opacity: 0; }
.architect__portrait figcaption {
  margin-top: 14px;
  color: var(--stone);
}
.architect__copy { display: flex; flex-direction: column; gap: 28px; }
.architect__copy .h1 { margin-bottom: 12px; }
@media (max-width: 760px) {
  .architect__grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT ============ */
.contact {
  position: relative;
  padding-block: var(--section-y);
  color: var(--bone);
  background: var(--ink);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
}
.contact__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,16,0.55) 0%, rgba(20,18,16,0.72) 100%);
}
.contact__inner { position: relative; z-index: 1; max-width: 780px; }
.contact__head { margin-bottom: clamp(48px, 6vw, 80px); }
.contact__headline { color: var(--bone); margin-bottom: 24px; }
.contact__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(249,247,243,0.82);
  max-width: 48ch;
  line-height: 1.55;
}

/* form */
.form { display: flex; flex-direction: column; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 10px; position: relative; }
.field .micro { color: rgba(249,247,243,0.6); transition: color 250ms ease; }
.field input, .field textarea {
  font: inherit;
  color: var(--bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(249,247,243,0.3);
  padding: 10px 0 12px;
  font-size: 17px;
  transition: border-color 250ms ease;
  outline: none;
  width: 100%;
  font-family: inherit;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-bottom-color: var(--bone);
}
.field:focus-within .micro { color: rgba(249,247,243,0.95); }
.field input::placeholder, .field textarea::placeholder { color: rgba(249,247,243,0.4); }
.field.is-error input, .field.is-error textarea { border-bottom-color: #C77F5A; }

.intent { display: flex; flex-direction: column; gap: 16px; }
.intent legend { color: rgba(249,247,243,0.6); margin-bottom: 4px; }
.intent__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  color: rgba(249,247,243,0.85);
  padding: 6px 0;
  transition: color 200ms ease;
}
.intent__opt:hover { color: var(--bone); }
.intent__opt input {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid rgba(249,247,243,0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 250ms ease, background 250ms ease;
}
.intent__opt input:checked { border-color: var(--ember-2); }
.intent__opt input:checked::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--ember-2);
  border-radius: 50%;
}

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 16px;
}

/* shared button */
.btn {
  background: var(--ember);
  color: var(--bone);
  border: 0;
  padding: 18px 36px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 250ms ease, gap 250ms ease, transform 220ms var(--ease-out), box-shadow 300ms ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ember-2);
  transform: translateY(100%);
  transition: transform 350ms var(--ease-out);
  z-index: -1;
}
.btn:hover { gap: 16px; box-shadow: 0 14px 30px -12px rgba(107,74,43,0.55); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(249,247,243,0.5);
}
.btn--ghost::before { background: rgba(249,247,243,0.10); }
.btn--ghost:hover { box-shadow: none; border-color: var(--bone); }

.form__note {
  color: rgba(249,247,243,0.5);
  text-align: right;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 12px;
}
.contact__alt {
  margin-top: 56px;
  color: rgba(249,247,243,0.55);
}
.contact__alt a {
  color: var(--bone);
  border-bottom: 1px solid rgba(249,247,243,0.3);
  padding-bottom: 2px;
  transition: border-color 200ms ease;
}
.contact__alt a:hover { border-bottom-color: var(--bone); }
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: flex-start; }
  .form__note { text-align: left; }
}

/* thanks */
.thanks {
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: fadeUp 700ms var(--ease-out);
}
.thanks__head { color: var(--bone); max-width: 22ch; }
.thanks a { color: var(--bone); border-bottom: 1px solid rgba(249,247,243,0.4); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ============ FOOTER ============ */
.foot {
  background: var(--ink-2);
  color: rgba(249,247,243,0.7);
  padding-block: clamp(56px, 7vw, 96px) 32px;
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.foot__brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--bone);
  margin-bottom: 10px;
}
.foot a {
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease;
  font-size: 15px;
}
.foot a:hover { border-bottom-color: rgba(249,247,243,0.4); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 24px; align-content: flex-start; }
.foot__bar {
  border-top: 1px solid rgba(249,247,243,0.12);
  padding-top: 28px;
  color: rgba(249,247,243,0.4);
}
.foot a.foot__webdev,
.foot a.foot__webdev:hover,
.foot a.foot__webdev:visited,
.foot a.foot__webdev:active {
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  border-bottom: 0;
  text-decoration: none;
}
@media (max-width: 760px) {
  .foot__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ REVEAL / SPLIT ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* stagger groups: indexed by nth-child since data-split siblings (no .reveal class) still occupy positions */
/* HERO: 1 eyebrow · 2 headline(data-split) · 3 sub · 4 ctas */
.hero__inner > .reveal:nth-child(1) { --reveal-delay: 260ms; }
.hero__inner > .reveal:nth-child(3) { --reveal-delay: 520ms; }
.hero__inner > .reveal:nth-child(4) { --reveal-delay: 720ms; }

/* VILLA__COPY: 1 eyebrow · 2 h1(data-split) · 3 body */
.villa__copy > .reveal:nth-child(3) { --reveal-delay: 220ms; }

/* TOUR__HEAD: 1 eyebrow · 2 h1(data-split) */
/* (only eyebrow gets reveal — no stagger needed) */

/* FLOORS__HEAD / MATERIALS__HEAD: same shape (eyebrow + data-split h1) */

/* ARCHITECT__COPY: 1 eyebrow · 2 h1(data-split) · 3 body · 4 body */
.architect__copy > .reveal:nth-child(3) { --reveal-delay: 200ms; }
.architect__copy > .reveal:nth-child(4) { --reveal-delay: 360ms; }

/* CONTACT__HEAD: 1 eyebrow · 2 display(data-split) · 3 sub */
.contact__head > .reveal:nth-child(3) { --reveal-delay: 240ms; }

/* INVEST__HEAD: 1 eyebrow · 2 h1(data-split) · 3 intro */
.invest__head > .reveal:nth-child(3) { --reveal-delay: 220ms; }

/* PLACE__BODY: 1 body · 2 distances */
.place__body > .reveal:nth-child(2) { --reveal-delay: 160ms; }

/* FLOOR__COPY: tag + body */
.floor__copy > .reveal:nth-child(2) { --reveal-delay: 140ms; }

/* MATERIALS: diagonal sweep across 3-col grid */
.materials__grid > .material:nth-child(3n+1) { --reveal-delay: 0ms; }
.materials__grid > .material:nth-child(3n+2) { --reveal-delay: 90ms; }
.materials__grid > .material:nth-child(3n+3) { --reveal-delay: 180ms; }
@media (max-width: 760px) {
  .materials__grid > .material:nth-child(2n+1) { --reveal-delay: 0ms; }
  .materials__grid > .material:nth-child(2n+2) { --reveal-delay: 90ms; }
}

/* Split-line headline reveal: each line is masked, then slides up */
[data-split] {
  display: block;
}
.split-line {
  display: block;
  overflow: hidden;
  position: relative;
}
.split-line__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 900ms var(--ease-out);
  transition-delay: var(--line-delay, 0ms);
}
.is-in .split-line__inner,
[data-split].is-in .split-line__inner {
  transform: translateY(0);
}

/* ============ BROCHURE (inline banner in Investment) ============ */
.brochure {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px);
  border: 1px solid rgba(249,247,243,0.18);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(107,74,43,0.12), rgba(249,247,243,0.02));
  color: var(--bone);
  transition: background 300ms ease, border-color 300ms ease, transform 220ms var(--ease-out);
  will-change: transform;
}
.brochure:hover {
  background: linear-gradient(90deg, rgba(107,74,43,0.24), rgba(249,247,243,0.04));
  border-color: rgba(249,247,243,0.4);
}
.brochure__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--bone);
  flex-shrink: 0;
  transition: transform 280ms var(--ease-out), background 250ms ease;
}
.brochure:hover .brochure__icon { background: var(--ember-2); transform: translateY(-2px); }
.brochure__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brochure__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.005em;
  color: var(--bone);
}
.brochure__meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249,247,243,0.55);
}
.brochure__arrow {
  font-size: 22px;
  color: var(--bone);
  transition: transform 280ms var(--ease-out);
}
.brochure:hover .brochure__arrow { transform: translateX(6px); }
@media (max-width: 600px) {
  .brochure {
    grid-template-columns: auto 1fr;
    border-radius: 18px;
    padding: 20px 22px;
  }
  .brochure__arrow { display: none; }
  .brochure__title { font-size: 16px; }
}

/* ============ FLOATING CTA (Brochure) ============ */
.float-cta {
  position: fixed;
  right: clamp(20px, 3vw, 32px);
  bottom: clamp(20px, 3vw, 32px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: var(--ink);
  color: var(--bone);
  border: 1px solid rgba(249,247,243,0.18);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), background 250ms ease;
}
.float-cta.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.float-cta:hover {
  background: var(--ember);
  border-color: var(--ember);
}
.float-cta__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ember);
  color: var(--bone);
  transition: background 250ms ease, transform 280ms var(--ease-out);
}
.float-cta:hover .float-cta__icon {
  background: var(--bone);
  color: var(--ember);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .float-cta__label { display: none; }
  .float-cta { padding: 12px; }
  .float-cta__icon { width: 26px; height: 26px; }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 16, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 80px) clamp(24px, 4vw, 40px);
  color: var(--bone);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  position: relative;
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - clamp(220px, 24vw, 320px));
  object-fit: contain;
  background: var(--bone);
  padding: clamp(20px, 3vw, 40px);
  border-radius: 4px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
  transition: opacity 280ms ease, transform 280ms var(--ease-out);
}
.lightbox.is-swap .lightbox__img { opacity: 0; transform: scale(0.98); }
.lightbox__caption {
  color: rgba(249,247,243,0.7);
  letter-spacing: 0.2em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  background: rgba(249,247,243,0.08);
  border: 1px solid rgba(249,247,243,0.25);
  color: var(--bone);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.lightbox__close { top: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px); }
.lightbox__nav--prev { left: clamp(16px, 3vw, 32px); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(16px, 3vw, 32px); top: 50%; transform: translateY(-50%); }
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(249,247,243,0.18);
  border-color: rgba(249,247,243,0.6);
}
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox__thumbs {
  display: flex;
  gap: clamp(8px, 1.5vw, 16px);
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 24px;
}
.lightbox__thumb {
  background: rgba(249,247,243,0.04);
  border: 1px solid rgba(249,247,243,0.2);
  padding: 6px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: clamp(96px, 14vw, 140px);
  color: rgba(249,247,243,0.7);
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}
.lightbox__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--bone);
  border-radius: 2px;
}
.lightbox__thumb:hover {
  border-color: rgba(249,247,243,0.5);
  color: var(--bone);
  transform: translateY(-2px);
}
.lightbox__thumb.is-active {
  border-color: var(--ember-2);
  background: rgba(140,94,54,0.18);
  color: var(--bone);
}
.lightbox__thumb .micro {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: inherit;
  padding-bottom: 4px;
}

body.no-scroll { overflow: hidden; }
@media (max-width: 600px) {
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__thumb { width: 88px; }
}

/* ============ MOTION SAFETY ============ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .split-line__inner { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line::after { animation: none; }
  .marquee__track { animation: none; }
  .hero__dot { animation: none; }
  .tour__play-ring { animation: none; }
  html { scroll-behavior: auto; }
  .place__hero-img, .contact__bg { transform: none; }
  .hero__slide.is-active img { animation: none; transform: scale(1); }
  .img.img-reveal, .img.img-reveal img { opacity: 1; transform: none; }
}
