/* ==========================================================================
   EY Plaza — 725 S. Figueroa St, Los Angeles
   Theme tokens are injected as CSS custom properties from tenant-config.json.
   ========================================================================== */

:root {
  --primary: #000000;
  --secondary: #bd9b5e;
  --background: #f5f0e5;
  --text: #1a1712;
  --accent: #f8f5ee;

  --font-main: "Jost", "Tw Cen MT", "Century Gothic", sans-serif;
  --font-heading: "Bodoni Moda", "Butler", "Playfair Display", Georgia, serif;

  --header-h: 84px;
  --content: 836px;
  --wide: 1440px;
  --facts: 896px;
  --pad: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- primitives */

.shell {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 120px var(--pad) 80px;
  background: var(--primary);
  position: relative;
}

.section--tight {
  padding-top: 88px;
}

.section__head {
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 18px;
}

.title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.title--display {
  text-transform: none;
}

.lede {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 700px;
  opacity: 0.9;
}

.prose p {
  margin: 0 0 20px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 30px;
  border: 0;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  filter: brightness(1.1);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid currentColor;
}

.btn--ghost:hover {
  filter: none;
  background: rgba(0, 0, 0, 0.06);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

/* ------------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--primary);
  border-bottom: 1px solid rgba(248, 245, 238, 0.1);
}

.site-header__inner {
  height: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--secondary);
}

.site-nav a[aria-current="page"] {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header-actions .btn {
  min-height: 42px;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.header-actions .btn--login {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(248, 245, 238, 0.4);
}

.header-actions .btn--login:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  filter: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--accent);
  padding: 10px;
  margin-left: auto;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  background: var(--primary);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.25) 38%,
    rgba(0, 0, 0, 0.08) 70%
  );
}

.hero__panel {
  position: relative;
  z-index: 2;
  background: var(--primary);
  padding: 40px 56px 44px;
  max-width: min(640px, 92vw);
  margin-bottom: 40px;
}

.hero__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 12px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.4vw, 5.9rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--accent);
}

.hero__meta {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  color: var(--accent);
}

.hero__meta span {
  display: block;
}

.hero__meta span + span {
  opacity: 0.78;
}

.hero__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: var(--primary);
  z-index: 1;
}

/* ----------------------------------------------------- description + OM CTA */

.description__body {
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
}

.description__body p {
  margin: 0 0 22px;
}

.truncate-toggle {
  background: none;
  border: 0;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.is-clipped {
  display: none;
}

/* -------------------------------------------------------- leasing rate band */

.rate-band {
  padding: 0 var(--pad);
  background: var(--primary);
}

.rate-band__inner {
  max-width: var(--wide);
  margin: 0 auto;
  background: var(--secondary);
  color: var(--primary);
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  align-items: stretch;
}

.rate-band__figure {
  padding: 46px 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rate-band__eyebrow {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}

.rate-band__rate {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

.rate-band__unit {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin: 8px 0 0;
}

.rate-band__copy {
  padding: 46px 44px;
}

.rate-band__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 14px;
  opacity: 0.75;
}

.rate-band__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.rate-band__text {
  margin: 0 0 26px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.7;
}

.rate-band .btn-row {
  justify-content: flex-start;
  margin-top: 0;
}

/* ------------------------------------------------------------------ gallery */

.gallery {
  padding: 96px 0;
  background: var(--primary);
}

.gallery__frame {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
}

.gallery__viewport {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: #0b0b0b;
}

.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gallery__slide.is-active {
  opacity: 1;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(248, 245, 238, 0.72);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.gallery__arrow:hover {
  background: var(--accent);
}

.gallery__arrow--prev {
  left: 26px;
}

.gallery__arrow--next {
  right: 26px;
}

.gallery__arrow svg {
  width: 18px;
  height: 18px;
}

.gallery__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: var(--primary);
  padding: 34px 44px 38px;
  max-width: 420px;
}

.gallery__corner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--accent);
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(248, 245, 238, 0.3);
}

.gallery__dot.is-active {
  background: var(--secondary);
}

/* ----------------------------------------------------------------- stat grid */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1180px;
  margin: 56px auto 0;
}

.stat-card {
  background: var(--card-bg, rgba(0, 0, 0, 0.05));
  padding: 30px 26px 26px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card--featured {
  background: var(--secondary);
  color: var(--primary);
}

.stat-card__icon {
  color: var(--secondary);
  width: 30px;
  height: 30px;
  margin-bottom: 42px;
}

.stat-card--featured .stat-card__icon {
  color: var(--primary);
}

.stat-card__figure {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 10px;
}

.stat-card__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.72;
}

/* --------------------------------------------------------------- achievements */

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 56px auto 0;
}

