/* Hilldale Avenue: shared stylesheet for The Garden House (929) and Arbor (917).
   Colors used: #000000, #FFFFFF, #F4F2EE, plus black at partial opacity for the hero shade. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gray: #F4F2EE;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --space: clamp(3.5rem, 9vw, 8rem);
  --bar: 112px;
  --mbar: 56px;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
@media (max-width: 767px) { :root { --bar: 80px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--bar) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
img.lz { background: var(--gray); }
html:not(.js) img.lz { display: none; }
picture { display: block; }
a { color: var(--black); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; line-height: 1.08; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -10000px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 60; background: var(--white); padding: .6rem 1rem; border: 1px solid var(--black); }
.hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Labels: the only place small tracked uppercase is used */
.label { font-family: var(--sans); font-size: .75rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; line-height: 1.4; margin-bottom: 2.25rem; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--black); padding-top: env(safe-area-inset-top, 0px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--bar); }
.brand { display: block; }
.brand img { height: 88px; width: auto; }
@media (max-width: 767px) { .brand img { height: 64px; } }
.topbar-link { font-size: .75rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--black); }

/* Hero: full first screen under the bar, title over the image */
.hero { position: relative; height: calc(100svh - var(--bar) - env(safe-area-inset-top, 0px)); min-height: 520px; overflow: hidden; color: var(--white); }
@media (max-width: 767px) { .hero { height: 78svh; min-height: 0; } }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.55)); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; padding-bottom: clamp(1.75rem, 5vw, 3.5rem); }
.eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .9rem; }
.hero h1 { font-size: clamp(40px, 6vw, 88px); font-weight: 300; line-height: 1; letter-spacing: -.005em; margin-bottom: .6rem; }
.hero-city { font-size: 18px; margin: 0 0 1rem; }
.price { font-size: 14px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; margin: 0; }

/* Numbers strip */
.numbers { border-bottom: 1px solid var(--black); }
.numbers-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); }
.numbers-list li { display: grid; gap: .45rem; padding: 1.5rem 0; }
.numbers-list li:nth-child(n+3) { border-top: 1px solid var(--black); }
.numbers-list li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--black); }
.numbers-list li:last-child { grid-column: span 2; }
.num { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; }
.num-label { font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
@media (min-width: 768px) {
  .numbers-list { grid-template-columns: repeat(5, 1fr); }
  .numbers-list li, .numbers-list li:nth-child(n+3), .numbers-list li:nth-child(even), .numbers-list li:last-child { grid-column: auto; border-top: 0; border-left: 1px solid var(--black); padding: 2.25rem 1.5rem; }
  .numbers-list li:first-child { border-left: 0; padding-left: 0; }
  .num { font-size: 56px; }
}

/* Story rows */
.story { padding-top: var(--space); }
.story-row { display: grid; grid-template-columns: 1fr; margin-bottom: var(--space); }
.story-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-text { padding: 1.5rem 20px 0; max-width: 44rem; }
.story-text h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1rem; }
.story-text p { font-size: 17px; line-height: 1.65; }
.story-text p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .story-media img { aspect-ratio: 3 / 2; } .story-text { padding: 2rem var(--gutter) 0; } }
@media (min-width: 900px) {
  .story-row { grid-template-columns: 1fr 1fr; align-items: center; }
  .story-text { padding: 0 clamp(3rem, 6vw, 6rem); }
  .story-text h2 { margin-bottom: 1.5rem; }
  .story-row:nth-of-type(even) .story-media { order: 2; }
}

/* Full-bleed image moments */
.bleed { margin: 0 0 var(--space); }
.bleed-media img { width: 100vw; max-width: 100%; height: 70vh; object-fit: cover; }
.pull { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.25; text-align: center; max-width: 34rem; margin: 2rem auto 0; padding-inline: 20px; }

/* Sections */
.section { padding-block: var(--space); }
.alt { background: var(--gray); }
.two-col { display: grid; gap: .5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 2fr; gap: 4rem; } .two-col > .label { margin-bottom: 0; } }

/* Gallery: wide 2:1 then two squares; mobile is 2-up squares */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gallery figure { margin: 0; }
.gallery figure[hidden] { display: none; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 768px) {
  .gallery { gap: 12px; }
  .g-w { grid-column: span 2; }
  .g-w .g-open img { aspect-ratio: 2 / 1; }
}
.more { margin: 2rem 0 0; text-align: center; }
.text-btn { appearance: none; background: none; border: 0; border-bottom: 1px solid var(--black); padding: .75rem 0 .35rem; font: 400 .9375rem/1 var(--sans); color: var(--black); cursor: pointer; }

