/* Blackbird Real Estate Partners: site styles. Colors and fonts are set at the top in :root. */
/* Base */
html { color-scheme: light; }
body { margin: 0; padding: 0; background: #fff; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: white pages, black bands, orange accent. Square corners. Content 1200px. Mirrors the Blackbird design system tokens. */
:root {
  --brand-orange: #ef4023;
  --brand-ink: #231f20;
  --action: #d63a1f;
  --action-hover: #b92d17;
  --link: #c2301a;
  --surface: #ffffff;
  --surface-alt: #f6f4f3;
  --surface-inverse: #231f20;
  --ink: #231f20;
  --ink-muted: #5e5859;
  --ink-inverse: #ffffff;
  --ink-inverse-muted: #ada6a7;
  --border: #e4e0df;
  --border-strong: #231f20;
  --error: #b3261e;
  --map-land: #f6f4f3;
  --map-water: #d9e2e6;
  --map-street: #e4e0df;
  --note-bg: #fff4ef;
  --note-ink: #7a2412;
  --font-serif: Merriweather, Georgia, "Times New Roman", serif;
  --font-sans: Jost, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --content-max: 1200px;
  --text-max: 680px;
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 64px;
  --s8: 96px;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  :root:not([data-theme="light"]) {
    --action: #ef4023;
    --action-hover: #d63a1f;
    --link: #f2603f;
    --surface: #1a1718;
    --surface-alt: #231f20;
    --surface-inverse: #0f0d0d;
    --ink: #f4f1f0;
    --ink-muted: #ada6a7;
    --ink-inverse: #f4f1f0;
    --border: #3a3435;
    --border-strong: #f4f1f0;
    --map-land: #231f20;
    --map-water: #2c3a40;
    --map-street: #332d2e;
    --note-bg: #3a1d16;
    --note-ink: #ffd2c4;
    color-scheme: dark;
  }
}
:root[data-theme="never"] {
  --action: #ef4023;
  --action-hover: #d63a1f;
  --link: #f2603f;
  --surface: #1a1718;
  --surface-alt: #231f20;
  --surface-inverse: #0f0d0d;
  --ink: #f4f1f0;
  --ink-muted: #ada6a7;
  --ink-inverse: #f4f1f0;
  --border: #3a3435;
  --border-strong: #f4f1f0;
  --map-land: #231f20;
  --map-water: #2c3a40;
  --map-street: #332d2e;
  --note-bg: #3a1d16;
  --note-ink: #ffd2c4;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  font-size: 17px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
p {
  margin: 0;
}
.wrap {
  max-width: calc(var(--content-max) + 64px);
  margin: 0 auto;
  padding-left: max(32px, env(safe-area-inset-left, 0px));
  padding-right: max(32px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0 0 var(--s2);
}
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.h1 {
  font-size: 44px;
  line-height: 52px;
}
.h2 {
  font-size: 32px;
  line-height: 40px;
}
.h3 {
  font-size: 22px;
  line-height: 30px;
}
.lead {
  font-size: 20px;
  line-height: 32px;
  max-width: var(--text-max);
}
.muted {
  color: var(--ink-muted);
}
.small {
  font-size: 14px;
  line-height: 22px;
}
.rule {
  height: 2px;
  background: var(--border-strong);
  border: 0;
  width: 64px;
  margin: var(--s4) 0;
}
.section {
  padding-block: var(--s8);
}
.section--alt {
  background: var(--surface-alt);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}
.sec-head > div {
  min-width: 0;
  max-width: 720px;
}
.tag-ph {
  display: inline-block;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--note-ink);
  background: var(--note-bg);
  padding: 2px 6px;
  vertical-align: middle;
  font-family: var(--font-sans);
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s4);
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  border-radius: 0;
}
.btn--primary {
  background: var(--action);
  color: #fff;
}
.btn--primary:hover {
  background: var(--action-hover);
}
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--secondary:hover {
  background: var(--ink);
  color: var(--surface);
}
.btn--light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--light:hover {
  background: #fff;
  color: var(--brand-ink);
}
.btn-row {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}
.link {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.link:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/* Header */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--surface);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 84px;
}
.logo {
  display: block;
  height: 46px;
  width: auto;
}
.logo--w {
  display: none;
}
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  :root:not([data-theme="light"]) .logo--k {
    display: none;
  }
  :root:not([data-theme="light"]) .logo--w {
    display: block;
  }
}
:root[data-theme="never"] .logo--k {
  display: none;
}
:root[data-theme="never"] .logo--w {
  display: block;
}
.nav {
  display: flex;
  gap: var(--s5);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--s2) 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--brand-orange);
}
.nav .btn {
  padding: 0 var(--s3);
  min-height: 40px;
  border-bottom: 2px solid transparent;
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background: var(--brand-ink);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 200%;
  animation: pan 40s linear infinite alternate;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(35, 31, 32, 0.82) 0%,
    rgba(35, 31, 32, 0.55) 60%,
    rgba(35, 31, 32, 0.35) 100%
  );
}
@keyframes pan {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-30%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media svg {
    animation: none;
  }
}
.hero__content {
  position: relative;
  padding-block: 120px 104px;
  max-width: 780px;
}
.hero .eyebrow {
  color: var(--brand-orange);
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s4);
  color: #fff;
  text-wrap: balance;
}
.hero__lead {
  font-size: 20px;
  line-height: 32px;
  margin: 0 0 var(--s5);
  color: #fff;
  max-width: var(--text-max);
}
.hero__note {
  position: absolute;
  right: max(32px, env(safe-area-inset-right, 0px));
  bottom: 16px;
  font-size: 12px;
  color: #ada6a7;
  letter-spacing: 0.06em;
}
.hero__note::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  margin-right: 8px;
  vertical-align: 1px;
}

