/* ═══════════════════════════════════════════════════════════════
   EUNOIA ABASAN — style.css
   Faithfully replicates eunoiaabasan.com design language:
   · Dark olive luxury palette
   · Cormorant Garamond editorial serif + Inter sans
   · Cinematic hero + scroll-reveal animations
   · All sections: topbar, hero, estate, location, architecture,
     residences, rhythm, team, ownership, release, footer, FABs
═══════════════════════════════════════════════════════════════ */

/* ───── TOKENS ───────────────────────────────────────────────── */
:root {
  /* Colours */
  --ink:       #171109;     /* near-black warm */
  --ink-mid:   #2e2519;
  --olive:     #525645;     /* olive accent */
  --olive-lt:  #7c7e6e;
  --paper:     #f5f0e8;     /* warm off-white */
  --paper-dk:  #e8e1d3;
  --cream:     #faf7f2;
  --sand:      #c9bfae;
  --gold:      #b89a6a;
  --white:     #ffffff;

  /* Typography */
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --wrap-px: clamp(24px, 6vw, 120px);
  --section-py: clamp(80px, 10vw, 160px);

  /* Transitions */
  --ease: cubic-bezier(.25,.1,.25,1);
  --ease-out: cubic-bezier(0,.55,.45,1);
}

/* ───── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ───── LOADER ───────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity .7s var(--ease), visibility .7s;
}
#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#loader .ll img,
#loader .ll .logo-fallback {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
#loader .ll .logo-fallback {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: .35em;
  color: var(--paper);
  text-transform: uppercase;
}
#loader .bar {
  width: min(280px, 60vw);
  height: 1px;
  background: rgba(255,255,255,.15);
  position: relative;
  overflow: hidden;
}
#loader .bar #bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--paper);
  transition: width .04s linear;
}
#loader .pct {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ───── TOPBAR ───────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 var(--wrap-px);
  height: 72px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.topbar.scrolled {
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

/* Wordmark */
.wordmark.dual { display: flex; align-items: center; }
.wordmark img,
.wordmark .logo-text {
  height: 36px;
  width: auto;
  transition: opacity .4s;
}
.wordmark .logo-text {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 1;
}
/* On dark hero: show lite (white) logo */
.wordmark .dark { display: none; }
.wordmark .dark-text { display: none; }
.topbar.scrolled .wordmark .lite,
.topbar.scrolled .wordmark .lite-text { opacity: 0; position: absolute; pointer-events: none; }
.topbar.scrolled .wordmark .dark,
.topbar.scrolled .wordmark .dark-text { display: inline; opacity: 1; }

/* Top nav */
.topbar nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 36px;
}
.topbar nav a {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .3s, opacity .3s;
}
.topbar nav a:hover { color: var(--white); }
.topbar.scrolled nav a { color: var(--olive); }
.topbar.scrolled nav a:hover { color: var(--ink); }

@media (max-width: 900px) { .topbar nav { display: none; } }

/* Right group */
.topbar .right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
@media (min-width: 901px) { .topbar .right { margin-left: 0; } }

/* "Enter the Estate" CTA in topbar */
.topbar .invite {
  display: none;
  padding: 9px 20px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  border-radius: 2px;
  transition: background .3s, color .3s, border-color .3s;
}
.topbar .invite:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.topbar.scrolled .invite {
  border-color: var(--olive);
  color: var(--olive);
}
.topbar.scrolled .invite:hover {
  background: var(--olive);
  color: var(--white);
}
@media (min-width: 1024px) { .topbar .invite { display: block; } }

/* Menu button */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .3s;
}
.menu-btn:hover { color: var(--white); }
.topbar.scrolled .menu-btn { color: var(--olive); }
.topbar.scrolled .menu-btn:hover { color: var(--ink); }

