/* Jacob Realty Group NYC (thejacobrealty.com): the website's own design (web/templates/jacob/).
   Editorial and calm: deep navy ink and warm brass on a warm off-white page, a display serif for headlines
   (Instrument Serif) and a clean sans for everything else (Inter), photographs first.
   Shared behaviour scripts keep their own class names and are restyled here: the photo gallery
   (web/js/gallery.js + web/css/gallery.css: .pg-*, .pgv-*), a building's availability table
   (web/js/building-units.js: data-bu-*), the neighborhood map (web/js/nbmap.js + web/css/nbmap.css: .nb-*).
   Mobile first; every tap target is at least 44px; motion stops under prefers-reduced-motion. */

:root {
  --ink: #0d1b2e;
  --ink-2: #172840;
  --ink-3: #24364f;
  --paper: #f6f2ea;
  --paper-2: #eee7da;
  --paper-3: #e4dac8;
  --card: #fffdf8;
  --white: #fff;
  --text: #121b29;
  --text-2: #435064;
  --text-3: #59626f;
  --line: rgba(13, 27, 46, .12);
  --line-2: rgba(13, 27, 46, .22);
  --brass: #b08d57;
  --brass-hover: #c29f69;
  --brass-text: #7d5f30;
  --brass-soft: #ece0c8;
  --brass-light: #d6b77f;
  --night: #0a1322;
  --night-2: #111d31;
  --ok: #2c6a4c;
  --ok-soft: #e0ebe3;
  --later: #85550f;
  --later-soft: #f3e5c9;
  --danger: #9d2f27;
  --danger-soft: #f6e1dd;
  --focus: #1a3c7a;

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --r-xs: 4px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --pill: 999px;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --section: clamp(64px, 9vw, 128px);
  --shadow-1: 0 1px 2px rgba(13, 27, 46, .05), 0 6px 18px rgba(13, 27, 46, .06);
  --shadow-2: 0 2px 6px rgba(13, 27, 46, .07), 0 22px 48px rgba(13, 27, 46, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .28s;
}
@media (min-width: 1100px) { :root { --header-h: 76px; } }

/* ─────────────── Base ─────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* clip, never hidden: hidden makes <body> a scroll box of its own and the sticky header scrolls away (iOS). */
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  background: var(--paper); color: var(--text);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}
main { flex: 1 0 auto; display: block; }
img, svg, video { display: block; max-width: 100%; }
svg.lg-icon { display: inline-block; flex-shrink: 0; vertical-align: -.125em; fill: currentColor; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--brass-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.jr-dark { --focus: var(--brass-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.jr-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 600; transition: top .2s; }
.jr-skip:focus { top: 12px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ─────────────── Type ─────────────── */
.jr-display, .jr-h1, .jr-h2, .jr-h3, .jr-serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
.jr-display { font-size: clamp(2.75rem, 7vw, 6rem); line-height: .98; }
.jr-h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.02; }
.jr-h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.04; }
.jr-h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; }
.jr-display em, .jr-h1 em, .jr-h2 em, .jr-h3 em { font-style: italic; }
.jr-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text);
}
.jr-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.jr-eyebrow--plain::before { display: none; }
.jr-dark .jr-eyebrow { color: var(--brass-light); }
.jr-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 38em; }
.jr-muted { color: var(--text-2); }
.jr-small { font-size: 14px; }
.jr-dark .jr-lede, .jr-dark .jr-muted { color: rgba(255, 255, 255, .78); }