.pagehead {
  border-bottom: 1px solid var(--border);
  padding-block: var(--s7) var(--s6);
}
.pagehead .lead {
  margin-top: var(--s3);
}
.pagehead--dark {
  background: var(--brand-ink);
  border: 0;
  position: relative;
  overflow: hidden;
}
.pagehead--dark h1,
.pagehead--dark .lead {
  color: #fff;
}
.pagehead--dark .eyebrow {
  color: var(--brand-orange);
}
.pagehead--dark .bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.pagehead--dark .wrap {
  position: relative;
}

/* Stats */
.stats {
  background: var(--surface-inverse);
  color: #fff;
  padding-block: var(--s7);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}
.stat {
  border-top: 2px solid var(--brand-orange);
  padding-top: var(--s4);
}
.stat__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: 56px;
  margin: 0 0 var(--s3);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-inverse-muted);
}
.stats__foot {
  margin-top: var(--s5);
  font-size: 13px;
  color: var(--ink-inverse-muted);
}

/* Split intro */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--s7);
  align-items: start;
}
.split > * {
  min-width: 0;
}
.checks {
  list-style: none;
  margin: var(--s4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
}
.checks li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: var(--s3);
  align-items: start;
}
.checks li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-orange);
  margin-top: 8px;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-width: 0;
}
.card__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-orange);
}
.card .link {
  margin-top: auto;
}
.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-muted);
}

/* Project card */
.project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.project__img {
  aspect-ratio: 4/3;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--surface-alt);
}
.project__img svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.4s;
}
.project:hover .project__img svg {
  transform: scale(1.03);
}
.project__status {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 8px;
}
.project__body {
  padding-top: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.project__meta {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.project h3 {
  transition: color 0.15s;
}
.project:hover h3 {
  color: var(--link);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  margin-top: var(--s3);
  padding-top: var(--s3);
  gap: var(--s2);
}
.facts dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.facts dd {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

/* Partners row */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s6);
  align-items: center;
  margin-top: var(--s4);
}
.partners span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* Map */
.map {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  border: 1px solid var(--border);
  background: var(--surface);
}
.map__canvas {
  position: relative;
  min-height: 440px;
  background: var(--map-land);
  overflow: hidden;
}
.map__canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-orange);
  border: 3px solid var(--surface);
  transform: translate(-50%, -50%);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.pin--sample {
  background: var(--ink-muted);
}
.pin--office {
  background: var(--surface);
  border: 3px solid var(--brand-ink);
  border-radius: 0;
  width: 14px;
  height: 14px;
}
.pin.is-active {
  width: 24px;
  height: 24px;
  background: var(--brand-ink);
  z-index: 2;
}
.pin-label {
  position: absolute;
  transform: translate(14px, -50%);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  white-space: nowrap;
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: 3;
}
.map__legend {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  line-height: 18px;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  color: var(--ink-muted);
}
.map__legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}
.map__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border);
  max-height: 440px;
  overflow-y: auto;
}
.map__list li {
  border-bottom: 1px solid var(--border);
}
.map__list button {
  all: unset;
  box-sizing: border-box;
  display: grid;
  gap: 2px;
  width: 100%;
  padding: var(--s3) var(--s4);
  cursor: pointer;
}
.map__list button:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: -2px;
}
.map__list li.is-active {
  background: var(--surface-alt);
  box-shadow: inset 3px 0 0 var(--brand-orange);
}
.map__name {
  font-weight: 600;
  color: var(--ink);
}
.map__meta {
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-muted);
}