/* hamburger icon */
.menu-btn i {
  display: block;
  width: 18px;
  height: 12px;
  position: relative;
  flex-shrink: 0;
}
.menu-btn i::before,
.menu-btn i::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform .3s;
}
.menu-btn i::before { top: 0; }
.menu-btn i::after { bottom: 0; }

/* ───── HERO ─────────────────────────────────────────────────── */
.hero {
  height: 350vh; /* scroll budget */
  position: relative;
}

.hero-frame {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-frame.fading { opacity: 0; transition: opacity .6s var(--ease); }

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark veil over hero image */
.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.45) 0%,
    rgba(0,0,0,.3) 50%,
    rgba(0,0,0,.6) 100%
  );
}

/* Hero content container */
.hero-c {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--wrap-px) min(80px, 8vh);
  pointer-events: none;
}
.stage { width: 100%; position: relative; }

/* Hero states */
.state {
  position: absolute;
  bottom: 0; left: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.state.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* State 1 */
.state[data-state="1"] .eb {
  font-size: clamp(.65rem, .8vw, .75rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.state[data-state="1"] .hd {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 32px;
}
.state[data-state="1"] .hd em {
  font-style: italic;
  color: var(--paper);
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* State 2 — scarcity */
.state[data-state="2"] {
  text-align: left;
}
.state[data-state="2"] .num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 18rem);
  font-weight: 300;
  line-height: .85;
  color: rgba(255,255,255,.12);
  letter-spacing: -.02em;
}
.state[data-state="2"] .lbl {
  display: block;
  font-size: clamp(.65rem, .9vw, .85rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 16px;
}
.state[data-state="2"] .poetic-mobile {
  display: none;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-style: italic;
  color: var(--paper);
  margin-top: 12px;
}
@media (max-width: 768px) {
  .state[data-state="2"] .num { display: none; }
  .state[data-state="2"] .poetic-mobile { display: block; }
}

/* State 3 — poetic */
.state[data-state="3"] .hd-poetic {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--paper);
  line-height: 1.5;
  max-width: 860px;
}

/* Scarcity detail overlay (mobile) */
.hero-detail {
  position: absolute;
  top: 50%;
  left: var(--wrap-px);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .6s;
  display: none;
}
.hero-detail.visible { opacity: 1; }
.hero-detail .giant-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(7rem, 30vw, 16rem);
  font-weight: 300;
  color: rgba(255,255,255,.08);
  line-height: 1;
}
.hero-detail .giant-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 8px;
}
@media (max-width: 768px) { .hero-detail { display: block; } }

/* Scroll cue */
.cue {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 1;
  transition: opacity .5s;
}
.cue.hidden { opacity: 0; pointer-events: none; }
.cue span {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cue span::after {
  content: '';
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.3);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(.4); opacity: 1; }
}

/* ───── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: var(--paper);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s, color .3s, transform .2s;
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-1px);
}
.final .btn-primary,
.release-card .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.btn-text {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .3s;
}
.btn-text::after { content: '→'; transition: transform .3s; }
.btn-text:hover { color: var(--white); }
.btn-text:hover::after { transform: translateX(3px); }
.btn-text.on-dark { color: rgba(255,255,255,.65); }
.btn-text.on-dark:hover { color: var(--white); }

/* ───── SLIDE-OUT MENU ───────────────────────────────────────── */
.menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(520px, 100vw);
  z-index: 1000;
  display: flex;
  transform: translateX(100%);
  transition: transform .55s cubic-bezier(.76,0,.24,1);
  clip-path: url(#menuWave);
}
.menu.open { transform: translateX(0); }

.menu .pic {
  width: 220px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
}
@media (max-width: 600px) { .menu .pic { display: none; } }

.menu .pane {
  flex: 1;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 80px 48px 48px;
  gap: 40px;
  overflow-y: auto;
}

