/* ==========================================================================
   Landisco — prototype
   Palette derived from logo: Blue #1258A0 · Grey #93979A · White
   ========================================================================== */

:root {
  --blue: #1258a0;
  --blue-deep: #0b3a6b;
  --navy: #071d36;
  --blue-soft: #e8f0f9;
  --grey: #93979a;
  --grey-light: #d9dcde;
  --ink: #0f1a26;
  --muted: #5d6670;
  --paper: #fbfbf9;
  --white: #ffffff;
  --line: rgba(15, 26, 38, 0.1);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; font-family: var(--serif); color: var(--blue); }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 180px) 0; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 28px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow--light { color: rgba(255,255,255,.6); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(18,88,160,.15); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 46ch; font-weight: 300; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px; border-radius: 100px; border: 0;
  background: var(--blue); color: #fff; overflow: hidden;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  isolation: isolate; transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: translateY(101%); border-radius: inherit; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn span { display: inline-block; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 11px; }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn--ghost::before { background: var(--blue); }
.btn--ghost:hover { color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light::before { background: var(--blue); }
.btn--light:hover { color: #fff; }

.link-arrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 6px 0;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow i { font-style: normal; transition: transform .5s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* Loader ----------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center;
}
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__mark { width: 84px; overflow: visible; }
.loader__count {
  font-family: var(--serif); font-size: 18px; color: var(--muted); letter-spacing: .1em;
  overflow: hidden; height: 1.4em;
}
.loader__count span::after { content: "%"; }

/* Nav -------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--gutter);
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease);
}
.nav.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(251, 251, 249, .78);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.nav__mark { width: 30px; height: 30px; }
.nav__word { font-size: 15px; letter-spacing: .42em; color: var(--blue); font-weight: 400; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 13px; letter-spacing: .08em; color: var(--ink); position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .5s var(--ease);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.15; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% 45%, #eef3f9 0%, rgba(238,243,249,0) 70%),
    var(--paper);
}
/* Backdrop: white modern house as a feathered panel on the right.
   Masked (not overlaid) so it dissolves into whatever sits behind it. */
.hero__bg {
  position: absolute; top: 0; bottom: 0; right: 0; left: 38%; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(180deg, transparent 0%, #000 22%, #000 66%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(180deg, transparent 0%, #000 22%, #000 66%, transparent 100%);
          mask-composite: intersect;
}
.hero__bg img {
  position: absolute; inset: -6% 0 -6% 0; width: 100%; height: 112%;
  object-fit: cover; object-position: 50% 100%;
  filter: saturate(.35) contrast(.82) brightness(1.14);
  opacity: 0; will-change: transform, opacity;
}
.hero__bg.is-loaded img { opacity: .58; transition: opacity 1.6s var(--ease); }
.hero__bg::before { /* cool duotone wash ties the photo to the brand blue */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, #cfe0f2 0%, var(--blue) 120%);
  mix-blend-mode: color; opacity: .4;
}
.hero__content { position: relative; z-index: 2; padding-top: 120px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9.6vw, 156px); line-height: .92; letter-spacing: -0.03em;
  margin: 0 0 32px;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; }
.hero__lead { max-width: 40ch; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; color: var(--muted); margin: 0 0 40px; }
.hero__actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__meta {
  position: relative; z-index: 2; display: flex; gap: 56px; align-items: flex-end;
  padding-top: 64px; padding-bottom: 36px;
}
.hero__meta small, .contact__info small {
  display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.hero__meta b { font-weight: 400; font-size: 15px; }
.hero__scroll {
  margin-left: auto; display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll span { width: 1px; height: 48px; background: var(--grey-light); position: relative; overflow: hidden; }
.hero__scroll span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--blue);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { to { top: 100%; } }

/* About ------------------------------------------------------------------ */
.about__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.about__statement {
  font-family: var(--serif); font-size: clamp(30px, 3.9vw, 58px); line-height: 1.12; letter-spacing: -.01em;
  margin: 0;
}
.about__statement .w { opacity: .14; transition: none; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line);
}
.stat { padding: 36px 24px 0 0; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 80px);
  line-height: 1; color: var(--blue); letter-spacing: -.02em;
}
.stat span { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 22ch; }

/* Marquee ---------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 28px 0; background: var(--white); }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); white-space: nowrap; line-height: 1; }
.marquee__track span:nth-of-type(even) { font-style: italic; color: var(--blue); }
.marquee__track svg { width: 34px; height: 34px; flex: none; }

/* Communities ------------------------------------------------------------ */
.communities { background: var(--white); }
.communities__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 100px 0 48px; }
.communities__head { display: flex; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.communities__head .eyebrow { width: 100%; margin-bottom: 0; }
.communities__head .h2 { margin: 0; }
.communities__progress { flex: 1; min-width: 120px; height: 1px; background: var(--line); margin-bottom: 18px; position: relative; }
.communities__progress span { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.communities__track {
  display: flex; gap: clamp(20px, 2.5vw, 40px); padding: 0 var(--gutter); width: max-content; will-change: transform;
}
.project {
  width: min(78vw, 900px); flex: none;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: stretch;
}
.project__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-soft), var(--grey-light));
  height: min(58vh, 520px);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.tag {
  position: absolute; top: 18px; left: 18px; background: rgba(255,255,255,.92); color: var(--blue);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; border-radius: 100px; font-weight: 500;
  backdrop-filter: blur(6px);
}
.tag--ready { background: var(--blue); color: #fff; }
.project__body { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 6px; }
.project__loc { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.project h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.4vw, 54px); line-height: 1; margin: 0 0 18px; }
.project__body > p:not(.project__loc) { color: var(--muted); font-weight: 300; margin: 0 0 26px; }
.specs {
  list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.specs li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.specs b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); margin-right: 6px; }
