/* ==========================================================================
   DREAM STONE REAL ESTATE
   Core stylesheet: tokens, base, components, page layouts
   Responsive overrides live in responsive.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted Manrope variable, weights 200-800)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Tokens
   Primitive -> semantic. Components reference semantic tokens only.
   -------------------------------------------------------------------------- */
:root {
  /* Primitives */
  --ivory-50: #F7F4EE;
  --sand-100: #EFEAE2;
  --sand-200: #E4DDD2;
  --stone-300: #D5CDBF;
  --stone-500: #8E8A82;
  --graphite-600: #5E5A54;
  --graphite-700: #3E3A36;
  --charcoal-900: #1C1916;
  --navy-950: #0C1A2E;
  --navy-900: #12243C;
  --navy-800: #1A3354;
  --navy-100: #E7EDF4;
  --sage-100: #E7EDF4;
  --sage-300: #C4A574;
  --sage-600: #1A3354;
  --sage-800: #0C1A2E;
  --forest-950: #0C1A2E;
  --champagne-400: #C4A574;
  --champagne-300: #D4BC8E;
  --error-600: #9E3426;

  /* Semantic */
  --c-bg: var(--ivory-50);
  --c-bg-alt: var(--sand-100);
  --c-surface: #FFFDF9;
  --c-ink: var(--charcoal-900);
  --c-ink-2: var(--graphite-700);
  --c-muted: var(--graphite-600);
  --c-line: var(--stone-300);
  --c-line-soft: var(--sand-200);
  --c-accent: var(--sage-600);
  --c-accent-deep: var(--sage-800);
  --c-accent-tint: var(--sage-100);
  --c-dark: var(--forest-950);
  --c-on-dark: var(--ivory-50);
  --c-on-dark-2: rgba(250, 248, 245, 0.74);
  --c-on-dark-line: rgba(250, 248, 245, 0.16);
  --c-on-dark-accent: var(--champagne-400);
  --c-error: var(--error-600);

  /* Type */
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.75rem, 6.6vw, 7rem);
  --fs-h1: clamp(2.5rem, 5.6vw, 5.75rem);
  --fs-h2: clamp(2.125rem, 4.2vw, 4.25rem);
  --fs-h3: clamp(1.375rem, 2vw, 1.875rem);
  --fs-statement: clamp(1.625rem, 3.2vw, 3.25rem);
  --fs-lead: clamp(1.0625rem, 1.2vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Space & layout */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --container: 1440px;
  --section: clamp(3.25rem, 6vw, 5.5rem);
  --header-h: 76px;
  --grid-gap: clamp(1rem, 2vw, 2rem);

  /* Shape: architectural, square corners everywhere */
  --radius: 0px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 700ms;

  /* Layers */
  --z-menu: 90;
  --z-header: 100;
  --z-curtain: 200;
  --z-skip: 300;
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  background: var(--c-bg);
  color: var(--c-ink);
  overflow-x: clip;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
::selection { background: var(--c-accent); color: var(--c-on-dark); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--c-on-dark); }

/* Lenis (vendor rules, inlined to save a request) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-skip);
  padding: 0.75rem 1.25rem;
  background: var(--c-ink);
  color: var(--c-on-dark);
  font-size: var(--fs-small);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}

.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--c-bg-alt); }
.section--dark {
  background: var(--c-dark);
  color: var(--c-on-dark);
}
.section--dark p { color: var(--c-on-dark-2); }

/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: inherit; }

.display, .h1, .h2 {
  font-weight: 300;
  text-wrap: balance;
}
.display strong, .h1 strong, .h2 strong, .h3 strong { font-weight: 600; }

.display { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.045em; }
.h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.04em; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.02em; font-weight: 500; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 42ch;
}
.section--dark .lead { color: var(--c-on-dark-2); }

p { color: var(--c-ink-2); max-width: 62ch; text-wrap: pretty; }

.statement-text {
  font-size: var(--fs-statement);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: var(--c-ink);
  max-width: 26em;
  text-wrap: balance;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}
.label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.label--light, .section--dark .label { color: var(--c-on-dark-accent); }

.meta {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Split-text line masks (GSAP SplitText): leave room for descenders */
.sline-mask { padding-bottom: 0.1em; margin-bottom: -0.1em; }

/* --------------------------------------------------------------------------
   6. Icons
   -------------------------------------------------------------------------- */
.icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  fill: currentColor;
}
.icon--lg { width: 1.75rem; height: 1.75rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   7. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-line: var(--c-line);
  --btn-fill: var(--c-accent);
  --btn-fill-fg: var(--c-on-dark);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0 1.625rem;
  overflow: hidden;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-line);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform var(--dur) var(--ease-out);
}
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn > span { position: relative; }