/* Filters and table */
.filters {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
  align-items: center;
}
.filters span {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: var(--s2);
}
.chip {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  border-radius: 0;
}
.chip[aria-pressed="true"] {
  border-color: var(--border-strong);
  background: var(--ink);
  color: var(--surface);
}
.view-toggle {
  margin-left: auto;
  display: flex;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 820px;
  font-size: 15px;
  line-height: 22px;
}
th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--surface-alt);
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
tbody tr:hover {
  background: var(--surface-alt);
}
td a {
  font-weight: 600;
  text-decoration: none;
}
td a:hover {
  color: var(--link);
}

/* Case study */
.cs-hero {
  aspect-ratio: 21/9;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.cs-hero svg {
  display: block;
  width: 100%;
  height: 100%;
}
.cs-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--s7);
  align-items: start;
}
.cs-layout > * {
  min-width: 0;
}
.cs-body {
  display: grid;
  gap: var(--s6);
}
.cs-body section {
  display: grid;
  gap: var(--s3);
}
.factsheet {
  border-top: 2px solid var(--border-strong);
  position: sticky;
  top: 110px;
}
.factsheet dl {
  margin: 0;
  display: grid;
}
.factsheet div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: var(--s3);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 22px;
}
.factsheet dt {
  color: var(--ink-muted);
}
.factsheet dd {
  margin: 0;
  font-weight: 600;
}
.beforeafter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.beforeafter figure {
  margin: 0;
}
.beforeafter .img {
  aspect-ratio: 4/3;
  max-width: 100%;
  overflow: hidden;
}
.beforeafter svg {
  display: block;
  width: 100%;
  height: 100%;
}
.beforeafter figcaption {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: var(--s2);
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s3);
}
.timeline li {
  border-top: 2px solid var(--border);
  padding-top: var(--s3);
  display: grid;
  gap: 4px;
}
.timeline li.done {
  border-top-color: var(--brand-orange);
}
.timeline b {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.timeline span {
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-muted);
}

/* Team */
.team {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s5);
  padding-block: var(--s6);
  border-top: 1px solid var(--border);
}
.team:first-child {
  border-top: 0;
  padding-top: 0;
}
.team__photo {
  aspect-ratio: 4/5;
  max-width: 100%;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--ink-muted);
  position: relative;
}
.team__photo .tag-ph {
  position: absolute;
  left: 12px;
  top: 12px;
}
.team__role {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--link);
  margin-top: var(--s1);
}
.team__body {
  display: grid;
  gap: var(--s3);
  align-content: start;
}
.team__creds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.team__creds span {
  font-size: 13px;
  border: 1px solid var(--border);
  padding: 4px 10px;
  color: var(--ink-muted);
}
.history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.history li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s4);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--border);
}
.history b {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 30px;
}

/* Buy box */
.buybox {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: var(--surface);
}
.buybox > div {
  padding: var(--s4);
  border-left: 1px solid var(--border);
  display: grid;
  gap: var(--s2);
  align-content: start;
  min-width: 0;
}
.buybox > div:first-child {
  border-left: 0;
}
.buybox h3 {
  font-size: 18px;
  line-height: 26px;
}
.buybox ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 24px;
}
.exp-table td:first-child {
  font-weight: 600;
}
.bar {
  height: 8px;
  background: var(--brand-orange);
  display: block;
  margin-top: 6px;
}

