/* ============================================
   LA SAGESSE — refined modern design
   Balanced typography, centered layouts, clean.
   ============================================ */

:root {
  --bg: #faf8f3;
  --bg-alt: #ede7dc;
  --ink: #14141c;
  --ink-soft: #3a3a44;
  --muted: #76767e;
  --rule: #e1ddd3;
  --rule-soft: #ece8df;
  --accent: #b85728;
  --accent-deep: #8b3e1a;
  --accent-soft: #ead9c9;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 64px);
  --section-y: clamp(36px, 7vw, 96px);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s var(--ease); }
a:hover { opacity: .7; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; }

::selection { background: var(--accent); color: var(--bg); }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--accent-soft); }
.eyebrow--muted { color: var(--muted); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

p { color: var(--ink-soft); }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 820px; }
.section { padding: var(--section-y) 0; }
.section--cream { background: var(--bg-alt); }
.section--dark {
  background: #1a1a24;
  background-image:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(184, 87, 40, .07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(184, 87, 40, .05) 0%, transparent 60%);
  color: var(--bg);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--bg); }
.section--dark p { color: #d8d4cc; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}

.nav--scrolled {
  background: rgba(250, 248, 243, .94);
  backdrop-filter: blur(10px);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--rule);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__brand img {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
  max-width: none;
}
.nav__brand { flex-shrink: 0; }
.nav__menu { flex-wrap: wrap; justify-content: flex-end; }
.nav--scrolled .nav__brand img { filter: invert(1); }
.nav__brand-text { display: none; }

.nav__menu { display: flex; gap: 4px; }

.nav__link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bg);
  padding: 8px 16px;
  position: relative;
}
.nav--scrolled .nav__link { color: var(--ink); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg);
  background: var(--ink);
  overflow: hidden;
  padding: 100px var(--pad) 80px;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,28,.55) 0%, rgba(20,20,28,.55) 40%, rgba(20,20,28,.75) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--bg);
  margin-bottom: 20px;
  opacity: .9;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 9vw, 120px);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}

.hero__sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: .85;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--bg);
  opacity: .95;
  max-width: 600px;
  margin: 0 auto;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: .7;
  z-index: 2;
}
.hero__scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: var(--bg);
  margin: 0 auto 8px;
  opacity: .6;
  animation: scrollHint 2s var(--ease) infinite;
}
@keyframes scrollHint { 0%,100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- HERO (project pages) — full viewport, darker overlay ---------- */
.hero--short { min-height: 100vh; }
.hero__logo {
  display: block;
  margin: 0 auto 16px;
  max-height: 90px;
  width: auto;
  position: relative;
  z-index: 1;
}

/* ---------- HERO BADGE (stamp-style overlay) ---------- */
.hero__badge {
  position: absolute;
  top: clamp(96px, 14vh, 140px);
  right: clamp(24px, 5vw, 64px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: clamp(120px, 13vw, 168px);
  height: clamp(120px, 13vw, 168px);
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(20,20,28,.18);
  backdrop-filter: blur(2px);
  transform: rotate(-8deg);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__badge::before,
.hero__badge::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 1px;
  background: var(--accent);
  opacity: .55;
}
.hero__badge::before { top: 14px; }
.hero__badge::after  { bottom: 14px; }
.hero__badge-line {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
}

/* Hero CTA chip (e.g. "Coming Soon") */
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: .45em;
  text-transform: uppercase;
  box-shadow: 0 10px 32px rgba(184,87,40,.4);
}
.hero__chip::before,
.hero__chip::after {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(255,255,255,.7);
  display: inline-block;
}

/* ---------- SECTION HEADERS (centered) ---------- */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }

.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 auto 16px;
  max-width: 760px;
}

.sec-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- SPLIT BLOCK (two-column, balanced) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 52px);
  align-items: center;
}
.split--reverse .split__copy { order: 2; }

.split__copy .eyebrow { display: block; margin-bottom: 16px; }
.split__copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.split__copy p { font-size: 16px; line-height: 1.65; }
.split__copy p + p { margin-top: 16px; }

.split__media {
  aspect-ratio: 610 / 386;
  overflow: hidden;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.split__media:hover img { transform: scale(1.04); }

/* ---------- BUTTON ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); opacity: 1; }

.btn--accent { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn--light { color: var(--bg); border-color: var(--bg); }
.btn--light:hover { background: var(--bg); color: var(--ink); }

.btn--soldout {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: .4em;
  padding: 18px 44px;
  border-width: 2px;
  text-transform: uppercase;
  box-shadow: 0 10px 32px rgba(184,87,40,.35);
  cursor: default;
  pointer-events: none;
}

.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.mt-32 { margin-top: 28px; }
.mt-48 { margin-top: 40px; }
.mt-64 { margin-top: 56px; }

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  /* border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); */
}
.section:has(> .wrap > .stats:only-child) {
  padding: clamp(12px, 1.6vw, 24px) 0;
}
.stat {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 24px);
  text-align: center;
  /* border-right: 1px solid var(--rule); */
}
/* .stat:last-child { border-right: 0; } */

.stat__icon { width: 38px; height: 38px; margin: 0 auto 12px; display: block; }

.stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}

.stat__label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}

/* Security icons composite */
.security-icons {
  margin-top: 48px;
  text-align: center;
}
.security-icons img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- VALUES (3-column grid) ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 56px);
  margin-top: 56px;
}
.value { text-align: center; }
.value__num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 10px;
}
.value__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
}
.section--dark .value__title { color: #f3eee3; }
.value__body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}
.section--dark .value__body { color: #d8d4cc; }

/* ---------- PROJECT GRID (2-column with title BELOW) ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
  margin-top: 56px;
}

.project { display: block; position: relative; }

.project__media {
  position: relative;
  aspect-ratio: 2/1;
  overflow: hidden;
  background: var(--ink);
  margin-bottom: 20px;
}
.project__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.project:hover .project__media img { transform: scale(1.04); }

.project__badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 12px;
}

.project__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.project__status {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 4px;
}

.project__cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.project:hover .project__cta { color: var(--accent); border-color: var(--accent); }

/* ---------- TIMELINE ---------- */
.timeline {
  margin-top: 32px;
  text-align: center;
}
.timeline img { width: 100%; max-width: 1100px; margin: 0 auto; }

/* ---------- TL: horizontal timeline slider with equal-sized cards ---------- */
.tl {
  position: relative;
  margin-top: 64px;
}

/* Horizontal connecting line — desktop only */
.tl::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--rule) 4%, var(--rule) 96%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.tl__track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}

.tl__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .35s var(--ease);
}
a.tl__item { cursor: pointer; }
a.tl__item:hover { opacity: 1; transform: translateY(-4px); }

.tl__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--bg-alt);
  margin-bottom: 22px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
a.tl__item:hover .tl__dot { background: var(--accent); transform: scale(1.25); }

.tl__year {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 8px;
}

.tl__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
  min-height: 40px;
  padding: 0 4px;
}

/* Mobile: 2-column vertical grid */
@media (max-width: 900px) {
  .tl::before { display: none; }
  .tl__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .tl__name { font-size: 16px; min-height: 0; }
  .tl__year { font-size: 11px; }
}

/* ---------- BENTO (asymmetric portfolio grid) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  margin-top: 56px;
}

.bento__item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  display: block;
  transition: transform .4s var(--ease);
}

a.bento__item { cursor: pointer; }
a.bento__item:hover { opacity: 1; transform: translateY(-2px); }

.bento__item--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__item--wide { grid-column: span 2; }

.bento__item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.bento__item:hover > img { transform: scale(1.06); }

.bento__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(20,20,28,.7) 0%, rgba(20,20,28,.1) 55%, transparent 100%);
  color: var(--bg);
  z-index: 1;
}

.bento__year {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  display: block;
  margin-bottom: 8px;
}

.bento__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bg);
}

.bento__item--feature .bento__year { font-size: 11px; color: var(--accent-soft); margin-bottom: 12px; }
.bento__item--feature .bento__name { font-size: clamp(28px, 3vw, 40px); }
.bento__item--feature .bento__status { font-size: 15px; }

.bento__status {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent-soft);
}

.bento__cta {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 10px;
  z-index: 2;
}

/* Archive tiles (no image) */
.bento__item--archive {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.bento__item--archive .bento__year { color: var(--accent); }
.bento__item--archive .bento__name { color: var(--ink); }
.bento__item--archive .bento__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}

.bento__item--archive.bento__item--wide { aspect-ratio: auto; }

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .bento__item--feature {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento__item--wide { grid-column: span 2; }
  .bento__item--feature .bento__name { font-size: 28px; }
}

@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .bento__item--feature, .bento__item--wide { grid-column: span 1; }
}

/* ---------- TESTIMONIALS (3-column cards on subtle texture) ---------- */
.section--testimonials {
  /* background: var(--bg-alt); */
  position: relative;
  overflow: hidden;
  padding-top: 86px;
}

/* Soft radial gradient + subtle dotted texture */
.section--testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(184, 87, 40, .06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(20, 20, 28, .04) 0%, transparent 60%);
  pointer-events: none;
}
.section--testimonials::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 20, 28, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  pointer-events: none;
}
.section--testimonials > * { position: relative; z-index: 1; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.testimonial {
  background: rgba(250, 248, 243, .85);
  backdrop-filter: blur(4px);
  padding: 44px 36px;
  border-left: 2px solid var(--accent);
  position: relative;
  box-shadow: 0 2px 24px rgba(20, 20, 28, .04);
}

.testimonial__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 28px;
}