@media (hover: hover) {
  .btn:hover { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover .icon { transform: translateX(4px); }
}
.btn:focus-visible { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn:focus-visible::before { transform: scaleY(1); }
.btn:active > span, .btn:active .icon { transform: translateY(1px); }

.btn--solid {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-on-dark);
  --btn-line: var(--c-accent);
  --btn-fill: var(--c-ink);
}
.btn--outline { --btn-line: rgba(24, 28, 26, 0.28); }
.btn--light {
  --btn-bg: var(--c-bg);
  --btn-fg: var(--c-ink);
  --btn-line: var(--c-bg);
  --btn-fill: var(--c-accent);
  --btn-fill-fg: var(--c-on-dark);
}
.btn--outline-light {
  --btn-fg: var(--c-on-dark);
  --btn-line: rgba(250, 248, 245, 0.5);
  --btn-fill: var(--c-bg);
  --btn-fill-fg: var(--c-ink);
}
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: 100% 50%;
}
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) {
  .link-arrow:hover::after { animation: line-swap 0.7s var(--ease-in-out); }
  .link-arrow:hover .icon { transform: translateX(4px); }
}
@keyframes line-swap {
  0%, 50% { transform-origin: 100% 50%; }
  0% { transform: scaleX(1); }
  50% { transform: scaleX(0); }
  50.1%, 100% { transform-origin: 0% 50%; }
  100% { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   8. Media
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.media img, .media picture {
  width: 100%;
  height: 100%;
}
.media img { object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }

/* Parallax inner: oversized so movement never reveals an edge */
.media [data-parallax] { position: absolute; left: 0; right: 0; top: -10%; bottom: -10%; will-change: transform; }
.media [data-parallax] picture { height: 100%; }

.caption {
  margin-top: 0.875rem;
  font-size: var(--fs-micro);
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   9. Page transition curtain
   -------------------------------------------------------------------------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: var(--z-curtain);
  display: grid;
  place-items: center;
  background: var(--c-dark);
  transform: translateY(100%);
  pointer-events: none;
}
.curtain img { width: 4rem; height: auto; }
html.is-leaving .curtain {
  transform: translateY(0);
  transition: transform 0.55s var(--ease-in-out);
}
html.is-arriving .curtain { animation: curtain-lift 0.85s var(--ease-in-out) 0.05s both; }
@keyframes curtain-lift {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

/* --------------------------------------------------------------------------
   10. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  color: var(--c-ink);
  transition:
    transform 0.5s var(--ease-out),
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 1px 0 var(--c-line-soft);
}
.site-header.is-hidden:not(.menu-open) { transform: translateY(-100%); }

/* Over dark imagery until the user scrolls */
.site-header--overlay:not(.is-scrolled):not(.menu-open) { color: var(--c-on-dark); }
.site-header--overlay:not(.is-scrolled):not(.menu-open) .header-cta {
  --btn-bg: transparent;
  --btn-fg: var(--c-on-dark);
  --btn-line: rgba(250, 248, 245, 0.55);
  --btn-fill: var(--c-bg);
  --btn-fill-fg: var(--c-ink);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.625em; flex-shrink: 0; color: inherit; font-size: 1rem; line-height: 1; }
.brand-mark { width: auto; height: 2.875em; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; align-items: center; gap: 0.4em; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5em;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-tag {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.5625em;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-tag::before,
.brand-tag::after { content: ""; width: 1.75em; height: 1px; background: var(--champagne-400); }
.brand-tag::after { margin-left: -0.34em; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: inherit;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.25rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--dur) var(--ease-out);
}
.nav-link[aria-current="page"]::after,
.nav-link.is-current::after { transform: scaleX(1); }
@media (hover: hover) {
  .nav-link:hover::after { transform: scaleX(1); transform-origin: 0% 50%; }
}
.nav-link .icon { width: 0.875rem; height: 0.875rem; transition: transform var(--dur) var(--ease-out); }

.nav-dropdown { position: relative; }
.nav-dropdown.is-open .nav-dropdown-toggle .icon { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -1.5rem;
  width: 24rem;
  padding: 0.5rem;
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1px solid var(--c-line-soft);
  box-shadow: 0 24px 48px -24px rgba(36, 51, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur) var(--ease-out),
    visibility 0s linear var(--dur);
}
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -0.875rem;
  height: 0.875rem;
}
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-dropdown-link {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.nav-dropdown-thumb { width: 4.5rem; aspect-ratio: 4 / 3; object-fit: cover; }
.nav-dropdown-title { display: block; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.nav-dropdown-desc { display: block; font-size: 0.8125rem; line-height: 1.45; color: var(--c-muted); margin-top: 0.125rem; }
.nav-dropdown-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.375rem;
  padding: 0.875rem 0.75rem 0.5rem;
  border-top: 1px solid var(--c-line-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (hover: hover) {
  .nav-dropdown-link:hover { background: var(--c-bg-alt); }
  .nav-dropdown-all:hover { color: var(--c-accent); }
}

.header-cta { min-height: 2.75rem; padding-inline: 1.25rem; }

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.625rem;
  color: inherit;
}
.menu-toggle span {
  position: absolute;
  left: 0.625rem;
  width: 1.5rem;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: calc(50% - 6px); }
.menu-toggle span:nth-child(2) { top: calc(50% - 0.75px); }
.menu-toggle span:nth-child(3) { top: calc(50% + 5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

.header-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.site-header.is-scrolled .header-progress { opacity: 1; }
.header-progress span {
  display: block;
  height: 100%;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Mobile menu (full-screen) */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  background: var(--c-bg);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--dur-slow) var(--ease-in-out), visibility 0s linear var(--dur-slow);
}
.menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path var(--dur-slow) var(--ease-in-out), visibility 0s;
}
.menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding-block: clamp(1.5rem, 5vh, 3rem) max(1.5rem, env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu-list { display: flex; flex-direction: column; gap: 0.25rem; }
.menu-item { overflow: hidden; }
.menu-link {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.25rem;
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.04em;
  transform: translateY(105%);
  transition: transform 0.6s var(--ease-out), color var(--dur-fast);
}
.menu-link[aria-current="page"] { color: var(--c-accent); font-weight: 500; }
.menu.is-open .menu-link {
  transform: translateY(0);
  transition-delay: calc(0.18s + var(--i, 0) * 0.06s);
}
.menu-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0.25rem 0 0.75rem;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.menu.is-open .menu-sub { opacity: 1; transition-delay: 0.45s; }
.menu-sub a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink-2);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--c-line);
}
.menu-foot {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.menu.is-open .menu-foot { opacity: 1; transform: none; transition-delay: 0.5s; }
.menu-foot p { font-size: var(--fs-small); color: var(--c-muted); }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-on-dark);
  padding-top: clamp(4.5rem, 9vw, 8rem);
}
.site-footer p { color: var(--c-on-dark-2); }

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--c-on-dark-line);
}
.footer-cta .h2 { max-width: 13em; }

