/* ==========================================================================
   DIAS GALERAKIS — Design System
   Palette: night ink · limestone · brass (from the triangle mark)
   ========================================================================== */

:root {
  --ink: #0b0b0a;
  --ink-2: #131311;
  --ink-3: #1b1a17;
  --stone: #ece6db;
  --stone-2: #d8d0c1;
  --stone-3: #b9b0a0;
  --mute: #8a857b;
  --line: rgba(236, 230, 219, .12);
  --line-strong: rgba(236, 230, 219, .24);
  --gold: #c9a24a;
  --gold-2: #e4c677;
  --sold: #7c3b33;

  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.65, .05, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--stone);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none), (pointer: coarse) { body { cursor: auto; } }

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Typography ---------- */
.mono, .eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}
.eyebrow { color: var(--mute); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.display {
  font-size: clamp(3.4rem, 10.5vw, 11.5rem);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 500;
  text-transform: uppercase;
}
.h1 { font-size: clamp(2.8rem, 7.4vw, 8rem); line-height: .9; letter-spacing: -.045em; font-weight: 500; }
.h2 { font-size: clamp(2.2rem, 5vw, 5.4rem); line-height: .95; letter-spacing: -.04em; font-weight: 500; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: 1.05; letter-spacing: -.025em; font-weight: 500; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.6rem); line-height: 1.35; letter-spacing: -.015em; color: var(--stone); max-width: 34ch; }
.body { color: var(--stone-3); max-width: 52ch; font-size: 1rem; line-height: 1.65; }
.gold { color: var(--gold); }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(96px, 16vh, 200px); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.rule { height: 1px; background: var(--line); width: 100%; transform-origin: left; }
.light { background: var(--stone); color: var(--ink); }
.light .eyebrow, .light .body { color: #5d584f; }
.light .rule { background: rgba(11, 11, 10, .14); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, -2%); }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9500; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor__ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background .4s, border-color .4s;
  display: grid; place-items: center;
}
.cursor__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: #fff; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: transform .7s var(--ease), background .5s;
}
.nav::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(11, 11, 10, .7), rgba(11, 11, 10, 0));
  opacity: 0; transition: opacity .5s;
}
.nav.is-scrolled::after { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; }

.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.brand__word span { font-family: var(--f-mono); font-size: 9px; letter-spacing: .24em; color: var(--mute); margin-top: 5px; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 44px); }
.nav__links a {
  position: relative; font-size: 13px; letter-spacing: .04em; display: inline-flex; gap: 6px; align-items: baseline; padding-block: 6px;
}
.nav__links a sup { font-family: var(--f-mono); font-size: 9px; color: var(--mute); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.lang { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--mute); }
.lang b { color: var(--stone); font-weight: 400; }

/* ---------- Button: crop marks → drawn frame, section hatch, rolling label ---------- */
.btn {
  --bc: rgba(236, 230, 219, .6);   /* bracket colour */
  --arm: 9px;                      /* bracket arm length (grows to full frame on hover) */
  --hatch: rgba(201, 162, 74, .28);
  position: relative; display: inline-flex; align-items: center; gap: 0;
  height: 50px; padding: 0 18px 0 20px; isolation: isolate; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone);
  background:
    linear-gradient(var(--bc), var(--bc)) top left / var(--arm) 1px no-repeat,
    linear-gradient(var(--bc), var(--bc)) top left / 1px var(--arm) no-repeat,
    linear-gradient(var(--bc), var(--bc)) top right / var(--arm) 1px no-repeat,
    linear-gradient(var(--bc), var(--bc)) top right / 1px var(--arm) no-repeat,
    linear-gradient(var(--bc), var(--bc)) bottom left / var(--arm) 1px no-repeat,
    linear-gradient(var(--bc), var(--bc)) bottom left / 1px var(--arm) no-repeat,
    linear-gradient(var(--bc), var(--bc)) bottom right / var(--arm) 1px no-repeat,
    linear-gradient(var(--bc), var(--bc)) bottom right / 1px var(--arm) no-repeat;
  transition: --arm .7s var(--ease), color .5s, background-size .7s var(--ease);
}
@property --arm { syntax: '<length-percentage>'; inherits: true; initial-value: 9px; }
.btn::before {
  content: ""; position: absolute; inset: 4px; z-index: -1;
  background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 6px);
  clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease);
}
.btn::after { content: ""; order: 1; width: 0; height: 1px; background: currentColor; margin-right: -3px; transition: width .7s var(--ease); }
.btn > .btn__l { order: 0; margin-right: 16px; }
.btn > .arrow { order: 2; width: 14px; height: 14px; flex: none; transition: transform .7s var(--ease), color .4s; }
.btn:hover, .nextp:hover .btn { --arm: 100%; --bc: var(--gold); color: var(--gold-2); }
.btn:hover::before, .nextp:hover .btn::before { clip-path: inset(0 0 0 0); }
.btn:hover::after, .nextp:hover .btn::after { width: 22px; }
.btn:hover > .arrow, .nextp:hover .btn > .arrow { color: var(--gold); }
.btn:active { transform: translateY(1px); }

/* rolling label */
.btn__l { position: relative; display: inline-block; overflow: hidden; line-height: 1.4; }
.btn__l > span { display: inline-block; transition: transform .7s var(--ease); }
.btn__l::after { content: attr(data-t); position: absolute; left: 0; top: 100%; transition: transform .7s var(--ease); }
.btn:hover .btn__l > span, .btn:hover .btn__l::after, .nextp:hover .btn__l > span, .nextp:hover .btn__l::after { transform: translateY(-100%); }

