/* ============================================================
   1935 W Trade — luxury editorial
   Ivory / charcoal / gold · Cinzel display · Josefin Sans body
   ============================================================ */

:root {
  --ivory: #FAF8F5;
  --ivory-deep: #F2EEE7;
  --ink: #1C1B19;
  --ink-soft: #43403B;
  --muted: #6B6560;
  --hairline: #E3DDD3;
  --gold: #A9812F;
  --gold-deep: #8C6A22;
  /* Small gold TEXT on the ivory backgrounds. --gold itself only reaches
     ~3.1:1 there, under WCAG AA; this darker step measures 5.1–5.6:1.
     Decorative gold rules and icons keep --gold (3:1 graphics threshold). */
  --gold-ink: #7E5F1E;
  --night: #141311;
  --night-soft: #201E1B;
  --night-hairline: #34312C;
  --night-text: #EDE8DF;
  --night-muted: #A39C90;

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Josefin Sans', 'Avenir Next', sans-serif;

  --container: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 300;
  background: var(--ink); color: var(--ivory);
  padding: 10px 18px; text-decoration: none; border-radius: 0 0 4px 4px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px 14px;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--nav {
  background: transparent; color: var(--ink);
  border-color: currentColor;
  padding: 11px 22px 9px; font-size: 12px;
}
.btn--nav:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.nav--overlay .btn--nav { color: #fff; }
.nav--overlay .btn--nav:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.nav--overlay {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  color: #fff;
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 76px;
  display: flex; align-items: center; gap: 40px;
}
.nav__brand {
  display: flex; align-items: baseline; gap: 8px;
  text-decoration: none; margin-right: auto;
}
.nav__brand-no {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: .06em;
}
.nav__brand-street {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted);
}
.nav--overlay .nav__brand-street { color: rgba(255,255,255,.75); }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 12.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding: 6px 0; position: relative;
}
.nav--overlay .nav__links a { color: rgba(255,255,255,.85); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right .25s var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.nav__toggle span {
  display: block; width: 26px; height: 1.5px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 12px 24px 28px;
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}
.nav__mobile a {
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: 12px 0; color: var(--ink);
}
.nav__mobile .btn { margin-top: 12px; text-align: center; }
.nav--open .nav__mobile { display: flex; }
.nav--open { background: var(--ivory); color: var(--ink); border-bottom-color: var(--hairline); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  text-align: center;
  padding: 140px 24px 0;
}
.hero__backdrop { position: absolute; inset: 0; background: var(--night); }
/* Full-bleed hero photograph (optional — see hero.backdrop in property.json) */
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
/* Scrim: the sunset sky is bright, so this carries the white headline and
   gold price to AA contrast. Verified against the composited pixels. */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(12,11,9,.80) 0%,
      rgba(12,11,9,.62) 26%,
      rgba(12,11,9,.58) 52%,
      rgba(12,11,9,.72) 78%,
      rgba(12,11,9,.90) 100%),
    radial-gradient(80% 55% at 50% 42%, rgba(12,11,9,.42) 0%, transparent 78%);
}
.hero__skyline {
  position: absolute; inset: 0;
  background:
    /* dusk glow */
    radial-gradient(120% 85% at 50% 108%, rgba(169,129,47,.34) 0%, rgba(169,129,47,.10) 38%, transparent 62%),
    /* skyline silhouette */
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 34%),
    /* buildings */
    linear-gradient(90deg,
      transparent 0 6%, rgba(255,255,255,.045) 6% 11%, transparent 11% 15%,
      rgba(255,255,255,.03) 15% 19%, transparent 19% 27%,
      rgba(255,255,255,.055) 27% 33%, transparent 33% 38%,
      rgba(255,255,255,.04) 38% 45%, transparent 45% 52%,
      rgba(255,255,255,.06) 52% 57%, transparent 57% 64%,
      rgba(255,255,255,.035) 64% 70%, transparent 70% 76%,
      rgba(255,255,255,.05) 76% 82%, transparent 82% 88%,
      rgba(255,255,255,.03) 88% 93%, transparent 93% 100%),
    linear-gradient(180deg, #191714 0%, #12100E 55%, #0D0C0A 100%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero__content { position: relative; max-width: 880px; margin: 0 auto; }
.hero__eyebrow {
  font-size: 13px; font-weight: 400;
  letter-spacing: .42em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 30px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 1.08;
  letter-spacing: .04em;
  margin-bottom: 30px;
}
.hero__sub {
  font-size: 18px; font-weight: 300;
  color: rgba(255,255,255,.82);
  max-width: 640px; margin: 0 auto 26px;
}
.hero__price {
  font-family: var(--font-display);
  font-size: 21px; letter-spacing: .14em;
  /* 1.5 is the ceiling before the red channel clips (169 x 1.5 = 253.5) and
     the hue shifts. Needed for AA against the brightest sky in the backdrop:
     at 1.35 the price measured 4.31:1 on a 1440-wide viewport. */
  color: var(--gold); filter: brightness(1.5);
  margin-bottom: 42px;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  position: relative;
  list-style: none;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0;
  margin-top: auto;
  padding: 34px 0 38px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stats li {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 44px;
}
.hero__stats li + li { border-left: 1px solid rgba(255,255,255,.16); }
.hero__stat-val {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hero__stat-key {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
}

/* ---------- section scaffolding ---------- */
section { padding: 110px 0; }
/* The nav is fixed and ~77px tall; without this an anchor jump parks the
   section's eyebrow and heading underneath it. */
section[id] { scroll-margin-top: 96px; }
.hero[id] { scroll-margin-top: 0; }
.section-head { max-width: 660px; margin-bottom: 64px; }
.section-head__eyebrow {
  font-size: 12px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 18px;
}
/* On the dark sections the same eyebrow needs the brighter gold instead. */
.section-head--light .section-head__eyebrow {
  color: var(--gold); filter: brightness(1.5);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: .02em;
}
.section-head__sub { margin-top: 20px; color: var(--muted); font-size: 17px; }
.section-head--light h2 { color: var(--night-text); }
.section-head--light .section-head__sub { color: var(--night-muted); }
.lede { font-size: 19px; line-height: 1.75; color: var(--ink-soft); }

/* ---------- intro ---------- */
.intro { padding-top: 130px; }
.intro__grid {
  display: grid; grid-template-columns: 220px 1fr; gap: 60px;
  align-items: start;
}
.intro__label { display: flex; align-items: center; gap: 16px; padding-top: 14px; }
.intro__label .rule { width: 48px; height: 1px; background: var(--gold); }
.intro__label p {
  font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.intro__body h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.16; letter-spacing: .015em;
  margin-bottom: 34px;
}
.intro__body .lede { margin-bottom: 22px; }
.intro__body p:not(.lede) { color: var(--muted); max-width: 60ch; }
.intro__body em { font-style: italic; }

/* ---------- gallery ---------- */
.gallery { background: var(--ivory-deep); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery__item {
  position: relative; display: block; width: 100%;
  padding: 0; overflow: hidden;
  cursor: pointer;
}
.gallery__item--wide { grid-column: span 2; }
.ph {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end;
  padding: 22px;
  transition: transform .5s var(--ease);
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* readability scrim over real photography */
.ph--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(15, 13, 10, .62) 100%);
  z-index: 1;
}
.ph span { position: relative; z-index: 2; }
.gallery__item--wide .ph { aspect-ratio: auto; height: 100%; min-height: 320px; }
.gallery__item:hover .ph { transform: scale(1.03); }
.ph span {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  border-left: 2px solid var(--gold);
  padding-left: 12px; line-height: 1.5;
  text-align: left;
}
/* Neutral placeholder: shown for tiles awaiting photography, and as the
   backdrop if an image fails to load. Listing-agnostic by design. */
.ph { background: linear-gradient(160deg, #6B6155 0%, #4E463C 55%, #2F2A23 100%); }
.gallery__note { margin-top: 28px; color: var(--muted); font-size: 15px; font-style: italic; }

/* ---------- specs ---------- */
.specs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.specs__col h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 17px; letter-spacing: .1em;
  padding-bottom: 14px; margin-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.specs__col dl div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.specs__col dt { color: var(--muted); font-size: 15px; }
.specs__col dd { font-weight: 500; font-size: 15px; text-align: right; }

/* ---------- performance ---------- */
.perf { background: var(--night); color: var(--night-text); }
.perf__tiles {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 72px;
}
.perf__tiles li {
  background: var(--night-soft);
  border: 1px solid var(--night-hairline);
  padding: 30px 26px 26px;
  display: flex; flex-direction: column;
}
.perf__tile-val {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.perf__tile-key {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); filter: brightness(1.4);
  margin-top: 10px;
}
.perf__tile-note { font-size: 13.5px; color: var(--night-muted); margin-top: 6px; }

.chart {
  background: var(--ivory);
  color: var(--ink);
  padding: 38px 42px 30px;
  position: relative;
}
.chart__title {
  font-size: 14px; font-weight: 500; letter-spacing: .06em;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.chart__title-total { color: var(--muted); font-weight: 300; font-size: 13px; letter-spacing: .04em; }
.chart__plot { width: 100%; }
.chart__plot svg { display: block; width: 100%; height: auto; }
.chart__tip {
  position: absolute; z-index: 5;
  background: var(--ink); color: var(--ivory);
  font-size: 12.5px; line-height: 1.45;
  padding: 8px 12px; border-radius: 3px;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap;
}
.chart__tip strong { display: block; font-weight: 500; }
.chart__table { margin-top: 18px; font-size: 14px; }
.chart__table summary {
  cursor: pointer; color: var(--muted);
  font-size: 13px; letter-spacing: .08em;
}
.chart__table table { width: 100%; max-width: 360px; border-collapse: collapse; margin-top: 14px; }
.chart__table th, .chart__table td {
  text-align: left; padding: 7px 12px 7px 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
}
.chart__table td:last-child, .chart__table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.perf__disclaimer {
  margin-top: 40px;
  font-size: 13px; line-height: 1.65;
  color: var(--night-muted);
  max-width: 760px;
}

/* ---------- tax advantage ---------- */
.tax { background: var(--ivory-deep); }
.tax .section-head { margin-bottom: 28px; }
.tax__statute {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-bottom: 26px; margin-bottom: 30px;
  border-bottom: 1px solid var(--hairline);
}
.tax__badge {
  display: inline-block;
  background: var(--ink); color: var(--ivory);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 7px 14px 6px;
}
.tax__cite {
  font-size: 12.5px; letter-spacing: .1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.tax__lede { max-width: 74ch; margin-bottom: 52px; }

.tax__grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 34px 56px;
  margin-bottom: 48px;
}
.tax__point { display: flex; gap: 18px; align-items: flex-start; }
.tax__num {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500;
  color: var(--gold-ink);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.tax__point-title {
  font-weight: 500; font-size: 16.5px;
  margin-bottom: 5px;
}
.tax__point-detail {
  font-size: 15px; line-height: 1.65;
  color: var(--muted);
}
.tax__note {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 20px;
  max-width: 78ch;
  font-size: 13px; line-height: 1.7;
  color: var(--muted);
}

/* ---------- financing ---------- */
.fin { background: var(--ivory); }
.fin__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.fin__intro .section-head { margin-bottom: 34px; }
.fin__intro .lede { margin-bottom: 20px; }
.fin__intro p:not(.lede) { color: var(--muted); }
.fin__points { list-style: none; display: flex; flex-direction: column; }
.fin__points li {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.fin__points li:first-child { border-top: 1px solid var(--hairline); }
.fin__points svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--gold);
  margin-top: 3px;
}
.fin__points strong { display: block; font-weight: 500; font-size: 16.5px; margin-bottom: 4px; }
.fin__points span { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- location ---------- */
.loc { background: var(--ivory-deep); }
.loc__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.loc__col h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 19px;
  letter-spacing: .06em;
  margin-bottom: 22px;
}
.loc__col ul { list-style: none; }
.loc__col li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-soft); font-size: 16px;
}
.loc__col li::before {
  content: "";
  position: absolute; left: 2px; top: 24px;
  width: 14px; height: 1px; background: var(--gold);
}

/* ---------- contact ---------- */
.contact { background: var(--night); color: var(--night-text); text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .section-head { margin: 0 auto 46px; }
.contact__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- contact cards (agent, lender) ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
  width: 100%;
  margin: 0 auto 50px;
}
.agent {
  display: flex; flex-direction: column; align-items: stretch; gap: 24px;
  text-align: left;
  padding: 34px 34px 32px;
  background: var(--night-soft);
  border: 1px solid var(--night-hairline);
}
.agent__head { display: flex; align-items: center; gap: 24px; }
.agent__ident { min-width: 0; }
.agent__portrait {
  flex-shrink: 0;
  width: 150px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.agent__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent__name {
  font-family: var(--font-display);
  /* Scales down in the 2-up layout so longer names stay on one line. */
  font-size: clamp(21px, 1.85vw, 27px); font-weight: 500; letter-spacing: .03em;
  color: #fff;
}
.agent__title {
  font-size: 11.5px; letter-spacing: .19em; text-transform: uppercase;
  color: var(--gold); filter: brightness(1.5);
  margin-top: 8px;
}
.agent__blurb {
  font-size: 15.5px; line-height: 1.65;
  color: var(--night-text);
}
.agent__blurb + .agent__blurb { margin-top: 12px; }
/* Push credentials to the card floor so both cards align despite unequal
   blurb lengths. */
.agent__body { display: flex; flex-direction: column; flex: 1; }
.agent__meta { margin-top: auto; padding-top: 18px; }
.agent__contact {
  list-style: none;
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 7px;
}
.agent__contact a {
  font-size: 15px; color: var(--night-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(237,232,223,.28);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.agent__contact a:hover { color: #fff; border-bottom-color: #fff; }
.agent__meta {
  font-size: 12.5px; line-height: 1.6;
  color: var(--night-muted);
}

/* ---------- footer ---------- */
.footer {
  background: #0D0C0A; color: var(--night-muted);
  padding: 56px 0 48px;
  font-size: 12.5px; line-height: 1.7;
}
.footer__row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 28px; margin-bottom: 28px;
  border-bottom: 1px solid var(--night-hairline);
}
.footer__brand {
  font-family: var(--font-display); font-size: 19px; color: var(--night-text);
}
.footer__brand span {
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--night-muted); margin-left: 6px;
}
.footer__eho { width: 30px; height: 30px; color: var(--night-muted); }
.footer__brokerage {
  color: var(--night-text);
  max-width: 860px; margin-bottom: 14px;
  font-size: 13px; letter-spacing: .01em;
}
.footer__legal { max-width: 860px; margin-bottom: 18px; }
.footer__copy { color: #6E675D; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(13,12,10,.94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__stage { width: min(78vw, 1040px); }
.lightbox__stage .ph {
  aspect-ratio: 4 / 3;
  align-items: flex-end;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__caption {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: 14px; letter-spacing: .08em;
  text-align: center; max-width: 80vw;
}
.lightbox__close {
  position: absolute; top: 26px; right: 30px;
  width: 48px; height: 48px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close svg { width: 26px; height: 26px; }
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s;
}
.lightbox__arrow svg { width: 30px; height: 30px; }
.lightbox__arrow--prev { left: 22px; }
.lightbox__arrow--next { right: 22px; }
.lightbox__arrow:hover, .lightbox__close:hover { opacity: .65; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ph, .gallery__item:hover .ph { transition: none; transform: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .specs__grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .perf__tiles { grid-template-columns: 1fr 1fr; }
  .fin__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__stats li { padding: 0 26px; }
}

/* The horizontal nav needs ~1050px to seat brand + links + CTA without
   crowding; collapse to the menu button above that, independent of the
   820px layout breakpoint below. */
@media (max-width: 1050px) {
  .nav__links, .nav .btn--nav { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; gap: 24px; }
  .intro__label { padding-top: 0; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .loc__cols { grid-template-columns: 1fr; gap: 44px; }
  section { padding: 84px 0; }
}

@media (max-width: 900px) {
  .people { grid-template-columns: 1fr; gap: 18px; }
  .tax__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  .agent { text-align: center; padding: 30px 24px; }
  .agent__head { flex-direction: column; gap: 20px; align-items: center; }
  .agent__portrait { width: 190px; }
  .agent__contact { align-items: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero__stats { gap: 22px 0; padding: 26px 0 30px; }
  .hero__stats li { padding: 0 18px; }
  .hero__stats li + li { border-left: 0; }
  .hero__stat-val { font-size: 24px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .specs__grid { grid-template-columns: 1fr; }
  .perf__tiles { grid-template-columns: 1fr; }
  .chart { padding: 26px 20px 22px; }
  .lightbox__stage { width: 92vw; }
  .lightbox__arrow--prev { left: 4px; }
  .lightbox__arrow--next { right: 4px; }
}


/* ---- Impact Advantage ecosystem link (added when this page moved to
   impactadvantage.net/p/1935-west-trade) ---- */
.ia-band{
  background:var(--night);color:var(--night-text);
  padding:56px 0 72px;
  border-top:1px solid var(--night-hairline);
}
/* The contact section directly above is centred on the same ground, so this
   block matches it — it should read as part of the page, not bolted on. */
.ia-band__inner{
  max-width:var(--container);margin:0 auto;padding:0 24px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.ia-band__kicker{
  font-family:var(--font-body);font-size:11px;letter-spacing:.18em;
  text-transform:uppercase;color:var(--gold);margin:0 0 14px;
}
.ia-band__line{
  font-family:var(--font-display);font-size:clamp(22px,3vw,32px);
  line-height:1.2;margin:0;max-width:22ch;
}
.ia-band__body{
  font-family:var(--font-body);font-size:16px;line-height:1.65;
  color:var(--night-muted);margin:16px 0 0;max-width:56ch;
}
.ia-band__cta{
  display:inline-flex;align-items:center;gap:10px;margin-top:28px;
  font-family:var(--font-body);font-size:13px;letter-spacing:.14em;
  text-transform:uppercase;text-decoration:none;
  color:var(--night);background:var(--gold);
  padding:13px 24px;border:1px solid var(--gold);
  transition:background-color .2s var(--ease),color .2s var(--ease),transform .2s var(--ease);
}
.ia-band__cta:hover{background:transparent;color:var(--gold);transform:translateY(-1px)}
.ia-band__cta:active{transform:translateY(0);background:var(--gold-deep);border-color:var(--gold-deep);color:var(--night)}
.ia-band__cta:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.ia-band__cta span{transition:transform .2s var(--ease)}
.ia-band__cta:hover span{transform:translateX(3px)}
@media (prefers-reduced-motion:reduce){
  .ia-band__cta,.ia-band__cta span{transition:none}
}

/* NMLS Consumer Access link in the lender card. --gold-ink is the AA-safe
   gold step this stylesheet already reserves for small text on ivory. */
.agent__meta a{
  color:var(--gold-ink);
  text-decoration:underline;
  text-underline-offset:2px;
  transition:color .2s var(--ease);
}
.agent__meta a:hover{color:var(--ink)}
.agent__meta a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
