@font-face {
  font-family: "Barlow JTEAM";
  src: url("./public/fonts/Barlow-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Barlow JTEAM";
  src: url("./public/fonts/Barlow-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Barlow JTEAM";
  src: url("./public/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: dark;
  --canvas: #090c0e;
  --canvas-deep: #060809;
  --surface: #101518;
  --surface-raised: #151b1e;
  --ink: #f3f0e8;
  --ink-soft: #b9b8b2;
  --gold: #beb087;
  --gold-strong: #d6c28b;
  --gold-ink: #12100b;
  --line: rgba(190, 176, 135, 0.24);
  --line-strong: rgba(190, 176, 135, 0.52);
  --shadow: 0 28px 80px rgba(1, 5, 7, 0.38);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Barlow JTEAM", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-mass: cubic-bezier(0.32, 0.72, 0, 1);
  --header-height: 76px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --section: clamp(5rem, 9vw, 9rem);
  --sc-canvas: var(--canvas);
  --sc-surface: var(--surface);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--gold);
  --sc-accent-ink: var(--gold-ink);
  --sc-font-display: var(--display);
  --sc-font-text: var(--sans);
}

html[data-theme="light"] {
  color-scheme: light;
  --canvas: #eceae4;
  --canvas-deep: #e2ded5;
  --surface: #f5f2ec;
  --surface-raised: #fffdf8;
  --ink: #1f2528;
  --ink-soft: #555b5d;
  --gold: #8b7644;
  --gold-strong: #6f5d33;
  --gold-ink: #fffdf8;
  --line: rgba(92, 76, 38, 0.24);
  --line-strong: rgba(92, 76, 38, 0.5);
  --shadow: 0 28px 80px rgba(58, 58, 60, 0.14);
}

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

html { scroll-behavior: smooth; background: var(--canvas); }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  transition: background-color 400ms var(--ease-out), color 300ms var(--ease-out);
}

body.menu-open { overflow: hidden; }

::selection { background: var(--gold); color: var(--gold-ink); }

a { color: inherit; text-underline-offset: 0.26em; }

button, input { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

img { display: block; max-width: 100%; }

h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 { text-wrap: balance; }

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 40;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--gold-ink);
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 35;
  width: 100%;
  height: 2px;
  transform-origin: left;
  background: var(--gold-strong);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(100% - 2rem, 1500px);
  min-height: var(--header-height);
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(5,8,10,.88), rgba(5,8,10,.26));
  transform: translateX(-50%);
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: rgba(190,176,135,.22);
  background: rgba(7,10,12,.86);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

html[data-theme="light"] .site-header {
  background: rgba(236,234,228,.9);
  border-color: var(--line);
}

.brand {
  width: 104px;
  height: 56px;
  display: grid;
  place-items: center;
}

.brand img { width: 86px; height: 52px; object-fit: contain; }

html[data-theme="light"] .brand img,
html[data-theme="light"] .site-footer img { filter: invert(1); }

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.4rem);
  min-width: 0;
}

.desktop-nav a {
  position: relative;
  color: rgba(243,240,232,.82);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 150ms var(--ease-out);
}

html[data-theme="light"] .desktop-nav a { color: var(--ink-soft); }

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 0.65rem; }

.icon-button,
.menu-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  background: rgba(10,13,15,.36);
  color: var(--ink);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), border-color 140ms var(--ease-out), background 140ms var(--ease-out);
}

html[data-theme="light"] .icon-button { border-color: var(--line); background: rgba(255,255,255,.55); }

.icon-button:hover { border-color: var(--gold); }
.icon-button:active, .menu-button:active { transform: scale(.97); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 46px;
  padding: 0.72rem 0.8rem 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.button i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  transition: transform 200ms var(--ease-mass), background-color 180ms var(--ease-out);
}

.button:hover i { transform: translateX(3px); }
.button:active { transform: scale(.98); }

.button--gold { background: var(--gold); color: var(--gold-ink); }
.button--gold:hover { background: var(--gold-strong); }
.button--gold i { background: rgba(255,255,255,.2); }

.button--outline {
  border-color: var(--line-strong);
  background: rgba(8,11,13,.22);
  color: var(--gold-strong);
}