/* ─────────────── Layout ─────────────── */
.jr-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.jr-wrap--narrow { max-width: 820px; }
.jr-section { padding-block: var(--section); }
.jr-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.jr-pb { padding-bottom: var(--section); }
.jr-section + .jr-section--rule { border-top: 1px solid var(--line); }
.jr-sand { background: var(--paper-2); }
.jr-dark { background: var(--ink); color: #fff; }
.jr-shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.jr-shead > div { max-width: 760px; }
.jr-shead .jr-h2 { margin-top: 14px; }
.jr-shead .jr-lede { margin-top: 14px; }
.jr-shead__tools { display: flex; align-items: center; gap: 12px; }
.jr-grid { display: grid; gap: clamp(28px, 3vw, 40px) clamp(18px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .jr-grid--3, .jr-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .jr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jr-split { display: grid; gap: clamp(36px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .jr-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .jr-split--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

.jr-gap { margin-top: 20px; }
.jr-gap-lg { margin-top: 36px; }
.jr-cta { display: grid; gap: 28px; align-items: end; }
.jr-cta .jr-h2 { margin-top: 14px; max-width: 16em; }
.jr-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .jr-cta { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

.jr-footer__top, .jr-footer__letter-in, .jr-cta, .jr-band__words, .jr-notice, .jr-empty, .jr-form, .jr-field, .jr-toolbar,
.jr-nbbar__in, .jr-feature, .jr-feature__w, .jr-write, .jr-lead__body > div, .jr-act__btns, .jr-menu__cta { min-width: 0; }
.jr-footer__top, .jr-footer__letter-in, .jr-cta, .jr-band__words, .jr-feature, .jr-toolbar, .jr-nbbar__in { grid-template-columns: minmax(0, 1fr); }

/* ─────────────── Buttons & links ─────────────── */
.jr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--pill);
  font: 600 15px/1.1 var(--sans); letter-spacing: .005em; white-space: nowrap; text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .15s var(--ease);
}
.jr-btn:active { transform: scale(.98); }
.jr-btn svg { transition: transform var(--dur) var(--ease); }
.jr-btn:hover svg { transform: translateX(3px); }
.jr-btn--ink { background: var(--ink); color: #fff; }
.jr-btn--ink:hover { background: var(--ink-3); }
.jr-btn--brass { background: var(--brass); color: var(--ink); }
.jr-btn--brass:hover { background: var(--brass-hover); }
.jr-btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.jr-btn--line:hover { border-color: var(--ink); background: rgba(13, 27, 46, .03); }
.jr-btn--light { background: #fff; color: var(--ink); }
.jr-btn--light:hover { background: var(--paper); }
.jr-btn--ghost { border-color: rgba(255, 255, 255, .42); color: #fff; background: transparent; }
.jr-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.jr-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.jr-btn--block { display: flex; width: 100%; }
.jr-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.jr-arrow:hover { color: var(--brass-text); text-decoration-color: var(--brass-text); }
.jr-arrow svg { transition: transform var(--dur) var(--ease); }
.jr-arrow:hover svg { transform: translateX(3px); }
.jr-dark .jr-arrow { color: #fff; text-decoration-color: var(--brass-light); }
.jr-dark .jr-arrow:hover { color: var(--brass-light); }
.jr-iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), opacity var(--dur);
}
.jr-iconbtn:hover { border-color: var(--ink); }
.jr-iconbtn:disabled { opacity: .35; cursor: default; }
.jr-text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.jr-text-link:hover { text-decoration-color: var(--brass); }
.jr-dark .jr-text-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }

/* ─────────────── Brand ─────────────── */
.jr-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); }
.jr-mark { width: 30px; height: 35px; flex: none; }
.jr-mark__arch { fill: var(--mark-arch, var(--ink)); }
.jr-mark__inner { stroke: var(--mark-line, var(--brass)); stroke-width: 1.3; fill: none; }
.jr-mark__j { stroke: var(--mark-j, #c9a66b); stroke-width: 4; fill: none; }
.jr-brand__word { display: flex; flex-direction: column; line-height: 1; }
.jr-brand__name { font-family: var(--serif); font-size: 27px; letter-spacing: .01em; line-height: .9; }
.jr-brand__sub { margin-top: 5px; font: 600 9.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--brass-text); white-space: nowrap; }
.jr-dark .jr-brand { color: #fff; --mark-arch: transparent; --mark-line: var(--brass-light); --mark-j: #f6f2ea; }
.jr-dark .jr-brand__sub { color: var(--brass-light); }
@media (min-width: 1100px) { .jr-mark { width: 34px; height: 40px; } .jr-brand__name { font-size: 30px; } }

/* ─────────────── Header ─────────────── */
.jr-header {
  position: sticky; top: 0; z-index: 60; background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.jr-header.is-scrolled, .jr-header.is-open { border-bottom-color: var(--line); box-shadow: 0 8px 28px rgba(13, 27, 46, .06); }
.jr-header__bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.jr-nav { display: none; }
.jr-header__actions { display: none; }
.jr-menu-btn {
  margin-left: auto; margin-right: -10px; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; border-radius: var(--pill);
  background: transparent; color: var(--ink); font-weight: 600; font-size: 14px;
}
.jr-menu-btn__lines { position: relative; width: 22px; height: 14px; }
.jr-menu-btn__lines span { position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform var(--dur) var(--ease), opacity .2s, top var(--dur) var(--ease); }
.jr-menu-btn__lines span:nth-child(1) { top: 0; }
.jr-menu-btn__lines span:nth-child(2) { top: 6px; }
.jr-menu-btn__lines span:nth-child(3) { top: 12px; }
.jr-menu-btn[aria-expanded="true"] .jr-menu-btn__lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.jr-menu-btn[aria-expanded="true"] .jr-menu-btn__lines span:nth-child(2) { opacity: 0; }
.jr-menu-btn[aria-expanded="true"] .jr-menu-btn__lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* The phone menu: the whole screen under the header, scrolling on its own (a short phone reaches Apply). */
.jr-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 59;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.jr-menu:focus { outline: none; }
.jr-menu.is-entering { animation: jr-menu-in .32s var(--ease) both; }
@keyframes jr-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.jr-menu__links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink);
}
.jr-menu__links a[aria-current="page"] { color: var(--brass-text); }
.jr-menu__links a svg { color: var(--brass-text); }
.jr-menu__cta { display: grid; gap: 10px; margin-top: 28px; }
.jr-menu__contact { margin-top: 28px; display: grid; gap: 6px; font-size: 15px; color: var(--text-2); }
.jr-menu__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
html.jr-lock { overflow: hidden; }

@media (min-width: 1100px) {
  .jr-menu-btn, .jr-menu { display: none !important; }
  .jr-nav { display: flex; align-items: center; gap: clamp(18px, 1.9vw, 30px); margin-left: auto; }
  .jr-nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px;
    font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color var(--dur) var(--ease);
  }
  .jr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
  .jr-nav a:hover { color: var(--ink); }
  .jr-nav a:hover::after, .jr-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .jr-nav a[aria-current="page"] { color: var(--ink); }
  .jr-header__actions { display: flex; align-items: center; gap: 8px; margin-left: clamp(8px, 1.5vw, 24px); padding-left: clamp(16px, 1.6vw, 24px); border-left: 1px solid var(--line); }
  .jr-signin { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
  .jr-signin:hover { color: var(--ink); }
}

/* ─────────────── Media placeholders ─────────────── */
.jr-media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2) url("../img/placeholder.svg") center / cover no-repeat; }
.jr-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.jr-sand .jr-media { background-color: var(--paper-3); }
.jr-sand .jr-media__empty { color: #6b5128; }
.jr-media--43 { aspect-ratio: 4 / 3; }
.jr-media--32 { aspect-ratio: 3 / 2; }
.jr-media--54 { aspect-ratio: 5 / 4; }
.jr-media__empty { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); }
.jr-badge {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  min-height: 26px; padding: 0 10px; border-radius: var(--pill);
  background: rgba(255, 253, 248, .94); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 1px 2px rgba(13, 27, 46, .12);
}
.jr-badge--tl { left: 12px; top: 12px; }
.jr-badge--tr { right: 12px; top: 12px; }
.jr-badge--bl { left: 12px; bottom: 12px; }
.jr-badge--ink { background: var(--ink); color: #fff; }
.jr-badge--later { background: var(--later-soft); color: var(--later); }

/* ─────────────── Cards ─────────────── */
.jr-card { display: flex; flex-direction: column; gap: 16px; color: var(--text); }
.jr-card:hover .jr-media > img { transform: scale(1.035); }
.jr-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.jr-card__price { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.jr-card__price--from { font-size: 24px; }
.jr-card__price small { font-family: var(--sans); font-size: 13px; color: var(--text-3); letter-spacing: 0; margin-left: 2px; }
.jr-card__meta { font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.jr-card__title { margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.jr-card__sub { margin-top: 2px; font-size: 14px; color: var(--text-3); }
.jr-card__more { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--brass-text); }
.jr-card:hover .jr-card__title { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.jr-card:focus-visible { outline-offset: 6px; border-radius: var(--r); }

/* Featured: one lead apartment large, two beside it (a phone stacks them). */
.jr-featured { display: grid; gap: clamp(32px, 4vw, 48px) clamp(18px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
.jr-card--lead .jr-media { aspect-ratio: 4 / 3; }
.jr-lead__body { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.jr-lead__title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.08; color: var(--ink); }
.jr-lead__price { font-family: var(--serif); font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; color: var(--ink); white-space: nowrap; }
.jr-lead__price small { font-family: var(--sans); font-size: 14px; color: var(--text-3); margin-left: 2px; }
.jr-lead__facts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--text-2); }
.jr-lead__facts span { display: inline-flex; align-items: center; gap: 8px; }
.jr-lead__facts svg { color: var(--brass-text); }
.jr-card--lead:hover .jr-lead__title { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
@media (min-width: 600px) and (max-width: 899px) { .jr-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jr-card--lead { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .jr-featured { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .jr-card--lead { grid-row: span 2; }
  .jr-card--lead .jr-media { aspect-ratio: auto; flex: 1; min-height: 420px; }
}

/* A row that scrolls sideways (a phone swipes; wider screens use the arrows). */
.jr-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 320px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
}
.jr-rail::-webkit-scrollbar { display: none; }
.jr-rail > * { scroll-snap-align: start; min-width: 0; }
@media (min-width: 700px) { .jr-rail { grid-auto-columns: calc((100% - 2 * var(--gutter) - 40px) / 2.6); } }
@media (min-width: 1100px) { .jr-rail { grid-auto-columns: calc((100% - 2 * var(--gutter) - 72px) / 4); gap: 24px; } }

/* ─────────────── Home: hero ─────────────── */
.jr-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(86svh, 820px); overflow: hidden; background: var(--ink); color: #fff; }
.jr-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; animation: jr-hero-zoom 18s var(--ease) both; }
@keyframes jr-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.jr-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 19, 34, .5) 0%, rgba(10, 19, 34, .22) 26%, rgba(10, 19, 34, .5) 52%, rgba(10, 19, 34, .92) 100%),
    linear-gradient(90deg, rgba(10, 19, 34, .55) 0%, rgba(10, 19, 34, 0) 72%);
}
.jr-hero__inner { padding-block: clamp(96px, 16vh, 180px) clamp(28px, 5vw, 64px); }
.jr-hero__eyebrow { color: #e9d3a4; text-shadow: 0 1px 14px rgba(5, 10, 20, .55); }
.jr-hero .jr-display { margin-top: 18px; max-width: 12.5em; text-wrap: balance; }
.jr-hero__sub { margin-top: 20px; max-width: 34em; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .86); }

.jr-search {
  margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 0; grid-template-columns: 1fr 1fr;
  padding: 8px; border-radius: var(--r-lg); background: var(--card); color: var(--text); box-shadow: 0 24px 60px rgba(4, 10, 20, .35);
  max-width: 980px;
}
.jr-search__field { position: relative; display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r); min-width: 0; }
.jr-search__field:first-child { grid-column: 1 / -1; }
.jr-search__field + .jr-search__field { border-top: 1px solid var(--line); }
.jr-search__field:nth-child(3) { border-left: 1px solid var(--line); }
.jr-search__label { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); }
.jr-search select { width: 100%; min-height: 40px; padding: 0 26px 0 0; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230d1b2e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 14px no-repeat; appearance: none; -webkit-appearance: none; font-size: 16px; font-weight: 500; color: var(--ink); text-overflow: ellipsis; }
.jr-search select:focus-visible { outline: none; }
.jr-search__field:focus-within { background: var(--paper); }
.jr-search__go { grid-column: 1 / -1; margin-top: 6px; min-height: 52px; }
@media (min-width: 760px) {
  .jr-search { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: stretch; border-radius: var(--pill); padding: 8px 8px 8px 14px; }
  .jr-search__field { padding: 8px 22px; border-radius: var(--pill); }
  .jr-search__field:first-child { grid-column: auto; }
  .jr-search__field + .jr-search__field { border-top: 0; border-left: 1px solid var(--line); }
  .jr-search__go { grid-column: auto; margin: 0; min-height: 60px; padding: 0 30px; }
}

/* The figures under the hero (counted by the platform). */
.jr-facts { border-bottom: 1px solid var(--line); }
.jr-facts__row { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--line); }
.jr-facts__row[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.jr-facts__row[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr-fact { padding: 22px 16px; background: var(--paper); }
.jr-facts__row[data-n="5"] .jr-fact:last-child { grid-column: 1 / -1; }
.jr-fact:first-child, .jr-facts__row:not([data-n="3"]) .jr-fact:nth-child(odd) { padding-left: 0; }
.jr-fact__n { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); }
.jr-fact__l { margin-top: 6px; font-size: 13px; color: var(--text-2); }
@media (min-width: 760px) {
  .jr-facts__row[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-facts__row[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jr-facts__row[data-n="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .jr-fact, .jr-facts__row:not([data-n="3"]) .jr-fact:nth-child(odd) { padding: 34px 28px 30px; }
  .jr-fact:first-child, .jr-facts__row:not([data-n="3"]) .jr-fact:first-child { padding-left: 0; }
}

/* Tabs (bedroom counts on the home page). */
.jr-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: var(--pill); background: var(--paper-2); }
.jr-tab { min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--pill); background: transparent; color: var(--text-2); font-weight: 600; font-size: 14.5px; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.jr-tab:hover { color: var(--ink); }
.jr-tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.jr-tabpanel + .jr-tabpanel { margin-top: 48px; }
.js .jr-tabpanel + .jr-tabpanel { margin-top: 0; }

/* Neighborhood mosaic. */
.jr-mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
.jr-tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink-2); color: #fff; isolation: isolate; }
.jr-tile:first-child { grid-column: span 2; grid-row: span 2; }
.jr-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.jr-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 19, 34, 0) 35%, rgba(10, 19, 34, .82) 100%); }
.jr-tile:hover img { transform: scale(1.04); }
.jr-tile__words { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.jr-tile__words > span { display: block; }
.jr-tile__b { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); }
.jr-tile__n { margin-top: 4px; font-family: var(--serif); font-size: 24px; line-height: 1.05; }
.jr-tile:first-child .jr-tile__n { font-size: clamp(30px, 3.4vw, 44px); }
.jr-tile__t { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .82); max-width: 32em; }
@media (min-width: 900px) { .jr-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; } .jr-tile__words { left: 22px; right: 22px; bottom: 20px; } }