.btn--lg { height: 62px; padding: 0 22px 0 26px; font-size: 12.5px; --arm: 12px; }
.btn--solid { background-color: var(--stone); color: var(--ink); --bc: var(--gold); --hatch: rgba(11, 11, 10, .14); }
.btn--solid:hover { color: var(--ink); }
.light .btn, .board .btn { --bc: rgba(11, 11, 10, .55); --hatch: rgba(11, 11, 10, .12); color: var(--ink); }
.light .btn:hover, .board .btn:hover { --bc: var(--ink); color: var(--ink); }
.light .btn:hover > .arrow { color: var(--ink); }


@media (max-width: 960px) {
  .nav__links, .nav__right .btn, .lang { display: none; }
  .liftbtn { display: inline-flex; }
}

/* ---------- Page transition ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 9200; pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.curtain span { background: var(--ink-3); transform-origin: top; transform: scaleY(0); border-right: 1px solid rgba(236, 230, 219, .04); }
.curtain__mark {
  position: fixed; top: 50%; left: 50%; z-index: 9201; width: 56px; transform: translate(-50%, -50%); opacity: 0; pointer-events: none;
}
.curtain__mark .dg-logo { width: 100%; height: auto; display: block; }

/* ---------- Preloader ---------- */

/* ---------- Split-text reveal ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }
[data-split] { visibility: hidden; }
[data-split].is-split { visibility: visible; }
.fade-up { opacity: 0; transform: translateY(30px); }

/* ---------- Media reveal ---------- */
.media { position: relative; overflow: hidden; background: var(--ink-3); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--parallax img { height: 120%; position: absolute; top: -10%; left: 0; }
[data-reveal="clip"] { clip-path: inset(100% 0 0 0); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding-block: 28px; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; }
.marquee__track span { font-size: clamp(2rem, 4.4vw, 4.6rem); letter-spacing: -.04em; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: ""; width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); }
.marquee__track .serif { color: var(--stone-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   HOME — Construction hero
   ========================================================================== */
.build { position: relative; height: 520vh; }
.build__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.build__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.build__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(11, 11, 10, .85) 100%),
              linear-gradient(to top, rgba(11, 11, 10, .9), transparent 30%);
}
.build__ui { position: absolute; inset: 0; pointer-events: none; padding: calc(var(--nav-h) + 12px) var(--gutter) var(--gutter); }
.build__title { position: absolute; left: var(--gutter); bottom: clamp(28px, 7vh, 80px); max-width: 92vw; }
.build__title .display { font-size: clamp(3.2rem, 9.6vw, 10.5rem); }
.build__title .serif { color: var(--gold-2); }
.build__sub { margin-top: 28px; display: flex; gap: 40px; align-items: flex-end; flex-wrap: wrap; }
.build__sub p { max-width: 36ch; color: var(--stone-2); font-size: 15px; }
.build__meta {
  position: absolute; top: calc(var(--nav-h) + 16px); left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; color: var(--mute);
}
.build__meta .mono b { color: var(--stone); font-weight: 400; }

.phases { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(300px, 34vw); }
.phase { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding-block: 14px; border-top: 1px solid var(--line); opacity: .32; transition: opacity .6s; }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase.is-active { opacity: 1; }
.phase .mono { color: var(--gold); padding-top: 3px; }
.phase h4 { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.phase p { grid-column: 2; font-size: 12.5px; color: var(--stone-3); max-height: 0; overflow: hidden; transition: max-height .7s var(--ease), margin .7s var(--ease); }
.phase.is-active p { max-height: 80px; margin-top: 6px; }

.gauge { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 16px; }
.gauge__bar { width: 1px; height: 32vh; background: var(--line-strong); position: relative; }
.gauge__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: bottom; transform: scaleY(0); }
.gauge__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--stone-2); }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--mute); }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: hint 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 960px) {
  .phases { top: auto; bottom: auto; right: var(--gutter); left: var(--gutter); top: calc(var(--nav-h) + 54px); transform: none; width: auto; }
  .phase:not(.is-active) { display: none; }
  .phase { border-bottom: 1px solid var(--line); }
  .gauge { display: none; }
  .build__sub p { font-size: 14px; }
}

