:root {
  --ink: #061820;
  --ink-soft: #0d2832;
  --paper: #f3f0e7;
  --paper-2: #e9e4d8;
  --signal: #ff5a36;
  --signal-deep: #d93f20;
  --ice: #a9e8ff;
  --acid: #dfff4f;
  --white: #fffdf8;
  --muted: #687378;
  --line: rgba(6, 24, 32, .18);
  --radius: 2px;
  --display: "Space Grotesk", sans-serif;
  --serif: "Instrument Serif", serif;
  --body: "DM Sans", sans-serif;
  --shadow: 0 28px 90px rgba(0, 16, 24, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
button, input, select { font: inherit; }
a { color: inherit; }
img { display: block; width: 100%; }
em { font-family: var(--serif); font-weight: 400; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; background: var(--acid); padding: .75rem 1rem; color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(1.2rem, 4vw, 4rem); border-bottom: 1px solid rgba(255,255,255,.22); position: absolute; top: 0; left: 0; right: 0; z-index: 30; color: white; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; justify-self: start; }
.brand-signet { width: 45px; height: 45px; color: var(--white); filter: drop-shadow(0 4px 14px rgba(0,0,0,.2)); }
.brand-signet img { height: 100%; color: inherit; }
.brand-lockup { display: grid; gap: .16rem; text-transform: uppercase; font-family: var(--display); line-height: .84; }
.brand-lockup > span { color: rgba(255,255,255,.72); font-size: .58rem; font-weight: 700; letter-spacing: .31em; padding-left: .08em; }
.brand-lockup strong { color: var(--white); font-size: 1.03rem; font-weight: 700; letter-spacing: -.045em; }
.brand-lockup small { color: var(--acid); font: inherit; margin-left: .08em; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.4rem); }
nav a { color: white; text-decoration: none; font: 600 .78rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
nav a:hover { color: var(--acid); }
.header-cta { justify-self: end; display: inline-flex; gap: .8rem; align-items: center; color: white; text-decoration: none; font-weight: 700; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.65); padding-bottom: .2rem; }
.header-cta:hover { color: var(--acid); border-color: var(--acid); }
.nav-toggle { display: none; justify-self: end; background: none; border: 0; color: white; font-weight: 700; }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); grid-template-rows: 1fr auto; align-items: end; color: white; overflow: hidden; padding: clamp(8rem, 15vh, 11rem) clamp(1.2rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem); }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 54% center; z-index: -3; filter: saturate(.94) contrast(1.05); }
.hero-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,20,28,.95) 0%, rgba(4,20,28,.72) 40%, rgba(4,20,28,.1) 74%), linear-gradient(0deg, rgba(3,15,21,.82), transparent 52%); }
.hero-gridline { position: absolute; inset: 88px 0 0; z-index: -1; background-image: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 25% 100%; border-bottom: 1px solid rgba(255,255,255,.16); }
.hero-copy { align-self: center; max-width: 940px; padding-top: 3rem; }
.eyebrow { margin: 0 0 1.4rem; text-transform: uppercase; font: 700 .73rem/1 var(--display); letter-spacing: .16em; }
.eyebrow.light { color: rgba(255,255,255,.72); }
.hero h1, .section-heading h2, .manifesto-content h2, .rent-intro h2 { margin: 0; font: 600 clamp(4.5rem, 10.5vw, 10.5rem)/.78 var(--display); letter-spacing: -.085em; }
.hero h1 em, .section-heading h2 em, .manifesto-content h2 em, .rent-intro h2 em { font-size: 1.08em; letter-spacing: -.035em; }
.hero h1 em { color: var(--acid); }
.hero-lead { max-width: 610px; margin: 2.25rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.32rem); color: rgba(255,255,255,.74); }