.jr-railnav { display: none; gap: 8px; }
@media (min-width: 1100px) { .jr-railnav { display: flex; } }
.jr-quick { display: flex; flex-wrap: wrap; gap: 10px; }
.jr-quick a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--card); color: var(--ink); font-weight: 500; font-size: 15px; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.jr-quick a:hover { border-color: var(--ink); }
.jr-quick svg { color: var(--brass-text); }

/* Posts. */
.jr-post { display: flex; flex-direction: column; gap: 14px; }
.jr-post__title { font-family: var(--serif); font-size: 26px; line-height: 1.12; color: var(--ink); }
.jr-post:hover .jr-post__title { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.jr-post:hover .jr-media > img { transform: scale(1.035); }
.jr-post__ex { font-size: 15px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jr-post__by { font-size: 13px; color: var(--text-3); }
.jr-feature { display: grid; gap: 24px; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.jr-feature .jr-post__title { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.jr-feature__w { display: grid; gap: 14px; justify-items: start; }
.jr-feature__w .jr-post__title { margin-top: 2px; }
@media (min-width: 900px) { .jr-feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 56px; } }

/* Pillars. */
.jr-pillars { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--line); border-block: 1px solid var(--line); }
.jr-pillar { padding: 32px 0; background: var(--paper); }
.jr-pillar__n { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--brass-text); }
.jr-pillar h3 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--ink); }
.jr-pillar p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }
@media (min-width: 760px) { .jr-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jr-pillar { padding: 36px 32px 40px 0; } .jr-pillar:nth-child(even) { padding-left: 32px; } }
@media (min-width: 1100px) { .jr-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } .jr-pillar, .jr-pillar:nth-child(even) { padding: 40px 28px 44px; } .jr-pillar:first-child { padding-left: 0; } }