/* ---------- Manifesto ---------- */
.manifesto__text { font-size: clamp(1.9rem, 4.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; max-width: 22ch; }
.manifesto__text .word { opacity: .14; transition: none; }
.manifesto__text .serif { color: var(--gold-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(64px, 10vh, 120px); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat__num { font-size: clamp(3rem, 6.4vw, 6.6rem); letter-spacing: -.05em; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .4em; color: var(--gold); vertical-align: top; position: relative; top: .25em; margin-left: 4px; }
.stat p { margin-top: 12px; color: var(--mute); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
}

/* ---------- 360 Model ---------- */
.model { position: relative; height: 280vh; }
.model__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.model__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.model__head { position: absolute; top: calc(var(--nav-h) + 24px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.model__head .h2 { max-width: 13ch; }
.model__dial { position: absolute; right: var(--gutter); bottom: var(--gutter); width: 120px; height: 120px; }
.model__dial svg { width: 100%; height: 100%; overflow: visible; }
.model__deg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; }
.callout {
  position: absolute; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(12px);
  pointer-events: none;
}
.callout i { width: 9px; height: 9px; border: 1px solid var(--gold); border-radius: 50%; position: relative; }
.callout i::after { content: ""; position: absolute; inset: 2px; background: var(--gold); border-radius: 50%; }
.callout .line { width: 64px; height: 1px; background: var(--gold); transform-origin: left; }
.callout div { background: rgba(11, 11, 10, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); padding: 12px 16px; }
.callout b { display: block; font-size: 14px; font-weight: 500; }
.callout span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.model__foot { position: absolute; left: var(--gutter); bottom: var(--gutter); max-width: 38ch; color: var(--stone-3); font-size: 14px; }
@media (max-width: 760px) { .callout { display: none; } .model__dial { width: 84px; height: 84px; } }

/* ---------- Services (horizontal) ---------- */
.hscroll { position: relative; }
.hscroll__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-inline: var(--gutter); margin-bottom: clamp(28px, 5vh, 56px); }
.hscroll__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.svc {
  position: relative; width: clamp(280px, 30vw, 460px); height: clamp(380px, 58vh, 600px); flex: none;
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
}
.svc .media { position: absolute; inset: 0; z-index: 0; }
.svc .media img { transform: scale(1.12); transition: transform 1.4s var(--ease-out), filter 1s; filter: grayscale(.5) brightness(.45); }
.svc:hover .media img { transform: scale(1.02); filter: grayscale(0) brightness(.62); }
.svc > *:not(.media) { position: relative; z-index: 1; }
.svc__top { display: flex; justify-content: space-between; color: var(--stone-2); }
.svc h3 { font-size: clamp(1.6rem, 2.3vw, 2.3rem); letter-spacing: -.03em; line-height: 1; font-weight: 500; max-width: 12ch; }
.svc p { margin-top: 14px; font-size: 14px; color: var(--stone-2); max-width: 32ch; }
.svc--intro { background: transparent; border: 0; padding: 0 clamp(16px, 4vw, 80px) 0 0; justify-content: flex-end; }
@media (max-width: 760px) {
  .hscroll__pin { height: auto; padding-block: 96px; }
  .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
  .svc { scroll-snap-align: start; width: 80vw; height: 460px; }
  .svc--intro { display: none; }
}

/* ---------- Selected works list ---------- */
.works__list { border-top: 1px solid var(--line); margin-top: 56px; }
.work-row {
  position: relative; display: grid; grid-template-columns: 70px 1.6fr 1fr 1fr 40px; align-items: center; gap: 24px;
  padding-block: clamp(22px, 3.4vw, 40px); border-bottom: 1px solid var(--line);
  transition: padding .7s var(--ease), color .5s;
}
.work-row h3 { font-size: clamp(1.6rem, 3.8vw, 4rem); letter-spacing: -.045em; line-height: 1; font-weight: 500; transition: transform .7s var(--ease); }
.work-row .mono { color: var(--mute); }
.work-row svg { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.works__list:hover .work-row { color: rgba(236, 230, 219, .3); }
.works__list .work-row:hover { color: var(--stone); }
.work-row:hover h3 { transform: translateX(18px); }
.work-row:hover svg { transform: rotate(-45deg); color: var(--gold); }
.works__float {
  position: fixed; top: 0; left: 0; z-index: 50; width: 360px; aspect-ratio: 3 / 4; pointer-events: none; overflow: hidden;
  clip-path: inset(50% 50% 50% 50%); transition: clip-path .6s var(--ease);
}
.works__float.is-on { clip-path: inset(0 0 0 0); }
.works__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s, transform 1s var(--ease-out); transform: scale(1.15); }
.works__float img.is-on { opacity: 1; transform: scale(1); }
@media (max-width: 760px) {
  .work-row { grid-template-columns: 1fr 24px; gap: 8px; }
  .work-row .num, .work-row .cat { display: none; }
  .works__float { display: none; }
}

/* ---------- Feature (for sale teaser) ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--gutter); align-items: stretch; }
.feature .media { aspect-ratio: 4 / 5; }
.feature__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-block: 8px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.kv > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv > div:nth-child(odd) { padding-right: 16px; }
.kv dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.kv dd { font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.03em; margin-top: 6px; }
.light .kv, .light .kv > div { border-color: rgba(11, 11, 10, .14); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Big CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta .display { font-size: clamp(3.4rem, 13vw, 14rem); }
.cta__btn {
  margin: 56px auto 0; width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-size: 15px; letter-spacing: .02em; transition: transform .6s var(--ease);
}
.cta__btn:hover { transform: scale(1.06); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(80px, 12vh, 140px) var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gutter); }
.footer h5 { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin-bottom: 18px; }
.footer li { list-style: none; font-size: 15px; line-height: 1.75; }
.footer a { position: relative; }
.footer a:hover { color: var(--gold-2); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; color: var(--mute); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 48px) var(--gutter) clamp(32px, 6vh, 72px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img, .page-hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 11, 10, .95) 4%, rgba(11, 11, 10, .25) 60%, rgba(11, 11, 10, .55)); }
.page-hero > *:not(.page-hero__bg) { position: relative; z-index: 1; }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.page-hero--short { min-height: 78svh; }
.crumbs { display: flex; gap: 10px; color: var(--mute); }
.crumbs b { color: var(--stone); font-weight: 400; }

/* Company — process */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); }
.split__sticky { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__sticky { position: static; } }
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-block: 40px; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .mono { color: var(--gold); padding-top: 10px; }
.step h3 { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.04em; line-height: 1; font-weight: 500; }
.step p { margin-top: 16px; color: var(--stone-3); max-width: 52ch; }
.step ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.step li { list-style: none; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 7px 11px; border-radius: 999px; color: var(--stone-2); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(11, 11, 10, .14); border-block: 1px solid rgba(11, 11, 10, .14); }
.pillar { background: var(--stone); padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 24px; min-height: 480px; position: relative; overflow: hidden; }
.pillar .media { aspect-ratio: 4 / 3; }
.pillar .media img { transition: transform 1.4s var(--ease-out); filter: grayscale(1); }
.pillar:hover .media img { transform: scale(1.06); filter: grayscale(0); }
.pillar h3 { font-size: 1.7rem; letter-spacing: -.03em; font-weight: 500; line-height: 1.05; }
.pillar p { color: #5d584f; font-size: 14.5px; }
.pillar .mono { color: #8a8170; display: flex; justify-content: space-between; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.loc { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.loc h3 { font-size: 2rem; letter-spacing: -.035em; font-weight: 500; margin-top: 18px; }
.loc p { margin-top: 8px; color: var(--stone-3); }
@media (max-width: 760px) { .locations { grid-template-columns: 1fr; } }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px; padding: 0 14px; border: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; transition: background .4s, color .4s, border-color .4s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-2); }
.chip sup { font-family: var(--f-mono); font-size: 9px; color: var(--mute); }
.chip.is-active { background: var(--stone); color: var(--ink); border-color: var(--stone); }
.chip.is-active sup { color: #6b665c; }
.pf-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 5vw, 72px) var(--gutter); margin-top: 64px; }
.pf { grid-column: span 4; display: block; }
.pf:nth-child(6n+1) { grid-column: 1 / span 5; }
.pf:nth-child(6n+2) { grid-column: 7 / span 6; margin-top: 18vh; }
.pf:nth-child(6n+3) { grid-column: 2 / span 4; }
.pf:nth-child(6n+4) { grid-column: 7 / span 4; margin-top: 10vh; }
.pf:nth-child(6n+5) { grid-column: 1 / span 6; }
.pf:nth-child(6n+6) { grid-column: 8 / span 5; margin-top: 22vh; }
.pf .media { aspect-ratio: 3 / 4; }
.pf .media img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.pf:hover .media img { transform: scale(1); }
.pf__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.pf__meta h3 { font-size: clamp(1.2rem, 1.7vw, 1.7rem); letter-spacing: -.03em; font-weight: 500; line-height: 1.1; }
.pf__meta .mono { color: var(--mute); white-space: nowrap; }
.pf__loc { margin-top: 6px; color: var(--stone-3); font-size: 14px; }
.pf.is-hidden { display: none; }
@media (max-width: 760px) {
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 40px 14px; }
  .pf, .pf:nth-child(n) { grid-column: auto; margin-top: 0; }
  .pf:nth-child(3n+1) { grid-column: 1 / -1; }
  .pf__meta .mono { display: none; }
}