.quick-search { align-self: end; background: var(--white); color: var(--ink); min-height: 180px; display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: stretch; box-shadow: var(--shadow); position: relative; margin-left: clamp(-5rem, -5vw, -2rem); }
.search-number { padding: 1.4rem; color: var(--signal); font: 700 .75rem var(--display); }
.search-content { padding: 2rem .5rem; align-self: center; }
.search-content label { display: block; font: 700 .75rem var(--display); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.search-content input { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; outline: 0; padding: .25rem 0 .55rem; color: var(--ink); font: 500 clamp(1.15rem, 2vw, 1.65rem) var(--display); }
.search-content input:focus { border-color: var(--signal); }
.search-content p { margin: .6rem 0 0; color: var(--muted); font-size: .76rem; }
.search-submit { width: 142px; border: 0; background: var(--signal); color: white; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 1.4rem; transition: background .2s; }
.search-submit:hover { background: var(--signal-deep); }
.search-submit span { font-weight: 700; font-size: .82rem; }
.search-submit b { align-self: flex-end; font-size: 2.5rem; font-weight: 400; }
.hero-meta { grid-column: 1 / 2; display: flex; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; padding-top: 2rem; }
.hero-meta div { display: flex; align-items: baseline; gap: .65rem; }
.hero-meta strong { font: 600 2.4rem/1 var(--display); letter-spacing: -.07em; }
.hero-meta span { color: rgba(255,255,255,.58); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.scroll-cue { justify-self: end; align-self: end; color: white; text-decoration: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.scroll-cue span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.45); margin-right: .6rem; border-radius: 50%; }

.brand-marquee { overflow: hidden; background: var(--acid); color: var(--ink); white-space: nowrap; border-bottom: 1px solid var(--ink); }
.brand-marquee div { padding: 1.05rem 0; font: 700 clamp(1rem, 2vw, 1.35rem)/1 var(--display); letter-spacing: .08em; word-spacing: 1.2rem; text-align: center; }
.brand-marquee i { color: var(--signal); font-style: normal; }

.finder-section { background: var(--ink); color: white; padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 6vw, 7rem); }
.finder-intro { display: grid; grid-template-columns: 130px 1fr minmax(260px, 380px); gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-index { font: 700 .7rem/1 var(--display); letter-spacing: .12em; color: var(--signal); align-self: start; padding-top: .55rem; }
.light-index { color: var(--acid); }
.section-heading { margin: 0; }
.section-heading h2, .rent-intro h2 { font-size: clamp(3.2rem, 7vw, 7.2rem); line-height: .86; }
.section-heading h2 em { color: var(--signal); }
.section-heading.inverse h2 em { color: var(--ice); }
.section-copy { margin: 0 0 .5rem; color: rgba(255,255,255,.6); font-size: 1.05rem; }
.finder-shell { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.finder-form, .finder-results { padding: clamp(1.6rem, 4vw, 3.8rem); }
.finder-form { border-right: 1px solid rgba(255,255,255,.2); }
.finder-form fieldset { border: 0; padding: 0 0 2.2rem; margin: 0 0 2.2rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.finder-form legend { width: 100%; font: 600 1.05rem var(--display); margin-bottom: 1.35rem; }
.finder-form legend span { color: var(--signal); margin-right: .65rem; font-size: .75rem; }
.budget-output { color: rgba(255,255,255,.55); font-size: .82rem; }
.budget-output output { display: block; color: white; font: 600 clamp(3rem, 6vw, 5.5rem)/.95 var(--display); letter-spacing: -.075em; margin: .3rem 0; }
.range { width: 100%; accent-color: var(--signal); margin-top: 1.2rem; }
.range-labels { display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: .73rem; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: block; text-align: center; padding: .78rem .5rem; border: 1px solid rgba(255,255,255,.2); cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.choice-grid input:focus-visible + span { outline: 3px solid var(--ice); }
.choice-grid input:checked + span { background: var(--acid); color: var(--ink); border-color: var(--acid); font-weight: 700; }
.field-label { display: block; font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: .5rem; }
select { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0; background: transparent; color: white; padding: .9rem 0; outline: 0; }
select option { color: var(--ink); }
.button { border: 0; padding: 1.05rem 1.2rem; font-weight: 700; cursor: pointer; display: inline-flex; justify-content: space-between; align-items: center; gap: .75rem; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.button-signal { background: var(--signal); color: white; }
.button-signal:hover { background: var(--signal-deep); }
.button-full { width: 100%; }
.finder-results { background: var(--ink-soft); display: flex; flex-direction: column; }
.results-topline { display: flex; justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.48); text-transform: uppercase; letter-spacing: .08em; }
.results-topline button { color: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: var(--acid); margin-right: .5rem; box-shadow: 0 0 0 5px rgba(223,255,79,.07); }
.result-kicker { margin: 3rem 0 1rem; color: var(--ice); font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.match-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: start; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.13); cursor: pointer; }
.match-card:hover h3 { color: var(--acid); }
.match-rank { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); font: 700 .72rem var(--display); }
.match-card h3 { margin: 0 0 .4rem; font: 600 clamp(1.4rem, 2vw, 2rem)/1 var(--display); letter-spacing: -.055em; transition: color .2s; }
.match-card p { margin: 0; color: rgba(255,255,255,.53); font-size: .82rem; }
.match-arrow { color: var(--signal); font-size: 1.6rem; }
.data-note { margin-top: auto; padding-top: 2rem; color: rgba(255,255,255,.35); font-size: .72rem; }

.image-manifesto { min-height: 92vh; position: relative; color: white; overflow: hidden; display: flex; align-items: center; padding: clamp(3rem, 7vw, 7rem); }
.image-manifesto > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 61%; z-index: -2; filter: saturate(.82) contrast(1.1); }
.manifesto-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,19,27,.9), rgba(4,19,27,.14) 67%), linear-gradient(0deg, rgba(4,19,27,.62), transparent 62%); }
.manifesto-content h2 { font-size: clamp(4rem, 9vw, 9rem); line-height: .82; }
.manifesto-content h2 em { color: var(--acid); }
.image-caption { position: absolute; right: clamp(1.2rem, 4vw, 4rem); bottom: 2rem; max-width: 310px; font-size: .8rem; color: rgba(255,255,255,.68); text-align: right; }
.image-caption span { display: block; margin-top: .4rem; color: var(--acid); font: 700 .62rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }

.map-section, .districts-section { padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 6vw, 7rem); }
.map-head { display: grid; grid-template-columns: 130px 1fr; gap: 2rem; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3.5rem; }
.split-heading > p { max-width: 450px; margin: 0 0 .4rem; color: var(--muted); }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 0 0 1.2rem 162px; }
.map-toolbar > span { margin-right: .8rem; color: var(--muted); font: 700 .68rem var(--display); text-transform: uppercase; letter-spacing: .12em; }
.map-filter { border: 1px solid var(--line); background: transparent; padding: .65rem 1rem; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.map-filter:hover { border-color: var(--ink); }
.map-filter.active { background: var(--ink); color: white; border-color: var(--ink); }
.atlas-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); align-items: stretch; }
.atlas-main { min-width: 0; background: var(--white); }
.atlas-gallery { height: 390px; display: grid; grid-template-columns: 1.4fr .75fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--paper); }
.atlas-shot { position: relative; overflow: hidden; margin: 0; min-height: 0; background: var(--ink); }
.atlas-shot-main { grid-row: 1 / 3; }
.atlas-shot img { height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.1); transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s; }
.atlas-shot:hover img { transform: scale(1.025); filter: saturate(.9) contrast(1.06); }
.atlas-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,20,28,.72), transparent 55%); pointer-events: none; }
.atlas-shot figcaption { position: absolute; z-index: 1; left: 1.1rem; bottom: 1rem; color: white; font: 600 1rem/1 var(--display); letter-spacing: -.02em; }
.atlas-shot figcaption span { display: block; margin-bottom: .45rem; color: var(--acid); font-size: .62rem; letter-spacing: .13em; }
.district-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.district-tile { min-height: 112px; position: relative; display: grid; align-content: space-between; gap: .55rem; padding: 1rem; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); color: var(--ink); text-align: left; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.district-tile:hover { background: var(--ice); transform: translateY(-2px); z-index: 1; }
.district-tile.active { background: var(--signal); color: white; }
.district-tile > span { font: 700 .7rem/1 var(--display); letter-spacing: .1em; color: var(--signal); }
.district-tile.active > span { color: var(--acid); }
.district-tile strong { font: 600 clamp(1rem, 1.4vw, 1.25rem)/1 var(--display); letter-spacing: -.05em; }
.tile-score { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.tile-score::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #a9b3b6; }
.district-tile[data-level="mid"] .tile-score::before { background: #5c9eb2; }
.district-tile[data-level="high"] .tile-score::before { background: var(--signal); }
.district-tile.active .tile-score { color: rgba(255,255,255,.76); }
.district-tile.active .tile-score::before { background: var(--acid); }
.atlas-note { margin: 0; padding: 1rem; color: var(--muted); font-size: .75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.district-panel { background: var(--signal); color: white; padding: clamp(1.7rem, 4vw, 3.5rem); position: relative; overflow: hidden; }
.panel-kicker { margin: 0; font: 700 .68rem var(--display); text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.72); }
.panel-number { position: absolute; right: -1rem; top: -2rem; font: 700 11rem/1 var(--display); color: rgba(255,255,255,.09); }
.district-panel h3 { position: relative; margin: 5rem 0 1.3rem; font: 600 clamp(2.7rem, 5vw, 5rem)/.9 var(--display); letter-spacing: -.075em; }
.district-panel > p:not(.panel-kicker) { color: rgba(255,255,255,.74); }
.district-metrics { margin: 2.2rem 0; }
.district-metrics div { display: flex; justify-content: space-between; gap: 1rem; padding: .82rem 0; border-top: 1px solid rgba(255,255,255,.3); }
.district-metrics dt { color: rgba(255,255,255,.62); }
.district-metrics dd { margin: 0; font-weight: 700; text-align: right; }
.text-link { border: 0; background: none; color: inherit; padding: 0; font-weight: 700; text-decoration: none; cursor: pointer; }

.rent-section { min-height: 760px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 7vw, 8rem); background: #143fc3; color: white; position: relative; overflow: hidden; }
.rent-orbit { position: absolute; right: -3vw; top: -2vw; font: 700 clamp(8rem, 19vw, 20rem)/.8 var(--display); color: rgba(255,255,255,.07); letter-spacing: -.1em; }
.rent-intro { position: relative; }
.rent-intro h2 { margin: 3rem 0 1.7rem; font-size: clamp(3.5rem, 6.5vw, 7rem); }
.rent-intro h2 em { color: var(--acid); }
.rent-intro > p:not(.eyebrow) { max-width: 510px; color: rgba(255,255,255,.68); }
.source-link { display: inline-block; color: white; margin-top: 1.4rem; text-underline-offset: 5px; font-weight: 700; }
.rent-calculator { position: relative; background: var(--white); color: var(--ink); padding: clamp(1.7rem, 4vw, 3.5rem); box-shadow: var(--shadow); }
.rent-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rent-fields label { font: 700 .72rem var(--display); text-transform: uppercase; letter-spacing: .09em; }
.rent-fields label span { display: flex; align-items: center; margin-top: .55rem; border-bottom: 1px solid var(--line); padding-right: .8rem; font: 500 1rem var(--body); }
.rent-fields input { width: 100%; border: 0; background: transparent; padding: .8rem 0; outline: 0; font-size: 1.2rem; }
.rent-result { margin: 2.4rem 0 1.8rem; border-top: 5px solid var(--signal); padding: 2rem 0 1.2rem; }
.rent-result span, .rent-result small { display: block; color: var(--muted); }
.rent-result strong { display: block; margin: .45rem 0; font: 600 clamp(4rem, 8vw, 7.8rem)/.9 var(--display); letter-spacing: -.09em; color: var(--signal); }
.rent-disclaimer { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .75rem; }
.rent-disclaimer > span { min-width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); }
.rent-disclaimer p { margin: 0; }

.districts-section .section-index { margin-bottom: 3rem; }
.districts-section .section-heading h2 { font-size: clamp(3.5rem, 7vw, 7rem); }
.district-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 370px; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.district-card { position: relative; overflow: hidden; padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; background: var(--paper); transition: transform .2s; }
.district-card:hover { z-index: 2; transform: scale(.985); }
.card-wide { grid-column: span 2; }
.photo-card { color: white; }
.photo-card > img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; }
.district-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,20,28,.82), rgba(4,20,28,.05)); z-index: -1; }
.card-blue { background: var(--ice); }
.card-signal { background: var(--signal); color: white; }
.card-ink { background: var(--ink); color: white; }
.card-index { align-self: flex-end; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; font: 700 .7rem var(--display); }
.district-card p { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; opacity: .7; }
.district-card h3 { margin: .5rem 0 1rem; font: 600 clamp(2.2rem, 4vw, 4.6rem)/.9 var(--display); letter-spacing: -.075em; }
.district-card span { font-weight: 700; font-size: .82rem; }