/* Landlord band and other dark bands with a photograph. */
.jr-band { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ink); color: #fff; overflow: hidden; }
.jr-band__img { position: relative; min-height: 280px; }
.jr-band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jr-band__words { padding: clamp(48px, 7vw, 104px) var(--gutter); display: grid; align-content: center; justify-items: start; gap: 20px; }
.jr-band__words .jr-h2 { max-width: 13em; }
.jr-band__list { display: grid; gap: 12px; padding: 0; list-style: none; color: rgba(255, 255, 255, .84); }
.jr-band__list li { display: flex; gap: 12px; align-items: flex-start; }
.jr-band__list svg { margin-top: 4px; color: var(--brass-light); }
@media (min-width: 900px) { .jr-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .jr-band__img { min-height: 560px; } .jr-band__words { padding-inline: clamp(40px, 6vw, 96px); max-width: 720px; } }

/* Newsletter + notices. */
.jr-letter { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .jr-letter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.jr-letter__form { display: flex; gap: 8px; padding: 6px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); max-width: 520px; }
.jr-letter__form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--pill); background: transparent; color: #fff; font-size: 16px; }
.jr-letter__form input::placeholder { color: rgba(255, 255, 255, .62); }
.jr-letter__form input:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 0; }
.jr-letter__ok { font-size: 15px; color: rgba(255, 255, 255, .9); }
.jr-letter__err { margin-top: 8px; font-size: 14px; color: #f3b4ab; }
.jr-notice { display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); }
.jr-notice--center { justify-items: center; text-align: center; }
.jr-notice .jr-h3 { max-width: 20em; }
.jr-notice p { color: var(--text-2); max-width: 36em; }

/* ─────────────── Page heads ─────────────── */
.jr-phead { padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.jr-phead .jr-h1 { margin-top: 16px; max-width: 14em; text-wrap: balance; }
.jr-phead .jr-lede { margin-top: 18px; }
.jr-phead--wide .jr-h1 { max-width: 20em; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.08; }
.jr-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; color: var(--text-3); }
.jr-crumbs a { position: relative; display: inline-flex; align-items: center; min-height: 32px; color: var(--text-2); }
.jr-crumbs a::after { content: ""; position: absolute; inset: -6px -4px; }
.jr-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.jr-crumbs--light, .jr-crumbs--light a { color: rgba(255, 255, 255, .82); }
.jr-crumbs--light a:hover { color: #fff; }
.jr-crumbs [aria-current] { color: var(--ink); font-weight: 600; max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─────────────── Filters (listings, buildings) ─────────────── */
.jr-toolbar { display: grid; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.jr-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--pill); background: var(--paper-2); justify-self: start; }
.jr-switch a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--pill); font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.jr-switch a:hover { color: var(--ink); }
.jr-switch a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }
.jr-filters { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jr-filters__field { display: grid; gap: 6px; min-width: 0; }
.jr-filters__field--wide { grid-column: 1 / -1; }
.jr-filters__field span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.jr-select, .jr-input, .jr-textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background-color: var(--card); color: var(--text); font-size: 16px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.jr-select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230d1b2e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 14px no-repeat; text-overflow: ellipsis; }
.jr-textarea { min-height: 128px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.jr-select:hover, .jr-input:hover, .jr-textarea:hover { border-color: rgba(13, 27, 46, .4); }
.jr-select:focus-visible, .jr-input:focus-visible, .jr-textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26, 60, 122, .18); }
.jr-input::placeholder, .jr-textarea::placeholder { color: var(--text-3); }
.jr-filters__go { grid-column: 1 / -1; align-self: end; }
.jr-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px 0 14px; border-radius: var(--pill); background: var(--brass-soft); color: var(--ink); font-size: 14px; font-weight: 500; }
.jr-chip a { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.jr-chip a::after { content: ""; position: absolute; inset: -8px; }
.jr-chip a:hover { background: rgba(13, 27, 46, .08); }
@media (min-width: 600px) and (max-width: 959px) { .jr-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  /* Sort gets the most room after the neighborhood: "Recommended" / "Rent: high to low" read in full. */
  .jr-filters { grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1.25fr) auto; align-items: end; }
  .jr-filters__field--wide { grid-column: auto; }
  .jr-filters__go { grid-column: auto; }
}
@media (min-width: 1280px) { .jr-toolbar { grid-template-columns: auto 1fr; align-items: end; gap: 28px; } }
/* A phone: the form folds behind one full-width "Filter and sort" button from the first paint (html.js is set in the
   head; jacob.js opens it). Without the script, and on a wider screen, the button is not shown and the form is open. */
