/* ── Layout primitives ────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 62ch; }
.skip {
  position: absolute; left: var(--space-4); top: -3rem; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  font-size: var(--text-sm); transition: top 0.2s var(--ease);
}
.skip:focus { top: var(--space-4); }

.eyebrow {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-muted); font-weight: 500;
}
.serif { font-family: var(--font-display); }

/* ── Header ───────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__inner {
  display: flex; align-items: center; gap: var(--space-6);
  min-height: 68px; padding-block: var(--space-3);
}
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; margin-right: auto; }
.brand svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); }
.nav a { font-size: var(--text-sm); text-decoration: none; color: var(--ink-muted); padding-block: 0.6rem; transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.nav a.is-guide { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 0.15rem; }
.nav a.is-guide::after { content: ' ↗'; color: var(--accent); font-size: 0.85em; }

.tog {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink-muted); transition: color 0.2s, border-color 0.2s;
}
.tog:hover { color: var(--ink); border-color: var(--ink-faint); }
.tog svg { width: 17px; height: 17px; }
[data-theme='dark'] .tog .i-sun, [data-theme='light'] .tog .i-moon { display: none; }

@media (max-width: 860px) {
  .nav a:not(.is-guide):not(.keep) { display: none; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: clamp(420px, 74vh, 760px); object-fit: cover; object-position: 50% 38%; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(11, 13, 16, 0.82) 0%, rgba(11, 13, 16, 0.62) 26%, rgba(11, 13, 16, 0.12) 58%, rgba(11, 13, 16, 0) 78%),
    linear-gradient(180deg, rgba(11, 13, 16, 0.34) 0%, rgba(11, 13, 16, 0) 26%, rgba(11, 13, 16, 0) 52%, rgba(11, 13, 16, 0.6) 82%, rgba(11, 13, 16, 0.9) 100%);
}
.hero__copy {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding-bottom: clamp(var(--space-8), 5vw, var(--space-16));
  color: #f5f2ec;
}
.hero__copy .eyebrow { color: rgba(245, 242, 236, 0.78); }
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-block: var(--space-4) var(--space-5);
  max-width: 22ch;
}
.hero__lede { font-size: var(--text-base); color: rgba(245, 242, 236, 0.88); max-width: 46ch; }
.hero h1, .hero__lede { text-shadow: 0 1px 28px rgba(11, 13, 16, 0.72); }
@media (max-width: 720px) {
  /* the narrow mobile crop lands on the ceiling-light flare, so bias it left onto the darker glass */
  .hero__media img { object-position: 24% 42%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(11, 13, 16, 0.4) 0%, rgba(11, 13, 16, 0.12) 22%, rgba(11, 13, 16, 0.55) 46%, rgba(11, 13, 16, 0.88) 78%, rgba(11, 13, 16, 0.96) 100%);
  }
}

.strip {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8);
  margin-top: var(--space-8); padding-top: var(--space-6);
  border-top: 1px solid rgba(245, 242, 236, 0.22);
}
.strip div { display: flex; flex-direction: column; gap: 0.15rem; }
.strip dt, .strip__k {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(245, 242, 236, 0.6);
}
.strip dd, .strip__v { margin: 0; font-family: var(--font-display); font-size: 1.4rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 46px; padding: 0 var(--space-6);
  font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn--solid { background: var(--accent); color: var(--on-accent); }
.btn--solid:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(245, 242, 236, 0.45); color: #f5f2ec; }
.btn--ghost:hover { border-color: #f5f2ec; background: rgba(245, 242, 236, 0.1); }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink-faint); background: var(--surface-2); }

/* ── Sections ─────────────────────────────────────────── */
section { scroll-margin-top: 80px; }
.sec-head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-10); }
.sec-head h2 { font-family: var(--font-display); font-size: var(--text-xl); }