/* Service rows */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s7);
  align-items: center;
  padding-block: var(--s7);
  border-top: 1px solid var(--border);
}
.svc:first-child {
  border-top: 0;
  padding-top: 0;
}
.svc .img {
  aspect-ratio: 4/3;
  max-width: 100%;
  overflow: hidden;
}
.svc .img svg {
  display: block;
  width: 100%;
  height: 100%;
}
.svc:nth-child(even) .img {
  order: 2;
}
.svc__num {
  display: flex;
  gap: var(--s5);
  margin-top: var(--s2);
  flex-wrap: wrap;
}
.svc__num div {
  border-top: 2px solid var(--brand-orange);
  padding-top: var(--s2);
}
.svc__num b {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 36px;
  display: block;
}
.svc__num span {
  font-size: 14px;
  color: var(--ink-muted);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--s7);
  align-items: start;
}
.contact > * {
  min-width: 0;
}
.form {
  display: grid;
  gap: var(--s4);
  max-width: 620px;
}
.field {
  display: grid;
  gap: var(--s1);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}
.label {
  font-size: 14px;
  font-weight: 600;
}
.input {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink-muted);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
}
textarea.input {
  min-height: 140px;
  resize: vertical;
}
.help {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-muted);
}
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}
.radio {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 15px;
}
.radio:has(input:checked) {
  border-color: var(--border-strong);
  box-shadow: inset 3px 0 0 var(--brand-orange);
}
.radio input {
  accent-color: var(--action);
}
.broker-fields {
  display: grid;
  gap: var(--s4);
  padding: var(--s4);
  background: var(--surface-alt);
  border-left: 3px solid var(--brand-orange);
}
.aside-box {
  border-top: 2px solid var(--border-strong);
  padding-top: var(--s4);
  display: grid;
  gap: var(--s4);
}
.aside-box h3 {
  font-size: 18px;
  line-height: 26px;
}
.copyline {
  display: flex;
  gap: var(--s2);
  align-items: center;
  flex-wrap: wrap;
}
.copyline code {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  user-select: all;
}
.copybtn {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: none;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 4px 10px;
  cursor: pointer;
}
.thanks {
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-orange);
  padding: var(--s5);
  display: grid;
  gap: var(--s2);
}

/* Closing band */
.closing {
  background: var(--surface-alt);
  padding-block: var(--s8);
}
.closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--s6);
  align-items: end;
}
.closing__inner > * {
  min-width: 0;
}
.closing__statement {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 42px;
  text-wrap: balance;
}
.closing__side {
  display: grid;
  gap: var(--s4);
  justify-items: start;
}

