/* ==================================================================
   Uptown Commons (2508–2516 N 6th St) — property identity.
   Loaded after styles.css. The shared framework (styles.css, main.js,
   availability.js, map.js) stays identical to 315 N 2nd St; everything
   that makes this site look like *this* project lives here.

   Theme: the Breneman Group family look, warmed for two restored stucco
   porch buildings. Ink, paper and limewash stucco; Breneman violet as the
   one accent (#9466FF on dark); Saira 800 condensed headlines in sentence
   case closed by the violet square period; Instrument Sans for everything
   else. Signature: a drawn porch elevation (deep eave, four piers, three
   porch floors) behind the two-phase section.
   ================================================================== */
:root {
  --paper: #F4F2EE;
  --paper-2: #EFE8DA;        /* warm limewash stucco */
  --paper-3: #E2DACB;
  --ink: #0B0A0D;
  --ink-2: #2A2830;
  --ink-soft: #5E5A6B;
  --river: #17151C;          /* raised dark panels */
  --river-deep: #0B0A0D;     /* banners, menu-dark, footer */
  --sage: #A7A2B6;
  --sage-soft: #DCCCFF;      /* selection */
  --sage-bar: #EFE8DA;       /* header, drawer, panels: stucco */
  --brass: #6400FF;          /* the accent token: Breneman violet */
  --brass-text: #5A00E6;
  --violet: #6400FF;
  --violet-lt: #9466FF;
  --line: rgba(11, 10, 13, .14);
  --line-light: rgba(244, 242, 238, .18);
  --white: #FFFFFF;

  --serif: "Saira", "Arial Narrow", "Helvetica Neue", sans-serif;
  --period: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}
::selection { background: var(--sage-soft); }
:focus-visible { outline-color: var(--violet); }

/* ---------- Type: heavy squared headlines, sentence case, square period ---------- */
h1, h2, h3, .display, .title { font-family: var(--serif); font-weight: 800; font-stretch: 75%; text-transform: none; letter-spacing: -.005em; line-height: .95; }
h3 { font-weight: 700; font-stretch: 87.5%; line-height: 1.05; }
.title--xl { font-size: clamp(48px, 7.2vw, 112px); }
.title--lg { font-size: clamp(40px, 5.4vw, 80px); }
.page-banner .title { font-size: clamp(48px, 11vw, 150px); }
.intro-title { font-size: clamp(40px, 7.4vw, 104px); }
.intro-title .sq { display: inline-block; }   /* styles.css makes every span in the intro title a block line */
.sq { display: inline-block; width: .16em; height: .16em; background: var(--violet); margin-left: .05em; overflow: hidden; text-indent: 1em; color: transparent; vertical-align: baseline; }
.on-dark .sq, .page-banner .sq, .page-hero .sq, .hero .sq, .band .sq, .site-footer .sq, .sig-phases .sq { background: var(--violet-lt); }
h1 em, h2 em, h3 em { font-style: normal; color: var(--violet); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--violet-lt); }
.lede, .copy-period { font-family: var(--sans); font-style: normal; }
.copy-lg { color: var(--ink-2); }
.dropcap::first-letter { font-family: var(--serif); font-weight: 800; font-stretch: 75%; color: var(--violet); }

/* Eyebrows: company style, a small violet square then spaced caps */
.eyebrow { font-family: var(--sans); font-style: normal; font-variant: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); gap: 10px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--violet); }
.eyebrow::after { content: none; }
.on-dark .eyebrow, .page-hero .eyebrow, .page-banner .eyebrow, .hero .eyebrow, .band .eyebrow { color: var(--paper) !important; }
.on-dark .eyebrow::before, .page-hero .eyebrow::before, .hero .eyebrow::before, .band .eyebrow::before { background: var(--violet-lt); }

/* Ornament: rule · violet square · rule (no Victorian scrolls here) */
.ornament { color: var(--ink); opacity: .9; }
.ornament svg { visibility: hidden; width: 12px; }
.ornament { background: linear-gradient(var(--violet), var(--violet)) center / 10px 10px no-repeat; }
.page-banner .ornament, .on-dark .ornament { color: var(--paper); background-image: linear-gradient(var(--violet-lt), var(--violet-lt)); }

/* ---------- Header / drawer / pills ---------- */
.site-header.is-solid, body.page-light .site-header { background: rgba(244, 242, 238, .97); }
.hbtn { font-weight: 600; letter-spacing: .12em; }
.hbtn--apply:hover .arr { background: var(--violet); color: #fff; }
.menu-nav a { font-family: var(--serif); font-weight: 700; font-stretch: 87.5%; font-size: clamp(26px, 2.6vw, 32px); }
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--violet); }
.menu-logo { width: 190px; }
.pill svg { color: var(--violet); }
.pill--dark svg { color: var(--violet-lt); }
.scroll-cue { color: var(--violet-lt); }