.achieve-card {
  background: var(--card-bg, rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
}

.achieve-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.achieve-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.achieve-card:hover .achieve-card__media img {
  transform: scale(1.05);
}

.achieve-card__body {
  padding: 24px 24px 28px;
}

.achieve-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--secondary);
}

.achieve-card__text {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  opacity: 0.85;
}

/* --------------------------------------------------------------- fact cards */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 56px auto 0;
  text-align: left;
}

.fact-card {
  background: var(--card-bg, rgba(255, 255, 255, 0.04));
  padding: 32px 30px 34px;
  border-top: 2px solid var(--secondary);
}

.fact-card__title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 18px;
}

.fact-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fact-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.fact-card li:last-child {
  margin-bottom: 0;
}

.fact-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 1px;
  background: var(--secondary);
}

/* ------------------------------------------------------------- overview lists */

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1180px;
  margin: 52px auto 0;
  text-align: left;
}

.overview-col {
  background: var(--card-bg, rgba(0, 0, 0, 0.04));
  padding: 30px 28px 34px;
}

.overview-col h3 {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 16px;
}

.overview-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.overview-col li {
  font-size: 15px;
  line-height: 1.55;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.overview-col li:last-child {
  border-bottom: 0;
}

/* ------------------------------------------------------------------ facts rows */

.facts-list {
  max-width: var(--facts);
  margin: 48px auto 0;
}

.facts-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  font-size: 15px;
}

.facts-row:nth-child(odd) {
  background: var(--row-even, rgba(255, 255, 255, 0.05));
}

.facts-row dt {
  margin: 0;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.facts-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* ------------------------------------------------------------- spaces table */

.spaces {
  max-width: 1180px;
  margin: 48px auto 0;
}

.spaces__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg, #fff);
  font-size: 15px;
}

.spaces__table caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  padding-bottom: 12px;
  font-weight: 600;
}

.spaces__table th,
.spaces__table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.spaces__table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--accent);
  border-bottom: 0;
}

.spaces__table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.03);
}

.spaces__table td:first-child {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
}

.spaces__table td:nth-child(3) {
  font-weight: 600;
  white-space: nowrap;
}

.spaces__featured {
  margin-top: 40px;
  border: 1px solid var(--secondary);
  background: var(--card-bg, #fff);
  padding: 36px 38px 34px;
  text-align: left;
}

.spaces__featured .eyebrow {
  margin-bottom: 10px;
}

.spaces__featured h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 14px;
}

.spaces__featured p {
  margin: 0 0 26px;
  max-width: 70ch;
  font-size: 16px;
}

.spaces__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.spaces__metric {
  background: var(--background);
  padding: 20px 22px;
}

.spaces__metric strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.spaces__metric span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ------------------------------------------------------------- venue slider */

.venue {
  margin-top: 52px;
}

.venue__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: thin;
}

.venue__slide {
  flex: 0 0 clamp(280px, 34vw, 440px);
  scroll-snap-align: start;
  background: var(--card-bg, rgba(0, 0, 0, 0.25));
}

.venue__slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.venue__slide-body {
  padding: 22px 24px 26px;
  text-align: left;
}

.venue__slide-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--secondary);
}

.venue__slide-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

/* ----------------------------------------------------------------- map block */

.map-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.map-block__copy {
  text-align: left;
}

.map-block__copy .eyebrow,
.map-block__copy .title {
  text-align: left;
}

.map-block__address {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--accent);
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0 22px;
}

.map-block__address svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--secondary);
}

.map-block__frame {
  min-height: 560px;
  background: var(--card-bg, #ddd);
  overflow: hidden;
}

.map-block__frame iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

/* --------------------------------------------------------- neighbourhood block */

.hood {
  max-width: 1240px;
  margin: 0 auto;
}

.hood__top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  text-align: left;
}

.hood__top .eyebrow,
.hood__top .title {
  text-align: left;
}

.hood__scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 30px 0 0;
}

.hood__score {
  background: var(--card-bg, #fff);
  padding: 22px 20px;
  border-top: 2px solid var(--secondary);
}

.hood__score strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.hood__score span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hood__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.hood__list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 15px;
  line-height: 1.55;
}