.testimonial__author {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 3px;
}
.testimonial__role {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery__item { aspect-ratio: 4/3; overflow: hidden; background: var(--ink); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

/* 3-image feature layout: 1 wide hero + 2 below */
.gallery--feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.gallery--feature .gallery__item--feature {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

@media (max-width: 700px) {
  .gallery--feature { grid-template-columns: 1fr; }
  .gallery--feature .gallery__item--feature { grid-column: 1; aspect-ratio: 4/3; }
}

/* ---------- FACTSHEET ---------- */
.factsheet {
  background: var(--bg);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--rule);
}
.factsheet h3 {
  font-size: 26px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.factsheet dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px 20px;
}
.factsheet dt {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
  font-weight: 500;
}
.factsheet dd { font-size: 15px; color: var(--ink); }

/* ---------- MASTERPLAN ---------- */
.masterplan { margin-top: 48px; text-align: center; }
.masterplan img {
  max-width: 100%;
  border: 1px solid var(--rule);
  background: var(--bg);
  padding: 16px;
}

/* ---------- PLAN ROW (Masterplan / Neighbourhood) ---------- */
.plan-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.plan-row--reverse { grid-template-columns: 0.75fr 1.25fr; }
.plan-row--reverse .plan-row__copy { order: -1; }

.plan-row__media {
  position: relative;
  background: var(--bg);
  padding: clamp(16px, 2vw, 28px);
  box-shadow: 0 18px 50px rgba(20,20,28,.10);
}
.plan-row__media::before,
.plan-row__media::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  pointer-events: none;
}
.plan-row__media::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.plan-row__media::after  { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.plan-row__media img { display: block; width: 100%; height: auto; }

.plan-row__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 12px 0 20px;
  color: var(--ink);
}
.plan-row__copy p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

@media (max-width: 880px) {
  .plan-row,
  .plan-row--reverse { grid-template-columns: 1fr; }
  .plan-row--reverse .plan-row__copy { order: 0; }
}

.legend {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.legend__dot { width: 14px; height: 14px; border-radius: 50%; }
.legend__dot--available { background: #d9d9d9; }
.legend__dot--reserved { background: #c83232; }
.legend__dot--sold { background: #e07a1a; }

/* ---------- CONTACT FORM ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 500px;
  margin: 0 auto;
}

/* Contact grid layout (info + form side-by-side) */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
  margin-top: 56px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.contact-grid__info {
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-grid__form {
  margin: 0;
  max-width: none;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: clamp(28px, 3vw, 44px);
}
.contact-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 14px;
}
.contact-grid__info .btn { display: inline-flex; }
.contact-grid__info .btn + .contact-label { margin-top: 36px; }

/* Form inputs on dark contact section */
.section--dark .form__field label {
  color: rgba(255,255,255,.55);
}
.section--dark .form__field input,
.section--dark .form__field select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 12px 14px;
  color: var(--bg) !important;
  border-radius: 2px;
  transition: border-color .25s, background .25s;
}
.section--dark .form__field input:focus,
.section--dark .form__field select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.10);
  border-bottom-color: var(--accent);
}
.section--dark .form__field select {
  background: rgba(255,255,255,.06) !important;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .contact-grid__info,
  .contact-grid__form { padding: 24px 20px; }
  .form__phone { grid-template-columns: 90px 1fr; gap: 8px; }
  .contact-grid__info .btn { width: 100%; justify-content: center; }
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form__field input,
.form__field select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color .25s;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.form__field input:focus,
.form__field select:focus { outline: 0; border-bottom-color: var(--accent); }
.form__phone { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }

.form__status {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.5;
  min-height: 1em;
}
.form__status--ok { color: #9ccb9c; }
.form__status--error { color: #e3a99e; }

/* ---------- BIG CTA (refined, not massive) ---------- */
.cta-band {
  background: #1a1a24;
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(184, 87, 40, .08) 0%, transparent 60%);
  color: var(--bg);
  padding: clamp(72px, 9vw, 120px) var(--pad);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 24px;
  color: var(--bg);
  text-transform: uppercase;
}
.cta-band h2 .text-bronze { color: var(--accent); }

.cta-band p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 36px;
  color: #ece8df;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 64px var(--pad);
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
}

.footer__brand img {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 13px;
  color: #b0b0b8;
  max-width: 420px;
  line-height: 1.6;
  margin-top: 8px;
}
.footer__brand p:first-of-type { color: var(--bg); margin-top: 0; }

.footer__col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 16px;
}

.footer__col a, .footer__col p {
  display: block;
  font-size: 13px;
  color: #b0b0b8;
  margin-bottom: 8px;
  transition: color .25s;
  overflow-wrap: anywhere;
  word-break: normal;
}
.footer__col a:hover { color: var(--bg); opacity: 1; }

.footer__socials {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer__socials a { display: inline-flex; margin: 0; }
.footer__socials img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: opacity .25s;
}
.footer__socials a:hover img { opacity: .7; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-bronze { color: var(--accent); }

/* Wider media column variants */
.split--media-right { grid-template-columns: 0.8fr 1.2fr; }
.split--media-left  { grid-template-columns: 1.2fr 0.8fr; }

/* ---------- MEDIA ---------- */
@media (max-width: 900px) {
  .split,
  .split--media-right,
  .split--media-left { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: 0; }
  .projects { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .gallery:not(.gallery--feature) { grid-template-columns: 1fr; }
  .factsheet dl { grid-template-columns: 1fr; gap: 4px 0; }
  .factsheet dt { padding-top: 12px; }
}

@media (max-width: 640px) {
  .nav__brand-text span:last-child { display: none; }
  .nav__menu { gap: 0; }
  .nav__link { padding: 6px 10px; font-size: 10px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
