/* ============================================================
   OAKMONT VENTURES — Editorial luxury minimalism
   ============================================================ */

:root {
  --bg: #f4f0ea;            /* warm cream */
  --bg-deep: #0c0a08;       /* near-black espresso */
  --ink: #1a1714;          /* primary text */
  --ink-soft: #6b635a;     /* muted text */
  --line: rgba(26, 23, 20, 0.12);
  --gold: #9a7b4f;         /* warm bronze accent */
  --gold-soft: #c4a574;
  --cream-text: #ece6dc;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0.05, 0.36, 1);
  --shell: min(1380px, 92vw);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

::selection { background: var(--gold); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Film grain + vignette ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 9600; pointer-events: none; will-change: transform; }
.cursor {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(255,255,255,0.7); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  mix-blend-mode: difference;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), margin 0.4s var(--ease);
}
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--gold-soft); border-radius: 50%;
}
.cursor__label {
  font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff; opacity: 0; transform: scale(0.7);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); white-space: nowrap;
}
.cursor.is-active {
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  background: rgba(196,165,116,0.9); border-color: transparent; mix-blend-mode: normal;
}
.cursor.is-active .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }

/* hide native cursor only on precise pointers that get the custom one */
@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none !important; }
}

/* ---------- Liquid displacement ---------- */
.svg-defs { position: absolute; pointer-events: none; }
[data-warp] { transition: filter 0.2s linear; }
[data-warp].is-warp { filter: url(#liquid); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 9500; transition: width 0.1s linear;
}

/* ============================================================
   INTRO OVERLAY
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.4rem;
  transition: transform 1.1s var(--ease) 0.2s, visibility 0s linear 1.5s;
}
.intro.is-done { transform: translateY(-101%); visibility: hidden; }
.intro__inner { display: flex; align-items: center; gap: 1.1rem; overflow: hidden; }
.intro__mark {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold-soft); letter-spacing: 0.04em;
  opacity: 0; transform: translateY(110%);
  animation: introUp 1s var(--ease) 0.25s forwards;
}
.intro__name {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(0.8rem, 2.2vw, 1.05rem);
  letter-spacing: 0.5em; color: var(--cream-text);
  opacity: 0; transform: translateY(110%);
  animation: introUp 1s var(--ease) 0.4s forwards;
}
@keyframes introUp { to { opacity: 1; transform: translateY(0); } }
.intro__bar {
  width: clamp(120px, 18vw, 220px); height: 1px; background: rgba(236,230,220,0.18);
  overflow: hidden;
}
.intro__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--gold-soft);
  transform: translateX(-100%);
  animation: introBar 1.3s var(--ease-soft) 0.45s forwards;
}
@keyframes introBar { to { transform: translateX(0); } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 8000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.4rem, 4vw, 3.2rem);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease);
  mix-blend-mode: difference; color: #fff;
}
.nav.is-scrolled {
  mix-blend-mode: normal;
  background: rgba(244, 240, 234, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  padding-top: 1.1rem; padding-bottom: 1.1rem;
  color: var(--ink);
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__brand-mark {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.02em;
}
.nav__brand-name {
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em;
}
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav__links a {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.04em;
  position: relative; padding: 0.2rem 0; opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: currentColor; transition: width 0.4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid currentColor; border-radius: 100px;
  padding: 0.5rem 1.1rem !important; opacity: 1 !important;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav.is-scrolled .nav__cta:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 100svh; min-height: 640px;
  display: flex; align-items: flex-end;
  overflow: hidden; color: #fff;
  background: #05040a; /* deep ink fallback while the 4K image loads */
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  position: absolute; inset: -12% 0; z-index: 0;
  background: #05040a url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2880&q=90&dpr=2") center/cover no-repeat;
  will-change: transform;
  transform: scale(1.15);
  animation: heroZoom 2.6s var(--ease) 0.6s forwards;
  /* dark-theme grade: deepen blacks, cool the highlights subtly */
  filter: brightness(0.82) contrast(1.06) saturate(0.92);
}
@keyframes heroZoom { to { transform: scale(1.03); } }
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(3,2,8,0.88) 0%, rgba(3,2,8,0.30) 46%, rgba(3,2,8,0.55) 100%),
    radial-gradient(120% 80% at 50% 18%, rgba(3,2,8,0) 38%, rgba(3,2,8,0.72) 100%); /* cinematic vignette */
}
.hero__content {
  position: relative; z-index: 2;
  width: var(--shell); margin: 0 auto;
  padding-bottom: clamp(4rem, 9vh, 8rem);
}
.hero__eyebrow {
  font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase;
  font-weight: 400; color: var(--gold-soft); margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 9rem);
  line-height: 0.98; letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; font-weight: 300; color: var(--gold-soft); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line__inner {
  display: block; transform: translateY(110%);
  animation: lineUp 1.2s var(--ease) forwards;
}
.hero__title .line:nth-child(1) .line__inner { animation-delay: 1.5s; }
.hero__title .line:nth-child(2) .line__inner { animation-delay: 1.65s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero__sub {
  margin-top: 1.6rem; font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300; color: rgba(255,255,255,0.78); max-width: 32ch;
}
.hero__scroll {
  position: absolute; bottom: 2.2rem; right: clamp(1.4rem, 4vw, 3.2rem); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__scroll-line {
  width: 1px; height: 56px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-soft);
  animation: scrollDrop 2.2s var(--ease-soft) infinite;
}
@keyframes scrollDrop {
  0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); }
}