.footer-grid {
  padding-block: clamp(2rem, 4vw, 3rem);
  row-gap: 2.5rem;
}
.footer-brand { grid-column: 1 / span 4; }
.footer-brand .brand { font-size: 1.0625rem; color: var(--c-on-dark); margin-bottom: 1.5rem; }
.footer-brand p { font-size: var(--fs-small); max-width: 34ch; }
.footer-col:nth-of-type(2) { grid-column: 6 / span 2; }
.footer-col:nth-of-type(3) { grid-column: 8 / span 2; }
.footer-col:nth-of-type(4) { grid-column: 10 / span 3; }
.footer-title {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-on-dark-accent);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a, .footer-bottom a {
  font-size: var(--fs-small);
  color: var(--c-on-dark-2);
  transition: color var(--dur-fast) var(--ease-out);
}
@media (hover: hover) {
  .footer-links a:hover, .footer-bottom a:hover { color: var(--c-on-dark); }
}
.footer-col p { font-size: var(--fs-small); }

.footer-legal {
  padding-block: 1.75rem;
  border-top: 1px solid var(--c-on-dark-line);
}
.footer-legal p { font-size: var(--fs-micro); line-height: 1.7; max-width: 110ch; }
.footer-legal strong { color: var(--c-on-dark); font-weight: 600; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--c-on-dark-line);
  font-size: var(--fs-micro);
  color: var(--c-on-dark-2);
}
.footer-bottom a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-micro); }

.footer-wordmark {
  display: block;
  margin-top: 1rem;
  font-size: clamp(4rem, 17.2vw, 19rem);
  font-weight: 600;
  line-height: 0.74;
  letter-spacing: -0.065em;
  white-space: nowrap;
  color: rgba(250, 248, 245, 0.07);
  text-align: center;
  user-select: none;
  translate: 0 0.06em;
}

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  color: var(--c-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(24, 28, 26, 0.32);
  border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--c-muted); opacity: 1; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-bottom-color: var(--c-accent);
  box-shadow: inset 0 -1px 0 var(--c-accent);
}
.form-select {
  padding-right: 2rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%234B534E'%3E%3Cpath d='M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 1rem;
}
.form-select:invalid { color: var(--c-muted); }
.form-select option { color: var(--c-ink); }
.form-textarea { min-height: 7.5rem; resize: vertical; line-height: 1.6; }

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-bottom-color: var(--c-error);
  box-shadow: inset 0 -1px 0 var(--c-error);
}
.form-field-error { font-size: 0.8125rem; font-weight: 500; color: var(--c-error); }
.form-field-error:empty { display: none; }

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.form-note { font-size: 0.8125rem; color: var(--c-muted); max-width: 36ch; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form-feedback { margin-top: 2rem; }
.form-feedback[hidden] { display: none; }

.form-static-feedback, .form-notice {
  padding: 1.75rem;
  background: var(--c-accent-tint);
  border-left: 2px solid var(--c-accent);
}
.feedback-badge {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}
.feedback-headline { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; text-transform: none; }
.feedback-headline:focus { outline: none; }
.feedback-intro { font-size: 0.9375rem; margin-bottom: 1.25rem; }
.feedback-summary-card { display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(51, 71, 57, 0.18); }
.summary-item { font-size: 0.9375rem; color: var(--c-ink); }
.summary-label { font-weight: 600; margin-right: 0.375rem; }
.summary-val { color: var(--c-ink-2); word-break: break-word; }
.form-static-feedback .btn { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   13. Reveal initial states (only when JS + motion are available)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(36px); }
  .js [data-reveal-image] { clip-path: inset(100% 0% 0% 0%); }
  .js [data-split] { visibility: hidden; }
  .js .hero-media { clip-path: inset(12% 9% 12% 9%); }
  .js [data-hero-fade] { opacity: 0; transform: translateY(24px); }
}

/* ==========================================================================
   PAGE SECTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   14. Hero (home + image-led pages)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0C1A2E;
  color: var(--c-on-dark);
}
.hero--page { min-height: min(72svh, 36rem); }
.hero-media { position: absolute; inset: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 40%; transform-origin: 50% 60%; will-change: transform; }
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(12, 26, 46, 0.46) 0%, rgba(12, 26, 46, 0) 24%),
    linear-gradient(to top, rgba(12, 26, 46, 0.82) 0%, rgba(12, 26, 46, 0.36) 42%, rgba(12, 26, 46, 0) 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(2.5rem, 7vh, 5.5rem);
}
.hero-title { max-width: 11.5em; margin-bottom: clamp(2rem, 4vh, 3rem); color: var(--c-on-dark); }
.hero--page .hero-title { font-size: var(--fs-h1); max-width: 12em; }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 30rem) auto;
  align-items: end;
  justify-content: space-between;
  gap: 2rem 3rem;
}
.hero-lead { color: rgba(250, 248, 245, 0.86); max-width: 46ch; }
.hero .label { color: var(--c-on-dark); }

/* --------------------------------------------------------------------------
   15. Home: intro
   -------------------------------------------------------------------------- */
.intro-statement .word { display: inline-block; }
.intro-grid { margin-top: clamp(2.25rem, 4.5vw, 4rem); align-items: end; }
.intro-media { grid-column: 1 / span 7; aspect-ratio: 5 / 4; }
.intro-aside { grid-column: 9 / span 4; padding-bottom: 0.5rem; }
.intro-aside > p { font-size: 1.0625rem; margin-bottom: 1.75rem; }
.fact-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
}
.fact-list dt { margin-bottom: 0.25rem; }
.fact-list dd { font-size: 1rem; font-weight: 500; color: var(--c-ink); }

/* --------------------------------------------------------------------------
   16. Home: horizontal projects
   -------------------------------------------------------------------------- */
.projects { position: relative; background: var(--c-bg); }
.hscroll { position: relative; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.hscroll .hpanel { scroll-snap-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .js .hscroll { overflow: hidden; scroll-snap-type: none; }
}
.hscroll-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 5vw, 6rem);
  width: max-content;
  min-height: 0;
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 1.75rem;
  will-change: transform;
}
.hpanel { flex-shrink: 0; }
.hpanel--intro { width: min(30rem, 32vw); }
.hpanel--intro .lead { margin-top: 1.75rem; }