/* Residences — stacking plan */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.facts > div { padding: 24px 20px 24px 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; }
.facts dd { font-size: clamp(1.4rem, 2.6vw, 2.6rem); letter-spacing: -.04em; margin-top: 8px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div + div { border-left: 0; padding-left: 0; } .facts > div { border-bottom: 1px solid var(--line); } }

.explorer { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gutter); align-items: start; }
.explorer__visual { position: sticky; top: calc(var(--nav-h) + 24px); }
.stack { position: relative; aspect-ratio: 1 / 1; }
.stack svg { width: 100%; height: 100%; overflow: visible; }
.stack .u { cursor: none; }
.stack .u.is-dim { transition: opacity .4s; }
.stack .u-face { transition: fill .45s, stroke .45s; }
.stack .u[data-status="sold"] .u-face { fill: rgba(124, 59, 51, .28); stroke: rgba(236, 230, 219, .18); }
.stack .u[data-status="available"] .u-face { fill: rgba(236, 230, 219, .04); stroke: rgba(236, 230, 219, .35); }
.stack .u.is-hover .u-face, .stack .u.is-active .u-face { fill: rgba(201, 162, 74, .55); stroke: var(--gold-2); }
.stack .u text { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; fill: var(--stone); pointer-events: none; }
.stack .u.is-dim { opacity: .2; }
.legend { display: flex; gap: 22px; margin-top: 16px; color: var(--mute); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border: 1px solid var(--line-strong); }
.legend i.av { background: rgba(236, 230, 219, .08); border-color: rgba(236, 230, 219, .5); }
.legend i.so { background: rgba(124, 59, 51, .6); }
.legend i.se { background: var(--gold); border-color: var(--gold); }