.project--end { width: min(60vw, 560px); grid-template-columns: 1fr; }
.project__end {
  height: min(58vh, 520px); align-self: end; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px);
  background: radial-gradient(500px 300px at 80% 0%, var(--blue-soft), transparent 70%);
}
.project__end svg { width: 48px; height: 48px; margin-bottom: 28px; }
.project__end p { color: var(--muted); margin: 0 0 28px; max-width: 36ch; }
.project__end .btn { align-self: flex-start; }

/* Living ----------------------------------------------------------------- */
.living__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.living__visual { position: sticky; top: 12vh; height: 76vh; align-self: start; }
.living__frame {
  position: relative; height: 100%; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-soft), var(--grey-light));
}
.living__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); transform: scale(1.1);
  transition: clip-path 1.2s var(--ease), transform 1.8s var(--ease);
}
.living__frame img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); }
.living__frame img.was-active { clip-path: inset(0 0 0 0); z-index: -1; }
.living__index { position: absolute; bottom: 20px; right: 20px; color: #fff; font-size: 13px; letter-spacing: .14em; mix-blend-mode: difference; }
.living__list { padding: 6vh 0 20vh; }
.pillar {
  min-height: 56vh; display: flex; flex-direction: column; justify-content: center;
  opacity: .22; transition: opacity .8s var(--ease);
}
.pillar.is-active { opacity: 1; }
.pillar__n { font-size: 12px; letter-spacing: .2em; color: var(--blue); margin-bottom: 18px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 64px); line-height: 1; margin: 0 0 20px; }
.pillar p { color: var(--muted); font-weight: 300; font-size: 18px; max-width: 40ch; margin: 0; }

