.rental-page { --rental-gap: clamp(60px, 9vw, 128px); }
.rental-page .wrap { width: min(calc(100% - 2 * var(--gutter)), 1280px); }
.rental-page .rental-section { padding-block: var(--rental-gap); }
.rental-page h1, .rental-page h2, .rental-page h3 { font-family: var(--display); font-weight: 300; letter-spacing: -.035em; }
.rental-page h2 { font-size: clamp(42px, 5.3vw, 76px); line-height: 1.04; }
.rental-page h3 { font-size: clamp(32px, 3.1vw, 49px); line-height: 1.08; margin-bottom: 22px; }
.rental-page em { font-weight: 300; color: var(--champagne-light); }
.rental-page p { line-height: 1.8; }
.rental-page .eyebrow { color: var(--champagne); font: 400 10px/1.5 Jost,sans-serif; letter-spacing: .24em; }
.rental-page figure { min-width: 0; }
.rental-page figure img { width: 100%; height: auto; }
.rental-page figcaption { font-size: 12px; color: var(--taupe); margin-top: 15px; letter-spacing: .02em; }
.rental-page .actions { gap: 14px; }
.rental-page .button-secondary { background: #0a0a0960; color: var(--ivory); border-color: #000; backdrop-filter: blur(8px); }
.rental-page .button-secondary:hover { background: #25241e; color: var(--champagne-light); border-color: #000; }
.rental-hero { position: relative; isolation: isolate; overflow: clip; min-height: min(850px, 100svh); display: grid; align-items: center; margin-top: -87px; background: #151613; }
.rental-hero-photo { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.rental-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.rental-hero::after { content:''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0a0a09ed,#0a0a096b 65%,#0a0a092b),linear-gradient(0deg,var(--onyx),transparent 33%); }
.rental-hero-copy { padding-top: 135px; padding-bottom: 70px; animation: rental-enter .8s ease-out both; }
.rental-page h1 { font-size: clamp(70px, 9vw, 136px); line-height: .95; margin-bottom: 28px; }
.rental-page h1 span { display: block; font-size: .52em; margin-top: 18px; }
.rental-hero-copy > p:not(.eyebrow) { color: var(--stone); font-size: 18px; }
.rental-explore { display: inline-flex; gap: 40px; margin-top: 52px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.rental-explore span { color: var(--champagne); }
.rental-intro, .rental-rooftop-layout, .rental-next { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,130px); align-items: center; }
.rental-intro > div { max-width: 470px; }
.rental-intro figure { margin-top: 60px; }
.rental-section-heading { margin-bottom: 64px; }
.rental-section-heading > p:not(.eyebrow) { max-width: 590px; }
.rental-page .rental-rooms { padding-top: 24px; padding-bottom: 25px; }
.rental-room { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px,7vw,110px); align-items: center; margin-bottom: clamp(65px,10vw,145px); }
.rental-room:nth-of-type(even) { grid-template-columns: .88fr 1.12fr; }
.rental-room:nth-of-type(even) figure { order: 2; }
.rental-room-copy { max-width: 450px; padding-block: 20px; }
.rental-availability { color: var(--champagne-light); font-size: 12px; letter-spacing: .06em; margin-top: -5px; margin-bottom: 25px; }
.rental-page .rental-rooftop { background: linear-gradient(180deg,var(--onyx),#151510 50%,var(--onyx)); }
.rental-rooftop-layout { grid-template-columns: 1.12fr .88fr; }
.rental-rooftop-layout figure { align-self: start; margin-top: 26px; }
.rental-story { margin-top: 45px; }
.rental-story summary { cursor: pointer; color: var(--champagne-light); font-size: 14px; padding: 16px 0; }
.rental-story summary span { padding-left: 20px; }
.rental-story > div { max-width: 760px; padding: 16px 0 0; }
.rental-bathrooms { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(30px,7vw,105px); align-items: center; margin-top: 60px; }
.rental-bathrooms figure:first-child { max-width: 370px; }
.rental-amenities { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 52px; margin-bottom: 65px; }
.rental-amenities h3 { font-size: 31px; }
.rental-shared-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.rental-shared-photos figure:nth-child(2) { margin-top: 70px; }
.rental-residents { display:block; }
.rental-resident-heading { display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:65px; }
.rental-resident-heading h2 { margin-bottom:0; }
.rental-resident-heading .rental-review-link { margin:0 0 8px; }
.rental-resident-stories { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,4.5vw,70px);align-items:stretch;padding-top:0; }
.rental-resident-stories > figure { display:flex;flex-direction:column;transform:translate3d(0,var(--resident-drift,0px),0);will-change:transform; }
.rental-resident-stories blockquote { color:var(--stone);font-family:var(--display);font-size:clamp(21px,1.75vw,25px);line-height:1.52;letter-spacing:0;border:0;padding:0;margin:0 0 30px;flex:1; }
.rental-resident-stories blockquote::before { content:'“';display:block;font:300 90px/.75 var(--display);color:var(--champagne);height:64px; }
.rental-resident-stories figcaption { color:var(--champagne);font-size:12px;line-height:1.65;margin-top:auto;padding-top:12px; }
@supports(animation-timeline:view()) {
  @media(prefers-reduced-motion:no-preference) {
    .rental-resident-stories > figure { animation:resident-light linear both;animation-timeline:view();animation-range:entry 0% entry 30%; }
    .rental-resident-stories > figure:nth-child(2) { animation-range:entry 5% entry 35%; }
    .rental-resident-stories > figure:nth-child(3) { animation-range:entry 10% entry 40%; }
    @keyframes resident-light { from { opacity:.25; } to { opacity:1; } }
  }
}
@media(max-width:900px) {
  .rental-resident-heading { display:block;margin-bottom:45px; }
  .rental-resident-heading .rental-review-link { margin-top:28px; }
  .rental-resident-stories { grid-template-columns:1fr;gap:52px; }
  .rental-resident-stories > figure { transform:none;will-change:auto; }
  .rental-resident-stories blockquote { font-size:24px; }
}
@media(prefers-reduced-motion:reduce) {
  .rental-resident-stories > figure { transform:none;will-change:auto;animation:none; }
}
.rental-next { align-items: start; }
.rental-next .rental-contact { margin-top: 30px; font-size: 15px; line-height: 2; }
.rental-contact a { text-decoration: none; }
.rental-requirements { padding-top: 25px; }
.rental-requirements h3 { font-size: 38px; }
.rental-requirements ul { margin: 0 0 28px; padding-left: 19px; color: var(--stone); }
.rental-requirements li { padding: 8px 0 8px 8px; }
.rental-requirements li::marker { color: var(--champagne); }
.rental-requirements p { font-size: 13px; }
@keyframes rental-enter { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform:none; } }
@supports (animation-timeline: view()) {
  .rental-room figure, .rental-rooftop-layout figure { animation: rental-photo-depth linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes rental-photo-depth { from { transform:translateY(32px); } to { transform:translateY(-32px); } }
}
@media(max-width:760px) {
  .rental-hero { min-height: max(660px, 92svh); }
  .rental-hero-copy { padding-top: 130px; padding-bottom: 60px; }
  .rental-hero-photo img { object-position: 48% 50%; }
  .rental-hero::after { background: linear-gradient(90deg,#0a0a09bb,#0a0a0955),linear-gradient(0deg,var(--onyx),transparent 75%); }
  .rental-page h1 { font-size: clamp(66px,15vw,100px); }
  .rental-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .rental-page .actions { align-items: stretch; flex-direction: column; max-width: 340px; }
  .rental-page .actions .button { width: 100%; padding-inline: 18px; font-size: 10px; }
  .rental-intro,.rental-rooftop-layout,.rental-next,.rental-room,.rental-room:nth-of-type(even),.rental-residents { grid-template-columns: 1fr; gap: 30px; }
  .rental-intro figure,.rental-rooftop-layout figure { margin-top: 0; }
  .rental-room:nth-of-type(even) figure { order: 0; }
  .rental-room-copy { padding-top: 0; }
  .rental-section-heading { margin-bottom: 40px; }
  .rental-bathrooms { gap: 22px; grid-template-columns: 1fr; margin-top: 35px; }
  .rental-bathrooms figure:first-child { max-width: none; }
  .rental-bathrooms figure:first-child img { max-height: 500px; object-fit: contain; background: #141411; }
  .rental-amenities { grid-template-columns: 1fr; gap: 24px; margin-bottom: 35px; }
  .rental-shared-photos { grid-template-columns: 1fr; gap: 32px; }
  .rental-shared-photos figure:nth-child(2) { margin-top: 0; }
  .rental-resident-stories blockquote { font-size: 24px; }
  .rental-requirements { padding-top: 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .rental-hero-copy,.rental-room figure,.rental-rooftop-layout figure { animation:none; }
  .rental-hero-photo { transform:none !important; will-change:auto; }
}

.rental-review-link { margin-block: 24px 32px; }
.rental-application-note { margin-top: 20px; }
/* A single gallery reuses the site's neighborhood tiles and keeps every image together. */
.rental-page .rental-photo-grid > a { aspect-ratio: 4 / 3; }
.rental-page .rental-photo-grid img { height:100%; object-fit:cover; object-position:center 45%; animation:none; transform:translate3d(0,var(--rental-y,0px),0) scale(1.17); transition:filter .3s ease; }
.rental-page .rental-photo-grid a:hover img { filter:brightness(1.12); }
.rental-page .rental-photo-grid a > span:first-of-type { font-size:clamp(23px,2.5vw,38px); max-width:90%; line-height:1.1; }
.rental-page .rental-room-details { display:grid;grid-template-columns:1fr 1fr;gap:70px 100px; }
.rental-page .rental-room-details > section { max-width:500px; }
.rental-page .rental-rooms { padding-block:var(--rental-gap); }
.rental-page .rental-story { width:100%;margin-top:24px; }
.rental-page .rental-next { grid-template-columns:1.15fr .85fr; }
.rental-inquiry-panel { margin-top:35px; }
.rental-form-fields { display:grid;grid-template-columns:1fr 1fr;gap:18px; }
.rental-form-fields label { display:grid;gap:8px;font-size:13px;color:var(--stone); }
.rental-form-fields input,.rental-form-fields select { width:100%;min-width:0;min-height:48px;padding:12px 13px;background:#161612;color:var(--ivory);border:1px solid #5e594d;border-radius:0;font:16px Jost,sans-serif;color-scheme:dark; }
.rental-form-fields .rental-field-wide { grid-column:1/-1; }
.rental-form-note { font-size:12px;margin-block:22px; }
#rental-inquiry-error { color:var(--champagne-light);font-size:14px;margin-top:18px; }
#rental-inquiry-form[aria-busy=true] button { opacity:.65;cursor:wait; }
.rental-photo-dialog { width:min(1160px,96vw);max-height:95svh;padding:28px;background:#0a0a09;color:var(--ivory);border:1px solid #4d493f; }
.rental-photo-dialog::backdrop { background:#000e;backdrop-filter:blur(8px); }
.rental-photo-dialog figure { margin:15px 0; }
.rental-photo-dialog img { display:block;max-width:100%;width:auto;max-height:70svh;height:auto;object-fit:contain;margin:auto; }
.rental-photo-dialog figcaption { font:14px Jost,sans-serif;text-align:center;margin-top:16px; }
.rental-photo-dialog button { color:var(--ivory);background:transparent;border:1px solid #655e50;padding:10px 16px;min-height:44px;cursor:pointer;font:13px Jost,sans-serif; }
.rental-photo-close { display:block;margin-left:auto; }
.rental-photo-controls { display:flex;justify-content:space-between;gap:18px; }
@media(max-width:760px) {
  .rental-page .rental-photo-grid > a { aspect-ratio:4/3; }
  .rental-page .rental-room-details { grid-template-columns:1fr;gap:50px; }
  .rental-page .rental-next { grid-template-columns:1fr; }
  .rental-form-fields { grid-template-columns:1fr; }
  .rental-photo-dialog { padding:16px; }
  .rental-page .rental-next .button { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .rental-page .rental-photo-grid img { transform:none;transition:none; }
}

.rental-hero-photo img { object-position: center 35%; }
@media(max-width:760px) { .rental-hero-photo img { object-position:62% center; } }