.hpanel--project {
  width: min(80vw, 84rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: end;
}
.project-media {
  display: block;
  aspect-ratio: 16 / 11;
  max-height: min(62svh, 32rem);
  width: 100%;
}
.project-media img { transform: scale(1.12); transition: filter var(--dur-slow) var(--ease-out); }
.project-info .meta { display: block; margin-bottom: 1rem; }
.project-title { font-size: clamp(2rem, 3.2vw, 3.25rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 1.25rem; }
.project-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur-slow) var(--ease-out); }
@media (hover: hover) {
  .project-title a:hover, .hpanel--project:hover .project-title a { background-size: 100% 1px; }
}
.project-info > p { margin-bottom: 1.75rem; }
.spec-list { display: grid; gap: 0.875rem; padding-top: 1.25rem; margin-bottom: 2rem; border-top: 1px solid var(--c-line); }
.spec-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.spec-list dt { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.spec-list dd { font-size: 0.9375rem; color: var(--c-ink); }

.hpanel--end { width: min(26rem, 28vw); }
.end-link {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.end-link-box {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border: 1px solid var(--c-line);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.end-link-box .icon { width: 1.5rem; height: 1.5rem; transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) {
  .end-link:hover .end-link-box { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-dark); }
  .end-link:hover .end-link-box .icon { transform: rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   17. Home: approach (dark chapter, sticky storytelling)
   -------------------------------------------------------------------------- */
.approach-grid { align-items: start; }
.approach-sticky {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
}
.approach-sticky .lead { margin-top: 1.75rem; }
.approach-media { margin-top: clamp(2.5rem, 5vh, 3.5rem); aspect-ratio: 16 / 11; background: #222c25; }
.principles { grid-column: 7 / span 6; padding-top: clamp(1rem, 3vh, 2.5rem); }
.principle {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 1rem;
  padding-block: clamp(1.35rem, 3vh, 2.25rem);
  border-top: 1px solid var(--c-on-dark-line);
}
.principle:last-child { border-bottom: 1px solid var(--c-on-dark-line); }
.principle-num { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; color: var(--c-on-dark-accent); padding-top: 0.5rem; }
.principle h3 { font-size: clamp(1.5rem, 2.3vw, 2.375rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 1rem; color: var(--c-on-dark); }
.principle p { font-size: 1rem; }

/* --------------------------------------------------------------------------
   18. Home: process timeline
   -------------------------------------------------------------------------- */
.process-head { align-items: end; row-gap: 1.5rem; }
.process-head .h2 { grid-column: 1 / span 7; }
.process-head .lead { grid-column: 9 / span 4; }
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}
.process-rail {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--c-line);
}
.process-rail span {
  display: block;
  height: 100%;
  background: var(--c-accent);
  transform-origin: 0 50%;
}
.step { position: relative; padding-top: 2.25rem; padding-right: 1rem; }
.step::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 9px; height: 9px;
  background: var(--c-accent);
}
.step-num {
  display: block;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--stone-500);
  margin-bottom: 1.5rem;
}
.step h3 { font-size: 1.375rem; font-weight: 500; margin-bottom: 0.75rem; }
.step p { font-size: 0.9375rem; }

/* --------------------------------------------------------------------------
   19. Home: locations
   -------------------------------------------------------------------------- */
.place-band {
  position: relative;
  min-height: min(52svh, 26rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--c-on-dark);
  background: #1b231e;
}
.place-band-media { position: absolute; inset: -12% 0; will-change: transform; }
.place-band-media picture { height: 100%; }
.place-band-media img { width: 100%; height: 100%; object-fit: cover; }
.place-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 18, 16, 0.72), rgba(14, 18, 16, 0.12) 55%, rgba(14, 18, 16, 0.2));
}
.place-band-content { position: relative; z-index: 1; padding-bottom: clamp(1.75rem, 4vh, 3rem); }
.place-band-content .h1 { max-width: 11em; }

.connect { align-items: start; }
.connect-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2.5rem); }
.connect-title { font-size: clamp(1.875rem, 3vw, 2.875rem); }
.connect-aside p { margin-top: 1.25rem; font-size: 0.9375rem; }
.connect-filters { display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; margin-top: 1.5rem; }
.connect-filters .filter-btn { text-align: left; }
.filter-btn {
  min-height: 2.5rem;
  padding: 0 0.875rem;
  border: 1px solid var(--c-line);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.filter-btn[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }
@media (hover: hover) {
  .filter-btn:not([aria-pressed="true"]):hover { border-color: var(--c-ink); color: var(--c-ink); }
}
.connect-list { grid-column: 6 / span 7; border-top: 1px solid var(--c-line); }
.connect-item {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--c-line);
}
.connect-item[hidden] { display: none; }
.connect-item.is-shown { animation: connect-in 0.28s var(--ease-out); }
@keyframes connect-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.connect-item .meta { padding-top: 0.4rem; color: var(--c-accent); }
.connect-item h4 { font-size: clamp(1.25rem, 1.7vw, 1.625rem); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 0.375rem; transition: transform var(--dur) var(--ease-out); }
.connect-item p { font-size: 0.9375rem; }
@media (hover: hover) {
  .connect-item:not(.is-dimmed):hover h4 { transform: translateX(6px); }
}

/* --------------------------------------------------------------------------
   20. Home: commitments statement
   -------------------------------------------------------------------------- */
.statement-grid { align-items: start; row-gap: 3rem; }
.statement-grid .h1 { grid-column: 1 / span 7; }
.commitments { grid-column: 9 / span 4; display: grid; gap: 2.25rem; padding-top: 0.75rem; }
.commitment h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.commitment p { font-size: 0.9375rem; }
.commitment-icon { width: 1.5rem; height: 1.5rem; color: var(--c-accent); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   21. Home: enquiry
   -------------------------------------------------------------------------- */
.visit-grid { align-items: start; row-gap: 3.5rem; }
.visit-copy { grid-column: 1 / span 5; }
.visit-copy .lead { margin-top: 1.5rem; }
.visit-points { display: grid; gap: 1.5rem; margin-top: 3rem; }
.visit-points li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 1rem; }
.visit-points .icon { width: 1.5rem; height: 1.5rem; color: var(--c-accent); margin-top: 0.125rem; }
.visit-points strong { display: block; font-size: 1rem; color: var(--c-ink); margin-bottom: 0.125rem; }
.visit-points span { font-size: 0.9375rem; color: var(--c-ink-2); }
.visit-form { grid-column: 7 / span 6; position: relative; }

