/* ==========================================================================
   Elite Manor — Design 03 "The Architect's Portfolio"
   Stone page, concrete panels, graphite lines, pool-teal accent.
   ========================================================================== */

:root {
  --stone: #e9e4dc;
  --stone-2: #f3f0ea;
  --concrete: #cfc9c0;
  --graphite: #1f1f1f;
  --graphite-2: #2b2b2b;
  --ink: #1f1f1f;
  --ink-2: #4a4844;
  --teal: #1d4f5b;
  --teal-tint: #9dc3cb;
  --line: #1f1f1f;
  --line-soft: rgba(31, 31, 31, 0.28);
  --line-on-dark: rgba(233, 228, 220, 0.22);

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --pad-y: clamp(2.5rem, 6vw, 6rem);
  --header-h: 72px;
  --measure: 62ch;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--pad); top: -100px; z-index: 100; background: var(--graphite); color: var(--stone); padding: .6rem 1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.skip-link:focus { top: .5rem; }

/* ---------- Type utilities ---------- */
.mono { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.eyebrow { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 1.25rem; }
.on-dark .eyebrow, .dark .eyebrow { color: var(--teal-tint); }
.display { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; line-height: .92; }
.numeral { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 6.5vw, 6rem); line-height: .9; letter-spacing: -0.035em; }
.h-xl { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -0.03em; font-weight: 600; }
.h-lg { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -0.025em; }
.h-md { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; font-weight: 600; }
.lead { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.35; letter-spacing: -0.01em; max-width: 30ch; }
.quote { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.35; letter-spacing: -0.01em; max-width: 34ch; color: var(--teal); }
.dark .quote { color: var(--teal-tint); }
.muted { color: var(--ink-2); }
.dark .muted { color: rgba(233, 228, 220, .78); }
.small { font-size: .9rem; }
.dark { background: var(--graphite); color: var(--stone); }
.concrete { background: var(--concrete); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 1.1rem;
  border: 1px solid var(--line); padding: .95rem 1.35rem;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1; color: var(--ink); background: transparent; transition: background .15s, color .15s;
}
.btn::after { content: "\2192"; font-family: var(--font-mono); font-weight: 400; font-size: 1rem; }
.btn:hover { background: var(--graphite); color: var(--stone); }
.btn--fill { background: var(--graphite); color: var(--stone); }
.btn--fill:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--graphite); border-color: var(--graphite); }
.dark .btn, .btn--light { border-color: var(--stone); color: var(--stone); }
.dark .btn:hover, .btn--light:hover { background: var(--stone); color: var(--graphite); }
.btn--plain::after { content: none; }
.btn[aria-disabled="true"] { cursor: not-allowed; border-style: dashed; color: var(--ink-2); }
.btn[aria-disabled="true"]::after { content: none; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--ink-2); }
.link { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.link:hover { color: var(--teal); }
.dark .link:hover { color: var(--teal-tint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--pad);
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
.site-header--dark { background: var(--graphite); color: var(--stone); border-bottom-color: var(--line-on-dark); }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.85rem; }
.nav__list > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 500; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .4rem 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: currentColor; }
.nav__link .caret { font-family: var(--font-mono); font-size: .7rem; }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--stone); color: var(--ink); border: 1px solid var(--line);
  display: none; margin-top: .6rem;
}
.nav__list > li:hover > .nav__sub, .nav__list > li:focus-within > .nav__sub { display: block; }
.nav__sub a { display: block; padding: .85rem 1rem; font-family: var(--font-head); font-weight: 500; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; }
.nav__sub li + li a { border-top: 1px solid var(--line); }
.nav__sub a:hover { background: var(--graphite); color: var(--stone); }
.nav__cta { border: 1px solid currentColor; padding: .7rem 1.1rem; font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.nav__cta:hover { background: var(--graphite); color: var(--stone); }
.site-header--dark .nav__cta:hover { background: var(--stone); color: var(--graphite); }
.menu-toggle { display: none; align-items: center; gap: .75rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; }
.menu-toggle__icon { width: 22px; height: 14px; position: relative; display: inline-block; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .2s; }
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--graphite); color: var(--stone); overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ol { counter-reset: nav; }
.mobile-nav li { border-bottom: 1px solid var(--line-on-dark); }
.mobile-nav a {
  display: flex; align-items: baseline; gap: 1.25rem; padding: 1.15rem var(--pad);
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4rem, 5vw, 2rem); letter-spacing: -0.02em;
}
.mobile-nav ol a::before { counter-increment: nav; content: counter(nav, decimal-leading-zero); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--teal-tint); }
.mobile-nav a.is-sub { padding-left: calc(var(--pad) + 2.5rem); font-size: 1.1rem; }
.mobile-nav ol a.is-sub::before { content: "\2014"; counter-increment: none; }
.mobile-nav__foot { padding: 1.5rem var(--pad); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(233,228,220,.7); }
.mobile-nav__foot a { display: block; color: var(--stone); margin-top: .5rem; font-family: var(--font-body); font-size: 1.05rem; letter-spacing: 0; text-transform: none; padding: 0; }
body.nav-open { overflow: hidden; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Layout primitives ---------- */
main { display: block; }
.section { border-bottom: 1px solid var(--line); }
.section--dark { background: var(--graphite); color: var(--stone); border-bottom-color: var(--line-on-dark); }
.pad { padding: var(--pad-y) var(--pad); }
.pad-x { padding-left: var(--pad); padding-right: var(--pad); }

/* Sticky two-column layout: left titles, right content */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.two > * { min-width: 0; }
.two > .two__aside { border-right: 1px solid var(--line); padding: var(--pad-y) var(--pad); }
.two > .two__main { padding: var(--pad-y) var(--pad); }
.section--dark .two > .two__aside { border-right-color: var(--line-on-dark); }
.sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.two__aside .h-lg { margin-bottom: 1rem; }
.two__aside .index { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.5rem; }
.section--dark .two__aside .index { color: rgba(233,228,220,.65); }

/* Split 50/50 */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > * { min-width: 0; }
.split > * + * { border-left: 1px solid var(--line); }
.section--dark .split > * + * { border-left-color: var(--line-on-dark); }
.split__media { position: relative; min-height: 380px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: var(--pad-y) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.split__body > * + * { margin-top: 1.5rem; }
.split__body p + p { margin-top: 0; }
.split--flip > :first-child { order: 2; border-left: 1px solid var(--line); }
.split--flip > :last-child { order: 1; border-left: 0; }
.section--dark .split--flip > :first-child { border-left-color: var(--line-on-dark); }

/* Bordered cell grids */
.cells { display: grid; gap: 1px; background: var(--line); }
.cells > * { background: var(--stone); min-width: 0; }
.cells--3 { grid-template-columns: repeat(3, 1fr); }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.cells--5 { grid-template-columns: repeat(5, 1fr); }
.cells--2 { grid-template-columns: repeat(2, 1fr); }
.section--dark .cells { background: var(--line-on-dark); }
.section--dark .cells > * { background: var(--graphite); }
.cell { padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad); }

@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; }
  .two > .two__aside { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
  .section--dark .two > .two__aside { border-bottom-color: var(--line-on-dark); }
  .sticky { position: static; }
  .split { grid-template-columns: 1fr; }
  .split > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .split--flip > :first-child { order: 1; border-left: 0; border-top: 0; }
  .split--flip > :last-child { order: 2; border-top: 1px solid var(--line); }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .cells--4, .cells--5 { grid-template-columns: repeat(2, 1fr); }
  .cells--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cells--2 { grid-template-columns: 1fr; }
}

