/* Phase 3 city field files: real places, ordinary routines, honest trade-offs. */
.city-depth-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(540px,66vw,730px); padding: 100px 0 42px; isolation: isolate; overflow: hidden; background: #0e1b2d; }
.city-depth-media { position: absolute; inset: 0; z-index: -2; }
.city-depth-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--city-depth-position,center); }
.city-depth-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(7,16,33,.74),rgba(7,16,33,.32) 68%,rgba(7,16,33,.18)),linear-gradient(0deg,rgba(7,16,33,.82),transparent 62%); }
.city-depth-media span { position: absolute; right: max(24px,calc((100vw - 1160px)/2)); top: 26px; padding: 6px 9px; border-radius: 5px; color: #fff; background: rgba(7,16,33,.52); font-size: .72rem; }
.city-depth-hero .shell { position: relative; z-index: 1; }
.city-depth-hero h1 { color: #fff; font-size: clamp(4.5rem,11vw,9rem); line-height: .94; letter-spacing:0; text-shadow: 0 2px 16px rgba(0,0,0,.14); }
.city-depth-hero .guide-dek { max-width: 760px; color: #f3f6fb; font-size: clamp(1.05rem,1.8vw,1.28rem); line-height: 1.55; }
.city-depth-hero .eyebrow { color: #e6ffab; }
.city-depth-hero .breadcrumb-trail, .city-depth-hero .breadcrumb-trail a, .city-depth-hero .breadcrumb-trail span { color: #fff; }
.city-depth-hero .city-facts { margin-top: 36px; }
.city-depth-hero .city-facts div { background: rgba(8,19,40,.6); border-color: rgba(255,255,255,.32); backdrop-filter: blur(10px); }
.city-depth-hero .city-facts span { color: #d1dcec; }
.city-depth-hero .city-facts strong { color: #e6ffab; }

.city-depth-heading { max-width: 780px; margin-bottom: 30px; }
.city-depth-heading h2 { margin: 8px 0 12px; font-size: clamp(2.25rem,4.4vw,4rem); line-height: 1.06; letter-spacing:0; }
.city-depth-heading p:last-child { max-width: 680px; color: #4a5a70; font-size: 1rem; line-height: 1.65; }
.city-depth-intro { padding-top: clamp(62px,8vw,104px); }
.city-tuesday { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid #d4dce8; border-radius: 18px; background: #d4dce8; }
.city-tuesday article { min-height: 230px; padding: clamp(24px,3vw,36px); background: #f8fafc; }
.city-tuesday time { display: block; margin-bottom: 26px; color: #58720d; font-size: .82rem; font-weight: 600; letter-spacing: .08em; }
.city-tuesday p { margin: 0; color: #2c3b51; font-size: 1.02rem; line-height: 1.65; }
.city-fit-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.city-fit-split article { padding: clamp(24px,3vw,34px); border-radius: 18px; background: #eaf4f6; }
.city-fit-split article:nth-child(2) { background: #f5f1ed; }
.city-fit-split h3 { margin: 0 0 18px; font-size: 1.45rem; }
.city-fit-split ul { margin: 0; padding-left: 20px; }
.city-fit-split li { margin: 9px 0; color: #324057; line-height: 1.55; }
.city-research--depth .city-research-grid { display: block; max-width: 940px; }
.city-research--depth .financial-snapshot { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 35px; }
.city-research--depth .financial-snapshot article:nth-child(n) { grid-column: auto; min-height: 170px; }
.city-research--depth .resident-inline strong { font-size: .95rem; }

.city-depth-main { padding-top: clamp(60px,8vw,100px); background: #fff; }
.city-neighborhood-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: clamp(24px,4vw,50px); align-items: start; }
.city-neighborhood-grid { display: grid; gap: 14px; }
.city-neighborhood-card { padding: 20px 22px; border: 1px solid #cbd6e4; border-radius: 17px; background: #fff; cursor: pointer; transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.city-neighborhood-card:hover { transform: translateY(-2px); border-color: #7b92ac; }
.city-neighborhood-card.is-selected { border-color: #263c59; box-shadow: 0 10px 30px rgba(7,24,47,.09); }
.city-neighborhood-card button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: 0; background: transparent; color: #111e33; text-align: left; font: inherit; font-size: 1.32rem; font-weight: 600; cursor: pointer; }
.city-neighborhood-card button:focus-visible { outline: 3px solid #91b5ea; outline-offset: 4px; border-radius: 4px; }
.city-neighborhood-card button span:last-child { color: #58720d; }
.city-neighborhood-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 24px; margin: 18px 0 0; }
.city-neighborhood-card dl div:last-child { grid-column: 1/-1; }
.city-neighborhood-card dt { margin-bottom: 3px; color: #607086; font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.city-neighborhood-card dd { margin: 0; color: #2d3e56; font-size: .93rem; line-height: 1.5; }
.city-map-wrap { position: sticky; top: 96px; overflow: hidden; border: 1px solid #cad6e5; border-radius: 18px; background: #edf3fb; }
.city-map-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 15px; align-items: baseline; padding: 17px 18px; }
.city-map-heading strong { font-size: 1.05rem; }
.city-map-heading span { color: #52657e; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.city-orientation-map { position: relative; height: 470px; overflow: hidden; background: linear-gradient(155deg,#dbe9e9,#c8dbe6 65%,#c3d5dc); }
.city-map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(31,72,103,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(31,72,103,.11) 1px,transparent 1px); background-size: 20% 20%; }
.city-map-north { position: absolute; top: 17px; right: 18px; z-index: 2; padding: 5px 8px; border-radius: 5px; background: #fff; color: #23415c; font-size: .8rem; font-weight: 600; }
.city-map-context { position: absolute; bottom: 16px; left: 16px; z-index: 2; max-width: calc(100% - 32px); padding: 7px 9px; border-radius: 5px; background: rgba(255,255,255,.86); color: #40556d; font-size: .76rem; }
.city-map-pin { position: absolute; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; transform: translate(-50%,-50%); border: 2px solid #fff; border-radius: 50%; background: #284d71; color: #fff; box-shadow: 0 5px 16px rgba(10,34,56,.25); cursor: pointer; }
.city-map-pin span { font-size: .96rem; font-weight: 600; }
.city-map-pin[aria-pressed="true"] { width: 54px; height: 54px; background: #16364f; outline: 4px solid #cbe681; }
.city-map-pin:focus-visible { outline: 4px solid #5f8bbc; outline-offset: 4px; }
.city-map-wrap > p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin: 0; padding: 12px 16px; color: #43536b; font-size: .77rem; line-height: 1.45; }
.city-map-wrap a { color: #194b8e; }
.city-depth-lower { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; margin-top: clamp(64px,8vw,110px); }
.city-depth-lower > article { padding: clamp(26px,4vw,44px); border-radius: 22px; }
.city-surprises { background: #112037; color: #fff; }
.city-surprises .eyebrow { color: #d5f291; }
.city-surprises h2, .city-scout h2 { max-width: 500px; margin: 9px 0 24px; font-size: clamp(2rem,3vw,2.8rem); line-height: 1.1; }
.city-surprises h2 { color: #fff; }
.city-surprises ol { margin: 0; padding-left: 25px; }
.city-surprises li { margin: 16px 0; padding-left: 7px; color: #edf2f9; line-height: 1.65; }
.city-scout { background: #edf3f9; }
.city-scout > p:not(.eyebrow) { color: #40516b; line-height: 1.55; }
.city-scout ol { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; }
.city-scout li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; padding: 15px; border: 1px solid #ccd8e7; border-radius: 12px; background: #fff; }
.city-scout li b { color: #526c0e; font-size: .78rem; }
.city-scout li span { color: #304158; font-size: .94rem; line-height: 1.5; }
.city-composite { max-width: 980px; margin: clamp(64px,8vw,100px) auto 0; padding: clamp(26px,5vw,50px); border-left: 5px solid #a4cb39; background: #f7f9f4; }
.city-composite > span { color: #51691e; font-size: .77rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.city-composite h2 { margin: 16px 0; font-size: clamp(1.7rem,3vw,2.7rem); }
.city-composite p { max-width: 760px; margin-bottom: 0; color: #304158; font-size: 1.07rem; line-height: 1.7; }
.city-depth-next { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 35px 0 0; }
.city-depth-next p { margin: 0; color: #33445a; font-size: 1.05rem; font-weight: 600; }

@media (max-width: 980px) {
  .city-neighborhood-layout, .city-depth-lower { grid-template-columns: 1fr; }
  .city-map-wrap { position: static; }
  .city-orientation-map { height: 400px; }
}
@media (max-width: 700px) {
  .city-depth-hero { min-height: 620px; padding: 90px 0 30px; }
  .city-depth-hero::before { background: linear-gradient(0deg,rgba(7,16,33,.93),rgba(7,16,33,.36) 85%); }
  .city-depth-hero h1 { font-size: clamp(4rem,17vw,6rem); }
  .city-depth-media span { right: 15px; top: 15px; }
  .city-tuesday, .city-fit-split, .city-research--depth .financial-snapshot { grid-template-columns: 1fr; }
  .city-tuesday article { min-height: 0; }
  .city-neighborhood-card dl { grid-template-columns: 1fr; }
  .city-neighborhood-card dl div:last-child { grid-column: auto; }
  .city-orientation-map { height: 330px; }
  .city-depth-next { align-items: stretch; flex-direction: column; }
  .city-depth-next .button { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .city-neighborhood-card { transition: none; }
  .city-neighborhood-card:hover { transform: none; }
}