.units { border-top: 1px solid var(--line); }
.unit {
  display: grid; grid-template-columns: 80px 1fr 90px 120px 28px; align-items: center; gap: 16px;
  width: 100%; text-align: left; padding-block: 20px; border-bottom: 1px solid var(--line); position: relative;
  transition: padding .5s var(--ease), background .4s;
}
.unit::before { content: ""; position: absolute; inset: 0 0 0 -12px; background: rgba(201, 162, 74, .08); opacity: 0; transition: opacity .4s; z-index: -1; }
.unit:hover::before, .unit.is-active::before { opacity: 1; }
.unit.is-active { padding-left: 12px; }
.unit .code { font-size: 1.6rem; letter-spacing: -.04em; font-weight: 500; }
.unit .type { color: var(--stone-3); font-size: 14px; }
.unit .area { font-variant-numeric: tabular-nums; font-size: 1.15rem; letter-spacing: -.02em; }
.status { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #79b37a; box-shadow: 0 0 0 4px rgba(121, 179, 122, .14); }
.status.sold { color: var(--mute); }
.status.sold::before { background: #a2574d; box-shadow: none; }
.unit svg { width: 18px; height: 18px; color: var(--mute); transition: transform .5s var(--ease); }
.unit:hover svg { transform: rotate(-45deg); color: var(--gold); }
.unit.is-sold .code, .unit.is-sold .area { color: var(--mute); }
@media (max-width: 1000px) { .explorer { grid-template-columns: 1fr; } .explorer__visual { position: relative; top: 0; } }
@media (max-width: 560px) { .unit { grid-template-columns: 64px 1fr 80px 18px; } .unit .type { display: none; } }

/* Drawer */
.drawer-scrim { position: fixed; inset: 0; z-index: 880; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .6s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 890; width: min(620px, 100vw); background: var(--ink-2); border-left: 1px solid var(--line);
  transform: translateX(102%); transition: transform .9s var(--ease); display: flex; flex-direction: column; overflow-y: auto;
}
.drawer-open .drawer { transform: translateX(0); }
.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer__close { position: absolute; top: 20px; right: 20px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: rgba(11, 11, 10, .6); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.drawer .media { aspect-ratio: 934 / 579; flex: none; }
.drawer__body { padding: 32px clamp(20px, 3vw, 40px) 40px; display: flex; flex-direction: column; gap: 28px; }
.drawer__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.drawer__title h3 { font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -.05em; line-height: .9; font-weight: 500; }

/* Gallery strip */
.gallery { display: flex; gap: clamp(12px, 1.6vw, 24px); padding-inline: var(--gutter); width: max-content; }
.gallery .media { height: clamp(300px, 62vh, 640px); flex: none; }
.gallery .media:nth-child(3n+1) { aspect-ratio: 3 / 2; }
.gallery .media:nth-child(3n+2) { aspect-ratio: 4 / 5; }
.gallery .media:nth-child(3n) { aspect-ratio: 16 / 10; }
.gallery figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--stone); }

.countdown { display: flex; gap: clamp(16px, 3vw, 48px); }
.countdown div { display: flex; flex-direction: column; }
.countdown b { font-size: clamp(2.6rem, 6vw, 6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; margin-top: 8px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: calc(var(--gutter) * 2); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.field { position: relative; border-bottom: 1px solid var(--line-strong); padding-top: 26px; }
.field label { position: absolute; left: 0; top: 34px; color: var(--mute); font-size: 1.15rem; letter-spacing: -.01em; pointer-events: none; transition: transform .5s var(--ease), color .4s, font-size .4s; transform-origin: left top; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; outline: 0; padding: 8px 0 14px; font-size: 1.35rem; letter-spacing: -.02em; resize: none; cursor: none;
}
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within label, .field.has-value label { transform: translateY(-30px) scale(.62); color: var(--gold); font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; font-size: 14px; transition: background .35s, color .35s, border-color .35s; cursor: none; }
.choice input:checked + label { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.choice input:focus-visible + label { outline: 1px solid var(--gold-2); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--stone-3); font-size: 14px; }
.consent input { accent-color: var(--gold); margin-top: 4px; width: 16px; height: 16px; }
.form-done { display: none; padding: 48px 0; }
.form.is-done .form-body { display: none; }
.form.is-done .form-done { display: block; }
.office { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding-block: 26px; border-top: 1px solid var(--line); }
.office:last-child { border-bottom: 1px solid var(--line); }
.office h3 { font-size: 1.5rem; letter-spacing: -.03em; font-weight: 500; }
.office p { grid-column: 1; color: var(--stone-3); }
.office .mono { color: var(--gold); align-self: start; padding-top: 6px; }
.bigmail { font-size: clamp(1.8rem, 4.2vw, 4.4rem); letter-spacing: -.045em; line-height: 1; display: inline-block; position: relative; }
.bigmail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(.18); transform-origin: left; transition: transform .8s var(--ease); }
.bigmail:hover::after { transform: scaleX(1); }

.clock { font-variant-numeric: tabular-nums; }

/* utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; } .mt-xl { margin-top: 120px; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hide-sm { } @media (max-width: 760px) { .hide-sm { display: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .scroll-hint i { animation: none; }
}

/* ---------- Build overlay extras ---------- */
.build__stage { background: radial-gradient(90% 70% at 55% 62%, #22201b 0%, #12110f 45%, #0b0b0a 80%); }
.build__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.build.no-webgl .build__fallback { opacity: .5; }
.lvl { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 10px; opacity: 0; will-change: transform; margin-top: -6px; }
.lvl i { width: 34px; height: 1px; background: var(--gold); }
.lvl span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--gold-2); background: rgba(11, 11, 10, .5); padding: 3px 6px; }
.build__end { position: absolute; right: var(--gutter); bottom: clamp(28px, 7vh, 80px); opacity: 0; max-width: 92vw; text-align: right; }
.build__end .eyebrow { justify-content: flex-end; }
.build__end .h1 { font-size: clamp(2.6rem, 6.4vw, 7rem); }
.build__end .serif { color: var(--gold-2); }
@media (max-width: 760px) { .lvl, .scroll-hint { display: none; } }

/* ==========================================================================
   LIFT MENU — the site as a building section; a car rides to your floor
   ========================================================================== */
.liftbtn {
  display: none; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px; border-radius: 4px;
  border: 1px solid var(--line-strong); background: rgba(11, 11, 10, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  position: relative; z-index: 2;
}
.liftbtn__num { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; min-width: 2ch; color: var(--gold-2); }
.liftbtn__icon { width: 30px; height: 30px; display: grid; place-items: center; border-left: 1px solid var(--line-strong); }
.liftbtn__icon svg { width: 9px; height: 13px; transition: transform .6s var(--ease); }
.liftbtn__icon { position: relative; }
.liftbtn__icon::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--ease); }
.menu-open .liftbtn__icon svg { transform: scale(.3); opacity: 0; }
.menu-open .liftbtn__icon::after { opacity: 1; transform: scale(1); }
.liftbtn__icon svg { transition: transform .6s var(--ease), opacity .4s; }
@media (max-width: 960px) { .liftbtn { display: inline-flex; } }

.lift {
  position: fixed; inset: 0; z-index: 790; background: var(--ink-2);
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 8px) var(--gutter) 22px;
  clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease), visibility 0s .9s; visibility: hidden;
  background-image: linear-gradient(rgba(236, 230, 219, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 230, 219, .035) 1px, transparent 1px);
  background-size: 24px 24px;
}
.menu-open .lift { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.lift__top, .lift__base { display: flex; justify-content: space-between; color: var(--mute); padding-block: 12px; }
.lift__top { border-bottom: 1px dashed var(--line-strong); }
.lift__base { border-top: 0; position: relative; padding-top: 18px; }
.lift__base::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(45deg, rgba(236, 230, 219, .22) 0 1px, transparent 1px 7px); border-top: 1px solid var(--stone-3);
}
.lift__floors { position: relative; flex: 1; display: flex; flex-direction: column; padding-left: 58px; }
.lift__shaft { position: absolute; left: 0; top: 0; bottom: 0; width: 40px; border-inline: 1px solid var(--line-strong); }
.lift__shaft::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.lift__car {
  position: absolute; left: 4px; right: 4px; top: 0; display: grid; place-items: center;
  border: 1px solid var(--gold); background: rgba(201, 162, 74, .14);
}
.lift__car b { font-family: var(--f-mono); font-weight: 400; font-size: 11px; color: var(--gold-2); }
.floor { position: relative; flex: 1; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; min-height: 64px; }
.floor__slab { position: absolute; left: -58px; right: 0; bottom: 0; height: 3px; background: var(--stone-3); opacity: .35; transform-origin: left; }
.floor__lvl { color: var(--mute); font-size: 10px; }
.floor__name { font-size: clamp(2.2rem, 10.5vw, 4rem); letter-spacing: -.045em; line-height: 1; font-weight: 500; display: inline-block; transition: color .4s, transform .6s var(--ease); }
.floor { overflow: hidden; }
.floor__num { color: var(--mute); }
.floor.is-here .floor__name { color: var(--gold-2); }
.floor.is-here .floor__num { color: var(--gold); }
.floor:hover .floor__name { transform: translateX(8px); }