/* Location --------------------------------------------------------------- */
.location { background: var(--white); }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.places { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--line); }
.places li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line); cursor: default;
  transition: padding .5s var(--ease), color .5s var(--ease);
}
.places li span { font-family: var(--serif); font-size: 28px; }
.places li small { color: var(--muted); font-size: 13px; text-align: right; }
.places li.is-hover { padding-left: 14px; color: var(--blue); }
.location__map { position: relative; }
/* Map bleeds past the column and dissolves into the section background on every side. */
.map {
  width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter));
  height: clamp(460px, 72vh, 680px); background: var(--white);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgba(0,0,0,.6) 78%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgba(0,0,0,.6) 78%, transparent 100%);
}
.map .maplibregl-canvas { outline: none; }
.map__controls { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.map__attrib { text-align: center; font-size: 10px; color: var(--grey); margin: 12px 0 0; }
.map__attrib a { text-decoration: underline; text-underline-offset: 2px; }
.map__controls .chip { background: var(--white); font-size: 12px; padding: 8px 14px; }
.map__controls .chip.is-active { background: var(--blue); color: #fff; }
.places li { cursor: pointer; }
.places li:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* Markers */
.pin { position: relative; display: grid; place-items: center; cursor: pointer; }
.pin--office { width: 54px; height: 54px; }
.pin--office .pin__core {
  position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(7,29,54,.25), 0 0 0 1px rgba(18,88,160,.15);
}
.pin--office svg { width: 24px; height: 24px; }
.pin--office::before, .pin--office::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(18,88,160,.22);
  animation: pulse 2.6s var(--ease) infinite;
}
.pin--office::after { animation-delay: 1.3s; }
.pin--project { width: 18px; height: 18px; }
.pin--project .pin__core {
  width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(7,29,54,.3); transition: transform .4s var(--ease);
}
.pin.is-hover .pin__core { transform: scale(1.25); }
.pin__label {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  white-space: nowrap; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 12px;
  padding: 6px 10px; border-radius: 100px; box-shadow: 0 6px 16px rgba(7,29,54,.15); pointer-events: none;
}
.pin--office .pin__label { background: var(--navy); color: #fff; letter-spacing: .04em; }
.maplibregl-popup-content {
  font-family: var(--sans); border-radius: 6px; padding: 16px 18px; box-shadow: 0 20px 40px -12px rgba(7,29,54,.3);
}
.maplibregl-popup-content h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 4px; }
.maplibregl-popup-content p { margin: 0; color: var(--muted); font-size: 13px; }
.maplibregl-popup-close-button { font-size: 18px; padding: 2px 8px; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Calculator ------------------------------------------------------------- */
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.calc__card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3.5vw, 48px);
  box-shadow: 0 40px 80px -40px rgba(7, 29, 54, .18);
}
.field { margin-bottom: 30px; }
.field label {
  display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.field output { color: var(--ink); letter-spacing: .04em; font-weight: 500; text-transform: none; font-size: 14px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 2px; border-radius: 2px; outline: none;
  background: linear-gradient(to right, var(--blue) var(--p, 50%), var(--grey-light) var(--p, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  border: 1.5px solid var(--blue); box-shadow: 0 4px 12px rgba(18,88,160,.25); cursor: grab; transition: transform .3s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue); cursor: grab;
}
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(18,88,160,.2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 100px; padding: 9px 18px; font-size: 13px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.calc__result {
  border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px;
  display: grid; gap: 4px;
}
.calc__result small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.calc__result b { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5.4vw, 76px); color: var(--blue); line-height: 1.05; letter-spacing: -.02em; }
.calc__result span { color: var(--muted); font-size: 14px; }
.fineprint { font-size: 12px; color: var(--grey); margin: 24px 0 0; line-height: 1.5; }

/* Contact ---------------------------------------------------------------- */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,88,160,.55), transparent 65%); pointer-events: none;
}
.contact em { color: #8fb6e3; }
.contact .lead { color: rgba(255,255,255,.66); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.contact__info { display: grid; gap: 24px; margin-top: 48px; }
.contact__info small { color: rgba(255,255,255,.5); }
.contact__info b { font-weight: 400; font-size: 18px; }
.contact__info a { border-bottom: 1px solid rgba(255,255,255,.25); transition: border-color .4s; }
.contact__info a:hover { border-color: #fff; }
.form { align-self: end; }
.form__row { margin-bottom: 26px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form label span, .form__legend {
  display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 8px;
}
.form input, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
  color: #fff; font: inherit; font-size: 17px; padding: 8px 0 12px; outline: none; resize: vertical;
  transition: border-color .4s var(--ease);
}
.form input:focus, .form textarea:focus { border-color: #fff; }
.form .is-invalid { border-color: #ff9a9a; }
.chips--light .chip { border-color: rgba(255,255,255,.25); }
.chips--light .chip:hover { border-color: #fff; }
.chips--light .chip.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.form .btn { margin-top: 10px; }
.form__done { margin-top: 20px; color: #8fb6e3; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.08); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 16px; color: #fff; }
.footer__brand svg { width: 40px; height: 40px; --blue: #fff; }
.footer__brand span { letter-spacing: .5em; font-size: 20px; }
.footer__tag { max-width: 44ch; margin: 0; font-size: 14px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; letter-spacing: .06em;
}
.footer__bottom .link-arrow { font-size: 11px; color: #fff; padding: 0; }

/* Utilities for JS animation --------------------------------------------- */
.reveal-up { will-change: transform, opacity; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .about__grid { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .project { grid-template-columns: 1fr; gap: 24px; width: min(80vw, 560px); }
  .project__media { height: 42vh; }
}

@media (max-width: 860px) {
  .hero { justify-content: flex-end; }
  .hero__bg {
    left: 0; bottom: auto; height: 60svh;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 46%, transparent 78%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 46%, transparent 78%);
  }
  .hero__content { padding-top: 46svh; }
  .hero__meta { gap: 28px; flex-wrap: wrap; }
  .hero__scroll { display: none; }

  /* Communities become a vertical list on small screens */
  .communities__pin { height: auto; padding: 96px 0; }
  .communities__track { flex-direction: column; width: 100%; gap: 64px; }
  .communities__progress { display: none; }
  .project, .project--end { width: 100%; }
  .project__end { height: auto; }

  .living__grid { grid-template-columns: 1fr; }
  .living__visual { position: relative; top: 0; height: 56vh; }
  .living__visual { display: none; }
  .living__list { padding: 0; }
  .pillar { min-height: 0; padding: 36px 0; opacity: 1; border-top: 1px solid var(--line); }

  .location__grid, .calc__grid, .contact__grid { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .stat { padding-right: 12px; }
  .stat span { font-size: 13px; }
  .nav__word { letter-spacing: .32em; font-size: 13px; }
  .places li { flex-direction: column; gap: 2px; }
  .places li small { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Multi-page additions
   ========================================================================== */

/* Current page in nav */
.nav__links a.is-current { color: var(--blue); }
.nav__links a.is-current::after { transform: scaleX(1); }
.menu a.is-current { color: var(--blue); font-style: italic; }

/* Page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 90; background: var(--navy);
  display: grid; place-items: center; pointer-events: none;
  visibility: hidden; /* GSAP owns the transform; CSS only toggles visibility */
}
html.is-arriving .curtain { visibility: visible; } /* covered from first paint after internal navigation */
.curtain__mark { width: 56px; height: 56px; --blue: #fff; --grey: #8fb6e3; }

/* Inner page hero */
.page-hero { padding: clamp(140px, 18vw, 200px) 0 clamp(56px, 8vw, 96px); position: relative; }
.page-hero__crumbs { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin: 0 0 40px; text-transform: uppercase; }
.page-hero__crumbs a { border-bottom: 1px solid var(--line); }
.page-hero__crumbs a:hover { color: var(--blue); border-color: var(--blue); }
.page-hero__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero__title {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(56px, 9vw, 140px); line-height: .92; letter-spacing: -.03em;
}
.page-hero__lead { font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; color: var(--muted); margin: 0; max-width: 42ch; }
.page-hero__aside { display: grid; gap: 28px; }
.page-hero__media {
  margin-top: clamp(48px, 7vw, 96px); height: clamp(320px, 62vh, 640px); overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-soft), var(--grey-light));
}
.page-hero__media img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }

.meta-list { display: grid; gap: 18px; margin: 0; }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.meta-list dt, .meta-list small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.meta-list dd { margin: 0; text-align: right; }

/* Split content block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { height: clamp(360px, 70vh, 680px); border-radius: var(--radius); overflow: hidden; background: var(--blue-soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--muted); font-weight: 300; font-size: 18px; max-width: 52ch; margin: 0 0 20px; }
.prose p strong { color: var(--ink); font-weight: 500; }

.big-quote {
  font-family: var(--serif); font-size: clamp(34px, 4.6vw, 72px); line-height: 1.05; letter-spacing: -.015em; margin: 0;
  max-width: 20ch;
}
.section--tint { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .eyebrow { color: rgba(255,255,255,.55); }
.section--navy em { color: #8fb6e3; }
.section--navy .lead, .section--navy .prose p { color: rgba(255,255,255,.66); }

/* Value / feature cards */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.values--3 { grid-template-columns: repeat(3, 1fr); }
.value { padding: 36px 28px 40px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.value:last-child { border-right: 0; margin-right: 0; }
.value__icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 28px; }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 0 0 12px; }
.value p { color: var(--muted); font-weight: 300; margin: 0; font-size: 15px; }
.section--navy .values, .section--navy .value { border-color: rgba(255,255,255,.12); }
.section--navy .value p { color: rgba(255,255,255,.62); }
.section--navy .value__icon { color: #8fb6e3; }

/* Leader */
.leader { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.leader__mono {
  width: clamp(120px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep)); color: #fff;
  font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); letter-spacing: .02em;
}
.leader h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); margin: 0; line-height: 1; }
.leader p { margin: 10px 0 0; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* Timeline */
.timeline { position: relative; margin-top: 64px; }
.timeline__line { position: absolute; left: 140px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline__line span { position: absolute; inset: 0; background: var(--blue); transform-origin: top; }
.timeline__item { display: grid; grid-template-columns: 140px 1fr; padding: 0 0 64px; position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: 135px; top: 12px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--grey); transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.timeline__item.is-on::before { background: var(--blue); border-color: var(--blue); transform: scale(1.3); }
.timeline__when { font-family: var(--serif); font-size: 28px; color: var(--blue); line-height: 1.2; padding-right: 24px; }
.timeline__body { padding-left: 48px; }
.timeline__body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); margin: 0 0 10px; line-height: 1.05; }
.timeline__body p { color: var(--muted); font-weight: 300; margin: 0; max-width: 54ch; }

/* Communities page */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--blue-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__loc { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 22px 0 6px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); line-height: 1; margin: 0 0 14px; }
.card p { color: var(--muted); font-weight: 300; margin: 0 0 18px; }
.card .link-arrow { align-self: flex-start; margin-top: auto; }

.detail { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.detail__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.detail__head .h2 { margin: 0; }
.detail__gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; height: clamp(360px, 66vh, 640px); }
.detail__gallery > div { overflow: hidden; border-radius: var(--radius); background: var(--blue-soft); }
.detail__gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail__gallery .stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; background: none; }
.detail__gallery .stack > div { overflow: hidden; border-radius: var(--radius); background: var(--blue-soft); }
.detail__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); margin-top: 56px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.spec-table th { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); width: 42%; padding-top: 19px; }
.spec-table td { font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-weight: 300; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; transform: translateY(-2px) rotate(45deg); background: var(--blue); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(18,88,160,.15); }
.actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* Gallery strip (living) */
.strip { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 16px; height: clamp(320px, 56vh, 560px); margin-top: 56px; }
.strip > div { overflow: hidden; border-radius: var(--radius); background: var(--blue-soft); }
.strip > div:nth-child(2) { margin-top: 12%; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* Location page */
.map--full {
  width: 100%; margin: 0; height: clamp(480px, 78vh, 760px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 56px; }
.area { border-top: 1px solid var(--line); padding-top: 28px; }
.area__tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.area h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 44px); margin: 10px 0 14px; line-height: 1; }
.area p { color: var(--muted); font-weight: 300; margin: 0 0 18px; }
.area .ticks { margin-bottom: 0; }
.area .ticks li { font-size: 15px; }

/* Plan page */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 40px); margin-top: 56px; }
.step { position: relative; padding-top: 72px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); position: absolute; top: 20px; left: 0;
  font-family: var(--serif); font-size: 40px; color: var(--blue); line-height: 1;
}
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 10px; line-height: 1.05; }
.step p { color: var(--muted); font-weight: 300; margin: 0; font-size: 15px; }
.calc__extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.calc__extra small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.calc__extra b { font-weight: 500; font-size: 16px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.checklist .ticks li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); position: relative;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--ink); transform: translate(-50%, -50%);
}
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i { background: var(--blue); border-color: var(--blue); }
.faq details[open] summary i::before { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); background: #fff; }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 0 28px; color: var(--muted); font-weight: 300; max-width: 70ch; }