/* --------------------------------------------------------------------------
   22. Inner pages: shared blocks
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(1.75rem, 4vw, 3.25rem));
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero .h1 { grid-column: 1 / span 10; }
.page-hero-sub { grid-column: 7 / span 5; margin-top: clamp(2rem, 4vw, 3.5rem); }
.page-hero-sub .btn-row { margin-top: 2rem; }

.wide-media { width: 100%; aspect-ratio: 21 / 9; }

.split-text { align-items: start; row-gap: 2rem; }
.split-text > .h2, .split-text > .h1 { grid-column: 1 / span 6; }
.split-text-body { grid-column: 8 / span 5; display: grid; gap: 1.25rem; padding-top: 0.5rem; }
.split-text-body p { font-size: 1.0625rem; }
.split-text-body .link-arrow { margin-top: 0.75rem; justify-self: start; }

.split-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: var(--section); }
.split-hero-grid { align-items: end; row-gap: 3rem; }
.split-hero-copy { grid-column: 1 / span 6; padding-bottom: 1rem; }
.split-hero-copy .lead { margin-top: 1.75rem; }
.split-hero-copy .btn-row { margin-top: 2.5rem; }
.split-hero-media { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }

/* Sticky pillar stack (about) */
.stack { display: grid; gap: 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); }
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem + var(--i, 0) * 1.25rem);
  min-height: min(38rem, 72vh);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-line);
  transform-origin: 50% 0;
}
.stack-card:nth-child(2) { background: #E9E3D8; }
.stack-card:nth-child(3) { background: var(--c-accent); color: var(--c-on-dark); }
.stack-card:nth-child(3) p { color: var(--c-on-dark-2); }
.stack-card:nth-child(3) .meta { color: var(--c-on-dark-accent); }
.stack-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.stack-copy h3 { font-size: clamp(1.75rem, 3vw, 3rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; margin-top: 1rem; }
.stack-copy p { font-size: 1.0625rem; }
.stack-media { grid-column: 8 / span 5; min-height: 16rem; }

.quote-block { text-align: center; }
.quote-block blockquote {
  margin-inline: auto;
  max-width: 17em;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.quote-block figcaption { margin-top: 2rem; }

.cta-split { align-items: center; row-gap: 3rem; }
.cta-split-media { grid-column: 1 / span 6; aspect-ratio: 5 / 4; }
.cta-split-copy { grid-column: 8 / span 5; }
.cta-split-copy .lead { margin-top: 1.5rem; }
.cta-split-copy .btn-row { margin-top: 2.5rem; }

/* Why Dreamstone page */
.why-hero-tagline {
  font-size: clamp(1.25rem, 1.7vw, 1.625rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  max-width: 22em;
}
.page-hero-sub .why-hero-tagline + .btn-row { margin-top: 1.75rem; }

.why-intro { align-items: start; row-gap: 2rem; }
.why-intro-label { grid-column: 1 / span 3; margin-top: 0.75rem; }
.why-intro-statement { grid-column: 4 / span 9; }
.why-intro-body { grid-column: 7 / span 5; margin-top: clamp(1rem, 2.5vw, 2.5rem); font-size: 1.0625rem; max-width: 44ch; }

.why-grid { align-items: start; row-gap: clamp(3rem, 6vw, 4.5rem); }
.why-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2.5rem); }
.why-aside-title { font-size: clamp(1.875rem, 3vw, 2.875rem); max-width: 12em; }
.why-index { margin-top: clamp(2rem, 4vh, 3rem); border-top: 1px solid var(--c-line); }
.why-index a {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-ink-2);
  transition: color var(--dur-fast) var(--ease-out), padding var(--dur) var(--ease-out);
}
.why-index-num { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.1em; color: var(--c-accent); }
@media (hover: hover) {
  .why-index a:hover { color: var(--c-ink); padding-left: 0.5rem; }
}

.why-list {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4.5rem);
}
.why-item {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem) 0 clamp(2.5rem, 4.5vw, 4rem);
  border-top: 1px solid var(--c-line);
}
.why-item::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur-slow) var(--ease-out);
}
.why-num {
  display: block;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--c-accent);
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}
.why-title { font-size: clamp(1.5rem, 2.1vw, 2.125rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; max-width: 14em; }
.why-tagline { margin-top: 1rem; font-size: 1rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.005em; color: var(--c-accent-deep); }
.why-body { margin-top: 1rem; font-size: 1rem; max-width: 46ch; }
@media (hover: hover) {
  .why-item:hover::before { transform: scaleX(1); }
}

/* Project features (projects page) */
.feature { align-items: center; row-gap: 2.5rem; }
.feature + .feature, .explore-list + .feature { margin-top: var(--section); }
.feature-media { grid-column: 1 / span 7; aspect-ratio: 4 / 3; display: block; }
.feature-body { grid-column: 9 / span 4; }
.feature--reverse .feature-media { grid-column: 6 / span 7; grid-row: 1; }
.feature--reverse .feature-body { grid-column: 1 / span 4; grid-row: 1; }
.feature-body .project-title { margin-top: 0.75rem; }
.feature-media img { transition: transform 1.2s var(--ease-out); }
@media (hover: hover) {
  .feature-media:hover img { transform: scale(1.04); }
}

.compare-wrap { overflow-x: auto; margin-top: clamp(2.5rem, 5vw, 4rem); }
.compare { width: 100%; min-width: 40rem; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 1.5rem 1.5rem 1.5rem 0; vertical-align: top; border-top: 1px solid var(--c-line); }
.compare thead th { border-top: 0; padding-bottom: 1rem; font-size: var(--fs-h3); font-weight: 400; letter-spacing: -0.02em; }
.compare tbody th { width: 22%; font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); padding-top: 1.75rem; }
.compare td { color: var(--c-ink-2); font-size: 1rem; width: 39%; }