/* ==========================================================================
   FOOTER — elevation drawing + drawing title block
   ========================================================================== */
.footer__drawing { margin-top: clamp(56px, 9vh, 110px); color: var(--stone-3); }
.elev { width: 100%; height: auto; overflow: visible; }
.elev [pathLength] { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .75; }
.elev .faint { opacity: .35; }
.elev .gold { stroke: var(--gold); opacity: 1; }
.elev .ground { stroke: var(--stone-2); opacity: 1; }
.elev .water { stroke: #3c8f96; }
.elev .t { font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px; fill: var(--mute); }
.elev .gold-t { fill: var(--gold-2); }
.elev .hatch { opacity: .5; }
.elev pattern line { stroke: rgba(236, 230, 219, .18); }
.tblock {
  display: grid; grid-template-columns: 2.2fr repeat(6, 1fr) 64px; border: 1px solid var(--line-strong); margin-top: 0;
}
.tblock > * { padding: 14px 16px; border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 84px; position: relative; }
.tblock > *:last-child { border-right: 0; }
.tblock .mono { color: var(--mute); font-size: 9.5px; }
.tblock b { font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.tblock__brand { flex-direction: row !important; align-items: center; justify-content: flex-start !important; gap: 14px !important; }
.tblock__brand img { width: 34px; }
.tblock__brand div { display: flex; flex-direction: column; gap: 6px; }
.tblock__top { align-items: center; justify-content: center !important; transition: background .4s, color .4s; }
.tblock__top:hover { background: var(--gold); color: var(--ink); }
.tblock__top:hover .mono { color: var(--ink); }
.scalebar { display: flex; height: 5px; border: 1px solid var(--stone-3); width: 80px; }
.scalebar em { flex: 1; }
.scalebar em:nth-child(odd) { background: var(--stone-3); }
.footer__base { justify-content: space-between; }
@media (max-width: 900px) {
  .tblock { grid-template-columns: 1fr 1fr 1fr 52px; }
  .tblock > * { padding: 12px; }
  .footer__drawing { overflow: hidden; }
  .footer__drawing .elev { width: 190%; max-width: none; }
  .tblock__brand { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--line-strong); }
  .tblock > * { border-bottom: 1px solid var(--line-strong); }
  .footer__drawing { margin-inline: calc(var(--gutter) * -1); }
}

/* ---------- Project brief (sentence form) ---------- */
.brief { max-width: 1280px; }
.brief__s { margin-top: 32px; font-size: clamp(1.9rem, 4.6vw, 4.8rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 500; }
.brief__pick { position: relative; display: inline-flex; align-items: baseline; }
.brief__pick select, .brief__pick input {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: 0; cursor: none;
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: inherit; letter-spacing: -.02em; color: var(--gold-2);
  border-bottom: 1px solid rgba(201, 162, 74, .5); padding: 0 22px 0 2px; line-height: 1.05; transition: border-color .4s, color .4s;
}
.brief__pick input { padding-right: 2px; -moz-appearance: textfield; }
.brief__pick input::-webkit-outer-spin-button, .brief__pick input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.brief__pick select:hover, .brief__pick select:focus, .brief__pick input:focus { border-color: var(--gold-2); color: var(--stone); }
.brief__pick select option { background: var(--ink-2); color: var(--stone); font-family: var(--f-sans); font-style: normal; font-size: 16px; }
.brief__pick i { position: absolute; right: 4px; bottom: .38em; width: 9px; height: 9px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); pointer-events: none; }
.brief__measure { position: absolute; visibility: hidden; white-space: pre; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.9rem, 4.6vw, 4.8rem); letter-spacing: -.02em; }
.brief__foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 48px; }
.brief__foot .mono { color: var(--mute); }
.brief__send {
  position: relative; display: inline-flex; align-items: center; gap: 18px; height: 72px; padding: 0 30px 0 34px;
  background: var(--stone); color: var(--ink); font-size: 16px; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.brief__send::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-101%); transition: transform .7s var(--ease); z-index: -1; }
.brief__send:hover::before { transform: translateX(0); }
.brief__send .arrow { width: 16px; height: 16px; transition: transform .6s var(--ease); }
.brief__send:hover .arrow { transform: translateX(6px); }