/* Statement (asymmetric two-column) */
.statement { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.statement__grid { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-20)); grid-template-columns: 1fr; }
@media (min-width: 900px) { .statement__grid { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.statement p + p { margin-top: var(--space-5); }
.statement .lead { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.34; }
.statement p { color: var(--ink-muted); }
.statement .lead { color: var(--ink); }

.facts { border-top: 1px solid var(--line); }
.facts div {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding-block: var(--space-4); border-bottom: 1px solid var(--line-soft);
}
.facts dt { font-size: var(--text-sm); color: var(--ink-muted); }
.facts dd { margin: 0; font-size: var(--text-sm); font-weight: 500; text-align: right; }

/* Gallery — magazine grid */
.gal { padding-bottom: clamp(var(--space-16), 8vw, var(--space-24)); }
.gal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.5rem, 1.2vw, 1rem); }
.gal figure { position: relative; margin: 0; grid-column: span 6; overflow: hidden; background: var(--surface-2); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gal figure:hover img { transform: scale(1.035); }
.gal figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase;
  color: #f5f2ec;
  background: linear-gradient(to top, rgba(12, 14, 17, 0.78), transparent);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.gal figure:hover figcaption, .gal figure:focus-within figcaption { opacity: 1; }
@media (min-width: 720px) and (max-width: 1039px) {
  /* Two-up: every non-wide figure shares one ratio so rows never go ragged. */
  .gal figure, .gal figure.tall, .gal figure.half, .gal figure.pair { grid-column: span 3; aspect-ratio: 4 / 3; }
  .gal figure.wide { grid-column: span 6; aspect-ratio: 16 / 8; }
}
@media (min-width: 1040px) {
  /* Ratios are chosen so every row below resolves to one shared height. */
  .gal figure { grid-column: span 2; aspect-ratio: 4 / 3; }
  .gal figure.tall { grid-column: span 2; aspect-ratio: 3 / 4; }
  /* The image is taken out of flow so the row height is set purely by the `wide`
     sibling and the pair stretches to match it exactly, gap included. */
  .gal figure.pair { grid-column: span 2; aspect-ratio: auto; align-self: stretch; }
  .gal figure.pair img { position: absolute; inset: 0; }
  .gal figure.wide { grid-column: span 4; aspect-ratio: 16 / 10; }
  .gal figure.half { grid-column: span 3; aspect-ratio: 3 / 2; }
}

/* Interlude — full bleed view + pull quote */
.interlude { position: relative; isolation: isolate; }
.interlude img { width: 100%; height: clamp(300px, 52vh, 520px); object-fit: cover; }
.interlude::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(11, 13, 16, 0.88) 0%, rgba(11, 13, 16, 0.66) 38%, rgba(11, 13, 16, 0.28) 68%, rgba(11, 13, 16, 0.12) 100%);
}
.interlude blockquote {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center;
  margin: 0; color: #f5f2ec;
}
.interlude blockquote p {
  font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; max-width: 24ch;
  text-shadow: 0 1px 22px rgba(11, 13, 16, 0.5);
}
.interlude cite { display: block; margin-top: var(--space-4); font-style: normal; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 242, 236, 0.66); }

/* Details */
.details { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); background: var(--surface); border-block: 1px solid var(--line-soft); }
.dl-grid { display: grid; gap: var(--space-10) clamp(var(--space-8), 5vw, var(--space-16)); grid-template-columns: 1fr; }
@media (min-width: 780px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.dl-grid h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; margin-bottom: var(--space-4); }
.dl-grid ul { list-style: none; padding: 0; margin: 0; }
.dl-grid li {
  display: flex; gap: var(--space-3); padding-block: var(--space-3);
  border-bottom: 1px solid var(--line-soft); font-size: var(--text-sm); color: var(--ink-muted);
}
.dl-grid li::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 0.62em; }