html[data-theme="light"] .button--outline { background: rgba(255,255,255,.48); color: var(--gold-strong); }
.button--outline:hover { border-color: var(--gold); background: rgba(190,176,135,.1); }

.header-cta { min-height: 42px; padding-block: .55rem; }

.menu-button { display: none; position: relative; }
.menu-button span { position: absolute; width: 18px; height: 1px; background: currentColor; transition: transform 220ms var(--ease-mass); }
.menu-button span:first-child { transform: translateY(-3px); }
.menu-button span:last-child { transform: translateY(3px); }
.menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  padding: 6rem 2rem 2rem;
  background: rgba(7,10,12,.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: opacity 220ms var(--ease-out), transform 420ms var(--ease-mass);
}

.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu nav { display: grid; gap: .8rem; width: min(100%, 32rem); }
.mobile-menu nav a { font-family: var(--display); font-size: clamp(2rem, 9vw, 4rem); line-height: 1.05; text-decoration: none; }
.mobile-menu p { align-self: end; color: var(--ink-soft); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

.hero-act { min-height: 100dvh; background: #070a0c; }

.hero-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #070a0c;
}

.hero-media {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: 55% 50%;
  filter: saturate(.84) contrast(1.03) brightness(.83);
  will-change: transform;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,8,10,.94) 0%, rgba(5,8,10,.70) 31%, rgba(5,8,10,.08) 67%),
    linear-gradient(180deg, rgba(4,7,9,.52), transparent 32%, rgba(4,7,9,.7));
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(var(--gutter), calc((100vw - 1460px) / 2 + 3rem));
  width: min(620px, calc(100vw - 2 * var(--gutter)));
  transform: translateY(-45%);
}

.hero-copy--primary { top: 49%; }