.next-steps { background: var(--ink); color: white; padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 6vw, 7rem); }
.next-steps .section-index { margin-bottom: 3rem; }
.next-steps .section-heading h2 { font-size: clamp(3.5rem, 7vw, 7rem); }
.next-steps .section-heading h2 em { color: var(--acid); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.guide-grid a { min-height: 330px; padding: 1.8rem; color: white; text-decoration: none; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.2); transition: background .2s, color .2s; }
.guide-grid a:last-child { border-right: 0; }
.guide-grid a:hover { background: var(--acid); color: var(--ink); }
.guide-grid span { color: var(--signal); font: 700 .72rem var(--display); }
.guide-grid h3 { margin: auto 0 .8rem; font: 600 1.8rem/1 var(--display); letter-spacing: -.05em; }
.guide-grid p { color: rgba(255,255,255,.55); }
.guide-grid a:hover p { color: rgba(6,24,32,.65); }
.guide-grid b { font-size: .78rem; }

footer { background: var(--signal); color: white; padding: clamp(4rem, 7vw, 7rem) clamp(1.2rem, 6vw, 7rem) 2rem; display: grid; grid-template-columns: 1fr auto; gap: 3rem; }
.footer-topline { grid-column: 1 / -1; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; }
.footer-brand { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.7rem); }
.footer-brand > img { width: clamp(72px, 8vw, 112px); color: white; }
.footer-brand > span { display: grid; gap: .25rem; font-family: var(--display); text-transform: uppercase; line-height: .82; }
.footer-brand small { font-size: clamp(.7rem, 1.2vw, 1rem); letter-spacing: .32em; }
.footer-brand strong { font-size: clamp(2.4rem, 5vw, 5.2rem); letter-spacing: -.07em; }
.footer-brand b { color: var(--acid); }
.footer-side { display: grid; gap: 2rem; justify-items: end; }
.project-credit { display: inline-flex; align-items: center; gap: .85rem; padding: .7rem 1rem .7rem .7rem; border: 1px solid rgba(255,255,255,.38); color: white; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.project-credit:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); transform: translateY(-2px); }
.project-cat { display: grid; place-items: center; width: 48px; height: 48px; padding: .5rem; background: var(--white); }
.project-cat img { width: 100%; height: 100%; object-fit: contain; }
.project-credit > span:last-child { display: grid; gap: .12rem; }
.project-credit small { font: 700 .57rem/1 var(--display); text-transform: uppercase; letter-spacing: .14em; opacity: .68; }
.project-credit strong { font: 600 1rem/1.15 var(--display); }
.project-credit b { color: var(--acid); font-weight: 500; }
.project-credit:hover b { color: var(--signal); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: .7rem 2rem; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.35); font-size: .72rem; color: rgba(255,255,255,.68); }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { text-underline-offset: .24em; }