/* ---------- Site board (Residences) ---------- */
.board-wrap { perspective: 1600px; }
.board {
  position: relative; background: var(--stone); color: var(--ink); padding: clamp(24px, 3.4vw, 48px);
  border: 10px solid #d9d0bf; outline: 1px solid rgba(11, 11, 10, .25); outline-offset: -18px;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .4);
  transform-style: preserve-3d; will-change: transform;
}
.bolt { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3eee5, #9d9688 70%); box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.bolt::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 1px; background: rgba(0, 0, 0, .35); transform: rotate(35deg); }
.bolt:nth-child(1) { top: 10px; left: 10px; } .bolt:nth-child(2) { top: 10px; right: 10px; }
.bolt:nth-child(3) { bottom: 10px; left: 10px; } .bolt:nth-child(4) { bottom: 10px; right: 10px; }
.board__head { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 3px solid var(--ink); }
.board__head img { width: 40px; }
.board__head div { display: flex; flex-direction: column; gap: 6px; }
.board__head .mono { color: #6b655a; }
.board__head b { font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -.04em; font-weight: 600; line-height: 1; text-transform: uppercase; }
.board__status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; border: 1px solid var(--ink); padding: 8px 12px; }
.board__status i { width: 8px; height: 8px; border-radius: 50%; background: #d1932c; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.board__body { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); margin-top: 8px; }
.board__rows > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-block: 15px; border-bottom: 1px solid rgba(11, 11, 10, .18); align-items: center; }
.board__rows dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6b655a; }
.board__rows dd { font-size: 1.05rem; letter-spacing: -.01em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avail { display: inline-flex; gap: 3px; }
.avail i { width: 12px; height: 18px; border: 1px solid var(--ink); }
.avail i.on { background: var(--ink); }
.avail i.sold { background: repeating-linear-gradient(45deg, rgba(11,11,10,.5) 0 1px, transparent 1px 4px); }
.board__visit { padding-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.board__visit > .mono { color: #6b655a; }
.board__title { font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { border: 1px solid rgba(11, 11, 10, .3); padding: 10px 12px; min-width: 64px; display: flex; flex-direction: column; gap: 2px; text-align: left; transition: background .35s, color .35s, border-color .35s; }
.slot b { font-weight: 500; font-size: 16px; letter-spacing: -.02em; }
.slot span { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #6b655a; }
.slot.is-on { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.slot.is-on span { color: var(--gold-2); }
.board__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.board .brief__send { background: var(--ink); color: var(--stone); }
.board .brief__send:hover { color: var(--ink); }
.board__cta .mono { color: #6b655a; }
@media (max-width: 900px) { .board__body { grid-template-columns: 1fr; } .board__status { display: none; } .board__rows > div { grid-template-columns: 96px 1fr; } }

/* ---------- Skip ---------- */
.skip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 16px;
  border: 1px solid var(--line-strong); background: rgba(11, 11, 10, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--stone); transition: border-color .4s, background .4s, opacity .4s;
}
.skip:hover { border-color: var(--gold); background: rgba(201, 162, 74, .14); }
.skip b { width: 28px; height: 28px; display: grid; place-items: center; border-left: 1px solid var(--line-strong); font-weight: 400; }
.skip__bar { width: 54px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.skip__bar em { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.skip--model { left: 50%; bottom: var(--gutter); transform: translateX(-50%); }
.skip--build { right: var(--gutter); bottom: clamp(28px, 7vh, 80px); }
@media (max-width: 960px) { .skip--build { bottom: auto; top: calc(var(--nav-h) + 4px); right: var(--gutter); } }
@media (max-width: 760px) { .skip--model { bottom: 20px; } }

/* ==========================================================================
   PROJECT PAGES
   ========================================================================== */
.ph { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(28px, 6vh, 64px); overflow: hidden; }
.ph__media { position: absolute; inset: 0; overflow: hidden; }
.ph__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.ph__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,10,.96) 2%, rgba(11,11,10,.2) 55%, rgba(11,11,10,.5)); }
.ph > *:not(.ph__media) { position: relative; z-index: 1; }
.ph__top { position: absolute !important; top: calc(var(--nav-h) + 20px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: var(--mute); }
.ph__top a:hover { color: var(--gold-2); }
.ph__idx { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--stone-2); }
.ph h1 { font-size: clamp(3rem, 9vw, 9.6rem); max-width: 14ch; }
.ph__lead { margin-top: 28px; max-width: 46ch; color: var(--stone-2); font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.4; }

.sheet { display: grid; grid-template-columns: repeat(4, 1fr) auto; border: 1px solid var(--line-strong); margin-top: -1px; }
.sheet > div { padding: 18px 20px; border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.sheet > div:last-child { border-right: 0; }
.sheet .mono { color: var(--mute); font-size: 10px; }
.sheet b { font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.5rem); letter-spacing: -.02em; }
@media (max-width: 760px) { .sheet { grid-template-columns: 1fr 1fr; } .sheet > div { border-bottom: 1px solid var(--line-strong); } .sheet > div:nth-child(2n) { border-right: 0; } .sheet > div:last-child { grid-column: 1 / -1; } }

.facts-list { margin-top: 40px; border-top: 1px solid var(--line); }
.facts-list li { list-style: none; display: grid; grid-template-columns: 40px 1fr; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 1.1rem; letter-spacing: -.01em; }
.facts-list li span { font-family: var(--f-mono); font-size: 10px; color: var(--gold); padding-top: 5px; }
.pbody p + p { margin-top: 20px; }
.pbody .first { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; color: var(--stone); max-width: 30ch; margin-bottom: 40px; }

.pgal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 36px) var(--gutter); padding-inline: var(--gutter); }
.pgal figure { position: relative; cursor: none; }
.pgal .media { width: 100%; }
.pgal .media img { transition: transform 1.4s var(--ease-out); }
.pgal figure:hover .media img { transform: scale(1.03); }
.pgal figcaption { margin-top: 10px; display: flex; justify-content: space-between; color: var(--mute); }
.pgal .g-full { grid-column: 1 / -1; margin-inline: calc(var(--gutter) * -1); }
.pgal .g-full figcaption { padding-inline: var(--gutter); }
.pgal .g-full .media { aspect-ratio: 16 / 8; }
.pgal .g-wl { grid-column: 1 / span 8; } .pgal .g-wr { grid-column: 5 / span 8; }
.pgal .g-wl .media, .pgal .g-wr .media { aspect-ratio: 3 / 2; }
.pgal .g-pl { grid-column: 1 / span 6; } .pgal .g-pr { grid-column: 7 / span 6; margin-top: 14vh; }
.pgal .g-pl .media, .pgal .g-pr .media { aspect-ratio: 4 / 5; }
.pgal .g-tl { grid-column: 2 / span 5; } .pgal .g-tr { grid-column: 7 / span 5; }
.pgal .g-tl .media, .pgal .g-tr .media { aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .pgal { grid-template-columns: 1fr; }
  .pgal figure, .pgal .g-pr { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .pgal .g-full { margin-inline: calc(var(--gutter) * -1); }
}

.nextp { position: relative; display: block; height: 100svh; overflow: hidden; margin-top: clamp(96px, 16vh, 200px); }
.nextp .media { position: absolute; inset: 0; clip-path: inset(18% 22% 18% 22%); }
.nextp .media::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 10, .55); }
.nextp__copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--gutter); z-index: 1; }
.nextp__copy h2 { font-size: clamp(3rem, 9vw, 10rem); max-width: 14ch; }
.nextp__copy .mono { color: var(--stone-2); }
.nextp__copy .btn { margin-top: 32px; }