.menu .wordmark.mword {
  position: absolute;
  top: 28px;
  left: 236px;
}
.menu .wordmark.mword img {
  height: 30px;
  filter: brightness(0) invert(1) opacity(.8);
}
@media (max-width: 600px) { .menu .wordmark.mword { left: 24px; } }

.menu .close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, border-color .3s;
}
.menu .close:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.menu .close::before,
.menu .close::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 1px;
  background: rgba(255,255,255,.7);
}
.menu .close::before { transform: rotate(45deg); }
.menu .close::after  { transform: rotate(-45deg); }

.menu .links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu .links a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  color: rgba(255,255,255,.55);
  line-height: 1.3;
  transition: color .3s;
  padding: 2px 0;
}
.menu .links a:hover { color: var(--paper); }

.menu .mcta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 2px;
  width: fit-content;
  transition: background .3s, color .3s;
}
.menu .mcta:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }

/* ───── SECTIONS — shared ────────────────────────────────────── */
.sec {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 10;
  background: var(--paper);
}
.sec.alt { background: var(--cream); }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--wrap-px);
}
.block { margin-bottom: 60px; }
.block:last-child { margin-bottom: 0; }

/* Eyebrow */
.eyebrow {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive-lt);
  margin-bottom: 16px;
}

/* Statement heading */
.statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}
.statement em { font-style: italic; color: var(--olive); }

/* Lead copy */
.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-mid);
  font-weight: 300;
  margin-bottom: 16px;
}

/* Body text */
.body-text {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.8;
  color: var(--olive-lt);
  margin-bottom: 12px;
}

/* Facts strip */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--paper-dk);
}
.facts span {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--olive-lt);
  padding: 14px 20px 14px 0;
  margin-right: 20px;
  border-right: 1px solid var(--paper-dk);
  white-space: nowrap;
}
.facts span:last-child { border-right: none; }

/* Full-bleed scene image */
.scene.full {
  position: relative;
  z-index: 10;
  overflow: hidden;
}
.scene.full img {
  width: 100%;
  height: min(80vh, 720px);
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .8s var(--ease);
}
.scene.full:hover img { transform: scale(1.02); }
.scene.full.shade img {
  filter: brightness(.88);
}

/* ───── LOCATION MAP ─────────────────────────────────────────── */
.mapfig {
  position: relative;
  margin: 40px 0 60px;
  max-width: 900px;
}
.mapfig .map-base {
  width: 100%;
  height: auto;
  display: block;
}
/* Pins */
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
}
.pin .dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 2px rgba(82,86,69,.25);
}
.pin .lbl {
  position: absolute;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive);
  white-space: nowrap;
  top: 50%;
  transform: translateY(-50%);
}
.pin[data-place="left"]  .lbl { right: calc(100% + 8px); }
.pin[data-place="right"] .lbl { left: calc(100% + 8px); }

/* Eunoia Abasan seal marker */
.map-k {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.seal-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(82,86,69,.4);
  transition: transform .3s;
}
.map-k:hover .seal-mark { transform: scale(1.1); }
.map-k-ring {
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(82,86,69,.4);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

/* ───── ARCHITECTURE SPLIT ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}
.col p + p { margin-top: 20px; }
.figure { overflow: hidden; border-radius: 2px; }
.figure img { width: 100%; height: auto; }
.figure--ink img { filter: sepia(.1) contrast(1.05); }

/* ───── TEAM TIMELINE ────────────────────────────────────────── */
.timeline {
  position: relative;
  padding: 40px 0;
}
/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--paper-dk);
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline::before { left: 0; }
}

.member {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 72px;
  position: relative;
}
.member.right { direction: rtl; }
.member.right > * { direction: ltr; }

.member .pfig {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
}
.member .pfig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  filter: grayscale(.2);
}
.member:hover .pfig img { transform: scale(1.04); }

.member .info { padding: 8px 0; }
.member .name {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.member .role {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive-lt);
  margin-bottom: 12px;
}
.member .desc {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink-mid);
}