/* ---------- Hero (photo) ---------- */
.hero {
  position: relative; min-height: clamp(440px, 66vh, 760px);
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--graphite); color: var(--stone);
  border-bottom: 1px solid var(--line);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,31,31,.9) 0%, rgba(31,31,31,.45) 38%, rgba(31,31,31,.08) 70%, rgba(31,31,31,0) 100%); pointer-events: none; }
.hero__crumb {
  position: absolute; top: 0; left: 0; z-index: 2;
  margin: var(--pad); padding: .55rem .8rem;
  background: var(--graphite); color: var(--stone); border: 1px solid var(--line-on-dark);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.hero__crumb a:hover { color: var(--teal-tint); }
.hero__crumb span { opacity: .55; margin: 0 .5rem; }
.hero__content { position: relative; z-index: 2; padding: var(--pad); width: 100%; }
.hero__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 8vw, 7rem); line-height: .95; letter-spacing: -0.03em; color: var(--stone); max-width: 12ch; }
.hero__logo { width: min(360px, 60vw); height: auto; }
.hero__sub { margin-top: 1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-tint); }

/* Plain hero (stone title block) */
.hero--plain { background: var(--stone); color: var(--ink); min-height: clamp(300px, 42vh, 460px); }
.hero--plain::after { content: none; }
.hero--plain .hero__title { color: var(--ink); }
.hero--plain .hero__crumb { background: transparent; color: var(--ink); border-color: var(--line); }
.hero--plain .hero__crumb a:hover { color: var(--teal); }