/* ---------- CTAs: violet with an ink arrow block ---------- */
.cta .t { background: var(--violet); color: #fff; font-weight: 600; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .06em; }
.cta:hover .t { background: #5200D6; }
.cta .a { background: var(--ink); color: #fff; }
.on-dark .cta .a, .band .cta .a, .hero .cta .a, .sig-phases .cta .a { background: #fff; color: var(--ink); }
.cta--dark .t { background: var(--ink); color: #fff; }
.cta--dark .a { background: var(--violet); color: #fff; }
.cta--dark:hover .t { background: var(--ink-2); }
.av-chips button[aria-pressed="true"], .av-view button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.carousel-btn { background: rgba(11, 10, 13, .45); color: #fff; }
.carousel-btn:hover { background: rgba(100, 0, 255, .85); }
.carousel-dots button[aria-current="true"]::after { background: var(--violet); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(100, 0, 255, .25); }
.field .req { color: var(--violet); }
.check input:checked + span { background: var(--ink); border-color: var(--ink); }

/* ---------- Surfaces ---------- */
.section--alt { background-color: var(--paper-2); background-image: radial-gradient(rgba(100, 0, 255, .09) 1.2px, transparent 1.3px); background-size: 28px 28px; }
.section--dark { background: var(--ink); }
.panel { background: var(--paper-2); outline: 1px solid rgba(11, 10, 13, .18); outline-offset: -14px; }
.panel::before, .panel::after { border-color: var(--violet); }
.wave-section { background: var(--ink); }
.wave-section::before { opacity: 1; background: radial-gradient(60% 80% at 80% 110%, rgba(100, 0, 255, .38), rgba(100, 0, 255, 0) 70%); }
.stat .num { font-family: var(--serif); font-weight: 800; font-stretch: 75%; }
.stat .lbl { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.feature svg, .on-dark .feature svg, .notice svg { color: var(--violet-lt); }
.feature svg { color: var(--violet); }
.notice { border-left-color: var(--violet); }
.figure figcaption { letter-spacing: .08em; background: linear-gradient(transparent, rgba(11, 10, 13, .72)); }
.frame::before { border-color: var(--violet); }

/* ---------- Page banners: ink with a violet glow ---------- */
.page-banner { background: var(--ink) radial-gradient(50% 120% at 50% 120%, rgba(100, 0, 255, .45), rgba(100, 0, 255, 0) 70%); }
.page-banner::after { content: none; }
.page-banner .sub { font-family: var(--sans); font-style: normal; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Home hero: the rendering, with name, accent line, status, one button ---------- */
.hero .hero-media::after { background: linear-gradient(180deg, rgba(11, 10, 13, .55) 0%, rgba(11, 10, 13, .05) 30%, rgba(11, 10, 13, .25) 55%, rgba(11, 10, 13, .88) 100%); }
.hero .hero-media img { object-position: 30% 55%; }
.lockup .word { font-family: var(--serif); font-weight: 800; font-stretch: 75%; text-transform: none; letter-spacing: -.005em; margin-right: 0; font-size: clamp(56px, 10vw, 150px); line-height: .9; }
.lockup .sub { font-family: var(--sans); font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: clamp(18px, 2vw, 26px); }
.lockup .sub::before, .lockup .sub::after { background: var(--violet-lt); opacity: 1; width: clamp(18px, 3vw, 40px); }
.lockup .est { font-weight: 600; letter-spacing: .3em; margin-right: -.3em; opacity: .9; margin-bottom: var(--s4); }
.hero-note-art { font-size: 12px; letter-spacing: .06em; color: rgba(244, 242, 238, .7); margin: var(--s4) 0 0; }

/* Inner-page heroes: rendering behind, title bottom-left */
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(11, 10, 13, .5) 0%, rgba(11, 10, 13, .1) 35%, rgba(11, 10, 13, .82) 100%); }
.page-hero .hero-content { text-align: left; }
.page-hero h1 { margin: 0 !important; font-size: clamp(48px, 7.6vw, 116px); max-width: 15ch; }
.art-note { position: absolute; left: var(--gutter); bottom: 14px; z-index: 1; margin: 0; font-size: 11px; letter-spacing: .08em; color: rgba(244, 242, 238, .75); }

/* ---------- Renderings carousel captions ---------- */
.carousel-slide { background: var(--paper-3); }
.carousel-caption { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); }

/* ---------- Signature: the porch elevation behind the two phases ---------- */
.sig-phases { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(72px, 10vw, 150px) 0; }
.sig-phases .porch-band { position: absolute; left: 50%; bottom: 0; width: min(1500px, 150vw); transform: translateX(-50%); color: var(--violet-lt); opacity: .26; pointer-events: none; }
.sig-phases .porch-band svg { width: 100%; height: auto; display: block; }
.sig-phases::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 70% at 50% 100%, rgba(100, 0, 255, .30), rgba(100, 0, 255, 0) 70%); pointer-events: none; }
.sig-phases .wrap { position: relative; }
.sig-phases .head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 80px); }
.sig-phases .head .copy-lg { color: rgba(244, 242, 238, .85); }
.phases { display: grid; gap: var(--s4); grid-template-columns: 1fr; max-width: 1080px; margin: 0 auto; }
@media (min-width: 860px) { .phases { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
.phase { background: rgba(23, 21, 28, .82); border: 1px solid rgba(148, 102, 255, .35); padding: clamp(28px, 4vw, 48px); backdrop-filter: blur(2px); }
.phase .num { font-family: var(--serif); font-weight: 800; font-stretch: 75%; font-size: clamp(72px, 9vw, 128px); line-height: .85; color: #fff; }
.phase .num small { display: block; margin-top: 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--violet-lt); }
.phase h3 { margin: var(--s4) 0 10px; font-size: clamp(26px, 2.6vw, 34px); color: #fff; }
.phase p { margin: 0; color: rgba(244, 242, 238, .82); }
.phase .tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s4); font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--paper); }
.phase .tag::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--violet-lt); }
.phase--next .tag::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--violet-lt); }