/* Bento (plots page) */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: var(--grid-gap);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.bento-cell { padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; justify-content: flex-end; gap: 0.75rem; min-height: 18rem; }
.bento-cell h3 { font-size: clamp(1.5rem, 2.2vw, 2.125rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.bento-cell p { font-size: 0.9375rem; }
.bento-cell--image {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  color: var(--c-on-dark);
}
.bento-cell--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-cell--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 18, 16, 0.8), rgba(14, 18, 16, 0) 60%); }
.bento-cell--image > :not(img) { position: relative; z-index: 1; }
.bento-cell--image p { color: var(--c-on-dark-2); }
.bento-cell--tint { grid-column: 8 / span 5; background: var(--c-accent-tint); }
.bento-cell--sand { grid-column: 8 / span 5; background: var(--c-bg-alt); }
.bento-cell .meta { color: var(--c-accent); }
.bento-cell--image .meta { color: var(--c-on-dark-accent); }

.duo { margin-top: clamp(3rem, 6vw, 5rem); row-gap: 3rem; }
.duo-item { grid-column: span 6; padding-top: 2rem; border-top: 1px solid var(--c-line); }
.duo-item h3 { font-size: clamp(1.5rem, 2.4vw, 2.5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 1.25rem; max-width: 16em; }

/* Explore list (contact page) */
.explore-list { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--c-line); }
.explore-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--c-line);
  font-size: clamp(1.75rem, 4vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  transition: color var(--dur) var(--ease-out), padding var(--dur) var(--ease-out);
}
.explore-link .end-link-box { width: 4rem; height: 4rem; flex-shrink: 0; }
.explore-link-text { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.explore-link-meta { font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--c-muted); }
@media (hover: hover) {
  .explore-link:hover { color: var(--c-accent); padding-left: 1.25rem; }
  .explore-link:hover .end-link-box { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-dark); }
  .explore-link:hover .end-link-box .icon { transform: rotate(-45deg); }
}

/* Contact page enquiry */
.enquiry-grid { align-items: start; row-gap: 3rem; }
.enquiry-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2.5rem); }
.enquiry-aside .lead { margin-top: 1.5rem; font-size: 1.0625rem; }
.enquiry-form { grid-column: 6 / span 7; }
.contact-context-summary-card {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--c-bg-alt);
  border-left: 2px solid var(--c-accent);
}
.context-summary-badge { display: block; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.75rem; }
.context-summary-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.context-summary-ref { display: inline-block; font-size: var(--fs-small); font-weight: 600; padding: 0.25rem 0.625rem; margin-bottom: 0.75rem; background: var(--c-surface); border: 1px solid var(--c-line); }
.context-summary-desc { font-size: 0.9375rem; }

.note {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--c-line);
  font-size: var(--fs-micro);
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 60ch;
}
.note strong { color: var(--c-ink-2); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; }

/* Project detail pages (plots) */
.project-hero .split-hero-copy .h1 { font-size: var(--fs-display); }
.project-hero .split-hero-media { aspect-ratio: var(--ar, 4 / 5); }
.project-hero--wide .split-hero-copy { grid-column: 1 / span 5; }
.project-hero--wide .split-hero-media { grid-column: 6 / span 7; }
.project-place { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: var(--fs-small); font-weight: 600; color: var(--c-ink-2); }
.project-place .icon { color: var(--c-accent); }

.project-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--c-line);
}
.project-facts > div { padding: 1.5rem 1.25rem 0 0; }
.project-facts > div + div { padding-left: 1.25rem; border-left: 1px solid var(--c-line); }
.project-facts dt { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.project-facts dd { margin-top: 0.625rem; font-size: clamp(1.125rem, 1.7vw, 1.625rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.15; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.gallery-item .media { aspect-ratio: 4 / 3; }
.gallery-item figcaption { margin-top: 0.875rem; }
.gallery-item:nth-child(6n+1) { grid-column: 1 / span 7; }
.gallery-item:nth-child(6n+2) { grid-column: 8 / span 5; align-self: end; }
.gallery-item:nth-child(6n+2) .media { aspect-ratio: 4 / 5; }
.gallery-item:nth-child(6n+3) { grid-column: 1 / span 4; }
.gallery-item:nth-child(6n+4) { grid-column: 5 / span 4; margin-top: clamp(2rem, 6vw, 6rem); }
.gallery-item:nth-child(6n+5) { grid-column: 9 / span 4; }
.gallery-item:nth-child(6n+6) { grid-column: 3 / span 8; }
.gallery-item:nth-child(6n+6) .media { aspect-ratio: 16 / 9; }

.amenity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--c-line);
}
.amenity-list li {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  padding-block: 1.125rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.0625rem;
  color: var(--c-ink);
}
.amenity-list .icon { width: 1rem; height: 1rem; color: var(--c-accent); transform: translateY(0.125rem); }

.nearby { margin-top: clamp(3rem, 6vw, 5rem); row-gap: 3rem; }
.nearby-group { grid-column: span 4; }
.nearby-group h3 { padding-bottom: 1rem; border-bottom: 1px solid var(--c-ink); }
.nearby-group li { padding-block: 0.875rem; border-bottom: 1px solid var(--c-line); font-size: 0.9375rem; color: var(--c-ink-2); }

.project-overview { align-items: start; row-gap: 2.5rem; }
.project-overview > .h2 { grid-column: 1 / span 5; }
.project-overview-body { grid-column: 7 / span 6; display: grid; gap: 1.25rem; }
.project-overview-body p { font-size: 1.0625rem; }
.project-overview-body .spec-list { margin-top: 0.5rem; }

.docs { margin-top: clamp(3rem, 6vw, 5rem); row-gap: 2.5rem; }
.doc { grid-column: span 4; display: block; }
.doc .media { aspect-ratio: 3 / 4; background: var(--c-surface); border: 1px solid var(--c-line); }
.doc .media img { object-fit: contain; transition: transform 1.2s var(--ease-out); }
.doc-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); font-size: 0.9375rem; font-weight: 500; }
.doc-meta .icon { color: var(--c-accent); transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) {
  .doc:hover .media img { transform: scale(1.03); }
  .doc:hover .doc-meta .icon { transform: translate(3px, -3px); }
}
.gallery--docs .gallery-item:nth-child(n) { grid-column: span 6; margin-top: 0; align-self: start; }
.gallery--docs .gallery-item:nth-child(n) .media { aspect-ratio: 1638 / 1158; }