/* Timeline dot */
.member .dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--olive);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px var(--olive);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .member,
  .member.right {
    grid-template-columns: 1fr;
    direction: ltr;
    margin-left: 28px;
    gap: 20px;
  }
  .member .dot { display: none; }
  .member.right .pfig { order: -1; }
}

/* ───── OWNERSHIP 3-STEP GRID ────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; gap: 40px; }
}
.step .no {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--paper-dk);
  line-height: 1;
  margin-bottom: 16px;
}
.step h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}
.step p {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--ink-mid);
}

/* ───── PRIVATE RELEASE (final) ──────────────────────────────── */
.final {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}
.final > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45);
  z-index: 0;
}
.release-card {
  position: relative;
  z-index: 1;
  max-width: 560px;
  text-align: center;
  padding: 60px 40px;
  background: rgba(23,17,9,.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  margin: var(--section-py) var(--wrap-px);
}
.release-label {
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.release-lead {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--paper);
  margin-bottom: 20px;
  line-height: 1.2;
}
.release-body {
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
}
.release-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ───── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 80px var(--wrap-px) 48px;
  position: relative;
  z-index: 10;
}
.f-stack {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.f-logo { height: 40px; width: auto; filter: brightness(0) invert(1) opacity(.8); }
.f-logo-text {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: .3em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}

.f-contact {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.f-contact a {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color .3s;
}
.f-contact a:hover { color: var(--paper); }

.f-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.f-legal a {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  transition: color .3s;
}
.f-legal a:hover { color: rgba(255,255,255,.55); }

.f-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.f-bot span {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
}

/* ───── FLOATING FABs ────────────────────────────────────────── */
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 40px;
  padding: 12px 20px 12px 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
  transition: transform .3s, box-shadow .3s, padding .4s;
  overflow: hidden;
  max-width: 48px;
}
.wa:hover {
  max-width: 220px;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
}
.wa .ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa .ico svg { width: 20px; height: 20px; }
.wa .k {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
}
.wa .lbl {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s .05s;
}
.wa:hover .lbl { opacity: 1; }

/* "Enter the Estate" FAB sits above WhatsApp */
.wa--enter {
  bottom: 84px;
  background: var(--olive);
  color: var(--paper);
}

/* ───── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 850;
  background: var(--ink);
  padding: 20px var(--wrap-px);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cookie-banner[hidden] { display: none; }
.ck-text {
  flex: 1;
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
  min-width: 200px;
}
.ck-text a { color: rgba(255,255,255,.7); text-decoration: underline; }
.ck-actions { display: flex; gap: 12px; flex-shrink: 0; }
.ck-btn {
  padding: 9px 20px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .3s, color .3s;
}
.ck-decline {
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.5);
}
.ck-decline:hover { background: rgba(255,255,255,.08); color: var(--white); }
.ck-accept {
  background: var(--paper);
  color: var(--ink);
}
.ck-accept:hover { background: var(--white); }

/* ───── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-l { transform: translateX(-24px); }
.reveal-r { transform: translateX(24px); }

.reveal.in, .reveal-l.in, .reveal-r.in {
  opacity: 1;
  transform: translate(0);
}

.d1 { transition-delay: .12s !important; }
.d2 { transition-delay: .24s !important; }
.d3 { transition-delay: .36s !important; }

/* ───── RESPONSIVE TWEAKS ────────────────────────────────────── */
@media (max-width: 600px) {
  .topbar { height: 60px; padding: 0 20px; }
  .hero-c { padding: 0 20px min(60px, 8vh); }
  .release-card { margin: 40px 20px; padding: 40px 24px; }
  .facts span { font-size: .6rem; padding: 10px 14px 10px 0; margin-right: 14px; }
  .f-bot { flex-direction: column; gap: 8px; text-align: center; }
  .wa { right: 16px; bottom: 16px; }
  .wa--enter { bottom: 76px; }
}