/* Contact page */
.contact--page { padding-top: clamp(140px, 18vw, 200px); }
.contact--page .contact__grid { align-items: start; }
.contact--page .form { align-self: start; }
.map--contact { height: clamp(380px, 60vh, 560px); }

/* Next-page link (keeps people moving through the site) */
.next {
  display: block; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); position: relative; overflow: hidden;
}
.next small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.next span.next__title {
  display: inline-flex; align-items: center; gap: .3em;
  font-family: var(--serif); font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em;
  transition: color .6s var(--ease);
}
.next span.next__title i { font-style: normal; display: inline-block; transition: transform .7s var(--ease); font-size: .6em; color: var(--blue); }
.next:hover span.next__title { color: var(--blue); }
.next:hover span.next__title i { transform: translateX(.25em); }

/* Footer sitemap */
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 64px; }
.footer__nav div { display: grid; gap: 10px; align-content: start; }
.footer__nav small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.footer__nav a { color: rgba(255,255,255,.75); font-size: 14px; transition: color .3s; }
.footer__nav a:hover, .footer__nav a.is-current { color: #fff; }
.footer__top { align-items: flex-start; }
.footer__lead { display: grid; gap: 20px; max-width: 360px; }

/* Responsive for new blocks */
@media (max-width: 1024px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2n) { border-right: 0; margin-right: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .page-hero__grid, .split, .detail__body, .checklist { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split__media { height: 56vh; }
  .detail__gallery { grid-template-columns: 1fr; height: auto; }
  .detail__gallery > div:first-child { height: 46vh; }
  .detail__gallery .stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 28vh; }
  .strip { grid-template-columns: 1fr 1fr; height: auto; }
  .strip > div { height: 36vh; }
  .strip > div:first-child { grid-column: 1 / -1; }
  .strip > div:nth-child(2) { margin-top: 0; }
  .timeline__line { left: 6px; }
  .timeline__item { grid-template-columns: 1fr; padding-left: 36px; }
  .timeline__item::before { left: 1px; }
  .timeline__body { padding-left: 0; }
  .timeline__when { font-size: 22px; margin-bottom: 6px; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .calc__extra { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values, .cards, .steps { grid-template-columns: 1fr; }
  .value { border-right: 0; margin-right: 0; }
  .leader { grid-template-columns: 1fr; }
}

/* Light nav while over the navy hero (contact page) */
[data-page="contact"] .nav:not(.is-scrolled) .nav__links a { color: rgba(255,255,255,.8); }
[data-page="contact"] .nav:not(.is-scrolled) .nav__links a:hover,
[data-page="contact"] .nav:not(.is-scrolled) .nav__links a.is-current { color: #fff; }
[data-page="contact"] .nav:not(.is-scrolled) .nav__links a::after { background: #fff; }
[data-page="contact"] .nav:not(.is-scrolled) .nav__word { color: #fff; }
[data-page="contact"] .nav:not(.is-scrolled) .nav__mark { --blue: #fff; --grey: #8fb6e3; }
[data-page="contact"] .nav:not(.is-scrolled) .nav__toggle span { background: #fff; }
[data-page="contact"] .nav:not(.is-scrolled) .nav__cta { background: #fff; color: var(--navy); }