/* Footer */
.footer {
  background: var(--surface-inverse);
  color: var(--ink-inverse-muted);
  padding-block: var(--s7) var(--s5);
  font-size: 14px;
  line-height: 22px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--s5);
}
.footer__grid > * {
  min-width: 0;
}
.footer__plate {
  background: #fff;
  display: inline-block;
  padding: var(--s3);
}
.footer__plate img {
  display: block;
  height: 40px;
  width: auto;
}
.footer h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--s3);
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s2);
}
.footer a {
  color: var(--ink-inverse-muted);
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}
.footer__base {
  border-top: 1px solid #3a3435;
  margin-top: var(--s6);
  padding-top: var(--s4);
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* Review notes */
.review {
  background: var(--note-bg);
  color: var(--note-ink);
  font-size: 14px;
  line-height: 22px;
}
.review .wrap {
  padding-block: 12px;
}
.review b {
  font-weight: 600;
}

@media (max-width: 960px) {
  .split,
  .cs-layout,
  .contact,
  .closing__inner {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
  .buybox {
    grid-template-columns: 1fr 1fr;
  }
  .buybox > div:nth-child(3) {
    border-left: 0;
  }
  .buybox > div:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .factsheet {
    position: static;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .section {
    padding-block: var(--s7);
  }
  .nav {
    display: none;
  }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--s3) max(16px, env(safe-area-inset-left, 0px));
    gap: var(--s3);
  }
  .menu-btn {
    display: block;
  }
  .logo {
    height: 36px;
  }
  .hero__title {
    font-size: 38px;
    line-height: 46px;
  }
  .hero__content {
    padding-block: 80px 88px;
  }
  .h1 {
    font-size: 34px;
    line-height: 42px;
  }
  .h2 {
    font-size: 26px;
    line-height: 34px;
  }
  .stats__grid,
  .grid-3,
  .grid-2,
  .footer__grid,
  .map,
  .svc,
  .team,
  .field-row,
  .radio-group,
  .beforeafter {
    grid-template-columns: 1fr;
  }
  .svc:nth-child(even) .img {
    order: 0;
  }
  .svc {
    gap: var(--s4);
  }
  .map__list {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .map__canvas {
    min-height: 340px;
  }
  .buybox {
    grid-template-columns: 1fr;
  }
  .buybox > div {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .buybox > div:first-child {
    border-top: 0;
  }
  .history li {
    grid-template-columns: 1fr;
    gap: var(--s1);
  }
  .closing__statement {
    font-size: 26px;
    line-height: 36px;
  }
  .view-toggle {
    margin-left: 0;
  }
  .hero__note {
    display: none;
  }
}

/* Real photos */
.project__img img,
.cs-hero img,
.beforeafter img,
.svc .img img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.project:hover .project__img img {
  transform: scale(1.03);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s2);
}
.gallery div {
  aspect-ratio: 4/3;
  max-width: 100%;
  overflow: hidden;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slide 24s infinite;
}
.hero__slides img:nth-child(1) {
  animation-delay: 0s;
}
.hero__slides img:nth-child(2) {
  animation-delay: 8s;
}
.hero__slides img:nth-child(3) {
  animation-delay: 16s;
}
@keyframes slide {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  4% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  38% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slides img {
    animation: none;
  }
  .hero__slides img:first-child {
    opacity: 1;
  }
}
.hero__media::after {
  z-index: 1;
}
.hero > .wrap {
  position: relative;
  z-index: 2;
}
.hero__note {
  z-index: 2;
}
.statgrid4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.subhead {
  margin: var(--s7) 0 var(--s4);
}
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
/* ---------- Style switcher ---------- */
.h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}
.statement {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 46px;
  color: var(--link);
  max-width: 980px;
  text-wrap: balance;
  margin: 0;
}
.hero__logo {
  display: block;
  height: 96px;
  width: auto;
  margin: 0 auto 32px;
}
.hero__logo.logo--w {
  display: none;
}
.tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 0;
}
.tile__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  max-width: 100%;
}
.tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.tile:hover .tile__img img {
  transform: scale(1.03);
}
.tile__body {
  padding: var(--s4);
  display: grid;
  gap: var(--s2);
}
.tile__body p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 26px;
}
.tile__more {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--link);
}
.stats--deck {
  background: var(--surface-alt);
  color: var(--ink);
}
.stats--deck .stat__num {
  color: var(--ink);
}
.stats--deck .stat__label,
.stats--deck .stats__foot {
  color: var(--ink-muted);
}

/* ================= v3: three distinct styles, light overall ================= */

.footer {
  background: var(--surface-alt);
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
}
.footer h4 {
  color: var(--ink);
}
.footer a {
  color: var(--ink-muted);
}
.footer a:hover {
  color: var(--link);
}
.footer__plate {
  background: none;
  padding: 0;
}
.footer__base {
  border-top-color: var(--border);
}
.footer .btn--light {
  color: var(--ink);
  border-color: var(--border-strong);
}
.footer .btn--light:hover {
  background: var(--ink);
  color: var(--surface);
}
.stats {
  background: var(--surface-alt);
  color: var(--ink);
}
.stat__num {
  color: var(--ink);
}
.stat__label,
.stats__foot {
  color: var(--ink-muted);
}
.arrow::after {
  content: "\2192";
  margin-left: 10px;
}