.hood__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 9px;
  height: 1px;
  background: var(--secondary);
}

.hood__media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

.hood__market {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 46px;
}

.hood__market div {
  background: var(--card-bg, #fff);
  padding: 24px 22px;
  text-align: left;
}

.hood__market strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.hood__market span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hood__destinations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 46px;
  text-align: left;
}

.hood__destinations h4 {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--secondary);
}

.hood__destinations ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hood__destinations li {
  font-size: 14px;
  line-height: 1.5;
  padding: 5px 0;
  opacity: 0.88;
}

/* --------------------------------------------------------------------- team */

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 1300px;
  margin: 56px auto 0;
}

.team-card {
  flex: 0 1 312px;
  background: var(--card-bg, rgba(255, 255, 255, 0.05));
  padding: 34px 28px 30px;
  text-align: center;
}

.team-card__avatar {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 5px;
  color: var(--secondary);
}

.team-card__title {
  font-size: 14px;
  margin: 0 0 3px;
  opacity: 0.85;
}

.team-card__license {
  font-size: 13px;
  margin: 0 0 20px;
  opacity: 0.55;
  letter-spacing: 0.04em;
}

.team-card__contact {
  display: grid;
  gap: 10px;
  text-align: left;
  border-top: 1px solid rgba(189, 155, 94, 0.3);
  padding-top: 18px;
}

.team-card__contact a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  transition: color 0.2s ease;
  word-break: break-word;
}

.team-card__contact a:hover {
  color: var(--secondary);
}

.team-card__contact svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--secondary);
}

/* ------------------------------------------------------------- schedule tour */

.tour {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}

.tour__media {
  position: relative;
}

.tour__media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tour__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--accent);
  padding: 14px 20px;
  max-width: 78%;
}

.tour__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.tour__badge span {
  font-size: 13px;
  opacity: 0.85;
}

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

.tour__fact {
  background: var(--secondary);
  color: var(--primary);
  padding: 16px 16px 18px;
}

.tour__fact strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 4px;
}

.tour__fact span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.tour__form-wrap {
  text-align: left;
}

.tour__form-wrap .eyebrow,
.tour__form-wrap .title {
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 30px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.field label .opt {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.6;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-main);
  font-size: 15px;
  padding: 13px 15px;
  background: var(--input-bg, rgba(255, 255, 255, 0.07));
  color: var(--input-text, inherit);
  border: 1px solid var(--input-border, rgba(255, 255, 255, 0.16));
  border-radius: 0;
  min-height: 48px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.subfields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 20px;
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-note {
  font-size: 14px;
  opacity: 0.75;
}

.form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  padding: 12px 16px;
  border-left: 2px solid var(--secondary);
  background: rgba(189, 155, 94, 0.12);
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ------------------------------------------------------------- subscription */

.subscribe {
  position: relative;
  padding: 130px var(--pad);
  background: var(--primary);
  overflow: hidden;
}

.subscribe__bg {
  position: absolute;
  inset: 0;
}

.subscribe__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subscribe__card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: blur(2px);
  padding: 48px 44px 50px;
  text-align: center;
  color: var(--primary);
}

.subscribe__card .title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.subscribe__form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 28px auto 0;
}

.subscribe__form input {
  flex: 1;
  min-height: 50px;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 15px;
  border: 1px solid rgba(26, 23, 18, 0.35);
  background: #fff;
  color: var(--text);
}

.subscribe__form input:focus {
  outline: none;
  border-color: var(--secondary);
}

/* ------------------------------------------------------------------ legal page */

.legal {
  padding: 96px var(--pad) 90px;
  background: var(--accent);
  color: var(--text);
}

.legal__inner {
  max-width: 820px;
  margin: 0 auto;
}

.legal__inner .eyebrow,
.legal__inner .title {
  text-align: left;
}

.legal__updated {
  font-size: 14px;
  opacity: 0.6;
  margin: 0 0 34px;
}

.legal__body {
  font-size: 16px;
  line-height: 1.8;
}

.legal__body h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin: 38px 0 12px;
}

.legal__body p {
  margin: 0 0 18px;
}

/* ------------------------------------------------------------------- footer */

.site-footer {
  background: var(--primary);
  color: var(--accent);
  padding: 70px var(--pad) 30px;
  border-top: 1px solid rgba(248, 245, 238, 0.1);
}