.jr-filters-toggle {
  display: none; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--card); color: var(--ink);
  font-size: 15px; font-weight: 600; text-align: left;
}
.jr-filters-toggle > span:first-of-type { flex: 1 1 auto; }
.jr-filters-toggle svg { color: var(--brass-text); }
.jr-filters-toggle__n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.jr-filters-toggle__caret { transition: transform var(--dur) var(--ease); }
.jr-filters-toggle[aria-expanded="true"] .jr-filters-toggle__caret { transform: rotate(180deg); }
.jr-filters-toggle:hover { border-color: rgba(13, 27, 46, .4); }
@media (max-width: 599px) {
  .js .jr-filters-toggle { display: flex; }
  .js .jr-toolbar[data-filters-box]:not(.is-open) .jr-filters { display: none; }
  .js .jr-toolbar[data-filters-box]:not(.is-open) { gap: 12px; padding-bottom: 20px; }
}
.jr-results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin: 28px 0 28px; font-size: 14.5px; color: var(--text-2); }
.jr-more { display: grid; justify-items: center; gap: 14px; margin-top: clamp(40px, 5vw, 56px); text-align: center; }
.jr-more p { font-size: 14.5px; color: var(--text-2); }
.jr-empty { display: grid; justify-items: center; gap: 14px; padding: clamp(48px, 8vw, 96px) 16px; text-align: center; }
.jr-empty .jr-h3 { max-width: 18em; }
.jr-empty p { color: var(--text-2); max-width: 32em; }

/* ─────────────── Listing & building pages ─────────────── */
.jr-detail-top { padding-top: clamp(16px, 3vw, 32px); }
.jr-detail-top .jr-crumbs { margin-bottom: 16px; }
.jr-detail { display: grid; gap: clamp(40px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); padding-block: clamp(32px, 5vw, 64px) var(--section); }
@media (min-width: 1024px) { .jr-detail { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (min-width: 1280px) { .jr-detail { grid-template-columns: minmax(0, 1fr) 400px; gap: 96px; } }
.jr-detail__main { min-width: 0; }
.jr-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.jr-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: var(--pill); background: var(--paper-2); color: var(--text-2); font-size: 13px; font-weight: 600; }
.jr-pill--ok { background: var(--ok-soft); color: var(--ok); }
.jr-pill--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.jr-pill--off { background: var(--paper-2); color: var(--text-2); }
a.jr-pill { position: relative; }
a.jr-pill::after { content: ""; position: absolute; inset: -7px 0; }
a.jr-pill:hover { background: var(--paper-3); color: var(--ink); }
.jr-detail h1 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.03; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.jr-detail__sub { margin-top: 12px; font-size: 17px; color: var(--text-2); }
.jr-detail__price { margin-top: 28px; display: flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); }
.jr-detail__price small { font-family: var(--sans); font-size: 15px; color: var(--text-3); }
.jr-specs { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jr-spec { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.jr-spec:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.jr-spec:nth-child(n + 3) { border-top: 1px solid var(--line); }
.jr-spec svg { color: var(--brass-text); }
.jr-spec b { display: block; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.jr-spec span { display: block; font-size: 12.5px; color: var(--text-3); }
@media (min-width: 700px) { .jr-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .jr-spec { padding: 20px 18px; border-left: 1px solid var(--line); } .jr-spec:first-child { padding-left: 0; border-left: 0; } .jr-spec:nth-child(n + 3) { border-top: 0; } }
/* Three figures (an apartment with no size on file): one row of three, the icon over the words on a phone. */
.jr-specs[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 699px) {
  .jr-specs[data-n="3"] .jr-spec { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 12px 16px 0; }
  .jr-specs[data-n="3"] .jr-spec + .jr-spec { padding-left: 12px; border-left: 1px solid var(--line); }
  .jr-specs[data-n="3"] .jr-spec:nth-child(n + 3) { border-top: 0; }
}
@media (min-width: 700px) { .jr-specs[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jr-terms { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.jr-block { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); }
.jr-block > .jr-eyebrow + * { margin-top: 18px; }
.jr-prewrap { white-space: pre-line; font-size: 16.5px; line-height: 1.8; color: var(--text); max-width: 46em; overflow-wrap: anywhere; }
.jr-checks { display: grid; gap: 12px 24px; grid-template-columns: minmax(0, 1fr); padding: 0; list-style: none; }
.jr-eyebrow + .jr-checks { margin-top: 18px; }
.jr-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.jr-checks svg { margin-top: 4px; color: var(--brass-text); }
@media (min-width: 600px) { .jr-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jr-two { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .jr-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jr-panel { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); }
.jr-panel--sand { background: var(--paper-2); box-shadow: none; }
.jr-panel h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.12; color: var(--ink); }
.jr-panel .jr-eyebrow + h3 { margin-top: 12px; }
.jr-reqs { margin-top: 18px; display: grid; gap: 10px; padding: 0; list-style: none; font-size: 15px; }
.jr-reqs li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .jr-reqs li { flex-direction: row; justify-content: space-between; gap: 16px; } }
.jr-reqs li:last-child { border-bottom: 0; padding-bottom: 0; }
.jr-reqs b { font-weight: 600; color: var(--ink); }
@media (min-width: 600px) { .jr-reqs b { text-align: right; } }
.jr-note { margin-top: 14px; font-size: 13.5px; color: var(--text-3); }

.jr-building-link { margin-top: 24px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); transition: box-shadow var(--dur) var(--ease), transform .15s var(--ease); }
.jr-building-link:hover { box-shadow: var(--shadow-2); }
.jr-building-link:active { transform: scale(.99); }
.jr-building-link__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brass-soft); color: var(--brass-text); }
.jr-building-link__w { flex: 1; min-width: 0; display: grid; gap: 2px; }
.jr-building-link__w strong { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-building-link__w span { font-size: 14px; color: var(--text-2); }

.jr-nb-card { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); }
.jr-nb-card__img { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); }
.jr-nb-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jr-nb-card__body { display: grid; gap: 12px; justify-items: start; padding: clamp(24px, 3vw, 36px); }
.jr-nb-card__body h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; color: var(--ink); }
.jr-nb-card__body p { color: var(--text-2); }
@media (min-width: 760px) { .jr-nb-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .jr-nb-card__img { aspect-ratio: auto; min-height: 300px; } }

.jr-scores { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.jr-score { display: grid; gap: 6px; min-width: 96px; }
.jr-score__n { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink); }
.jr-score__l { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.jr-score__bar { position: relative; height: 3px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.jr-score__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); background: var(--brass); }