.project-video { margin-top: clamp(3rem, 6vw, 5rem); }
.project-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--c-dark); object-fit: contain; }
.project-video--portrait { width: min(100%, 26rem); margin-inline: auto; }
.project-video--portrait video { aspect-ratio: 9 / 16; }
.project-map { margin-top: clamp(2rem, 4vw, 3rem); aspect-ratio: 16 / 9; background: var(--c-bg-alt); }
.project-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.project-map + .btn-row { margin-top: 1.5rem; }
.project-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); margin-top: clamp(3rem, 6vw, 5rem); }
.project-videos .project-video { margin-top: 0; min-width: 0; }
.project-videos figcaption { margin-top: 0.875rem; color: var(--c-on-dark-2); }

/* Plots overview: project index */
.projects-page {
  padding-top: calc(var(--header-h) + clamp(1.25rem, 3vw, 2.25rem));
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.projects-page-head { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.projects-page-head .label { margin-bottom: 0.75rem; }
.projects-page .project-index {
  margin-top: 0;
  border-top: 0;
}
.projects-page .project-row:first-child {
  padding-top: clamp(0.75rem, 1.5vw, 1.25rem);
  border-top: 0;
}
.project-index { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--c-line); }
.project-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: 1.5rem;
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--c-line);
}
.project-row-media { grid-column: 1 / span 5; aspect-ratio: 4 / 3; }
.project-row-media img { transition: transform 1.2s var(--ease-out); }
.project-row-body { grid-column: 7 / span 6; }
.project-row-body .h3 { font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.02; margin-top: 0.75rem; }
.project-row-body > p { margin-top: 1rem; max-width: 34em; }
.project-row-body .spec-list { margin-top: 1.75rem; }
.project-row-body .btn-row { margin-top: 2rem; }
@media (hover: hover) {
  .project-row:hover .project-row-media img { transform: scale(1.04); }
}

/* --------------------------------------------------------------------------
   23. Apartments: building & floor plan explorer
   -------------------------------------------------------------------------- */
.explorer { align-items: start; row-gap: 3rem; margin-top: clamp(3rem, 6vw, 5rem); }
.explorer-visual { grid-column: 1 / span 7; }
.explorer-panel { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
.explorer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.875rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-line);
}
.building-svg, .plan-svg { width: 100%; height: auto; background: var(--c-surface); border: 1px solid var(--c-line-soft); }

.building-floor { cursor: pointer; outline: none; transition: opacity var(--dur) var(--ease-out); }
.building-floor .floor-bg { transition: fill var(--dur) var(--ease-out), stroke var(--dur) var(--ease-out); }
.building-floor:hover .floor-bg { stroke: var(--c-accent); stroke-width: 2px; }
.building-floor.is-active .floor-bg { fill: var(--c-accent); stroke: var(--c-ink); stroke-width: 2.5px; }
.building-floor.is-active .floor-label { fill: var(--c-bg); font-weight: 700; }
.building-floor.is-dimmed { opacity: 0.62; }
.building-floor:focus-visible .floor-bg { stroke: var(--c-accent); stroke-width: 3px; stroke-dasharray: 5 3; }

.panel-block + .panel-block { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--c-line); }
.panel-block .meta { display: block; margin-bottom: 1rem; }
.floor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.375rem; }
.floor-btn, .unit-btn {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--c-line);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.floor-btn small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; color: var(--c-muted); }
.floor-btn.is-active, .unit-btn.is-active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }
.floor-btn.is-active small { color: rgba(250, 248, 245, 0.7); }
@media (hover: hover) {
  .floor-btn:not(.is-active):hover, .unit-btn:not(.is-active):hover { border-color: var(--c-ink); }
}
.floor-readout h3 { font-size: 1.75rem; font-weight: 300; letter-spacing: -0.03em; }
.floor-readout .floor-level { font-size: var(--fs-small); font-weight: 600; color: var(--c-accent); margin: 0.25rem 0 0.75rem; }
.floor-readout p { font-size: 0.9375rem; }
.unit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.375rem; }
.unit-btn { justify-content: center; }

.plan-zone { cursor: pointer; outline: none; transition: opacity var(--dur) var(--ease-out); }
.plan-zone .zone-shape { transition: fill var(--dur) var(--ease-out), stroke-width var(--dur) var(--ease-out); }
.plan-zone.is-active .zone-shape { fill: #E2EAE4; stroke: var(--c-accent); stroke-width: 3px; }
.plan-zone.is-dimmed { opacity: 0.45; }
.plan-zone:focus-visible .zone-shape { stroke-dasharray: 6 3; stroke-width: 3px; }
@media (hover: hover) { .plan-zone.is-dimmed:hover { opacity: 0.75; } }

.unit-card { transition: opacity 0.18s ease, transform 0.18s ease; }
.unit-card.is-updating { opacity: 0.4; transform: translateY(4px); }
.unit-card h3 { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
.unit-card .unit-aspect { margin: 0.75rem 0 1.75rem; font-size: 1rem; }
.unit-card .spec-list div { grid-template-columns: 8.5rem 1fr; }
.unit-card .btn-row { margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   Gallery and testimonials pages
   -------------------------------------------------------------------------- */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  justify-self: end;
  color: var(--c-on-dark);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px;
  height: 3.25rem;
  background: currentColor;
  transform-origin: top center;
  animation: cue-line 1.8s var(--ease-in-out) infinite;
}
@keyframes cue-line {
  0% { transform: scaleY(0.15); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.15); }
}

.folio-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.folio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.folio-filter {
  position: relative;
  padding: 0.5rem 0 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.folio-filter::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--dur) var(--ease-out);
}
.folio-filter.is-active { color: var(--c-ink); }
.folio-filter.is-active::after,
.folio-filter:hover::after { transform: scaleX(1); transform-origin: 0% 50%; }