/* ============================================================
   STATEMENT (the single paragraph)
   ============================================================ */
.statement {
  width: var(--shell); margin: 0 auto;
  padding: clamp(7rem, 18vh, 14rem) 0;
  display: flex; justify-content: center;
}
.statement__lead {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1.32; letter-spacing: -0.01em;
  max-width: 22ch; text-align: left;
}
.statement__lead .word {
  display: inline-block; opacity: 0.12;
  transition: opacity 0.5s var(--ease);
}
.statement__lead .word.lit { opacity: 1; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase {
  width: var(--shell); margin: 0 auto;
  padding-bottom: clamp(4rem, 10vh, 9rem);
  display: flex; flex-direction: column; gap: clamp(5rem, 14vh, 12rem);
}
.showcase__panel {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.showcase__panel--right { grid-template-columns: 0.75fr 1.25fr; }
.showcase__panel--right .showcase__frame { order: 2; }
.showcase__panel--right .showcase__caption { order: 1; }

.showcase__frame {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 3;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease-soft);
  box-shadow: 0 40px 90px -50px rgba(20,14,8,0.6);
}
.showcase__panel.in .showcase__frame { clip-path: inset(0 0 0 0); }
.showcase__img {
  position: absolute; inset: -10% 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transform: scale(1.12); will-change: transform;
}
.showcase__caption { max-width: 40ch; }
.showcase__index {
  font-family: var(--serif); font-size: 0.9rem; color: var(--gold);
  letter-spacing: 0.1em; display: block; margin-bottom: 1rem;
  opacity: 0; transform: translateY(20px); transition: all 0.8s var(--ease) 0.15s;
}
.showcase__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 1.1rem;
  opacity: 0; transform: translateY(28px); transition: all 0.9s var(--ease) 0.25s;
}
.showcase__text {
  color: var(--ink-soft); font-weight: 300; font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  max-width: 34ch;
  opacity: 0; transform: translateY(28px); transition: all 0.9s var(--ease) 0.38s;
}
.showcase__panel.in .showcase__index,
.showcase__panel.in .showcase__title,
.showcase__panel.in .showcase__text { opacity: 1; transform: translateY(0); }

/* ============================================================
   UNPACK — scroll-scrubbed frame reveal (Apple-style)
   driven by --p (0 → 1) set from JS
   ============================================================ */