/* The sidebar. */
.jr-aside { min-width: 0; }
.jr-aside__stick { display: grid; gap: 20px; }
@media (min-width: 1024px) { .jr-aside__stick { position: sticky; top: calc(var(--header-h) + 24px); } }
.jr-act { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-2); }
.jr-act__price { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--ink); }
.jr-act__price small { font-family: var(--sans); font-size: 14px; color: var(--text-3); }
.jr-act__when { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.jr-act__btns { margin-top: 20px; display: grid; gap: 10px; }
.jr-act__form { margin-top: 16px; }
.jr-act__hr { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.jr-act h2, .jr-act h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; color: var(--ink); }
.jr-leads { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: var(--paper-2); }
.jr-leads__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--brass-light); }
.jr-leads__w { display: grid; gap: 2px; min-width: 0; font-size: 14.5px; }
.jr-leads__w strong { font-weight: 600; color: var(--ink); }
.jr-leads__w a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); overflow-wrap: anywhere; }
.jr-leads__w a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* A phone: the rent and Apply stay at hand at the bottom of the screen. */
.jr-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(13, 27, 46, .08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.jr-dock.is-on { transform: none; }
.jr-dock__w { min-width: 0; }
.jr-dock__price { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink); white-space: nowrap; }
.jr-dock__price small { font-family: var(--sans); font-size: 13px; color: var(--text-3); }
.jr-dock__sub { margin-top: 3px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jr-dock .jr-btn { flex: none; }
.has-dock { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .jr-dock { display: none; } .has-dock { padding-bottom: 0; } }

/* A building's availability table (web/js/building-units.js reads its data-bu-* attributes). */
.jr-units { scroll-margin-top: calc(var(--header-h) + 24px); }
.jr-units__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.jr-units__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 24px 0 18px; }
.jr-units__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
.jr-units__chips::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .jr-units__chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.jr-units__chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--pill); background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 600; transition: background-color var(--dur), color var(--dur), border-color var(--dur); }
.jr-units__chip:hover { border-color: var(--ink); }
.jr-units__chip span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: var(--paper-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.jr-units__chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.jr-units__chip[aria-pressed="true"] span { background: rgba(255, 255, 255, .18); color: #fff; }
.jr-units__sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.jr-units__sort .jr-select { min-height: 44px; width: auto; font-size: 15px; }
.jr-table-wrap { container-type: inline-size; overflow-x: auto; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); }
.jr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.jr-table thead th { padding: 14px 16px; text-align: left; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); }
.jr-table td { padding: 14px 16px; vertical-align: middle; white-space: nowrap; color: var(--text-2); font-variant-numeric: tabular-nums; }
.jr-row { position: relative; transition: background-color .2s; }
.jr-row + .jr-row td { border-top: 1px solid var(--line); }
.jr-row:hover { background: var(--paper); }
.jr-row:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.jr-col-photo { width: 112px; }
.jr-col-photo img, .jr-nophoto { display: block; width: 96px; height: 72px; max-width: none; border-radius: var(--r-xs); object-fit: cover; background: var(--paper-2); }
.jr-nophoto { display: grid; place-items: center; color: var(--text-3); }
.jr-unit-link { font-weight: 600; color: var(--ink); }
.jr-unit-link::after { content: ""; position: absolute; inset: 0; }
.jr-unit-link:focus-visible { outline: none; }
.jr-col-rent strong { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.jr-per { font-size: 12.5px; color: var(--text-3); margin-left: 2px; }
.jr-avail { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; }
.jr-avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.jr-avail.is-later::before { background: var(--later); box-shadow: 0 0 0 3px var(--later-soft); }
.jr-col-go { width: 40px; text-align: right; color: var(--text-3); }
.jr-row:hover .jr-col-go { color: var(--brass-text); }
.jr-units .jr-notice { margin-top: 24px; }
.jr-linkrow { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.jr-act .jr-eyebrow + h2 { margin-top: 10px; }
.jr-table-empty { padding: 28px 16px; text-align: center; color: var(--text-2); }
@container (max-width: 640px) {
  .jr-table, .jr-table tbody { display: block; }
  .jr-table thead { display: none; }
  .jr-row { display: grid; grid-template-columns: 84px auto auto 1fr auto; grid-template-areas: "photo rent rent rent avail" "photo unit unit unit unit" "photo beds baths size size"; column-gap: 12px; row-gap: 3px; align-items: center; padding: 14px; }
  .jr-row + .jr-row { border-top: 1px solid var(--line); }
  .jr-row + .jr-row td { border-top: 0; }
  .jr-table td { padding: 0; white-space: normal; }
  .jr-col-photo { grid-area: photo; width: auto; align-self: start; }
  .jr-col-photo img, .jr-nophoto { width: 84px; height: 66px; }
  .jr-col-rent { grid-area: rent; }
  .jr-col-rent strong { font-size: 20px; }
  .jr-col-avail { grid-area: avail; justify-self: end; }
  .jr-col-unit { grid-area: unit; }
  .jr-col-beds { grid-area: beds; font-size: 13.5px; }
  .jr-col-baths { grid-area: baths; font-size: 13.5px; }
  .jr-col-size { grid-area: size; font-size: 13.5px; }
  .jr-col-beds::after, .jr-col-baths::after { content: "·"; margin-left: 8px; color: var(--text-3); }
  .jr-col-go { display: none; }
}

@media (max-width: 767px) { .jr-wrap--gallery { padding-inline: 0; } }
/* The photo gallery (web/js/gallery.js, web/css/gallery.css): a phone swipes edge to edge; a wider screen
   shows the mosaic inside the page's width with rounded corners. */
.jr-gallery { position: relative; }
.jr-gallery .pg { background: var(--paper-2); }
.jr-gallery .pg-slide { background: var(--paper-2); }
.jr-gallery .pg-count { min-height: 44px; background: rgba(13, 27, 46, .82); font-family: var(--sans); }
.jr-gallery .pg-all { font-family: var(--sans); color: var(--ink); }
.jr-gallery .pg-open:focus-visible { outline-color: var(--brass-light); }
.jr-staged { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 5px 10px; border-radius: var(--pill); background: rgba(255, 253, 248, .94); color: var(--ink); font-size: 12px; font-weight: 600; pointer-events: none; }
@media (min-width: 768px) {
  .jr-gallery .pg { background: transparent; }
  .jr-gallery .pg-track { gap: 8px; border-radius: var(--r-lg); overflow: hidden; height: clamp(340px, 58vh, 640px); }
  .jr-gallery .pg-all { right: 18px; bottom: 18px; min-height: 44px; padding: 0 18px; }
}
.jr-nophoto-hero { display: grid; place-items: center; gap: 8px; aspect-ratio: 16 / 7; max-height: 420px; width: 100%; border-radius: var(--r-lg); background: var(--paper-2) url("../img/placeholder.svg") center / cover no-repeat; }
.jr-nophoto-hero span { margin-top: 90px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); }
.pgv { font-family: var(--sans); }

/* ─────────────── Forms ─────────────── */
.jr-form { display: grid; gap: 12px; }
.jr-form__row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .jr-form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jr-field { display: grid; gap: 6px; }
.jr-field > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.jr-field > span i { font-style: normal; font-weight: 400; color: var(--text-3); }
.jr-form__err { padding: 12px 14px; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); font-size: 14.5px; }
.jr-form__ok { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--ok-soft); color: var(--ok); font-size: 15px; }
.jr-form__ok svg { margin-top: 2px; }
.jr-form__fine { font-size: 12.5px; color: var(--text-3); }
.jr-write { display: grid; gap: 10px; justify-items: start; }
.jr-write p { color: var(--text-2); font-size: 15px; }