/* ---------- Partnership tiles ---------- */
.partners { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); max-width: 1080px; margin: 0 auto; }
@media (min-width: 760px) { .partners { grid-template-columns: 1fr 1fr; column-gap: var(--s6); } }
.partner { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.partner .role { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--violet); }
.partner h3 { margin: 10px 0 6px; font-size: clamp(24px, 2.4vw, 32px); }
.partner p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- Coming-soon availability panel ---------- */
.soon { display: grid; gap: var(--s5); grid-template-columns: 1fr; align-items: center; background: var(--paper-2); padding: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .soon { grid-template-columns: 6fr 5fr; } }
.soon figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.soon figure img { width: 100%; height: 100%; object-fit: cover; }
.soon h2 { margin-bottom: var(--s4); }
.soon ul { list-style: none; margin: 0 0 var(--s5); padding: 0; border-top: 1px solid var(--line); }
.soon li { display: flex; justify-content: space-between; gap: var(--s3); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.soon li b { font-weight: 600; }
.soon li span { color: var(--ink-soft); text-align: right; }

/* ---------- Press block (contact) ---------- */
.press { border-top: 4px solid var(--violet); background: var(--white); padding: clamp(24px, 3.5vw, 44px); }
.press h2 { margin-bottom: var(--s3); }
.press p { color: var(--ink-2); }

/* ---------- Footer + map details ---------- */
.site-footer { background: var(--ink); }
.site-footer h3 { color: var(--violet-lt); }
.site-footer h2 { font-family: var(--serif); font-weight: 800; font-stretch: 75%; }
.owner-logo { background: #fff; }
.contact-list .v { font-family: var(--serif); font-weight: 700; font-stretch: 87.5%; }
.contact-list a.v:hover { color: var(--violet); }
.contact-grid > * { min-width: 0; }
.contact-list .v { overflow-wrap: anywhere; }
.place h3 { font-family: var(--serif); font-weight: 700; font-stretch: 87.5%; }
.place .walk { color: var(--violet); }
.place.is-active h3 { color: var(--violet); }
.nbhd-map { outline-color: var(--violet); }
.nbhd-map .leaflet-tile-pane { filter: grayscale(1) brightness(1.03) contrast(.95); }
.nbhd-map .leaflet-popup-content-wrapper, .nbhd-map .leaflet-popup-tip { border-color: var(--violet); }
.pop-cat { color: var(--violet); }
.pop strong { font-family: var(--serif); font-weight: 800; font-stretch: 75%; }
.pop-walk { font-family: var(--sans); font-style: normal; }
.pin { border-color: var(--violet-lt); }
.leaflet-marker-icon:hover .pin, .leaflet-marker-icon:focus .pin { background: var(--violet); color: #fff; }
.pin-logo { width: 58px; height: 58px; padding: 4px; border-color: var(--violet); }
.pin-logo::after { border-color: var(--violet); }
.tl-item::before { border-color: var(--violet); }
.tl-item.is-key::before { background: var(--violet); }
.tl-year { font-family: var(--serif); font-weight: 800; font-stretch: 75%; color: var(--violet); }
.dbl-frame::after { border-color: rgba(244, 242, 238, .7); }
.sources { font-size: 14px; color: var(--ink-soft); }
.sources a { color: var(--ink-2); }

/* Small screens: keep the hero status line to one line, and the availability labels unbroken */
@media (max-width: 520px) {
  .lockup .est { font-size: 10.5px; letter-spacing: .16em; margin-right: -.16em; }
  .lockup .sub { font-size: 17px; }
}
.soon li b { white-space: nowrap; }
/* The framework's footer credit names Wikimedia photography; this site uses only its own renderings. */
.site-footer .credits { display: none; }
.facade-labels span { font-style: normal; font-weight: 600; letter-spacing: .04em; font-size: clamp(13px, 1.4vw, 17px); }