.unpack { position: relative; height: 320vh; --p: 0; }
.unpack__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.unpack__frame {
  position: absolute;
  /* full-bleed at p=0 → inset rounded frame as p grows */
  inset: calc(var(--p) * 8vh) calc(var(--p) * 14vw);
  border-radius: calc(var(--p) * 22px);
  overflow: hidden;
  box-shadow: 0 calc(var(--p) * 70px) calc(var(--p) * 120px) -60px rgba(20,14,8,0.7);
  transition: inset 0.05s linear;
}
.unpack__img {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2400&q=85") center/cover no-repeat;
  /* slow ken-burns scrub */
  transform: scale(calc(1.25 - var(--p) * 0.16));
  will-change: transform;
}
.unpack__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,6,4,0.7), rgba(8,6,4,0.05) 55%, rgba(8,6,4,0.35));
  opacity: calc(0.4 + var(--p) * 0.4);
}
.unpack__overlay {
  position: relative; z-index: 3; text-align: center; color: #fff;
  /* settles into place as it unpacks */
  transform: translateY(calc((1 - var(--p)) * 40px));
  opacity: var(--p);
}
.unpack__kicker {
  display: block; font-size: 0.76rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 1.1rem;
}
.unpack__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 7rem); line-height: 0.98; letter-spacing: -0.02em;
}
.unpack__title em { font-style: italic; color: var(--gold-soft); }
.unpack__title .ln { display: block; overflow: hidden; }
.unpack__meta {
  position: absolute; z-index: 3; bottom: calc(8vh + 1.4rem); left: 0; right: 0;
  width: 72vw; margin: 0 auto;
  display: flex; justify-content: space-between;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); opacity: var(--p);
}

/* ============================================================
   GALLERY — horizontal pinned scroll
   ============================================================ */
.gallery { position: relative; /* height set by JS */ background: var(--bg-deep); }
.gallery__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center;
}
.gallery__track {
  display: flex; align-items: stretch; gap: clamp(1.4rem, 3vw, 2.6rem);
  padding: 0 clamp(1.4rem, 8vw, 9vw); will-change: transform;
}
.gcard {
  position: relative; flex: 0 0 auto;
  width: clamp(280px, 42vw, 560px); height: 70svh;
  border-radius: 6px; overflow: hidden;
  background: #15110d;
}
.gcard--intro {
  width: clamp(280px, 34vw, 480px);
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  background: transparent; color: var(--cream-text);
}
.gcard__kicker { font-size: 0.76rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft); }
.gcard__lead {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05; letter-spacing: -0.01em;
}
.gcard__lead em { font-style: italic; color: var(--gold-soft); }
.gcard__hint { font-size: 0.8rem; letter-spacing: 0.18em; color: rgba(236,230,220,0.5); }
.gcard__img {
  position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform 0.9s var(--ease);
}
.gcard:hover .gcard__img { transform: scale(1.12); }
.gcard__body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(1.6rem, 3vw, 2.6rem); color: #fff;
  background: linear-gradient(to top, rgba(8,6,4,0.85), rgba(8,6,4,0) 100%);
}
.gcard__no { font-family: var(--serif); color: var(--gold-soft); font-size: 0.95rem; letter-spacing: 0.1em; }
.gcard__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.1; margin: 0.5rem 0 0.7rem; letter-spacing: -0.01em;
}
.gcard__body p { font-size: 0.92rem; font-weight: 300; color: rgba(255,255,255,0.75); max-width: 34ch; }
.gallery__progress {
  position: absolute; left: clamp(1.4rem, 8vw, 9vw); right: clamp(1.4rem, 8vw, 9vw); bottom: 8vh;
  height: 1px; background: rgba(236,230,220,0.14); z-index: 5;
}
.gallery__progress span {
  position: absolute; left: 0; top: 0; height: 100%; width: 0%;
  background: var(--gold-soft);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(1.4rem, 3vh, 2.4rem) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 1.4rem; white-space: nowrap;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.6rem, 4.5vw, 3.4rem); color: var(--ink);
  animation: marquee 28s linear infinite;
}
.marquee__track .dot { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PLACE / NAGPUR
   ============================================================ */
.place {
  position: relative; min-height: 92svh; overflow: hidden;
  display: flex; align-items: center; color: #fff;
  margin-top: clamp(4rem, 10vh, 9rem);
}
.place__img {
  position: absolute; inset: -12% 0; z-index: 0;
  background: url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=2400&q=85") center/cover no-repeat;
  will-change: transform;
}
.place__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(8,6,4,0.82) 0%, rgba(8,6,4,0.4) 55%, rgba(8,6,4,0.2) 100%);
}
.place__content {
  position: relative; z-index: 2; width: var(--shell); margin: 0 auto;
}
.place__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 6.5vw, 5.6rem); line-height: 1.02;
  letter-spacing: -0.02em; margin: 1.2rem 0 2.8rem;
}
.place__title em { font-style: italic; color: var(--gold-soft); }
.place__stats { display: flex; flex-wrap: wrap; gap: clamp(2.4rem, 6vw, 5.5rem); }
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1; display: inline;
}
.stat__suffix {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold-soft);
}
.stat__label {
  margin-top: 0.7rem; font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.place__copy {
  font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.6;
  color: rgba(255,255,255,0.82); max-width: 52ch; margin: -1.4rem 0 2.8rem;
}
.place__creds {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.8rem;
}
.place__creds li {
  font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.22); border-radius: 100px;
  padding: 0.5rem 1.1rem; backdrop-filter: blur(4px);
}