/* ─────────────── Neighborhoods ─────────────── */
.jr-nbbar { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-block: 1px solid var(--line); }
.jr-nbbar__in { display: grid; gap: 12px; padding-block: 12px; }
.jr-nbbar__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
.jr-nbbar__chips::-webkit-scrollbar { display: none; }
.jr-nbchip { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--pill); background: transparent; color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.jr-nbchip:hover { color: var(--ink); border-color: var(--ink); }
.jr-nbchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.jr-search-input { position: relative; }
.jr-search-input svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.jr-search-input .jr-input { padding-left: 44px; border-radius: var(--pill); }
@media (min-width: 900px) { .jr-nbbar__in { grid-template-columns: 1fr 320px; align-items: center; } .jr-nbbar__chips { margin: 0; padding: 0; flex-wrap: wrap; } }
.jr-borough { padding-top: clamp(48px, 6vw, 80px); }
.jr-borough__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.jr-guide-card { display: flex; flex-direction: column; gap: 14px; }
.jr-guide-card .jr-media { aspect-ratio: 4 / 3; }
.jr-guide-card__init { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 64px; color: var(--brass-text); background: var(--paper-2); }
.jr-guide-card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.08; color: var(--ink); }
.jr-guide-card:hover h3 { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.jr-guide-card:hover .jr-media > img { transform: scale(1.035); }
.jr-guide-card p { font-size: 14.5px; color: var(--text-2); }
.jr-guide-card .jr-fine { font-size: 13px; color: var(--text-3); }

.jr-nbhero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(72svh, 680px); overflow: hidden; background: var(--ink); color: #fff; }
.jr-nbhero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* The words sit low and left over any photo (a bright facade, sunlit trees): a deeper floor and a left-side veil. */
.jr-nbhero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 19, 34, .3) 0%, rgba(10, 19, 34, .22) 30%, rgba(10, 19, 34, .62) 58%, rgba(10, 19, 34, .9) 100%),
    linear-gradient(90deg, rgba(10, 19, 34, .55) 0%, rgba(10, 19, 34, .18) 55%, rgba(10, 19, 34, 0) 80%);
}
.jr-nbhero .jr-display, .jr-nbhero p.jr-lede { text-shadow: 0 1px 18px rgba(5, 10, 20, .35); }
.jr-nbhero__in { padding-block: 120px clamp(36px, 6vw, 72px); }
.jr-nbhero .jr-display { margin-top: 14px; max-width: 13em; text-wrap: balance; }
.jr-nbhero p.jr-lede { margin-top: 16px; color: rgba(255, 255, 255, .88); }
.jr-nbhead { padding-block: clamp(48px, 8vw, 104px) clamp(28px, 4vw, 48px); }
.jr-nbhead .jr-display { margin-top: 16px; }
.jr-stats { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--line); border-bottom: 1px solid var(--line); }
.jr-stat { padding: 22px 16px; background: var(--paper); }
.jr-stat:nth-child(odd) { padding-left: 0; }
.jr-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 760px) { .jr-stat:last-child:nth-child(odd) { grid-column: auto; } }
@media (min-width: 760px) { .jr-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .jr-stat, .jr-stat:nth-child(odd) { padding: 26px 22px; } .jr-stat:first-child { padding-left: 0; } }
.jr-stat__n { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; color: var(--ink); }
.jr-stat__n.is-up { color: var(--ok); }
.jr-stat__n.is-down { color: var(--danger); }
.jr-stat__l { margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.jr-quote { padding: 22px 24px; border-left: 2px solid var(--brass); background: var(--card); border-radius: 0 var(--r) var(--r) 0; }
.jr-quote p { margin-top: 8px; color: var(--text); }
.jr-photo-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jr-photo-grid .jr-media { aspect-ratio: 4 / 3; }
.jr-photo-grid .jr-media:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .jr-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .jr-photo-grid .jr-media:first-child { grid-row: span 2; aspect-ratio: auto; } }

/* The map (web/js/nbmap.js + web/css/nbmap.css read these --lg-* names). */
.jr-map {
  --lg-t-secondary: 14px; --lg-t-caption: 11px; --lg-text: var(--ink); --lg-text-secondary: var(--text-2); --lg-bg: #fff;
  --lg-focus-ring: var(--focus); --lg-dur-slide: .25s; --lg-spring: var(--ease); --lg-accent: var(--ink);
  --lg-accent-soft: rgba(176, 141, 87, .35); --lg-white: #fff; --lg-black: #000; --lg-elev-1: 0 1px 3px rgba(0, 0, 0, .25);
  --lg-r-2xs: 3px; --lg-r-pill: 999px; --lg-orange: #c27a12; --lg-success-fill: #2c6a4c; --lg-font: var(--sans);
  overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); box-shadow: var(--shadow-1);
}
.jr-map__canvas { height: clamp(320px, 52vh, 500px); width: 100%; }
.jr-map__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 20px; background: var(--card); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.jr-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.jr-map__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.jr-map__legend i.is-school { border-radius: 2px; background: #c27a12; }
.jr-map__legend i.is-park { background: var(--ok); }
.jr-map__legend i.is-center { background: var(--ink); box-shadow: 0 0 0 3px rgba(176, 141, 87, .45); }
.jr-map__legend small { margin-left: auto; color: var(--text-3); }
.jr-places { display: grid; gap: 16px; }
.jr-place { padding: 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); }
.jr-place__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.jr-place__head h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); }
.jr-place__head span { font-size: 13px; color: var(--text-3); }
.jr-place ul { margin-top: 10px; padding: 0; list-style: none; }
.jr-place li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.jr-place li:first-child { border-top: 0; }
.jr-place li b { font-weight: 600; color: var(--ink); }
.jr-place li small { display: block; font-size: 12.5px; color: var(--text-3); }
.jr-place li > span:last-child { flex: none; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.jr-place__name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.jr-place__none { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.jr-maprow { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .jr-maprow { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.jr-highlights { display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--line); border-block: 1px solid var(--line); }
.jr-highlight { padding: 28px 24px 28px 0; background: var(--paper-2); }
.jr-highlight b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--brass-text); }
.jr-highlight h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; color: var(--ink); }
.jr-highlight p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
@media (min-width: 760px) { .jr-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); } .jr-highlight { padding: 32px 28px; } .jr-highlight:nth-child(3n + 1) { padding-left: 0; } }