/* Lightbox */
dialog.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: var(--black); color: var(--white); overflow: hidden; }
dialog.lb::backdrop { background: var(--black); }
.lb-img { position: absolute; inset: calc(env(safe-area-inset-top, 0px) + 64px) 72px calc(env(safe-area-inset-bottom, 0px) + 72px); width: calc(100% - 144px); height: calc(100% - 136px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); object-fit: contain; }
@media (max-width: 767px) { .lb-img { left: 0; right: 0; width: 100%; } }
.lb-cap { position: absolute; left: 24px; right: 140px; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); margin: 0; font-size: 14px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1px solid var(--white); background: var(--black); color: var(--white); font: 400 22px/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lb-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.lb-close { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
  .lb-prev, .lb-next { top: auto; transform: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); }
  .lb-prev { left: auto; right: 68px; }
  .lb-cap { right: 132px; }
}

/* Floor plans */
.plan-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--black); margin-bottom: 2rem; }
.plan-tabs [role="tab"] { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .9rem 1.1rem; min-height: 44px; font: 400 .9375rem/1 var(--sans); color: var(--black); cursor: pointer; }
.plan-tabs [role="tab"]:first-child { padding-left: 0; }
.plan-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--black); }
.plan-panel picture { display: flex; justify-content: center; }
.plan-panel img { height: 76vh; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 767px) { .plan-panel img { height: 58vh; } }
.plan-dims { text-align: center; font-size: 14px; margin: 1.5rem auto .4rem; max-width: 52rem; }
.plan-caption { text-align: center; font-family: var(--serif); font-weight: 300; font-size: 1.35rem; margin: 0; }
.plan-download { text-align: center; margin: 2rem 0 0; }
.plan-download a { display: inline-block; padding: 8px 0; font-weight: 400; }

/* Neighborhood */
.hood { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.45; max-width: 46rem; margin: 0; }
.map { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 3rem; }
.nearby-wrap { margin-top: 3rem; }
.nearby { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--black); max-width: 46rem; }
.nearby li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--black); }

/* Agents */
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3.5rem); }
.agent img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.agent h3 { font-size: 32px; margin: 1.25rem 0 .5rem; }
.agent-links { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.agent-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; }
.agent-links .dre { padding: 8px 0; }
@media (max-width: 767px) { .agent h3 { font-size: 26px; } .agent-links { font-size: 14px; } }
@media (max-width: 479px) { .agents { grid-template-columns: 1fr; } .agent h3 { font-size: 32px; } .agent-links { font-size: 15px; } }

/* Inquire */
.inq-lede { max-width: 26rem; }
form { display: grid; gap: 1.1rem; max-width: 40rem; position: relative; }
form label { display: grid; gap: .45rem; font-size: .875rem; font-weight: 400; }
input, textarea { font: inherit; font-weight: 400; color: var(--black); background: var(--white); border: 1px solid var(--black); border-radius: 0; padding: .8rem 1rem; width: 100%; }
textarea { resize: vertical; min-height: 6.5rem; }
input:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 0; }
form label.consent { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .9375rem; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--black); padding: 0; }
form button { justify-self: start; appearance: none; background: var(--black); color: var(--white); border: 1px solid var(--black); border-radius: 0; padding: 1.05rem 1.9rem; font: 400 .9375rem/1 var(--sans); cursor: pointer; }
form button:hover { background: var(--white); color: var(--black); }
form button:disabled { opacity: .6; cursor: progress; }
.form-status { min-height: 1.5em; margin: 0; }
.thanks:focus { outline: none; }
.thanks-h { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.2; margin: 0 0 .5rem; }
.thanks p:last-child { font-size: 17px; }

/* Footer */
.footer { padding-block: 3.5rem 4rem; border-top: 1px solid var(--black); font-size: .8125rem; line-height: 1.7; }
.footer .sir-logo { width: 220px; height: auto; margin-bottom: 2.25rem; }
.footer-agents { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.footer p { max-width: 62rem; }
.footer p:last-child { margin-bottom: 0; }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--mbar) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--white); border-top: 1px solid var(--black); transition: transform .25s ease; }
  .mbar a { display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: .8125rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
  .mbar a:first-child { background: var(--black); color: var(--white); }
  .mbar.is-hidden { transform: translateY(100%); }
  .footer { padding-bottom: calc(4rem + var(--mbar) + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* Mobile rhythm */
@media (max-width: 767px) {
  :root { --space: 3.25rem; }
  .label { margin-bottom: 1.5rem; }
  .pull { margin-top: 1.25rem; }
}

/* 404 */
.notfound { padding-block: var(--space); }
.notfound h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