/* ============================================================
   PROJECTS (templatised)
   ============================================================ */
.projects {
  width: var(--shell); margin: 0 auto;
  padding: clamp(5rem, 13vh, 11rem) 0 clamp(3rem, 8vh, 7rem);
}
.projects__head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.projects__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em;
  margin-top: 1rem;
}
.projects__list { display: flex; flex-direction: column; gap: clamp(3rem, 8vh, 7rem); }

.project {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: #fbf9f5;
  box-shadow: 0 50px 110px -70px rgba(20,14,8,0.55);
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.project.in { opacity: 1; transform: none; }
.project__media {
  position: relative; aspect-ratio: 21 / 9; overflow: hidden;
}
@media (max-width: 700px) { .project__media { aspect-ratio: 4 / 3; } }
.project__img {
  position: absolute; inset: -8% 0; background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform 1.1s var(--ease);
}
.project:hover .project__img { transform: scale(1.11); }
.project__media-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,6,4,0.7) 0%, rgba(8,6,4,0) 55%);
}
.project__badge {
  position: absolute; top: 1.4rem; left: 1.4rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  background: rgba(154,123,79,0.92); padding: 0.5rem 0.9rem; border-radius: 100px;
}
.project__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); } 70%,100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
.project__headline {
  position: absolute; left: 1.6rem; bottom: 1.4rem; z-index: 2; color: #fff;
}
.project__name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.01em;
}
.project__tagline { font-size: 0.95rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); margin-top: 0.4rem; }

.project__body { padding: clamp(1.6rem, 4vw, 3.2rem); }
.project__loc {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 2.2rem;
}
.project__loc svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* specs */
.project__specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 2.6rem;
}
.spec { padding: 1.4rem 1.6rem; border-right: 1px solid var(--line); }
.spec:last-child { border-right: 0; }
.spec__value {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1;
}
.spec__unit { font-size: 0.9rem; color: var(--ink-soft); margin-left: 0.3rem; }
.spec__label { display: block; margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 640px) { .project__specs { grid-template-columns: 1fr; } .spec { border-right: 0; border-bottom: 1px solid var(--line); } .spec:last-child { border-bottom: 0; } }