/* ---------- 1. HINES ---------- */
[data-style="hines"] {
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --hred: #c8102e;
}
[data-style="hines"] body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 30px;
  color: #1e2a32;
}
[data-style="hines"] body::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: var(--brand-orange);
  z-index: 40;
}
[data-style="hines"] .wrap {
  max-width: 1360px;
}
[data-style="hines"] main,
[data-style="hines"] .header,
[data-style="hines"] .footer {
  margin-left: 12px;
}
[data-style="hines"] h1,
[data-style="hines"] h2,
[data-style="hines"] h3,
[data-style="hines"] .stat__num {
  font-weight: 500;
  letter-spacing: -0.005em;
}
[data-style="hines"] .eyebrow,
[data-style="hines"] .btn,
[data-style="hines"] .label,
[data-style="hines"] .help,
[data-style="hines"] .chip,
[data-style="hines"] th,
[data-style="hines"] .project__meta,
[data-style="hines"] .facts dt,
[data-style="hines"] .team__role,
[data-style="hines"] .project__status,
[data-style="hines"] .h4,
[data-style="hines"] .copybtn,
[data-style="hines"] .radio {
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
}
[data-style="hines"] .eyebrow {
  color: var(--link);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 13px;
}
[data-style="hines"] .h-head {
  border-bottom: 0;
}
[data-style="hines"] .h-head .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 106px;
  gap: 24px;
}
[data-style="hines"] .h-util {
  display: flex;
  gap: 28px;
  justify-content: flex-end;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-style="hines"] .h-util a {
  text-decoration: none;
}
[data-style="hines"] .h-util a::after {
  content: " \203A";
  color: var(--link);
}
[data-style="hines"] .h-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 14px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
[data-style="hines"] .h-nav a {
  text-decoration: none;
  color: var(--ink);
}
[data-style="hines"] .h-nav a.red {
  color: var(--link);
}
[data-style="hines"] .h-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}
[data-style="hines"] .h-nav .sep {
  width: 1px;
  height: 22px;
  background: var(--border);
}
[data-style="hines"] .h-hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: #3b2f2a;
}
[data-style="hines"] .h-hero .hero__slides img {
  filter: brightness(0.72);
}
[data-style="hines"] .h-hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
[data-style="hines"] .h-hero h1 {
  color: #fff;
  font-size: 54px;
  line-height: 62px;
  font-weight: 500;
  max-width: 880px;
  margin: 0 0 16px;
  padding-left: 72px;
}
[data-style="hines"] .h-hero p {
  color: #fff;
  font-style: italic;
  font-size: 22px;
  line-height: 32px;
  max-width: 720px;
  padding-left: 72px;
  margin: 0 0 36px;
}
[data-style="hines"] .h-hero .btn {
  margin-left: 72px;
}
[data-style="hines"] .btn {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 15px;
  min-height: 54px;
  padding: 0 22px;
}
[data-style="hines"] .btn--primary {
  background: #b9301a;
}
[data-style="hines"] .h-sec {
  padding-block: 88px;
}
[data-style="hines"] .h-sec .wrap {
  padding-left: max(110px, env(safe-area-inset-left, 0px));
}
[data-style="hines"] .h-label {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0;
}
[data-style="hines"] .h-rule {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 44px 0;
}
[data-style="hines"] .h-rule.red {
  background: var(--link);
}
[data-style="hines"] .h-statement {
  font-size: 34px;
  line-height: 44px;
  color: var(--link);
  max-width: 1040px;
  margin: 0;
  font-weight: 400;
}
[data-style="hines"] .h-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 64px;
}
[data-style="hines"] .h-two > * {
  min-width: 0;
}
[data-style="hines"] .h-big {
  font-size: 44px;
  line-height: 54px;
  color: var(--ink);
  margin: 0;
}
[data-style="hines"] .h-stats {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
[data-style="hines"] .h-stat {
  text-align: center;
  padding: 36px 12px;
  border-bottom: 1px solid var(--border);
}
[data-style="hines"] .h-stat.full {
  grid-column: 1/-1;
}
[data-style="hines"] .h-stat + .h-stat:not(.full):nth-child(odd) {
  border-left: 1px solid var(--border);
}
[data-style="hines"] .h-stat b {
  display: block;
  font-family: "Source Serif 4", serif;
  font-weight: 500;
  font-size: 84px;
  line-height: 88px;
  color: var(--link);
}
[data-style="hines"] .h-stat span {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
[data-style="hines"] .h-foot {
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 16px;
}
[data-style="hines"] .h-divide {
  height: 1px;
  background: var(--border);
  margin: 72px 0;
}
[data-style="hines"] .h-h2 {
  font-size: 26px;
  line-height: 34px;
  font-weight: 600;
  margin: 0;
}
[data-style="hines"] .h-lead {
  color: var(--link);
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  max-width: 1080px;
  margin: 0 0 24px;
}
[data-style="hines"] .h-body {
  max-width: 1040px;
}
[data-style="hines"] .h-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-decoration: none;
  color: inherit;
}
[data-style="hines"] .h-feature h3 {
  font-size: 46px;
  line-height: 54px;
  color: var(--link);
  font-weight: 400;
}
[data-style="hines"] .h-feature .meta {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}
[data-style="hines"] .h-feature > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
[data-style="hines"] .h-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  max-width: 100%;
}
[data-style="hines"] .h-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
[data-style="hines"] .h-img::after {
  content: "\2192";
  position: absolute;
  right: 0;
  bottom: 16px;
  width: 36px;
  height: 34px;
  background: #b9301a;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Arial;
  font-size: 18px;
}
[data-style="hines"] .h-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 24px;
}
[data-style="hines"] .h-item {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}
[data-style="hines"] .h-item h4 {
  font-family: "Libre Franklin", sans-serif;
  color: var(--link);
  font-size: 17px;
  line-height: 25px;
  font-weight: 500;
  margin: 0 0 8px;
}
[data-style="hines"] .h-item p {
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-muted);
  margin: 0;
}
[data-style="hines"] .h-item .h-img {
  aspect-ratio: 4/3;
}
[data-style="hines"] .h-item .h-img::after {
  display: none;
}
[data-style="hines"] .h-svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
[data-style="hines"] .h-svc h4 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
[data-style="hines"] .h-svc p {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-muted);
  margin: 0 0 10px;
}
[data-style="hines"] .h-svc a {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}
[data-style="hines"] .pagehead {
  position: relative;
  overflow: hidden;
  border: 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 0;
  background: #3b2f2a;
}
[data-style="hines"] .pagehead .ph-bg {
  position: absolute;
  inset: 0;
}
[data-style="hines"] .pagehead .ph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}
[data-style="hines"] .pagehead .wrap {
  position: relative;
  width: 100%;
  padding-left: max(110px, env(safe-area-inset-left, 0px));
}
[data-style="hines"] .pagehead .eyebrow {
  display: none;
}
[data-style="hines"] .pagehead .h1 {
  color: #fff;
  font-weight: 500;
  font-size: 46px;
  line-height: 54px;
}
[data-style="hines"] .pagehead .lead {
  color: #fff;
  font-style: italic;
  font-size: 22px;
}
[data-style="hines"] .pagehead .link {
  color: #fff;
}
[data-style="hines"] .section--alt {
  background: var(--surface);
}
[data-style="hines"] .closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
[data-style="hines"] .closing__statement {
  color: var(--link);
  font-weight: 400;
}
[data-style="hines"] .team__role {
  color: var(--link);
  letter-spacing: 0.04em;
}
[data-style="hines"] .stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
[data-style="hines"] .stat {
  border-top: 0;
  text-align: center;
}
[data-style="hines"] .stat__num {
  color: var(--link);
  font-weight: 500;
  font-size: 64px;
  line-height: 70px;
}

