/* 1190 Stirling Road — property site
   Palette sampled from the J Albert brochure. */

:root {
  --ink: #0d1321;
  --navy: #1c2c44;
  --brand: #2868a0;
  --sky: #29abe2;
  --paper: #ffffff;
  --mist: #eef0f3;
  --line: #dde2e8;
  --text: #2b3548;
  --muted: #586377;

  --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(13, 19, 33, .06), 0 12px 32px -12px rgba(13, 19, 33, .18);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, address { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .005em;
  color: var(--navy);
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .5em; }
h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .55em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.hero :focus-visible,
.section--dark :focus-visible,
.site-footer :focus-visible,
dialog :focus-visible { outline-color: var(--sky); }

section[id] { scroll-margin-top: var(--header-h); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: .7em 1.1em; background: var(--ink); color: #fff; border-radius: 4px;
}
.skip:focus { top: 12px; }

/* ---------- buttons & eyebrows ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em;
  font: 500 .95rem/1 var(--font-head);
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 4px;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--navy); color: #fff; }
.btn-sky { background: var(--sky); color: var(--ink); }
.btn-sky:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 500 .8rem/1 var(--font-body);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--sky); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav a {
  position: relative; display: block; padding: 8px 0;
  font: 500 .82rem/1 var(--font-body);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--navy);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.btn-contact { padding: .7em 1.2em; font-size: .9rem; }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; border-radius: 4px; position: relative;
}
.menu-toggle .bars { position: absolute; inset: 0; display: grid; place-content: center; gap: 5px; }
.menu-toggle i { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(calc(100svh - var(--header-h)), 820px);
  background: var(--ink); color: #fff;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 42%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 19, 33, 0) 0%, rgba(13, 19, 33, 0) 40%, rgba(13, 19, 33, .45) 100%),
    linear-gradient(90deg, rgba(13, 19, 33, .60) 0%, rgba(13, 19, 33, .34) 42%, rgba(13, 19, 33, 0) 72%);
}
.hero .eyebrow--light { color: #fff; }
.hero .eyebrow--light::before { background: var(--sky); }
.hero-copy {
  padding-top: 120px; padding-bottom: clamp(32px, 5vw, 56px);
  text-shadow: 0 1px 3px rgba(13, 19, 33, .5), 0 2px 26px rgba(13, 19, 33, .4);
}
.hero-copy .btn { text-shadow: none; }
.hero h1 {
  color: #fff; font-weight: 500;
  font-size: clamp(3.2rem, 9.5vw, 7.2rem);
  line-height: .95; letter-spacing: -.01em;
}
.hero-loc {
  margin: .35em 0 1.2em;
  font: 400 clamp(1.3rem, 2.6vw, 1.9rem)/1.2 var(--font-head);
  color: rgba(255, 255, 255, .82);
}
.lede { max-width: 36rem; font-size: 1.1rem; color: rgba(255, 255, 255, .92); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-stats {
  background: rgba(13, 19, 33, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats dl { display: grid; grid-template-columns: repeat(6, 1fr); }
.hero-stats dl > div {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px;
  padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats dl > div:first-child { border-left: 0; padding-left: 0; }
.hero-stats dd { font: 500 2rem/1 var(--font-head); color: #fff; }
.hero-stats dd small { margin-left: .25em; font-size: .95rem; color: var(--sky); letter-spacing: .06em; }
.hero-stats .dd-text { font-size: 1.35rem; line-height: 1.15; padding-top: .3em; }
.hero-stats dt {
  font: 500 .7rem/1.3 var(--font-body);
  letter-spacing: .13em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #cdd4e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--sky); }
.section--dark a:not(.btn):hover { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p:last-child { color: var(--muted); font-size: 1.15rem; margin-bottom: 0; }

.section-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px);
}

/* overview */
.overview { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.overview-copy p { max-width: 34rem; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.uses li {
  padding: .45em .95em; border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: var(--navy); background: var(--mist);
}

.xsec { width: 100%; height: auto; overflow: visible; }
.x-ground { stroke: var(--navy); stroke-width: 3; }
.x-retail { fill: rgba(40, 104, 160, .20); }
.x-mezz { fill: rgba(40, 104, 160, .38); }
.x-wh { fill: rgba(28, 44, 68, .09); }
.x-outline { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.x-sky { fill: var(--sky); }
.x-label { font: 500 30px var(--font-head); fill: var(--navy); text-anchor: middle; }
.x-sub { font: 400 26px var(--font-body); fill: var(--muted); text-anchor: middle; }
.x-foot { font: 500 25px var(--font-body); fill: var(--muted); }
.x-end { text-anchor: end; }
.legend { display: grid; gap: 8px; margin: 18px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.legend li { display: flex; align-items: baseline; gap: 10px; }
.legend b { color: var(--navy); font-weight: 500; margin-right: .15em; }
.sw { flex: none; width: 12px; height: 12px; border-radius: 2px; transform: translateY(1px); }
.sw-retail { background: rgba(40, 104, 160, .35); }
.sw-mezz { background: rgba(40, 104, 160, .65); }
.sw-wh { background: rgba(28, 44, 68, .22); }
.section-card figcaption { font-size: .82rem; color: var(--muted); }

/* building spaces */
.space { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.space + .space { margin-top: clamp(56px, 8vw, 104px); }
.space figure { grid-column: 1 / 8; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.space figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.space figure::after {
  content: ""; position: absolute; inset: 45% 0 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(13, 19, 33, .78));
}
.space figcaption {
  position: absolute; left: clamp(18px, 3vw, 32px); bottom: clamp(14px, 2.4vw, 26px); z-index: 1;
  font: 300 clamp(1.3rem, 2.6vw, 1.9rem)/1.1 var(--font-head); color: #fff;
}
.space figcaption b { font-weight: 500; }
.space figcaption span { display: block; margin-top: .15em; font-size: .62em; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.space .copy { grid-column: 8 / 13; }
.space--flip figure { grid-column: 6 / 13; grid-row: 1; }
.space--flip .copy { grid-column: 1 / 6; grid-row: 1; }

.specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 26px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.specs > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px 18px; background: #fff; }
.specs dd { font: 500 1.65rem/1.1 var(--font-head); color: var(--navy); }
.specs dt { font-size: .84rem; line-height: 1.35; color: var(--muted); }

/* site & zoning */
.wide { margin-bottom: 36px; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.zoom img { width: 100%; transition: transform .5s; }
.zoom:hover img { transform: scale(1.02); }
.zoom::after {
  content: ""; position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(13, 19, 33, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transition: opacity .2s;
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }
figure > figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.facts > div { padding: 22px 22px 22px 0; }
.facts > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts dt { font: 500 .72rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { font: 500 1.55rem/1.15 var(--font-head); color: var(--navy); }
.facts dd span { display: block; margin-top: 6px; font: 400 .9rem/1.35 var(--font-body); color: var(--muted); }

/* location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.loc-grid p { max-width: 34rem; }
.drive { margin-top: 30px; }
.drive li { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.drive li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.drive b { font: 500 2.8rem/1 var(--font-head); color: #fff; }
.drive small { margin-left: .2em; font-size: .9rem; color: var(--sky); letter-spacing: .08em; text-transform: uppercase; }
.drive span { color: #cdd4e1; }
.loc-photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.loc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.loc-photo--wide { margin-top: clamp(40px, 6vw, 72px); }
.loc-photo--wide img { aspect-ratio: 21 / 9; object-position: 50% 62%; }
.loc-photo figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 20px 14px; margin: 0;
  font-size: .85rem; font-style: italic; color: #fff; background: linear-gradient(180deg, transparent, rgba(13, 19, 33, .8));
}
.sub-head { margin: clamp(56px, 8vw, 96px) 0 24px; font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; color: var(--sky); }
.growth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.growth li { padding: 26px 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.growth b { display: block; margin-bottom: 8px; font: 500 clamp(2.2rem, 4vw, 2.9rem)/1 var(--font-head); color: var(--sky); }
.growth span { font-size: .95rem; line-height: 1.45; color: #cdd4e1; }
.notes { margin-top: 28px; display: grid; gap: 8px; }
.notes li { position: relative; padding-left: 24px; }
.notes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--sky); }

/* neighborhood */
.traffic { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(44px, 6vw, 72px); }
.traffic p:last-child { margin-bottom: 0; }
.traffic-num { font: 500 clamp(2.6rem, 6vw, 4rem)/1 var(--font-head); color: var(--navy); margin-bottom: 22px; }
.traffic-num span { display: block; margin-top: 8px; font: 500 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tbars { display: grid; gap: 12px; }
.tbar { display: grid; grid-template-columns: 44px 1fr 62px; align-items: center; gap: 12px; font-size: .9rem; }
.tbar .yr { color: var(--muted); }
.tbar .val { text-align: right; font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; }
.track { height: 14px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.fill { height: 100%; width: var(--w); background: #9db7d2; border-radius: 999px; }
.fill--now { background: var(--brand); }
.js .fill { width: 0; transition: width 1.1s cubic-bezier(.2, .7, .2, 1) .15s; }
.js .in .fill { width: var(--w); }
.tscale { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.tscale-title { margin: 0 0 54px; font: 500 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tscale-track { position: relative; display: flex; height: 36px; }
.tscale .seg { display: grid; place-items: center; width: var(--w); padding: 0 2px; font: 500 .74rem/1 var(--font-body); white-space: nowrap; }
.tscale .seg:first-child { border-radius: 4px 0 0 4px; }
.tscale .seg:last-of-type { border-radius: 0 4px 4px 0; }
.seg-low { background: #dbe5f0; color: var(--navy); }
.seg-mod { background: #a9c2dd; color: var(--navy); }
.seg-high { background: var(--brand); color: #fff; }
.seg-vhigh { background: var(--navy); color: #fff; }
.tscale-marker { position: absolute; left: var(--x); top: -8px; bottom: -8px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.tscale-marker span {
  position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%);
  padding: .4em .75em; border-radius: 4px; white-space: nowrap;
  font: 500 .74rem/1 var(--font-body); letter-spacing: .02em; color: #fff; background: var(--ink);
}
.tscale-marker span::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.tscale-axis { position: relative; height: 1.3em; margin-top: 10px; font: 400 .74rem/1.3 var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.tscale-axis span { position: absolute; left: var(--x); transform: translateX(-50%); white-space: nowrap; }
.tscale-axis span:first-child { transform: none; }
.tscale-axis span:last-child { transform: translateX(-100%); }
.traffic-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; line-height: 1.5; color: var(--muted); }
.traffic-foot b { color: var(--brand); font-weight: 700; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery figure { height: 100%; display: flex; flex-direction: column; }
.gallery .zoom { flex: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery li:nth-child(1) img, .gallery li:nth-child(2) img { aspect-ratio: 3 / 2; }
.gallery li:nth-child(3) img { aspect-ratio: 2 / 1; }
.gallery li:nth-child(4) img { aspect-ratio: 2 / 1; object-position: 50% 45%; }
.gallery figcaption b { color: var(--navy); font-weight: 500; }

/* contact */
.section--contact { background: linear-gradient(135deg, var(--ink) 0%, #14213a 100%); }
.contact-grid {
  display: grid; align-items: start;
  grid-template-columns: 1fr 1.1fr; grid-template-rows: auto 1fr;
  grid-template-areas: "copy form" "card form";
  gap: clamp(28px, 4vw, 48px) clamp(32px, 6vw, 80px);
}
.contact-copy { grid-area: copy; }
.contact-copy p { max-width: 32rem; font-size: 1.15rem; margin-bottom: 0; }
.contact-form { grid-area: form; }
.contact-logo { grid-area: card; width: 240px; height: auto; }

/* contact form */
.contact-form {
  display: grid; gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}
.form-title { margin: 0 0 2px; font-size: 1.7rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font: 500 .78rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.field .req { color: var(--sky); }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(255, 255, 255, .62); }
.field input, .field textarea {
  width: 100%; padding: .8em .95em;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 4px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #ff8f8f; }
.field .err { margin: 0; font-size: .88rem; line-height: 1.4; color: #ffb4b4; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { justify-self: start; min-width: 11rem; cursor: pointer; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 0; min-height: 1.4em; font-size: .95rem; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.form-status.is-error { color: #ffb4b4; }
.form-done { display: grid; gap: 10px; align-content: center; min-height: 16rem; text-align: center; }
.form-done:focus { outline: none; }
.form-done h3 { margin: 0; font-size: 2rem; }
.form-done p { margin: 0; color: #cdd4e1; }
.form-done .tick { margin: 0 auto 6px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(41, 171, 226, .18); color: var(--sky); }

/* footer */
.site-footer { background: #080c16; color: rgba(255, 255, 255, .66); padding: 28px 0; font-size: .88rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer p { margin: 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }

/* lightbox */
dialog#lightbox { border: 0; padding: 0; background: transparent; color: #fff; max-width: min(96vw, 1400px); max-height: 96vh; overflow: visible; }
dialog#lightbox::backdrop { background: rgba(5, 8, 15, .88); }
dialog#lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius); background: var(--ink); }
.lb-cap { margin: 12px 0 0; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.lb-close {
  position: absolute; right: 0; top: -48px; width: 40px; height: 40px; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%;
}
.lb-close:hover { background: rgba(255, 255, 255, .28); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-stats dl { grid-template-columns: repeat(3, 1fr); }
  .hero-stats dl > div { border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-stats dl > div:nth-child(-n+3) { border-top: 0; }
  .hero-stats dl > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .growth { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .bar { gap: 12px; }
  .btn-contact { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(13, 19, 33, .3);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { padding: 16px 0; font-size: .9rem; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--brand); }

  .overview, .loc-grid, .traffic { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; }
  .contact-copy, .contact-form, .contact-logo { grid-area: auto; }
  .space { display: block; }
  .space .copy { margin-top: 28px; }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; }
  .loc-photo--wide img { aspect-ratio: 4 / 3; }
  .tscale .seg { font-size: .7rem; }
  .contact-form .row { grid-template-columns: 1fr; }
  .btn-submit { justify-self: stretch; }
  /* text spans the full width on phones, so the scrim runs top to bottom instead of from the left */
  .hero::after {
    background: linear-gradient(180deg, rgba(13, 19, 33, .36) 0%, rgba(13, 19, 33, .46) 30%, rgba(13, 19, 33, .50) 55%, rgba(13, 19, 33, .70) 100%);
  }
  .hero-copy { padding-top: 96px; }
  .hero-stats dl { grid-template-columns: repeat(2, 1fr); }
  .hero-stats dl > div { padding: 18px 16px; border-left: 1px solid rgba(255, 255, 255, .14); border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-stats dl > div:nth-child(-n+2) { border-top: 0; }
  .hero-stats dl > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-stats dl > div:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-stats dd { font-size: 1.7rem; }
  .cta .btn { flex: 1 1 100%; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs dd { font-size: 1.4rem; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 18px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
  .growth { grid-template-columns: 1fr; }
  .drive li { grid-template-columns: 84px 1fr; }
  .drive b { font-size: 2.3rem; }
  .lb-close { top: -46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .fill { width: var(--w); }
}