/* exclusivity band — floors / units / one home per floor */
.exclusive {
  margin-bottom: 2.6rem; padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: 8px; color: #fff;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(154,123,79,0.45), rgba(12,10,8,0) 58%),
    linear-gradient(150deg, #1d1813 0%, #0c0a08 100%);
  border: 1px solid rgba(196,165,116,0.28);
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.4rem, 4vw, 3rem);
}
.exclusive__nums { display: flex; gap: clamp(1.6rem, 3vw, 2.6rem); flex: none; }
.exclusive__nums > div { display: flex; flex-direction: column; }
.exclusive__nums strong {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1; color: var(--gold-soft);
}
.exclusive__nums span {
  margin-top: 0.55rem; font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.exclusive__note {
  flex: 1 1 280px; font-weight: 300;
  font-size: clamp(0.98rem, 1.4vw, 1.15rem); line-height: 1.5; color: rgba(255,255,255,0.86);
  border-left: 1px solid rgba(196,165,116,0.4); padding-left: clamp(1.4rem, 3vw, 2.4rem);
}
@media (max-width: 640px) { .exclusive__note { border-left: 0; padding-left: 0; flex-basis: 100%; } }

/* section sub-heads inside a project */
.project__sub {
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}

/* SIGNATURE amenity highlights (EV + terrace garden) */
.signatures {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 2.6rem;
}
@media (max-width: 640px) { .signatures { grid-template-columns: 1fr; } }
.sig {
  position: relative; overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 8px; color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(154,123,79,0.55), rgba(12,10,8,0) 60%),
    linear-gradient(155deg, #1d1813 0%, #0c0a08 100%);
  border: 1px solid rgba(196,165,116,0.28);
}
.sig::after { /* slow gold sheen */
  content: ""; position: absolute; top: -60%; left: -30%; width: 50%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(196,165,116,0.16), transparent);
  transform: rotate(18deg); animation: sheen 6s var(--ease-soft) infinite;
}
@keyframes sheen { 0% { left: -40%; } 55%,100% { left: 130%; } }
.sig__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.sig__icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(196,165,116,0.16); border: 1px solid rgba(196,165,116,0.4);
}
.sig__icon svg { width: 26px; height: 26px; color: var(--gold-soft); }
.sig__tag {
  font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid rgba(196,165,116,0.4);
  padding: 0.35rem 0.7rem; border-radius: 100px;
}
.sig__label {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.01em; margin-bottom: 0.5rem;
}
.sig__blurb { font-size: 0.95rem; font-weight: 300; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 40ch; }