/* ---------- Home hero ---------- */
.home-hero { display: grid; grid-template-columns: 55fr 45fr; min-height: clamp(600px, calc(100vh - var(--header-h)), 900px); border-bottom: 1px solid var(--line); }
.home-hero__media { position: relative; min-height: 420px; border-right: 1px solid var(--line); }
.home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__panel { padding: clamp(1.5rem, 3vw, 3rem) var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.home-hero__top { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.home-hero__words { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.2rem, 5.6vw, 5.6rem); line-height: .9; letter-spacing: -0.035em; text-transform: uppercase; margin: 1rem 0; }
.home-hero__words span { display: block; }
.home-hero__words .thin { font-weight: 300; color: var(--teal); letter-spacing: -0.02em; }
.home-hero__copy h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; margin-bottom: 1.25rem; }
.home-hero__copy p { font-size: .97rem; max-width: 52ch; }
.home-hero__cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.home-hero__note { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink-2); max-width: 32ch; line-height: 1.5; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-hero__media { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-hero__panel { padding-top: 2rem; padding-bottom: 2.5rem; }
  .home-hero__words { font-size: clamp(2.8rem, 13vw, 5rem); }
}

/* ---------- Stat strip ---------- */
.stats .cell { padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad); }
.stats .numeral { display: block; margin-bottom: .75rem; }
.stats .numeral small { font-size: .38em; font-weight: 400; letter-spacing: 0; font-family: var(--font-mono); vertical-align: baseline; margin-left: .15em; }
.stats .mono { color: var(--ink-2); }
.section--dark .stats .mono { color: rgba(233,228,220,.7); }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--graphite); overflow: hidden; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__btn { position: absolute; inset: 0; width: 100%; display: flex; align-items: center; justify-content: center; color: var(--stone); }
.video__btn:hover .video__play { background: var(--teal); border-color: var(--teal); }
.video__play { width: 92px; height: 92px; border: 1px solid var(--stone); background: rgba(31,31,31,.55); display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.video__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.video__label { position: absolute; right: 1.25rem; bottom: 1.25rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--graphite); padding: .5rem .75rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-side { display: grid; grid-template-columns: 2fr 3fr; }
.video-side > * { min-width: 0; }
.video-side > :first-child { padding: var(--pad-y) var(--pad); border-right: 1px solid var(--line-on-dark); display: flex; flex-direction: column; justify-content: flex-end; gap: 1.25rem; }
.video-side > :last-child { display: flex; align-items: center; padding: var(--pad); }
.video-side .video { width: 100%; border: 1px solid var(--line-on-dark); }
@media (max-width: 900px) {
  .video-side { grid-template-columns: 1fr; }
  .video-side > :first-child { border-right: 0; border-bottom: 1px solid var(--line-on-dark); }
}

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.award { background: var(--stone); display: grid; grid-template-rows: auto 1fr; }
.award__badge { background: var(--concrete); padding: 2rem; display: flex; justify-content: center; border-bottom: 1px solid var(--line); }
.award__badge img { height: 300px; width: auto; object-fit: contain; }
.award__cap { padding: 1.5rem var(--pad) 2rem; }
.award__year { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: .9; letter-spacing: -0.03em; margin: .25rem 0 1rem; }
.award__cap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .9rem; }
.award__cap dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-top: .2rem; }
.award__cap dd { margin: 0; }
@media (max-width: 900px) { .awards { grid-template-columns: 1fr; } .award__badge img { height: 240px; } }

/* ---------- Project cards ---------- */
.project { display: grid; grid-template-rows: auto 1fr; }
.project__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--concrete); }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 2rem var(--pad) 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.project__logo { height: 84px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.project__logo--wide { height: 44px; }
.project__body p { flex: 1; }
.project__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; gap: 1rem; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1.25rem 0; text-align: left; }
.acc__btn:hover .acc__q { color: var(--teal); }
.acc__num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--ink-2); }
.acc__q { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.3; letter-spacing: -0.01em; }
.acc__icon { width: 1.5rem; height: 1.5rem; border: 1px solid var(--line); position: relative; flex: 0 0 auto; align-self: center; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: currentColor; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.acc__icon::before { width: 10px; height: 1px; }
.acc__icon::after { width: 1px; height: 10px; transition: transform .15s; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--graphite); color: var(--stone); }
.acc__panel { padding: 0 0 1.5rem 4rem; }
.acc__panel p { max-width: 64ch; color: var(--ink-2); }
@media (max-width: 560px) { .acc__btn { grid-template-columns: 2.25rem 1fr auto; } .acc__panel { padding-left: 0; } }