.legal-page { background: var(--paper); }
.legal-page .site-header { position: relative; background: var(--ink); }
.legal-page .site-header nav { justify-self: end; grid-column: 3; }
.legal-page .site-header nav a { color: var(--white); }
.legal-shell { max-width: 1180px; margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 6vw, 4rem) clamp(5rem, 10vw, 10rem); }
.legal-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .4fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.legal-kicker { margin: 0 0 1.2rem; color: var(--signal); font: 700 .72rem/1 var(--display); text-transform: uppercase; letter-spacing: .16em; }
.legal-hero h1 { margin: 0; font: 600 clamp(4.3rem, 10vw, 9rem)/.78 var(--display); letter-spacing: -.085em; }
.legal-hero h1 em { color: var(--signal); }
.legal-lead { margin: 0 0 .45rem; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.legal-content { max-width: 790px; padding-top: clamp(3rem, 6vw, 5.5rem); }
.legal-content section { padding: 0 0 2.8rem; margin: 0 0 2.8rem; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { margin: 0 0 1.1rem; font: 600 clamp(1.8rem, 3vw, 2.5rem)/1 var(--display); letter-spacing: -.055em; }
.legal-content h3 { margin: 1.8rem 0 .65rem; font: 600 1.05rem/1.2 var(--display); }
.legal-content p { margin: 0 0 1rem; }
.legal-content ul { margin: .7rem 0 1rem; padding-left: 1.2rem; }
.legal-content a { color: var(--signal-deep); text-underline-offset: .2em; }
.legal-address { font-style: normal; }
.legal-note { padding: 1.1rem 1.2rem; background: var(--paper-2); border-left: 4px solid var(--signal); }
.legal-updated { color: var(--muted); font-size: .8rem; }

dialog { width: min(650px, calc(100% - 2rem)); border: 0; border-radius: 0; padding: clamp(1.8rem, 5vw, 4rem); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.42); }
dialog::backdrop { background: rgba(6,24,32,.76); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 1rem; top: 1rem; width: 40px; height: 40px; border: 0; background: var(--signal); color: white; font-size: 1.5rem; cursor: pointer; }
dialog h2 { margin: 0 0 1rem; font: 600 clamp(3rem, 7vw, 6rem)/.9 var(--display); letter-spacing: -.075em; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 2rem 0; }
.dialog-grid div { background: var(--paper); padding: 1rem; }
.dialog-grid span { display: block; color: var(--muted); font-size: .75rem; }
.dialog-grid strong { display: block; margin-top: .25rem; }
.dialog-note { color: var(--muted); font-size: .8rem; }
.toast { position: fixed; left: 50%; bottom: -120px; transform: translateX(-50%); background: var(--acid); color: var(--ink); padding: 1rem 1.3rem; z-index: 60; box-shadow: var(--shadow); font-weight: 700; transition: bottom .3s; }
.toast.show { bottom: 1.5rem; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav, .header-cta { display: none; }
  nav.open { display: flex; position: absolute; top: 88px; left: 0; right: 0; background: var(--ink); padding: 1.5rem; flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
  .hero-copy { max-width: 760px; }
  .quick-search { margin: 3rem 0 0; max-width: 760px; }
  .hero-meta { grid-column: 1; }
  .scroll-cue { display: none; }
  .finder-intro, .map-head { grid-template-columns: 90px 1fr; }
  .finder-intro .section-copy { grid-column: 2; }
  .finder-shell, .atlas-layout, .rent-section { grid-template-columns: 1fr; }
  .finder-form { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .map-toolbar { margin-left: 122px; }
  .atlas-gallery { height: 460px; }
  .rent-orbit { top: 1rem; }
}

@media (max-width: 700px) {
  .site-header { height: 72px; padding-inline: 1rem; }
  .brand-signet { width: 39px; height: 39px; }
  .brand-lockup strong { font-size: .9rem; }
  .brand-lockup > span { font-size: .52rem; }
  nav.open { top: 72px; }
  .hero { min-height: 920px; padding: 7.5rem 1rem 1.4rem; align-items: start; }
  .hero-gridline { inset: 72px 0 0; background-size: 50% 100%; }
  .hero-wash { background: linear-gradient(0deg, rgba(4,20,28,.95), rgba(4,20,28,.34) 72%); }
  .hero-copy { padding-top: 2rem; }
  .hero h1 { font-size: clamp(4.1rem, 20vw, 6rem); line-height: .82; }
  .hero-lead { font-size: 1rem; }
  .quick-search { grid-template-columns: auto 1fr; min-height: 0; margin-top: 2rem; }
  .search-content { padding: 1.4rem .5rem 1.4rem 0; }
  .search-submit { grid-column: 1 / -1; width: 100%; min-height: 64px; flex-direction: row; align-items: center; padding: 1rem 1.3rem; }
  .search-submit b { font-size: 1.8rem; }
  .hero-meta { gap: 1.2rem; justify-content: space-between; }
  .hero-meta div { display: block; }
  .hero-meta strong { display: block; font-size: 2rem; }
  .hero-meta span { font-size: .6rem; }
  .brand-marquee div { text-align: left; width: max-content; }
  .finder-intro, .map-head { display: block; }
  .section-index { margin-bottom: 2.5rem; }
  .section-heading h2, .manifesto-content h2, .rent-intro h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .section-copy { margin-top: 2rem; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .finder-form, .finder-results { padding: 1.5rem; }
  .image-manifesto { min-height: 740px; padding: 1rem; align-items: flex-end; padding-bottom: 7rem; }
  .image-manifesto > img { object-position: 52% center; }
  .image-caption { left: 1rem; right: 1rem; text-align: left; }
  .split-heading { flex-direction: column; align-items: flex-start; }
  .map-toolbar { margin-left: 0; }
  .map-toolbar > span { width: 100%; margin-bottom: .3rem; }
  .atlas-gallery { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px; }
  .atlas-shot-main { grid-column: 1 / -1; grid-row: auto; }
  .district-index { grid-template-columns: 1fr 1fr; }
  .district-tile { min-height: 104px; }
  .district-panel h3 { margin-top: 3rem; }
  .rent-section { min-height: 0; padding: 5rem 1rem; }
  .rent-fields { grid-template-columns: 1fr; }
  .rent-result strong { font-size: clamp(4rem, 18vw, 6rem); }
  .district-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .card-wide { grid-column: span 1; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid a { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .guide-grid a:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr; }
  .footer-side { justify-items: start; }
  .footer-links { margin-top: 0; }
  .footer-meta { flex-direction: column; gap: .5rem; }
  .legal-page .site-header { grid-template-columns: 1fr auto; }
  .legal-page .site-header nav { display: flex; grid-column: 2; }
  .legal-page .site-header nav a { font-size: .63rem; white-space: nowrap; }
  .legal-hero { grid-template-columns: 1fr; }
  .legal-lead, .legal-content { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