.eyebrow {
  color: var(--gold-strong);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 11ch;
  margin-top: 1.1rem;
  color: #f5f0e6;
  font-family: var(--display);
  font-size: clamp(3.7rem, 6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.hero-copy h1 em {
  color: var(--gold-strong);
  font-style: normal;
}

.hero-deck {
  max-width: 42ch;
  margin-top: 1.55rem;
  color: rgba(243,240,232,.82);
  font-size: 1.05rem;
  line-height: 1.5;
}

.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.7rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: rgba(243,240,232,.9);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.text-link:hover i { transform: scale(1.06); border-color: var(--gold); }

.hero-copy--chapter { top: 47%; }
.hero-copy--chapter > p { color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero-copy--chapter h2 { margin-top: .8rem; color: #f5f0e6; font-family: var(--display); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.05em; line-height: .93; }
.hero-copy--chapter > span { display: block; max-width: 42ch; margin-top: 1.2rem; color: rgba(243,240,232,.78); }

.chapter-rail {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 2rem;
  display: grid;
  justify-items: center;
  gap: .6rem;
  color: rgba(243,240,232,.72);
  font-size: .65rem;
  font-variant-numeric: tabular-nums;
  transform: translateY(-50%);
}

.chapter-line { position: relative; width: 1px; height: 154px; background: rgba(255,255,255,.22); overflow: hidden; }
.chapter-line i { position: absolute; inset: 0; background: var(--gold); transform: scaleY(.2); transform-origin: top; will-change: transform; }

.services-section { position: relative; z-index: 4; padding: 0 var(--gutter) clamp(5rem, 8vw, 8rem); background: var(--canvas); }

.services-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1320px;
  margin: -4.8rem auto 0;
  padding: .5rem;
  border: 1px solid var(--line);
  background: rgba(13,17,19,.94);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.08);
}

html[data-theme="light"] .services-shell { background: rgba(245,242,236,.96); }

.service-item {
  min-height: 250px;
  padding: 2.2rem clamp(1.2rem, 2.4vw, 2.5rem);
  border-right: 1px solid var(--line);
  transition: transform 220ms var(--ease-mass), background-color 220ms var(--ease-out), opacity 180ms var(--ease-out);
}

.service-item:last-child { border-right: 0; }
.service-item > i { color: var(--gold-strong); font-size: 2.2rem; }
.service-item h2 { margin-top: 1.2rem; font-size: .9rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.service-item p { margin-top: .7rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.45; }
.service-item a { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.15rem; color: var(--gold-strong); font-size: .69rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.service-item a i { transition: transform 180ms var(--ease-out); }

@media (hover:hover) and (pointer:fine) {
  .services-shell:has(.service-item:hover) .service-item:not(:hover) { opacity: .62; }
  .service-item:hover { transform: translateY(-5px); background: rgba(190,176,135,.06); }
  .service-item:hover a i { transform: translateX(4px); }
}

.map-act { min-height: 100dvh; background: #0d1214; }

.map-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #0d1214;
}

.map-copy {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: max(var(--gutter), calc((100vw - 1460px) / 2 + 2rem));
  width: min(430px, 35vw);
  transform: translateY(-50%);
}

.map-copy h2 {
  margin-top: 1rem;
  color: #f3f0e8;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}

.map-copy > p:not(.eyebrow) { max-width: 42ch; margin-top: 1.3rem; color: rgba(243,240,232,.72); }
.map-copy .button { margin-top: 1.8rem; }

.regional-map {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -4vw;
  width: 64vw;
  height: 76vh;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(190,176,135,.26);
  background: #0d1214;
  box-shadow: 0 40px 120px rgba(0,3,5,.5), inset 0 1px rgba(255,255,255,.07);
  transform: translateY(-50%) scale(calc(.84 + var(--sc-p, 0) * .16));
  transform-origin: center right;
}

.regional-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 52% 62%, rgba(190,176,135,.18), transparent 20%),
    linear-gradient(90deg, rgba(8,12,14,.92), rgba(8,12,14,.3) 35%, rgba(8,12,14,.62));
  pointer-events: none;
}

.regional-map > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.72) sepia(.15) brightness(.35) contrast(1.2) saturate(.65);
  transform: scale(calc(1.08 - var(--sc-p, 0) * .06));
  will-change: transform;
}

.map-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: .22;
  background-image: linear-gradient(rgba(190,176,135,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(190,176,135,.12) 1px, transparent 1px);
  background-size: 8% 12%;
  mask-image: radial-gradient(circle at 52% 62%, #000, transparent 74%);
}

.map-connections { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
.map-connections path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  opacity: .72;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - clamp(0, (var(--sc-p, 0) - .25) * 1.6, 1));
}

.map-node {
  position: absolute;
  z-index: 5;
  top: var(--y);
  left: var(--x);
  display: grid;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--gold-strong);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(190,176,135,.08);
  color: #f3f0e8;
  cursor: pointer;
  opacity: clamp(.18, (var(--sc-p, 0) - var(--delay)) * 2.3, 1);
  transform: translate(-50%, -50%) scale(clamp(.7, (var(--sc-p, 0) - var(--delay)) * 2.1, 1));
}

.map-node span {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: max-content;
  color: rgba(243,240,232,.78);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.map-node--anchor { width: 16px; height: 16px; box-shadow: 0 0 0 9px rgba(190,176,135,.11); }
.map-node--anchor span { color: var(--gold-strong); font-size: .72rem; }
.map-node:hover, .map-node:focus-visible { transform: translate(-50%, -50%) scale(1.35); }

.map-status {
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  z-index: 6;
  padding: .6rem .85rem;
  border: 1px solid rgba(190,176,135,.28);
  background: rgba(8,12,14,.72);
  color: rgba(243,240,232,.72);
  font-size: .68rem;
  letter-spacing: .06em;
}

.map-detail {
  position: absolute;
  z-index: 6;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
  max-width: 54vw;
  padding: .7rem;
  border: 1px solid rgba(190,176,135,.24);
  background: rgba(8,12,14,.96);
}

.map-detail span { padding: .42rem .7rem; border: 1px solid rgba(190,176,135,.34); background: rgba(8,12,14,.94); color: rgba(243,240,232,.9); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }

.neighbourhood-act { min-height: 100dvh; background: var(--canvas); }
.neighbourhood-stage { display: grid; align-items: center; min-height: 100svh; overflow: hidden; }

.neighbourhood-rail {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  width: max-content;
  min-width: 100%;
  padding: 0 max(var(--gutter), calc((100vw - 1460px) / 2 + 1.5rem));
}

.rail-intro, .rail-close { width: clamp(300px, 29vw, 470px); flex: 0 0 auto; }
.rail-intro h2 { margin-top: 1rem; font-family: var(--display); font-size: clamp(2.8rem, 4.5vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.rail-intro > a { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; color: var(--gold-strong); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.neighbourhood-card {
  position: relative;
  width: clamp(300px, 31vw, 500px);
  height: min(62vh, 600px);
  min-height: 460px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,4,6,.28), inset 0 1px rgba(255,255,255,.07);
  color: #f3f0e8;
  text-decoration: none;
}

.neighbourhood-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.82); transition: transform 700ms var(--ease-mass), filter 400ms var(--ease-out); }
.neighbourhood-card > span { position: absolute; right: 0; bottom: 0; left: 0; padding: 5rem 1.5rem 1.35rem; background: linear-gradient(transparent, rgba(5,8,10,.94)); }
.neighbourhood-card strong { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 400; letter-spacing: -.025em; }
.neighbourhood-card small { display: block; margin-top: .3rem; color: rgba(243,240,232,.68); font-size: .8rem; }
.neighbourhood-card--featured { border-color: var(--line-strong); }

@media (hover:hover) and (pointer:fine) {
  .neighbourhood-card:hover img { transform: scale(1.045); filter: brightness(.86) saturate(.95); }
}

.rail-close p { margin-bottom: 1rem; color: var(--ink-soft); }

.relocation-section {
  position: relative;
  min-height: 104dvh;
  padding: 0;
  overflow: hidden;
  background: var(--canvas-deep);
}

.relocation-media { position: absolute; inset: 0 48% 0 0; overflow: hidden; }
.relocation-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--canvas-deep)), linear-gradient(180deg, transparent 60%, var(--canvas-deep)); }
.relocation-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) brightness(.78); }