/* ---------- Clocks ---------- */
.clock { padding: 1.5rem var(--pad); }
.clock__city { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(233,228,220,.7); display: block; margin-bottom: .6rem; }
.clock__time { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.clock__time small { font-family: var(--font-mono); font-weight: 400; font-size: .5em; letter-spacing: .08em; margin-left: .35rem; opacity: .7; }
@media (max-width: 900px) { .cells--5.clocks { grid-template-columns: repeat(2, 1fr); } .cells--5.clocks > :last-child { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: var(--stone); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.footer-grid > * { padding: var(--pad-y) var(--pad); min-width: 0; }
.footer-grid > * + * { border-left: 1px solid var(--line-on-dark); }
.footer-grid h3 { font-family: var(--font-mono); font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-tint); margin-bottom: 1.25rem; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a:hover { color: var(--teal-tint); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { font-size: .95rem; color: rgba(233,228,220,.8); max-width: 30ch; }
.footer-brand strong { font-weight: 500; color: var(--stone); }
.footer-contact li { font-size: .95rem; }
.footer-contact .mono { color: rgba(233,228,220,.6); display: block; margin-bottom: .2rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.footer-social a { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-on-dark); padding: .5rem .75rem; }
.footer-social a:hover { border-color: var(--stone); }
.footer-bottom { border-top: 1px solid var(--line-on-dark); padding: 1.25rem var(--pad); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(233,228,220,.7); }
.footer-bottom a:hover { color: var(--stone); }
.footer-bottom .sep { margin: 0 .6rem; opacity: .5; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > * + * { border-left: 0; }
  .footer-grid > :nth-child(2n) { border-left: 1px solid var(--line-on-dark); }
  .footer-grid > :nth-child(n + 3) { border-top: 1px solid var(--line-on-dark); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :nth-child(2n) { border-left: 0; }
  .footer-grid > * + * { border-top: 1px solid var(--line-on-dark); }
}

/* ---------- Team ---------- */
.person { display: grid; grid-template-columns: 2fr 3fr; }
.person > * { min-width: 0; }
.person__media { padding: var(--pad); border-right: 1px solid var(--line); }
.person__frame { border: 1px solid var(--line); background: var(--concrete); aspect-ratio: 3 / 4; overflow: hidden; }
.person__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person__cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: .75rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.person__body { padding: var(--pad-y) var(--pad); }
.person__body h2 { margin-bottom: .4rem; }
.person__role { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 2rem; }
.person--flip .person__media { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.person--flip .person__body { order: 1; }
@media (max-width: 900px) {
  .person { grid-template-columns: 1fr; }
  .person__media { border-right: 0; border-bottom: 1px solid var(--line); max-width: 480px; }
  .person--flip .person__media { order: 1; border-left: 0; }
  .person--flip .person__body { order: 2; }
}
.partner__logo { height: 48px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; margin-bottom: 1.5rem; }
.partner__logo--tall { height: 60px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: .5rem; }
.field label, .field > .field__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field .req { color: var(--teal); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: var(--stone-2); color: var(--ink);
  padding: .95rem 1rem; font: inherit; font-size: 1rem; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.choices { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); }
.choices label { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-right: 1px solid var(--line); font-family: var(--font-body); font-size: .95rem; text-transform: none; letter-spacing: 0; cursor: pointer; flex: 1 1 auto; }
.choices label:last-child { border-right: 0; }
.choices label:hover { background: var(--stone-2); }
.choices input[type="radio"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid var(--line); background: var(--stone-2); margin: 0; flex: 0 0 auto; display: inline-grid; place-content: center; }
.choices input[type="radio"]::before { content: ""; width: 8px; height: 8px; background: var(--teal); transform: scale(0); transition: transform .1s; }
.choices input[type="radio"]:checked::before { transform: scale(1); }
.choices input[type="radio"]:checked + span { color: var(--teal); font-weight: 500; }
.choices input[type="radio"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.form__note { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.btn-submit { border: 1px solid var(--graphite); background: var(--graphite); color: var(--stone); padding: 1rem 1.5rem; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 1rem; }
.btn-submit::after { content: "\2192"; font-family: var(--font-mono); font-weight: 400; font-size: 1rem; }
.btn-submit:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.gform { border: 1px solid var(--line); background: var(--stone-2); }
.gform iframe { width: 100%; height: 1400px; border: 0; display: block; }
.gform__bar { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1rem var(--pad); border-bottom: 1px solid var(--line); }

/* Contact details */
.details { display: grid; gap: 0; border: 1px solid var(--line); }
.details > div { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.details > div:last-child { border-bottom: 0; }
.details .mono { color: var(--ink-2); display: block; margin-bottom: .4rem; }
.details a:hover { color: var(--teal); }
.details .big { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }
.details address { font-style: normal; }

/* ---------- Lavish Estates ---------- */
.sheet { border: 1px solid var(--line); background: var(--stone-2); padding: clamp(.75rem, 2vw, 1.5rem); position: relative; }
.sheet__inner { border: 1px solid var(--line); position: relative; background: #fff; }
.sheet__inner img { width: 100%; height: auto; }
.sheet__marks { position: absolute; inset: 0; pointer-events: none; }
.sheet__marks span { position: absolute; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--stone-2); padding: 0 .35rem; }
.sheet__marks .n { top: -.5rem; left: 50%; transform: translateX(-50%); }
.sheet__marks .w { left: -.5rem; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; }
.titleblock { position: absolute; right: 0; bottom: 0; background: var(--stone); border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-width: 300px; }
.titleblock table { width: 100%; }
.titleblock th, .titleblock td { text-align: left; padding: .5rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.titleblock tr:last-child th, .titleblock tr:last-child td { border-bottom: 0; }
.titleblock th { font-family: var(--font-mono); font-weight: 400; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border-right: 1px solid var(--line); width: 34%; white-space: nowrap; }
.titleblock td { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: -0.01em; }
@media (max-width: 760px) {
  .titleblock { position: static; border: 0; border-top: 1px solid var(--line); min-width: 0; }
}

.lots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lot { background: var(--stone); padding: .9rem .9rem .8rem; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; }
.lot__code { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1; }
.lot__type { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.lot__state { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.lot--sold { background: var(--graphite); color: var(--stone); }
.lot--sold .lot__type { color: rgba(233,228,220,.65); }
.lot--sold .lot__state { color: rgba(233,228,220,.65); }
.lot--available { color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.lot--available .lot__type { color: var(--teal); }
.lot--available .lot__state { color: var(--teal); font-weight: 500; }
@media (max-width: 900px) { .lots { grid-template-columns: repeat(3, 1fr); } }
.lots-summary { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; margin-bottom: 1.25rem; }
.lots-summary .numeral { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.lots-summary .numeral em { font-style: normal; color: var(--teal); }
.lots-summary .numeral small { font-family: var(--font-mono); font-weight: 400; font-size: .3em; letter-spacing: .1em; text-transform: uppercase; margin: 0 .5rem; }
.key { display: flex; gap: 1.25rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.key span { display: inline-flex; align-items: center; gap: .5rem; }
.key i { width: 12px; height: 12px; border: 1px solid var(--line); display: inline-block; }
.key i.filled { background: var(--graphite); }
.key i.avail { border: 2px solid var(--teal); }
@media (max-width: 560px) { .lots-summary { grid-template-columns: 1fr; align-items: start; } }

/* Spec table */
.spec { width: 100%; border: 1px solid var(--line); }
.spec th, .spec td { border: 1px solid var(--line); padding: 1rem 1.25rem; text-align: left; vertical-align: top; }
.spec thead th { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.025em; line-height: 1; background: var(--graphite); color: var(--stone); padding: 1.5rem 1.25rem; }
.spec thead th:first-child { background: var(--stone); }
.spec thead th small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-tint); margin-top: .6rem; }
.spec tbody th { font-family: var(--font-mono); font-weight: 400; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); width: 22%; background: var(--stone-2); }
.spec tbody td { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.spec tbody td .unit { font-family: var(--font-mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-left: .35rem; }
.spec tbody td ul { font-family: var(--font-body); font-size: .95rem; font-weight: 400; }
.spec tbody td ul li::before { content: "\2014\00a0"; color: var(--teal); }
.villa-cards { display: none; }
@media (max-width: 760px) {
  .spec { display: none; }
  .villa-cards { display: grid; gap: 1.5rem; }
  .villa-card { border: 1px solid var(--line); }
  .villa-card h3 { background: var(--graphite); color: var(--stone); padding: 1.25rem 1.25rem; font-size: 1.75rem; letter-spacing: -0.025em; }
  .villa-card h3 small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-tint); margin-top: .5rem; }
  .villa-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .villa-card dl > div { padding: .9rem 1.25rem; border-top: 1px solid var(--line); }
  .villa-card dl > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .villa-card dl > div.wide { grid-column: 1 / -1; border-left: 0; }
  .villa-card dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .3rem; }
  .villa-card dd { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; }
  .villa-card dd .unit { font-family: var(--font-mono); font-weight: 400; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-left: .3rem; }
  .villa-card dd ul { font-family: var(--font-body); font-size: .95rem; font-weight: 400; }
}

/* Floor plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan { background: var(--stone); }
.plan__img { background: #fff; padding: 1rem; border-bottom: 1px solid var(--line); }
.plan__img img { width: 100%; height: auto; aspect-ratio: 579 / 414; object-fit: contain; }
.plan__cap { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.plan__cap strong { font-weight: 500; }
.plan__cap span { color: var(--ink-2); }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* Gallery strips */
.strip { border-top: 1px solid var(--line); }
.strip:first-child { border-top: 0; }
.strip__head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem var(--pad); flex-wrap: wrap; }
.strip__title { display: flex; align-items: baseline; gap: 1rem; }
.strip__title h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.025em; }
.strip__title .mono { color: var(--ink-2); }
.strip__ctrl { display: flex; align-items: center; gap: 1rem; }
.strip__counter { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.strip__btn { width: 44px; height: 44px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 1rem; }
.strip__btn:hover { background: var(--graphite); color: var(--stone); }
.strip__track {
  --strip-h: clamp(260px, 52vh, 520px);
  display: flex; gap: 1px; background: var(--line); border-top: 1px solid var(--line);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--graphite) var(--stone);
}
.strip__item { flex: 0 0 auto; height: var(--strip-h); scroll-snap-align: start; background: var(--concrete); }
.strip__item button { display: block; height: 100%; }
.strip__item img { height: var(--strip-h); width: auto; object-fit: cover; display: block; }
.strip__item button:hover img { opacity: .92; }
.strip__item figcaption { position: absolute; left: 0; bottom: 0; }
.strip__end { flex: 0 0 auto; height: var(--strip-h); width: 220px; background: var(--stone); display: flex; align-items: flex-end; padding: 1.25rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); scroll-snap-align: end; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(31,31,31,.96); color: var(--stone); display: none; flex-direction: column; }
.lightbox.is-open { display: flex; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--pad); border-bottom: 1px solid var(--line-on-dark); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 1.5rem var(--pad); position: relative; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 1px solid var(--line-on-dark); }
.lightbox__btn { border: 1px solid var(--stone); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 1rem; color: var(--stone); }
.lightbox__btn:hover { background: var(--stone); color: var(--graphite); }
.lightbox__nav { display: flex; gap: .5rem; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--pad); }
.lightbox__next { right: var(--pad); }
@media (max-width: 760px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Privacy ---------- */
.toc li { border-bottom: 1px solid var(--line-soft); }
.toc a { display: flex; gap: 1rem; align-items: baseline; padding: .7rem 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.toc a:hover { color: var(--teal); }
.policy h2 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); margin: 2.5rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.policy h2:first-of-type { margin-top: 2rem; }
.policy ul { list-style: none; margin: 0 0 1.1em; max-width: var(--measure); }
.policy li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.policy li::before { content: ""; position: absolute; left: 0; top: .75em; width: 12px; height: 1px; background: var(--teal); }

/* ---------- Generic helpers ---------- */
.stack > * + * { margin-top: 1.5rem; }
.row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.txt { max-width: var(--measure); }
.txt p + p { margin-top: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.sec-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; padding: 1.25rem var(--pad); border-bottom: 1px solid var(--line); }
.sec-title .mono { color: var(--ink-2); }
.section--dark .sec-title { border-bottom-color: var(--line-on-dark); }
.section--dark .sec-title .mono { color: rgba(233,228,220,.65); }
.back-top { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 1rem var(--pad); border-top: 1px solid var(--line); width: 100%; justify-content: flex-end; }
.back-top:hover { color: var(--teal); }

/* About: award list */
.award-list { max-width: var(--measure); border-top: 1px solid var(--line); }
.award-list li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.award-list .mono { color: var(--teal); }