.pagehead .ph-bg {
  display: none;
}
[data-style="hines"] .pagehead .ph-bg {
  display: block;
}

@media (max-width: 860px) {
  [data-style="hines"] .h-two,
  [data-style="hines"] .h-feature,
  [data-style="hines"] .h-list,
  [data-style="hines"] .h-svc {
    grid-template-columns: 1fr;
  }
  [data-style="hines"] .h-item {
    grid-template-columns: 1fr 120px;
  }
  [data-style="hines"] .h-sec .wrap,
  [data-style="hines"] .pagehead .wrap {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
  }
  [data-style="hines"] .h-hero h1,
  [data-style="hines"] .h-hero p {
    padding-left: 0;
  }
  [data-style="hines"] .h-hero .btn {
    margin-left: 0;
  }
  [data-style="hines"] .h-hero h1 {
    font-size: 36px;
    line-height: 44px;
  }
  [data-style="hines"] .h-hero {
    min-height: 480px;
  }
  [data-style="hines"] .h-statement {
    font-size: 24px;
    line-height: 34px;
  }
  [data-style="hines"] .h-big {
    font-size: 30px;
    line-height: 38px;
  }
  [data-style="hines"] .h-stat b {
    font-size: 56px;
    line-height: 60px;
  }
  [data-style="hines"] .h-feature h3 {
    font-size: 32px;
    line-height: 40px;
  }
  [data-style="hines"] .h-util {
    display: none;
  }
  [data-style="hines"] main,
  [data-style="hines"] .header,
  [data-style="hines"] .footer {
    margin-left: 5px;
  }
  [data-style="hines"] body::after {
    width: 5px;
  }
  [data-style] .c-nav,
  [data-style] .h-navwrap,
  [data-style] .m-nav {
    display: none;
  }
  [data-style] .c-nav.is-open,
  [data-style] .h-navwrap.is-open,
  [data-style] .m-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    padding: 16px max(16px, env(safe-area-inset-left, 0px));
    gap: 14px;
    border-bottom: 1px solid var(--border);
    z-index: 30;
  }
  .h-navwrap.is-open .h-nav {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
  .h-navwrap.is-open .sep {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}
.header {
  position: sticky;
}
.header .wrap {
  position: relative;
}

/* v4: white is the main color everywhere, light only */
body,
.footer,
.section--alt,
.closing,
.stats,
.stats--deck,
[data-style] .section--alt {
  background: #fff;
}
:root {
  color-scheme: light;
}
.footer {
  border-top: 1px solid #e4e0df;
}
[data-style="hines"] .h-hero .hero__slides img {
  filter: brightness(0.8);
}
[data-style="hines"] .pagehead .ph-bg img {
  filter: brightness(0.7);
}
.team__photo {
  background: #f6f4f3;
}
[data-style="hines"] .cs-hero {
  display: none;
}
[data-style="hines"] .h-hero .hero__slides video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}
.team {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.team__pic {
  max-width: 240px;
  margin-bottom: 20px;
}
.team__pic img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* v7 */
[data-style="hines"] body::after {
  display: none;
}
[data-style="hines"] main,
[data-style="hines"] .header,
[data-style="hines"] .footer {
  margin-left: 0;
}
[data-style="hines"] .h-sec .wrap,
[data-style="hines"] .pagehead .wrap {
  padding-left: max(32px, env(safe-area-inset-left, 0px));
}
@media (max-width: 640px) {
  [data-style="hines"] .h-sec .wrap,
  [data-style="hines"] .pagehead .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
  }
}
[data-style="hines"] .h-head .logo {
  height: 64px;
}
@media (max-width: 640px) {
  [data-style="hines"] .h-head .logo {
    height: 46px;
  }
}
.stat__tag {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 4px 0 12px;
}
.hx {
  padding: 48px 0 72px;
}
.hx .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.hx h1 {
  font-size: 56px;
  line-height: 62px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
}
.hx .sub {
  font-style: italic;
  font-size: 20px;
  line-height: 30px;
  color: var(--ink-muted);
  margin: 0 0 36px;
  max-width: 560px;
}
.hx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  margin: 0 0 12px;
}
.hx-stats div {
  padding: 20px 16px 0 0;
}
.hx-stats b {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 46px;
  line-height: 52px;
  color: var(--link);
  font-weight: 500;
}
.hx-stats span {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}
.hx .foot {
  font-size: 12px;
  line-height: 18px;
  color: var(--ink-muted);
  margin: 0 0 32px;
}
.hx-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.hx-img p {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 13px;
  color: var(--ink-muted);
  margin: 10px 0 0;
}
.xp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.xp-stats div {
  padding: 28px 24px 0 0;
}
.xp-stats b {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 56px;
  line-height: 60px;
  color: var(--link);
  font-weight: 500;
}
.xp-stats span {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 15px;
  line-height: 22px;
}
[data-style="hines"] .h-statement {
  max-width: none;
}
.xp-text {
  font-size: 20px;
  line-height: 32px;
  margin: 28px 0 0;
  color: var(--ink);
}
.map {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}
.lmap {
  position: relative;
  aspect-ratio: 1443/1644;
  overflow: hidden;
  background: #eceae6;
}
.lmap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.pin--pm {
  background: #5e5859;
  width: 12px;
  height: 12px;
  border-width: 2px;
}
.map__list {
  max-height: none;
}
.map__credit {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 10px;
  color: #6b6566;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 4px;
}
.map__legend2 {
  display: flex;
  gap: 20px;
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 13px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.map__legend2 i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}
@media (max-width: 860px) {
  .hx .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hx h1 {
    font-size: 38px;
    line-height: 46px;
  }
  .hx-stats b {
    font-size: 34px;
    line-height: 40px;
  }
  .xp-stats {
    grid-template-columns: 1fr;
  }
}

/* Google map embed */
.gmap {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  background: #eceae6;
}
.gmap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 760px) {
  .gmap {
    aspect-ratio: 4 / 5;
  }
}