.relocation-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  max-width: 1460px;
  min-height: 104dvh;
  margin: auto;
  padding: var(--section) var(--gutter) 0 max(48vw, var(--gutter));
}

.relocation-copy { padding-bottom: 5rem; }
.relocation-copy h2 { margin-top: .75rem; font-family: var(--display); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.05em; line-height: .95; }
.relocation-copy > p:not(.eyebrow) { max-width: 52ch; margin-top: 1.2rem; color: var(--ink-soft); }
.relocation-copy > .button { margin-top: 1.8rem; }

.relocation-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.relocation-points > div { padding-top: 1rem; border-top: 1px solid var(--line); }
.relocation-points i { color: var(--gold); font-size: 1.5rem; }
.relocation-points strong, .relocation-points span { display: block; }
.relocation-points strong { margin-top: .65rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.relocation-points span { margin-top: .25rem; color: var(--ink-soft); font-size: .76rem; line-height: 1.4; }

.team-portrait { align-self: end; width: min(480px, 32vw); height: 68vh; min-height: 520px; overflow: hidden; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; filter: saturate(.72) contrast(1.03) brightness(.75); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }

.referral-section { padding: clamp(4rem, 7vw, 6rem) var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--canvas); }
.referral-section .sc-wrap { max-width: 1320px; margin: auto; }
.referral-section h2 { text-align: center; font-family: var(--display); font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 400; letter-spacing: -.025em; }

.referral-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 2.3rem; }
.referral-list a { min-height: 118px; padding: 1.2rem; border-right: 1px solid var(--line); color: var(--ink-soft); text-align: center; text-decoration: none; transition: transform 180ms var(--ease-out), color 180ms var(--ease-out), background 180ms var(--ease-out); }
.referral-list a:last-child { border-right: 0; }
.referral-list i { display: block; color: var(--gold); font-size: 1.6rem; }
.referral-list span, .referral-list small { display: block; }
.referral-list span { margin-top: .7rem; font-size: .78rem; font-weight: 600; }
.referral-list small { max-height: 0; margin-top: .2rem; overflow: hidden; opacity: 0; font-size: .7rem; transition: max-height 180ms var(--ease-out), opacity 180ms var(--ease-out); }
.referral-list a:hover, .referral-list a:focus-visible { color: var(--ink); transform: translateY(-3px); background: rgba(190,176,135,.05); }
.referral-list a:hover small, .referral-list a:focus-visible small { max-height: 2em; opacity: 1; }
.referral-section > .sc-wrap > p { margin-top: 2rem; color: var(--ink-soft); text-align: center; }
.referral-section > .sc-wrap > p a { color: var(--gold-strong); text-decoration: none; }