/* standard amenities + nearby grids */
.project__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 700px) { .project__cols { grid-template-columns: 1fr; gap: 2.4rem; } }
.iconlist { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.iconlist li {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.98rem; color: var(--ink);
}
.iconlist li:last-child { border-bottom: 0; }
.iconlist .ic {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: #f1ebe0; border: 1px solid var(--line); color: var(--gold);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.iconlist li:hover .ic { background: var(--ink); color: var(--gold-soft); }
.iconlist .ic svg { width: 20px; height: 20px; }

/* ============================================================
   ENQUIRY MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 9700;
  display: flex; align-items: center; justify-content: center;
  padding: 1.4rem; visibility: hidden;
}
.modal.is-open { visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(6,4,8,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative; width: min(460px, 100%);
  background: var(--bg); border-radius: 12px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 60px 120px -40px rgba(6,4,8,0.7);
  transform: translateY(28px) scale(0.97); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); opacity: 1; }
.modal__close {
  position: absolute; top: 1rem; right: 1.1rem;
  background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--ink-soft);
  cursor: pointer; transition: color 0.3s, transform 0.3s; width: 32px; height: 32px;
}
.modal__close:hover { color: var(--ink); transform: rotate(90deg); }
.modal__kicker { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.modal__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.1; letter-spacing: -0.01em; margin: 0.8rem 0 0.7rem;
}
.modal__text { font-size: 0.95rem; font-weight: 300; color: var(--ink-soft); margin-bottom: 1.6rem; }
.modal__text strong { color: var(--ink); font-weight: 500; }
.modal__form { display: flex; flex-direction: column; gap: 0.7rem; }
.modal__form input {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; outline: none; transition: border-color 0.3s;
}
.modal__form input:focus { border-color: var(--gold); }
.modal__submit {
  margin-top: 0.4rem; font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.03em;
  color: var(--bg); background: var(--ink); border: 0; border-radius: 6px;
  padding: 0.95rem 1rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: background 0.4s var(--ease);
}
.modal__submit:hover { background: var(--gold); }
.modal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal__done {
  text-align: center; padding: 1.4rem 0 0.4rem;
  font-family: var(--serif); font-weight: 300; font-size: 1.15rem; color: var(--ink);
}
.modal__mail {
  display: block; text-align: center; margin-top: 1.2rem;
  font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.04em;
  border-bottom: 1px solid transparent; width: fit-content; margin-inline: auto;
}
.modal__mail:hover { color: var(--gold); border-color: var(--gold); }
.connect__mail {
  display: block; margin-top: 2rem; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--ink-soft);
}
.connect__mail:hover { color: var(--gold); }
.connect__addr {
  margin-top: 2.4rem; font-style: normal; line-height: 1.7;
  font-size: 0.95rem; font-weight: 300; color: var(--ink-soft);
}
.connect__addr-label {
  display: block; margin-bottom: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}

/* ============================================================
   CONNECT
   ============================================================ */
.connect {
  width: var(--shell); margin: 0 auto; text-align: center;
  padding: clamp(7rem, 18vh, 14rem) 0 clamp(5rem, 12vh, 9rem);
}
.connect__eyebrow {
  font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.6rem;
}
.connect__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 6rem); line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 3rem;
}
.connect__btn {
  display: inline-flex; align-items: center; gap: 0.9rem;
  border: 1px solid var(--ink); border-radius: 100px;
  padding: 1rem 2.2rem; font-size: 0.95rem; letter-spacing: 0.04em;
  position: relative; overflow: hidden;
  transition: color 0.5s var(--ease);
  /* button reset so <button> matches the old <a> exactly */
  font-family: var(--sans); color: var(--ink); background: transparent; cursor: pointer;
}
.connect__btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.connect__btn:hover { color: var(--bg); }
.connect__btn:hover::before { transform: translateY(0); }
.connect__btn-arrow { transition: transform 0.5s var(--ease); }
.connect__btn:hover .connect__btn-arrow { transform: translateX(6px); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--bg-deep); color: var(--cream-text);
  padding: clamp(3rem, 7vh, 5rem) clamp(1.4rem, 4vw, 3.2rem) 2.4rem;
}
.foot__row {
  width: var(--shell); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.foot__brand {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 300;
}
.foot__loc { font-size: 0.85rem; letter-spacing: 0.06em; color: rgba(236,230,220,0.6); text-align: right; line-height: 1.7; }
@media (max-width: 560px) { .foot__loc { text-align: left; } }
.foot__row--small {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(236,230,220,0.12);
  font-size: 0.76rem; letter-spacing: 0.04em; color: rgba(236,230,220,0.45);
}

/* ============================================================
   REVEAL (generic) + reduced motion
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .reveal, .statement__lead .word { opacity: 1 !important; transform: none !important; }
  .showcase__frame { clip-path: none !important; }
  .intro { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .nav__brand-name { display: none; }
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__links a[href="#vision"], .nav__links a[href="#place"] { display: none; }
  .showcase__panel, .showcase__panel--right { grid-template-columns: 1fr; gap: 1.8rem; }
  .showcase__panel--right .showcase__frame { order: 0; }
  .showcase__panel--right .showcase__caption { order: 0; }
  .hero__scroll { display: none; }
  .statement__lead { max-width: 100%; }
  .unpack { height: 240vh; }
  .unpack__frame { inset: calc(var(--p) * 4vh) calc(var(--p) * 5vw); }
  .gcard { width: 78vw; height: 64svh; }
  .gcard--intro { width: 72vw; }
}

/* Touch / no-hover: let the gallery scroll natively instead of JS-pinning */
@media (hover: none) and (pointer: coarse) {
  .gallery { height: auto !important; }
  .gallery__sticky { position: relative; height: auto; padding: 4rem 0; }
  .gallery__track {
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; transform: none !important;
    padding-bottom: 1.4rem;
  }
  .gcard { scroll-snap-align: center; }
  .gallery__progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .unpack { height: auto; }
  .unpack__sticky { position: relative; height: 80svh; }
  .unpack__frame { inset: 6vh 8vw; border-radius: 16px; }
  .unpack__overlay { opacity: 1; transform: none; }
  .unpack__meta { opacity: 1; }
  .gallery { height: auto !important; }
  .gallery__sticky { position: relative; height: auto; padding: 4rem 0; }
  .gallery__track { overflow-x: auto; transform: none !important; }
}