.folio {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.folio-item.is-filtering { animation: folio-in 0.45s var(--ease-out); }
@keyframes folio-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.folio-item--xl { grid-column: span 7; }
.folio-item--lg { grid-column: span 5; }
.folio-item--md { grid-column: span 4; }
.folio-item--cinema { grid-column: 1 / -1; }
.folio-item--xl .media { aspect-ratio: 16 / 10; }
.folio-item--lg .media { aspect-ratio: 4 / 5; }
.folio-item--md .media { aspect-ratio: 4 / 3; }
.folio-item--cinema .media { aspect-ratio: 21 / 9; }
.folio-open {
  display: block;
  width: 100%;
  text-align: left;
  color: inherit;
}
.folio-open .media img { transition: transform 0.9s var(--ease-out); }
.folio-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(to top, rgba(14, 18, 16, 0.72) 0%, rgba(14, 18, 16, 0.08) 52%, rgba(14, 18, 16, 0) 100%);
  color: var(--c-on-dark);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
}
.folio-veil-kicker {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-on-dark-accent);
}
.folio-veil-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.folio-veil .icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) {
  .folio-open:hover img { transform: scale(1.06); }
  .folio-open:hover .folio-veil { opacity: 1; }
  .folio-open:hover .icon { transform: translate(3px, -3px); }
}
.folio-item figcaption { margin-top: 0.9rem; display: grid; gap: 0.35rem; }
.folio-item figcaption p { max-width: 42ch; }
.folio-title { color: var(--c-ink); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.02em; }
.folio-empty { margin-top: 2.5rem; }
.folio-empty[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-curtain) - 1);
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: #0e1210;
  color: var(--c-on-dark);
}
.lightbox:not([hidden]) { display: grid; }
.lightbox-bar, .lightbox-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lightbox-count {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-on-dark-2);
}
.lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
}
.lightbox-frame {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: center;
}
.lightbox-frame img {
  max-width: 100%;
  max-height: min(72vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-nav, .lightbox-close {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--c-on-dark-line);
  color: var(--c-on-dark);
}
.lightbox-nav .icon, .lightbox-close .icon { width: 1.15rem; height: 1.15rem; }
.lightbox-nav--prev .icon { transform: scaleX(-1); }
.lightbox-copy { display: grid; gap: 0.35rem; }
.lightbox-copy p { color: var(--c-on-dark-2); max-width: 46ch; }
.lightbox-project { color: var(--c-on-dark); font-size: 1.125rem; letter-spacing: -0.02em; }
.lightbox .link-arrow { color: var(--c-on-dark); }

.story-hero-copy { grid-column: 1 / span 8; }
.story-hero-copy .label { margin-bottom: 1.25rem; }
.story-note { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.story-feature {
  max-width: 18em;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.story-feature blockquote {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  text-wrap: balance;
}
.story-feature blockquote p { max-width: none; color: var(--c-ink); }
.quote-mark {
  display: block;
  margin-bottom: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.7;
  color: var(--c-accent);
}
.story-name { margin-top: 1.75rem; color: var(--c-ink); font-size: 1rem; font-weight: 600; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.story {
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--c-surface);
  border-top: 1px solid var(--c-ink);
  transition: transform var(--dur) var(--ease-out);
}
.story--wide { grid-column: span 7; }
.story--narrow { grid-column: span 5; }
.story--offset { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.story blockquote {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.story blockquote p { max-width: none; color: inherit; }
.story .quote-mark { font-size: clamp(2.75rem, 4vw, 3.5rem); margin-bottom: 0.5rem; }
@media (hover: hover) {
  .story:hover { transform: translateY(-6px); }
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.trust-item { padding-top: 1.25rem; border-top: 1px solid var(--c-line); }
.trust-item h3 {
  margin: 0.75rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-item p { font-size: 0.9375rem; }

/* --------------------------------------------------------------------------
   Home gallery preview, buying process, WhatsApp
   -------------------------------------------------------------------------- */
.home-folio {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.home-folio-item { position: relative; display: block; overflow: hidden; background: var(--c-dark); }
.home-folio-item--feature { grid-row: 1 / span 2; }
.home-folio-item .media { aspect-ratio: 4 / 3; }
.home-folio-item--feature .media { aspect-ratio: auto; height: 100%; min-height: 18rem; }
.home-folio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
@media (hover: hover) {
  .home-folio-item:hover img { transform: scale(1.04); }
}
.home-folio-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem 0.9rem;
  color: var(--c-on-dark);
  background: linear-gradient(to top, rgba(12, 26, 46, 0.72), rgba(12, 26, 46, 0));
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-folio-cta { margin-top: 1.75rem; }

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--c-line);
}
.process-step {
  padding: 1.5rem 1.25rem 0.25rem 0;
  border-right: 1px solid var(--c-line);
}
.process-step:last-child { border-right: 0; }
.process-num {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--champagne-400);
}
.process-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.process-step p { font-size: 0.9375rem; color: var(--c-ink-2); }

.hpanel--project .project-media img { transition: transform 0.7s var(--ease-out); }
@media (hover: hover) {
  .hpanel--project:hover .project-media img,
  .project-row:hover .project-row-media img { transform: scale(1.04); }
}

.wa-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--navy-900);
  color: var(--champagne-300);
  border: 1px solid rgba(196, 165, 116, 0.55);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.wa-float svg { width: 1.35rem; height: 1.35rem; }
@media (hover: hover) {
  .wa-float:hover { transform: translateY(-2px); background: var(--navy-800); }
}
.office-address { font-style: normal; margin: 0.75rem 0 1.25rem; max-width: 36ch; }
.office-line { display: grid; gap: 0.2rem; margin-bottom: 0.9rem; }
.office-line a { text-decoration: underline; text-underline-offset: 0.18em; }
.office-hours { margin-bottom: 1.25rem; color: var(--c-muted); font-size: 0.9375rem; }
.enquiry-form .h3 { margin-bottom: 1.25rem; }
.footer-contact-line { margin-top: 0.75rem; }
.footer-contact-line a { text-decoration: underline; text-underline-offset: 0.18em; }