/* ─────────────── Article ─────────────── */
.jr-article-cover { position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.jr-article-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jr-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 18px; border-block: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.jr-byline b { color: var(--ink); font-weight: 600; }
.jr-prose { font-size: 18px; line-height: 1.8; color: var(--text); overflow-wrap: break-word; }
.jr-prose > * + * { margin-top: 1.1em; }
.jr-prose h2 { margin-top: 1.8em; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.12; color: var(--ink); }
.jr-prose h3 { margin-top: 1.6em; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.jr-prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.jr-prose ul, .jr-prose ol { padding-left: 1.3em; }
.jr-prose li + li { margin-top: .4em; }
.jr-prose blockquote { padding-left: 22px; border-left: 2px solid var(--brass); font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; color: var(--ink); }
.jr-prose img { height: auto; border-radius: var(--r); }
.jr-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.jr-prose th, .jr-prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* ─────────────── About / Landlords ─────────────── */
.jr-statement { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.16; color: var(--ink); max-width: 22em; text-wrap: balance; }
.jr-statement em { color: var(--brass-text); }
.jr-cols { columns: 1; column-gap: 56px; color: var(--text-2); font-size: 17px; line-height: 1.75; }
.jr-cols p + p { margin-top: 1em; }
@media (min-width: 900px) { .jr-cols { columns: 2; } .jr-cols p { break-inside: avoid; } }
.jr-steps { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); counter-reset: step; padding: 0; list-style: none; }
.jr-step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-1); }
.jr-step__n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--brass); }
.jr-step h3 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; color: var(--ink); }
.jr-step p { margin-top: 10px; font-size: 15px; color: var(--text-2); }
@media (min-width: 760px) { .jr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .jr-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jr-dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.jr-dl > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.jr-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.jr-dl dd { font-size: 18px; color: var(--ink); overflow-wrap: anywhere; }
.jr-dl dd a { display: inline-flex; align-items: center; min-height: 44px; }
.jr-dl dd a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
@media (min-width: 600px) { .jr-dl > div { grid-template-columns: 160px 1fr; align-items: baseline; } }
.jr-fair { display: flex; gap: 18px; align-items: flex-start; }
.jr-fair svg { flex: none; color: var(--brass-text); }

/* ─────────────── Footer ─────────────── */
.jr-footer { margin-top: auto; background: var(--night); color: rgba(255, 255, 255, .78); font-size: 15px; }
.jr-footer__top { display: grid; gap: 44px; padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 56px); }
.jr-footer__about p { margin-top: 20px; max-width: 26em; line-height: 1.65; }
.jr-footer__social { margin-top: 22px; display: flex; gap: 8px; }
.jr-footer__social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.jr-footer__social a:hover { border-color: var(--brass-light); color: var(--brass-light); }
.jr-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 24px; }
.jr-footer__cols > div { flex: 1 1 40%; min-width: 0; }
.jr-footer__cols > .jr-footer__contact { flex-basis: 100%; }
.jr-footer h2 { font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); }
.jr-footer ul { margin-top: 10px; padding: 0; list-style: none; display: grid; gap: 0; }
.jr-footer li a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgba(255, 255, 255, .84); overflow-wrap: anywhere; }
.jr-footer li a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brass-light); text-underline-offset: 4px; }
.jr-footer address { margin-top: 14px; font-style: normal; line-height: 1.6; }
.jr-footer__letter { padding-block: 36px; border-top: 1px solid rgba(255, 255, 255, .1); }
.jr-footer__letter-in { display: grid; gap: 18px; align-items: center; }
.jr-footer__letter h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.01em; text-transform: none; color: #fff; }
.jr-footer__letter p { margin-top: 6px; font-size: 14.5px; }
@media (min-width: 900px) { .jr-footer__letter-in { grid-template-columns: 1fr minmax(0, 520px); gap: 48px; } }
.jr-footer__legal { padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .62); }
.jr-footer__legal-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.jr-footer__legal a { color: rgba(255, 255, 255, .8); display: inline-flex; align-items: center; min-height: 44px; }
.jr-footer__legal a:hover { color: #fff; }
.jr-footer__legal-links { display: flex; gap: 20px; }
.jr-footer__legal p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.jr-powered { display: inline-flex; align-items: center; gap: 6px; }
/* A phone: "Powered by" on its own line, never a line that starts with the separator. */
@media (max-width: 699px) { .jr-footer__legal p > [aria-hidden="true"] { display: none; } .jr-footer__legal p > span { flex-basis: 100%; } }
.jr-powered img { width: 14px; height: 14px; border-radius: 3px; }
@media (min-width: 900px) { .jr-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; } .jr-footer__cols > div { flex: 1 1 120px; } .jr-footer__cols > .jr-footer__contact { flex: 1.8 1 220px; } }

/* ─────────────── Standalone (404, 503) ─────────────── */
.jr-standalone { display: grid; min-height: 100vh; grid-template-rows: auto 1fr; }
.jr-standalone__top { padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.jr-standalone__main { display: grid; place-items: center; padding: 64px var(--gutter); text-align: center; }
.jr-standalone__main > div { max-width: 560px; display: grid; justify-items: center; gap: 18px; }
.jr-standalone__main p { color: var(--text-2); }
.jr-standalone__btns { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ─────────────── Motion ─────────────── */
.js .jr-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .jr-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .jr-reveal { opacity: 1; transform: none; }
  .jr-hero__img { animation: none; }
}
@media print {
  .jr-header, .jr-footer, .jr-dock, .jr-menu { display: none !important; }
  body { background: #fff; }
}