.lightbox { position: fixed; inset: 0; z-index: 9100; background: rgba(8, 8, 7, .97); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; pointer-events: none; transition: opacity .5s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); color: var(--stone-2); }
.lightbox__stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 clamp(16px, 7vw, 120px); touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 78vh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__nav { position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; }
.lightbox__nav.prev { left: 0; } .lightbox__nav.next { right: 0; }
.lightbox__thumbs { display: flex; gap: 6px; justify-content: center; padding: 16px var(--gutter) 22px; overflow-x: auto; }
.lightbox__thumbs button { width: 64px; height: 44px; flex: none; opacity: .35; transition: opacity .3s; border: 1px solid transparent; }
.lightbox__thumbs button.is-on { opacity: 1; border-color: var(--gold); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__close { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: grid; place-items: center; }
@media (max-width: 960px) { .build__meta { display: none; } }
.drawer__body .btn, .feature__copy .btn { align-self: flex-start; }

/* ==========================================================================
   LOGO (shared SVG) + PRELOADER
   ========================================================================== */
.dg-logo { display: block; overflow: visible; }
.dg-logo .lg-s { fill: none; stroke: var(--gold-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dg-logo .lg-f { transition: opacity .6s var(--ease); }
.dg-logo .lg-t { fill: var(--stone); }
.brand { gap: 14px; }
.brand__logo { height: 28px; width: calc(28px * 1367 / 410); }
.brand__word { padding-left: 14px; border-left: 1px solid var(--line-strong); }
.brand:hover .brand__logo .lg-f { opacity: .18; }
.brand:hover .brand__logo .lg-s { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease); }
.brand__logo .lg-s { transition: stroke-dashoffset .6s var(--ease); }
.is-loading .brand__logo { opacity: 0; }
@media (max-width: 560px) { .brand__word { display: none; } .brand__logo { height: 24px; width: calc(24px * 1367 / 410); } }
.tblock__logo { width: 34px; height: auto; }

.loader { position: fixed; inset: 0; z-index: 9300; pointer-events: none; }
.loader__bg { position: absolute; inset: 0; background: var(--ink); pointer-events: auto; }
.loader__grid {
  position: absolute; inset: 0; opacity: 0;
  background-image: linear-gradient(rgba(236, 230, 219, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 230, 219, .045) 1px, transparent 1px),
    linear-gradient(rgba(236, 230, 219, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 230, 219, .02) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: center;
}
.loader__stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.loader__svg { width: min(64vw, 820px); height: auto; aspect-ratio: 1367 / 509; overflow: visible; will-change: transform; }
.ld-guides line { stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .32; fill: none; }
.ld-ink path { fill: none; stroke: var(--gold-2); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.ld-surface { stroke: var(--gold-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0; }
.ld-text { fill: var(--stone); }
.ld-dim line { stroke: var(--stone-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ld-dim text { fill: var(--stone-2); font-family: var(--f-mono); font-size: 22px; letter-spacing: 2px; }
.loader__corner { position: absolute; display: flex; flex-direction: column; gap: 6px; color: var(--mute); z-index: 2; }
.loader__corner b { color: var(--stone); font-weight: 400; }
.loader__corner.tl { top: var(--gutter); left: var(--gutter); }
.loader__corner.tr { top: var(--gutter); right: var(--gutter); text-align: right; }
.loader__corner.bl { bottom: var(--gutter); left: var(--gutter); }
.loader__corner.br { bottom: var(--gutter); right: var(--gutter); text-align: right; }
.loader__corner.br b { font-size: 13px; color: var(--gold-2); }
.loader__steps { list-style: none; counter-reset: s; }
.loader__steps li { counter-increment: s; opacity: .35; transition: opacity .4s, color .4s; }
.loader__steps li::before { content: "0" counter(s) "  "; white-space: pre; }
.loader__steps li.is-on { opacity: 1; color: var(--gold-2); }
@media (max-width: 760px) { .loader__svg { width: 82vw; } .loader__corner.tr { display: none; } }