/* Neighborhood */
.hood { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.hood__grid { display: grid; gap: clamp(var(--space-8), 4vw, var(--space-16)); grid-template-columns: 1fr; }
@media (min-width: 900px) { .hood__grid { grid-template-columns: 0.85fr 1.15fr; } }
.walk { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.walk li {
  display: grid; grid-template-columns: 4.2rem 1fr auto; gap: var(--space-4); align-items: baseline;
  padding-block: var(--space-4); border-bottom: 1px solid var(--line-soft);
}
.walk .m { font-family: var(--font-display); font-size: 1.35rem; color: var(--accent); }
.walk .n { font-size: var(--text-sm); }
.walk .n small { display: block; color: var(--ink-faint); font-size: var(--text-xs); }
.walk .t { font-size: var(--text-xs); color: var(--ink-muted); white-space: nowrap; }

/* Building */
.bldg { padding-bottom: clamp(var(--space-16), 9vw, var(--space-32)); }
.bldg__grid { display: grid; gap: clamp(var(--space-6), 3vw, var(--space-10)); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) {
  .bldg__grid { grid-template-columns: 1fr 1fr 0.9fr; }
  .bldg__grid > div { align-self: end; padding-bottom: var(--space-4); }
}
.bldg img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* Inquire */
.inq { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); background: var(--surface-2); }
.inq__grid { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); grid-template-columns: 1fr; }
@media (min-width: 900px) { .inq__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.inq h2 { font-family: var(--font-display); font-size: var(--text-xl); }
.inq p { color: var(--ink-muted); margin-top: var(--space-4); }
.form { display: grid; gap: var(--space-4); }
.form label { display: grid; gap: var(--space-2); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.13em; color: var(--ink-muted); }
.form input, .form textarea {
  font: inherit; font-size: var(--text-sm); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.7rem var(--space-3); min-height: 46px; width: 100%;
}
.form textarea { min-height: 118px; resize: vertical; }
.form__row { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: var(--text-xs); color: var(--ink-faint); }

/* Footer */
.site-foot { border-top: 1px solid var(--line-soft); padding-block: var(--space-10); }
.site-foot__inner { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); align-items: center; justify-content: space-between; }
.site-foot p, .site-foot a { font-size: var(--text-xs); color: var(--ink-faint); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink-muted); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ── Guide page ───────────────────────────────────────── */
.guide-hero { padding-block: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-12); }
.guide-hero h1 { font-family: var(--font-display); font-size: var(--text-2xl); max-width: 24ch; }
.guide-hero p { color: var(--ink-muted); margin-top: var(--space-5); max-width: 60ch; }
.toc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.toc a {
  font-size: var(--text-xs); text-decoration: none; color: var(--ink-muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem var(--space-4);
  transition: color 0.2s, border-color 0.2s;
}
.toc a:hover { color: var(--ink); border-color: var(--ink-faint); }
.cat { padding-bottom: var(--space-12); scroll-margin-top: 84px; }
.cat h2 { font-family: var(--font-display); font-size: var(--text-lg); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.cat ol { list-style: none; padding: 0; margin: 0; }
.cat li {
  display: grid; grid-template-columns: 4.6rem 1fr; gap: var(--space-2) var(--space-4);
  padding-block: var(--space-4); border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 720px) { .cat li { grid-template-columns: 4.6rem 1fr 9rem 1fr; align-items: baseline; } }
.cat .m { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); }
.cat .nm { font-size: var(--text-sm); }
.cat .nm a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cat .nm a:hover { border-color: var(--accent); }
.cat .rt { font-size: var(--text-xs); color: var(--ink-muted); }
.cat .ad { font-size: var(--text-xs); color: var(--ink-faint); }

/* ── Business icons (site marks / monogram fallback) ───────────────── */
.ic {
  width: 20px; height: 20px;
  border-radius: 4px; background: #fff;
  box-shadow: 0 0 0 1px var(--line-soft), 0 1px 2px rgba(0,0,0,.05);
  object-fit: contain;
}
i.ic--m {
  display: block;
  font-family: var(--font-body); font-style: normal; font-weight: 600;
  font-size: 11px; line-height: 20px; text-align: center;
  color: var(--accent); letter-spacing: 0;
}
/* Absolutely positioned so the icon never alters the row's line box or height. */
.cat .nm, .walk .n { position: relative; padding-left: 28px; }
.cat .nm .ic, .walk .n .ic { position: absolute; left: 0; top: 2px; margin: 0; }
.walk .n { padding-left: 26px; }
.walk .n .ic { width: 18px; height: 18px; top: 3px; }
.walk i.ic--m { font-size: 10px; line-height: 18px; }
@media (prefers-reduced-motion: no-preference) { .ic { transition: box-shadow .2s ease; } }
.cat .nm a:hover ~ .ic, .cat li:hover .ic { box-shadow: 0 0 0 1px var(--accent), 0 1px 3px rgba(0,0,0,.08); }

/* Soundtrack ------------------------------------------------------------- */
.np { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 40;
  display: flex; flex-direction: column-reverse; /* panel opens upward, clear of the fold */
  width: min(300px, calc(100vw - 2 * var(--space-5))); font-family: var(--font-body); }
.np__toggle { display: flex; align-items: center; gap: .625rem; width: 100%;
  padding: .5rem .875rem .5rem .625rem; border: 1px solid var(--line-soft); border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  color: var(--ink); cursor: pointer; text-align: left;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .10); transition: border-color .2s, transform .2s, box-shadow .2s; }
.np__toggle:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .14); }
.np__ico { width: 22px; height: 22px; flex: none; color: var(--accent); }
.np__txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.np__ttl { font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.np__art { font-size: .6875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.np__panel { margin-bottom: .5rem; padding: .625rem; border: 1px solid var(--line-soft); border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.np__panel iframe { display: block; }
.np__note { margin: .5rem .125rem 0; font-size: .6875rem; line-height: 1.45; color: var(--ink-3); }
.np[data-open="true"] .np__toggle { border-color: var(--accent); }
@media (max-width: 720px) {
  .np { left: var(--space-4); right: var(--space-4); bottom: var(--space-4); width: auto; }
}
@media (prefers-reduced-motion: reduce) { .np__toggle { transition: none; } }