.site-footer__grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 48px;
}

.site-footer h2 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 20px;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.site-footer__links a {
  font-size: 15px;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--secondary);
  opacity: 1;
}

.site-footer__address {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.site-footer__address svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--secondary);
}

.site-footer__leasing {
  font-size: 15px;
  line-height: 1.7;
}

.site-footer__leasing span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.site-footer__leasing a:hover {
  color: var(--secondary);
}

.site-footer__news label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.site-footer__news form {
  display: flex;
  border: 1px solid rgba(248, 245, 238, 0.3);
}

.site-footer__news input {
  flex: 1;
  min-height: 48px;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 15px;
}

.site-footer__news input::placeholder {
  color: rgba(248, 245, 238, 0.5);
}

.site-footer__news input:focus {
  outline: none;
}

.site-footer__news button {
  width: 54px;
  border: 0;
  background: var(--secondary);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.site-footer__news button svg {
  width: 18px;
  height: 18px;
}

.site-footer__note {
  max-width: var(--wide);
  margin: 42px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(248, 245, 238, 0.16);
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.55;
}

.site-footer__bar {
  max-width: var(--wide);
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  opacity: 0.75;
}

.site-footer__bar nav {
  display: flex;
  gap: 26px;
}

.site-footer__bar a:hover {
  color: var(--secondary);
}

/* ------------------------------------------------------------------- modals */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  background: var(--accent);
  color: var(--text);
  width: 100%;
  max-width: 520px;
  padding: 40px 38px 36px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__panel h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 10px;
}

.modal__panel p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.modal .field input,
.modal .field select,
.modal .field textarea {
  background: #fff;
  color: var(--text);
  border-color: rgba(26, 23, 18, 0.25);
}

.modal .field label {
  opacity: 0.7;
}

.modal .form-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.modal .checkbox {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}

.modal .checkbox input {
  margin-top: 4px;
  min-height: 0;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .site-nav {
    gap: 24px;
  }

  .hood__destinations {
    grid-template-columns: repeat(3, 1fr);
  }

  .achieve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 72px;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.is-open {
    height: auto;
  }

  .site-header.is-open .site-header__inner {
    flex-wrap: wrap;
    padding-bottom: 22px;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 8px 0 0;
    gap: 4px;
  }

  .site-header.is-open .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(248, 245, 238, 0.1);
  }

  .site-header.is-open .header-actions {
    width: 100%;
    margin-top: 14px;
  }

  .map-block,
  .tour,
  .hood__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stat-grid,
  .fact-grid,
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__viewport {
    height: 460px;
  }

  .gallery__corner {
    position: static;
    max-width: none;
    padding: 26px 24px 30px;
  }

  .rate-band__inner {
    grid-template-columns: 1fr;
  }

  .rate-band__figure {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.32);
    padding: 34px 28px;
  }

  .rate-band__copy {
    padding: 32px 28px 36px;
  }

  .hood__market {
    grid-template-columns: repeat(2, 1fr);
  }

  .spaces__metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .tour__media > img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 76px var(--pad) 56px;
  }

  .hero__panel {
    padding: 28px 24px 30px;
    margin-bottom: 32px;
    max-width: 100%;
    width: calc(100% - 12px);
  }

  .hero__title {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  .hero__meta {
    font-size: 15px;
  }

  .gallery {
    padding: 56px 0;
  }

  .gallery__viewport {
    height: 300px;
  }

  .gallery__arrow {
    width: 38px;
    height: 38px;
  }

  .gallery__arrow--prev {
    left: 12px;
  }

  .gallery__arrow--next {
    right: 12px;
  }

  .stat-grid,
  .fact-grid,
  .overview-grid,
  .achieve-grid,
  .hood__destinations,
  .hood__market,
  .spaces__metrics,
  .form-grid,
  .subfields,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .tour__facts,
  .hood__scores {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts-row {
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
  }

  .facts-row dd {
    text-align: left;
  }

  .subscribe {
    padding: 80px var(--pad);
  }

  .subscribe__card {
    padding: 32px 24px 34px;
  }

  .subscribe__form {
    flex-direction: column;
  }

  .spaces__table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .spaces__featured {
    padding: 26px 22px 28px;
  }

  .legal {
    padding: 64px var(--pad) 70px;
  }

  .site-footer {
    padding-top: 54px;
  }
}