.contact-act { min-height: 100dvh; background: #080a0c; }

.contact-stage {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: calc(var(--header-height) + 3rem) var(--gutter) 1.3rem;
  background: #080a0c;
  color: #f3f0e8;
}

.contact-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14% 55%, rgba(190,176,135,.11), transparent 32%);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .7fr; align-items: center; gap: 4rem; width: min(100%, 1240px); margin: auto; }
.contact-mark { position: absolute; z-index: -1; left: -7vw; bottom: -14rem; color: rgba(190,176,135,.055); font-family: var(--display); font-size: clamp(18rem, 35vw, 42rem); line-height: .7; }
.newsletter > p, .contact-details > p { color: var(--gold); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.newsletter h2 { max-width: 12ch; margin-top: 1rem; font-family: var(--display); font-size: clamp(3.2rem, 6vw, 6.7rem); font-weight: 400; letter-spacing: -.05em; line-height: .92; }

.newsletter form { max-width: 560px; margin-top: 2.2rem; }
.newsletter label { display: block; margin-bottom: .5rem; color: rgba(243,240,232,.72); font-size: .76rem; }
.field-row { display: flex; border-bottom: 1px solid rgba(190,176,135,.58); }
.field-row input { flex: 1; min-width: 0; padding: 1rem 0; border: 0; background: transparent; color: #f3f0e8; outline: 0; }
.field-row input::placeholder { color: rgba(243,240,232,.52); }
.field-row:focus-within { border-color: var(--gold-strong); }
.field-row button { width: 50px; border: 0; background: transparent; color: var(--gold); cursor: pointer; transition: transform 150ms var(--ease-out); }
.field-row button:hover { transform: translateX(3px); }
.form-message { display: block; min-height: 1.5em; margin-top: .6rem; color: var(--gold-strong); font-size: .78rem; }

.contact-details { display: grid; align-content: center; gap: .5rem; padding-left: 3rem; border-left: 1px solid rgba(190,176,135,.24); }
.contact-details > a { color: #f3f0e8; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); text-decoration: none; }
.social-links { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(190,176,135,.28); color: var(--gold); text-decoration: none; transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.social-links a:hover { transform: translateY(-3px); border-color: var(--gold); }

.site-footer { position: relative; z-index: 2; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 2rem; width: min(100%, 1460px); margin: auto; padding-top: 1.2rem; border-top: 1px solid rgba(190,176,135,.2); color: rgba(243,240,232,.5); font-size: .68rem; letter-spacing: .05em; }
.site-footer img { width: 70px; height: 42px; object-fit: contain; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 110px 1fr auto; }
  .desktop-nav { gap: 1.2rem; }
  .desktop-nav a { font-size: .66rem; }
  .header-cta span { display: none; }
  .header-cta { padding-left: .55rem; }
  .map-copy { width: min(380px, 38vw); }
  .regional-map { width: 66vw; right: -10vw; }
  .relocation-content { grid-template-columns: minmax(0,1fr) 330px; gap: 2rem; }
}

@media (max-width: 920px) {
  :root { --header-height: 68px; --section: clamp(4.5rem, 10vw, 7rem); }
  .site-header { width: 100%; padding-inline: var(--gutter); grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; }
  .hero-media { object-position: 66% 50%; }
  .hero-vignette { background: linear-gradient(180deg, rgba(5,8,10,.54), rgba(5,8,10,.28) 35%, rgba(5,8,10,.9) 80%); }
  .hero-copy { top: auto; right: var(--gutter); bottom: 7vh; left: var(--gutter); width: auto; transform: none; }
  .hero-copy--primary { top: auto; }
  .hero-copy h1 { font-size: clamp(3rem, 9vw, 5.4rem); }
  .hero-copy--chapter h2 { font-size: clamp(2.8rem, 8vw, 4.6rem); }
  .chapter-rail { top: 48%; left: 1rem; }
  .services-shell { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 0; }
  .service-item:nth-child(2) { border-right: 0; }
  .service-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .map-copy { top: calc(var(--header-height) + 4rem); left: var(--gutter); width: min(540px, calc(100vw - 2 * var(--gutter))); transform: none; }
  .map-copy h2 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
  .regional-map { top: auto; right: var(--gutter); bottom: 2rem; left: var(--gutter); width: auto; height: 52vh; min-height: 390px; transform: scale(calc(.9 + var(--sc-p, 0) * .1)); }
  .map-detail { right: var(--gutter); bottom: 1rem; left: var(--gutter); max-width: none; justify-content: center; }
  .neighbourhood-card { width: min(72vw, 500px); }
  .relocation-section { min-height: auto; padding-top: 52vw; }
  .relocation-media { inset: 0 0 auto 0; height: 56vw; max-height: 560px; }
  .relocation-media::after { background: linear-gradient(180deg, transparent 52%, var(--canvas-deep)); }
  .relocation-content { grid-template-columns: 1fr 250px; min-height: auto; padding: var(--section) var(--gutter) 0; }
  .team-portrait { width: 250px; height: 520px; min-height: 0; }
  .referral-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .referral-list a:nth-child(3) { border-right: 0; }
  .referral-list a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-details { padding: 2rem 0 0; border-top: 1px solid rgba(190,176,135,.24); border-left: 0; }
}

@media (max-width: 680px) {
  :root { --gutter: 1.1rem; }
  .site-header { border-bottom-color: rgba(255,255,255,.1); }
  .brand { width: 86px; height: 50px; justify-content: start; }
  .brand img { width: 74px; height: 46px; }
  .hero-stage { min-height: 100svh; }
  .hero-media { inset: 0; width: 100%; height: 100%; object-position: 68% center; }
  .hero-copy { bottom: max(2rem, env(safe-area-inset-bottom)); }
  .hero-copy h1 { max-width: 9.8ch; font-size: clamp(2.95rem, 14vw, 4.3rem); line-height: .92; }
  .hero-deck { max-width: 31ch; font-size: .94rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-copy--chapter { bottom: 10vh; }
  .hero-copy--chapter h2 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .chapter-rail { display: none; }
  .services-section { padding-inline: 0; }
  .services-shell { grid-template-columns: 1fr; padding: 0; border-inline: 0; }
  .service-item { min-height: 0; padding: 2rem var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: 0; }
  .map-copy { top: calc(var(--header-height) + 2.3rem); }
  .map-copy h2 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .map-copy > p:not(.eyebrow) { font-size: .9rem; }
  .map-copy .button { margin-top: 1rem; }
  .regional-map { top: 44%; right: 0; bottom: 0; left: 0; height: auto; min-height: 0; border-inline: 0; transform-origin: center; }
  .map-node span { display: none; }
  .map-node--anchor span { display: block; left: .8rem; font-size: .58rem; }
  .map-status { right: .7rem; bottom: .7rem; max-width: 55%; }
  .map-detail { display: none; }
  .neighbourhood-stage { min-height: 100svh; }
  .neighbourhood-rail { padding-inline: var(--gutter); gap: .8rem; }
  .rail-intro, .rail-close { width: 84vw; }
  .rail-intro h2 { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .neighbourhood-card { width: 80vw; height: 58vh; min-height: 420px; }
  .relocation-section { padding-top: 68vw; }
  .relocation-media { height: 74vw; }
  .relocation-content { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .relocation-copy { padding-bottom: 0; }
  .relocation-copy h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .relocation-points { grid-template-columns: 1fr; gap: .65rem; }
  .relocation-points > div { display: grid; grid-template-columns: 32px 1fr; column-gap: .6rem; }
  .relocation-points i { grid-row: 1 / 3; }
  .relocation-points strong { margin-top: 0; }
  .team-portrait { width: 100%; height: 58vw; min-height: 220px; max-height: 300px; }
  .team-portrait img { object-position: 100% center; }
  .referral-list { display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
  .referral-list a { min-width: 46vw; border-bottom: 0 !important; scroll-snap-align: start; }
  .contact-stage { padding-top: calc(var(--header-height) + 2rem); }
  .newsletter h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .contact-details > a { font-size: 1.8rem; }
  .site-footer { grid-template-columns: 80px 1fr; gap: .8rem; }
  .site-footer span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-media, .regional-map, .regional-map > img, .neighbourhood-card img { transform: none !important; }
  .map-connections path { stroke-dashoffset: 0; }
  .map-node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled, .mobile-menu { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--canvas); }
}
