/* 1188 at Solomon: tokens, base type and the shared components.
   Tokens are the design brief's Final brief > Tokens table, verbatim.
   Phone and tablet overrides live in responsive.css, loaded after this file. */

@font-face { font-family: "EB Garamond"; src: url("/assets/files/fonts/eb-garamond-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/assets/files/fonts/jost-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }

:root {
  --mist: #F0F1F1;
  --paper: #F7F8F8;
  --plate: #FFFFFF;
  --ink: #12303A;
  --body: #1F2A2A;
  --muted: #4A5656;
  --teal: #2F6666;
  --teal-on-ink: #8CC2C2;
  --rule: #D3DADA;
  --rule-on-ink: rgba(240, 241, 241, .15);
  --mist-on-ink: #F0F1F1;
  --muted-on-ink: #B9C6C8;
  --shadow-float: 0 34px 80px -50px rgba(18, 48, 58, .55);
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t: .45s;
  --btn-radius: 2px;
  --wrap: 1320px;
  --pad: 40px;
  --nav-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--mist); color: var(--body); font: 400 16px/1.75 var(--sans); }
::selection { background: #CFE3E3; color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
h1 { font-size: 56px; line-height: 1.08; text-wrap: balance; letter-spacing: -.005em; }
h2 { font-size: 44px; line-height: 1.15; text-wrap: balance; }
h3 { font-size: 31px; line-height: 1.1; }
h4 { font-size: 22px; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-ink :focus-visible, .footer :focus-visible, .menu :focus-visible { outline-color: var(--teal-on-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums lining-nums; }
a.num { white-space: nowrap; }
.lead { font-weight: 300; font-size: 18px; line-height: 1.7; color: var(--muted); }
.small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 6000; background: var(--ink); color: var(--mist); padding: 12px 18px; font-size: 14px; text-decoration: none; border-radius: var(--btn-radius); transition: top .2s ease; }
.skip:focus { top: 12px; }

/* ---------- Links and buttons ---------- */
.link { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color var(--t) ease, text-decoration-color var(--t) ease; }
.link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.on-ink .link { color: var(--teal-on-ink); }
.on-ink .link:hover { color: var(--mist); text-decoration-color: var(--mist); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 13px 26px; border: 1px solid var(--ink); border-radius: var(--btn-radius);
  background: var(--ink); color: var(--mist); cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 500 11.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition-property: background-color, color, border-color, transform; transition-duration: var(--t), var(--t), var(--t), .15s; transition-timing-function: ease;
}
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--mist); border-color: var(--ink); }
.btn--light { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.btn--light:hover { background: var(--teal-on-ink); border-color: var(--teal-on-ink); color: var(--ink); }
.btn--line-light { background: transparent; color: var(--mist); border-color: rgba(240, 241, 241, .6); }
.btn--line-light:hover { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.ext { display: inline-block; width: 10px; height: 10px; flex: none; margin-left: 6px; vertical-align: baseline; }
.btn .ext { margin-left: 0; width: 11px; height: 11px; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after { content: ""; position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--mist); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Wordmark (built from the monument sign) ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; --wm: 24px; }
.wordmark__main { font-family: var(--serif); font-size: var(--wm); font-weight: 400; white-space: nowrap; font-variant-numeric: lining-nums; display: flex; align-items: baseline; gap: .16em; }
.wordmark__at { font-style: italic; font-size: .42em; }
.wordmark__sol { letter-spacing: .06em; }
.wordmark__sub { font: 500 max(calc(var(--wm) * .18), 8px) / 1 var(--sans); letter-spacing: .42em; margin-top: .55em; padding-left: .42em; text-transform: uppercase; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 4010; height: var(--nav-h); background: rgba(240, 241, 241, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); transition: background-color .3s ease, border-color .3s ease; }
.nav__inner { max-width: 1520px; height: 100%; margin: 0 auto; padding: 0 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 40px; }
.nav__side { display: flex; align-items: center; }
.nav__side--end { justify-content: flex-end; gap: 26px; }
.nav__toggle { display: flex; align-items: center; gap: 13px; min-height: 44px; padding: 6px 2px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav__bars { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.nav__bar { display: block; height: 1px; background: currentColor; transition: width .3s ease; }
.nav__bar:first-child { width: 20px; } .nav__bar:last-child { width: 13px; }
.nav__toggle:hover .nav__bar { width: 26px; }
.nav__word, .nav__util { font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav__word { display: grid; }
.nav__word > span { grid-area: 1 / 1; transition: opacity .35s ease; }
.nav__word-close { opacity: 0; }
.nav__util { color: var(--muted); text-decoration: none; white-space: nowrap; transition: color var(--t) ease, opacity .35s ease; display: inline-flex; align-items: center; min-height: 44px; }
.nav__util:hover { color: var(--ink); }
.nav__util--res { color: var(--teal); }
.nav__tour { min-height: 40px; padding: 10px 20px; }
.nav .wordmark { transition: opacity .35s ease; }

/* Home: transparent over the hero, wordmark hidden until the hero passes. */
.nav--over { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav--over .nav__toggle, .nav--over .nav__util { color: var(--mist); }
.nav--over .nav__util--res { color: var(--teal-on-ink); }
.nav--over .nav__tour { background: transparent; border-color: rgba(240, 241, 241, .7); color: var(--mist); }
.nav--over .nav__tour:hover { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.nav--over .wordmark { opacity: 0; pointer-events: none; }
html.nav-scrolled .nav--over { background: rgba(240, 241, 241, .94); border-bottom-color: var(--rule); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html.nav-scrolled .nav--over .nav__toggle { color: var(--ink); }
html.nav-scrolled .nav--over .nav__util { color: var(--muted); }
html.nav-scrolled .nav--over .nav__util--res { color: var(--teal); }
html.nav-scrolled .nav--over .nav__tour { background: var(--ink); border-color: var(--ink); color: var(--mist); }
html.nav-scrolled .nav--over .nav__tour:hover { background: var(--teal); border-color: var(--teal); }
html.nav-scrolled .nav--over .wordmark { opacity: 1; pointer-events: auto; }

/* Neighborhood: Ink solid. */
.nav--ink { background: var(--ink); border-bottom-color: var(--rule-on-ink); }
.nav--ink .nav__toggle, .nav--ink .wordmark { color: var(--mist); }
.nav--ink .nav__util { color: var(--muted-on-ink); }
.nav--ink .nav__util:hover { color: var(--mist); }
.nav--ink .nav__util--res { color: var(--teal-on-ink); }
.nav--ink .nav__tour { background: transparent; border-color: rgba(240, 241, 241, .7); }
.nav--ink .nav__tour:hover { background: var(--mist); color: var(--ink); }
.nav--ink :focus-visible { outline-color: var(--teal-on-ink); }

/* Menu open: header sits over the Ink menu. */
html.nav-open .nav, html.nav-open .nav--over { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.nav-open .nav .nav__toggle { color: var(--mist); }
html.nav-open .nav .nav__bar { width: 26px; }
html.nav-open .nav__word-menu { opacity: 0; }
html.nav-open .nav__word-close { opacity: 1; }
html.nav-open .nav .wordmark, html.nav-open .nav .nav__util, html.nav-open .nav .nav__tour { opacity: 0; pointer-events: none; }
html.nav-open .nav :focus-visible { outline-color: var(--teal-on-ink); }

/* ---------- Full-screen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 4000; background: var(--ink); color: var(--mist); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
html.nav-open .menu { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.menu__inner { height: 100%; overflow-y: auto; max-width: 1520px; margin: 0 auto; padding: 118px 44px 44px; display: flex; flex-direction: column; justify-content: center; }
.menu__nav { display: flex; flex-direction: column; }
.menu__link { display: flex; align-items: center; gap: 14px; padding: 11px 0; margin-top: -1px; position: relative; border-top: 1px solid var(--rule-on-ink); border-bottom: 1px solid var(--rule-on-ink); text-decoration: none; transition: border-color .35s ease; }
.menu__link:first-child { margin-top: 0; }
.menu__link span { font: 400 34px/1.1 var(--serif); color: var(--mist); transition: color .35s ease; }
.menu__link .ext { width: 14px; height: 14px; color: var(--teal-on-ink); }
.menu__link:hover { border-color: var(--teal-on-ink); z-index: 1; }
.menu__link:hover span, .menu__link[aria-current="page"] span { color: var(--teal-on-ink); }
.menu__aside { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: baseline; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--rule-on-ink); font-size: 14px; color: var(--muted-on-ink); }
.menu__aside a { color: var(--teal-on-ink); text-decoration: none; letter-spacing: .08em; }
.menu__aside a:hover { color: var(--mist); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 110px 0 90px; }
.section--paper { background: var(--paper); }
.section--tight { padding: 72px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }
.split__media img, .media-fill { width: 100%; height: 520px; object-fit: cover; }
.split__body > h2 { margin-bottom: 26px; }
.split__body > .link, .split__body > .actions { margin-top: 26px; display: inline-flex; }
.split__body > .actions { display: flex; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.pic { outline: 1px solid rgba(0, 0, 0, .06); outline-offset: -1px; background: #E3E7E7; }

/* ---------- Home hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); color: var(--mist); }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 38%; animation: hero-settle 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 46% at 10% 100%, rgba(18, 48, 58, .55), transparent 70%),
              linear-gradient(180deg, rgba(18, 48, 58, .45) 0%, rgba(18, 48, 58, .10) 32%, rgba(18, 48, 58, .08) 55%, rgba(18, 48, 58, .62) 100%); }
.hero__mark { position: absolute; z-index: 2; left: 0; right: 0; top: 19%; display: flex; justify-content: center; }
.hero__mark .wordmark { color: var(--mist); --wm: clamp(48px, 5.6vw, 80px); animation: rise-fade 2s var(--ease) .4s both; text-shadow: 0 2px 30px rgba(18, 48, 58, .35); }
.hero__foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.hero__foot .wrap { max-width: 1520px; padding: 0 44px 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero h1 { color: var(--mist); font-size: clamp(42px, 4.6vw, 66px); line-height: 1.06; text-wrap: initial; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; animation: line-up 1.4s var(--ease) both; }
.hero h1 .line:nth-child(1) > span { animation-delay: .8s; }
.hero__link { color: var(--mist); font-size: 15px; letter-spacing: .04em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(240, 241, 241, .6); animation: fade 1.2s ease 1.3s both; transition: text-decoration-color var(--t) ease, color var(--t) ease; padding: 10px 0; }
.hero__link:hover { color: var(--teal-on-ink); text-decoration-color: var(--teal-on-ink); }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Plan band (home) ---------- */

/* ---------- Price ---------- */
.price { font: 400 20px/1.2 var(--sans); color: var(--teal); font-variant-numeric: tabular-nums lining-nums; }
.price--lg { font-size: 26px; }

/* ---------- Image band with glass panel ---------- */
.imgband { position: relative; height: 660px; overflow: hidden; }
.imgband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.imgband .wrap { position: relative; height: 100%; display: flex; align-items: center; }
.glass { width: 560px; max-width: 100%; padding: 44px 44px 40px; background: rgba(247, 248, 248, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-float); }
.glass h2 { margin-bottom: 18px; }
.glass .actions { margin-top: 28px; }

/* ---------- Ledger (ruled two-cell rows) ---------- */
.ledger { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.ledger__row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ledger__row > :last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger--wide .ledger__row { grid-template-columns: 200px 1fr; }
.ledger--wide .ledger__row > :last-child { text-align: left; white-space: normal; color: var(--body); }
.ledger dt, .ledger dd { margin: 0; }
.ledger--label .ledger__row > :first-child { color: var(--muted); }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows li { padding: 13px 0; border-bottom: 1px solid var(--rule); text-wrap: pretty; }
.rows--icons li { display: flex; align-items: center; gap: 14px; }
.ai { flex: none; width: 22px; height: 22px; color: var(--teal); }
.rows--2 { columns: 2; column-gap: 48px; border-top: 0; }
.rows--2 li { break-inside: avoid; }
.rows--2 li:first-child { border-top: 1px solid var(--rule); }

/* ---------- Ink bands ---------- */
.on-ink { background: var(--ink); color: var(--mist-on-ink); }
.on-ink h2, .on-ink h3 { color: var(--mist); }
.on-ink p { color: var(--muted-on-ink); }
.ctaband { padding: 96px 0; text-align: center; }
.ctaband h2 { font-size: 52px; margin: 14px auto 18px; max-width: 18ch; }
.ctaband p { margin: 0 auto; }
.ctaband .actions { justify-content: center; margin-top: 34px; }
.status { font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-on-ink); margin: 0; }
.petband { padding: 90px 0; }
.petband h2 { margin-bottom: 20px; }
.petband p { font-size: 17px; }

/* ---------- Page head (inner pages) ---------- */
.pagehead { padding: 88px 0 64px; border-bottom: 1px solid var(--rule); }
.pagehead .split { align-items: end; }
.pagehead__aside p { color: var(--muted); }
.pagehead__aside p + p { margin-top: 12px; }
.crumb { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--teal); text-underline-offset: 3px; }

/* ---------- Plan cards ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plancard { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); transition: border-color var(--t) ease; }
.plancard:hover, .plancard:focus-within { border-color: var(--ink); }
.plancard__plate { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 28px; background: var(--plate); border-bottom: 1px solid var(--rule); }
.plancard__plate { overflow: hidden; }
.plancard__plate button { all: unset; position: absolute; inset: 28px; cursor: zoom-in; display: flex; align-items: center; justify-content: center; }
.plancard__plate button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.plancard__plate img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.plancard__slide[hidden] { display: none; }
.plancard__arrows { position: absolute; inset: 50% 12px auto; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.plancard__arrows button { pointer-events: auto; width: 32px; height: 32px; border: 1px solid var(--rule); background: var(--plate); cursor: pointer; }
.plancard__body { padding: 24px 26px 0; }
.plancard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.plancard__top h2, .plancard__top h3 { font-size: 31px; }
.plancard__foot { display: flex; justify-content: space-between; align-items: center; margin: 22px 26px 0; padding: 16px 0 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.plancard__foot a { color: var(--teal); font-weight: 500; letter-spacing: .02em; text-underline-offset: 4px; }
.plancard__foot a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link target, except the plate button */
.plancard__plate { z-index: 1; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.specs > div { padding: 12px 0 12px 14px; border-left: 1px solid var(--rule); }
.specs > div:first-child { border-left: 0; padding-left: 0; }
.specs dt { font-size: 12.5px; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; color: var(--ink); font-size: 16px; }

/* ---------- Fee ledger block ---------- */
.feeblock { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.feeblock h2 { grid-column: 1 / -1; margin-bottom: 26px; font-size: 34px; }
.feeblock .note { grid-column: 1 / -1; margin-top: 18px; }
.feeblock .ledger { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
.feeblock .ledger__row:nth-child(-n+2) { border-top: 1px solid var(--rule); }
.disclaim { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 48px 0 0; }
.disclaim p { max-width: 80ch; }

/* ---------- Plan page ---------- */
.plan { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.plan__plate { background: var(--plate); border: 1px solid var(--rule); padding: 40px; display: flex; flex-direction: column; align-items: center; }
.plan__plate img { width: 100%; }  /* max-width is set per plan inline, so the box is reserved before the PNG loads */
.plan__plate-foot { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.plan__detail h2 { font-size: 31px; }
.plan__detail .price { display: block; font-size: 26px; margin-top: 14px; }
.plan__avail { margin: 6px 0 0; color: var(--muted); }
.plan__detail h3 { font-size: 22px; margin: 30px 0 10px; }
.plan__detail .actions { margin-top: 28px; }
.plan__detail .small { margin-top: 18px; }
.textbtn { background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-size: 14px; transition: color var(--t) ease; }
.textbtn:hover { color: var(--ink); }
.others .ledger__row { grid-template-columns: 1.4fr 1fr 1fr auto; }
.others .ledger__row > * { text-align: left !important; }
.others a { color: var(--teal); }
.ctabar { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 56px 0; }
.ctabar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.ctabar h2 { font-size: 34px; margin-bottom: 8px; }

/* Phone sticky action bar (plan pages); shown by site-nav.js. */
.stickybar { display: none; }

/* ---------- Gallery ---------- */
.gcat { padding: 56px 0 8px; }
.gcat h2 { font-size: 22px; margin-bottom: 20px; }
/* Justified rows: build.mjs groups the photos into rows; each photo grows in
   proportion to its own aspect ratio (--r), so every photo in a row shares one
   height and nothing is cropped. */
.grow { display: flex; gap: 12px; }
.grow + .grow { margin-top: 28px; }
.gitem { flex: var(--r, 1.5) 1 0; min-width: 0; margin: 0; }
.gitem__btn { display: block; width: 100%; aspect-ratio: var(--r, 1.5); padding: 0; border: 0; background: #E3E7E7; cursor: zoom-in; overflow: hidden; }
.gitem__btn img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gitem__btn:hover img { transform: scale(1.02); }
.gitem__btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.gitem figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 46ch; }

/* ---------- Lightbox and tour modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 32px; background: rgba(18, 48, 58, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; }
.overlay__panel { position: relative; background: var(--paper); box-shadow: var(--shadow-float); transform: translateY(16px); transition: transform .5s var(--ease); max-height: calc(100svh - 64px); overflow: auto; }
.overlay.is-open .overlay__panel { transform: none; }
.overlay__close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; color: var(--ink); font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: color var(--t) ease; }
.overlay__close:hover { color: var(--teal); }
.overlay__close svg { width: 14px; height: 14px; }

.tour { width: 720px; max-width: 100%; padding: 30px 36px 28px; }
.tour__top { display: flex; justify-content: space-between; align-items: center; }
.tour__top .wordmark { --wm: 22px; }
.tour h2 { font-size: 40px; margin: 22px 0 10px; }
.tour__lead { color: var(--muted); }
.tour__frame { position: relative; margin-top: 20px; min-height: 700px; background: var(--paper); border: 1px solid var(--rule); }
.tour__frame iframe { display: block; width: 100%; height: 700px; border: 0; }
.tour__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.tour__fallback { padding: 40px 32px; }
.tour__fallback[hidden] { display: none; }
.tour__fallback h3 { font-size: 26px; margin-bottom: 12px; }
.tour__fallback .actions { margin-top: 22px; }
.tour__hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
@media (hover: none) { .tour__hint { display: none; } }
.tour__call { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 14px; }
.tour__call a { color: var(--teal); font-size: 16px; }
.tour__call span:last-child { color: var(--muted); text-align: right; }

.lightbox { width: min(1100px, 100%); padding: 20px 24px 24px; background: var(--plate); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.lightbox__count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.lightbox__stage img { max-height: calc(100svh - 230px); width: auto; max-width: 100%; }
.lightbox__stage img.is-plan { image-rendering: auto; }
.lightbox__cap { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 20px; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox__nav button { min-width: 44px; min-height: 44px; border: 1px solid var(--rule); background: var(--plate); cursor: pointer; color: var(--ink); transition: border-color var(--t) ease; }
.lightbox__nav button:hover { border-color: var(--ink); }
.lightbox__nav button svg { width: 16px; height: 16px; }
html.is-locked { overflow: hidden; }

/* ---------- Forms ---------- */
.formwrap { max-width: 720px; }
.formwrap h2 { margin-bottom: 12px; }
.form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; color: var(--ink); font-weight: 500; }
.field .req { color: var(--teal); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; background: var(--plate); border: 1px solid #AEB9B9; border-radius: var(--btn-radius); color: var(--body); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312303A' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--mist); color: var(--muted); cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: #9B2C2C; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: #8A2323; }
.field .err:empty, .field .err[hidden] { display: none; }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--body); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; }
.form__status { grid-column: 1 / -1; padding: 18px 20px; border-left: 2px solid var(--teal); background: var(--paper); }
.form__status[hidden] { display: none; }
.form__status.is-error { border-left-color: #8A2323; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact ---------- */
.contactgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contactgrid h1 { margin-bottom: 36px; }
.contactgrid .ledger--wide .ledger__row { grid-template-columns: 120px 1fr; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 28px; justify-content: start; margin: 0; }
.hours dt, .hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--body); }

/* ---------- Residents ---------- */
.resrows > .resrow:first-child { border-top: 1px solid var(--rule); }
.resrow { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.resrow h2 { font-size: 31px; }
.resrow p { color: var(--muted); }
.resrow .btn { min-width: 230px; }

/* ---------- Legal template ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 640px); gap: 72px; padding: 56px 0 96px; }
.legal__index { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; font-size: 14px; }
.legal__index h2 { font: 500 14px/1.4 var(--sans); color: var(--ink); margin-bottom: 12px; }
.legal__index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.legal__index li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--muted); text-decoration: none; transition: color var(--t) ease; }
.legal__index li a:hover { color: var(--teal); }
.legal__index details > summary { display: none; }
.prose h2 { font-size: 31px; margin: 48px 0 16px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a:not(.btn) { color: var(--teal); text-underline-offset: 3px; }
.updated { font-size: 14px; color: var(--muted); margin-top: 14px; }
.single { max-width: 720px; }

/* ---------- Accessibility page ---------- */
.a11y { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 96px 0; }
.a11y h1 { font-size: 44px; line-height: 1.15; margin-bottom: 24px; }
.a11y__sec { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.a11y__sec:first-child { padding-top: 0; }
.a11y__sec h2 { font-size: 22px; margin-bottom: 10px; }
.a11y__sec ul { margin: 0; padding-left: 1.1em; }

/* ---------- Neighborhood explorer ---------- */
.explorer { display: grid; grid-template-columns: 240px 300px 1fr; height: calc(100svh - var(--nav-h)); min-height: 620px; background: var(--paper); }
.explorer__rail { display: flex; flex-direction: column; border-right: 1px solid var(--rule); overflow: auto; }
.explorer__head { padding: 30px 22px 22px; border-bottom: 1px solid var(--rule); }
.explorer__head h1 { font-size: 30px; line-height: 1.12; }
.explorer__head p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.cats { list-style: none; margin: 0; padding: 8px 0; }
.cat { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; padding: 0 22px; background: none; border: 0; border-left: 2px solid transparent; cursor: pointer; text-align: left; font-size: 15px; color: var(--body); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.cat:hover { background: var(--mist); }
.cat[aria-pressed="true"] { background: var(--mist); border-left-color: var(--teal); color: var(--ink); font-weight: 500; }
.cat__i { flex: none; width: 18px; height: 18px; margin-right: 12px; color: var(--teal); }
.cat__i + span { flex: 1; }
.cat__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.explorer__note { margin-top: auto; padding: 18px 22px; border-top: 1px solid var(--rule); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.explorer__panel { background: var(--ink); color: var(--mist); display: flex; flex-direction: column; overflow: hidden; }
.explorer__panel h2 { color: var(--mist); font-size: 26px; padding: 28px 24px 16px; }
.places { list-style: none; margin: 0; padding: 0 24px 24px; overflow: auto; flex: 1; }
.place { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 13px 0; background: none; border: 0; border-bottom: 1px solid var(--rule-on-ink); color: var(--mist); cursor: pointer; text-align: left; font-size: 15px; line-height: 1.35; transition: color .25s ease; }
.place:hover, .place.is-hot, .place[aria-pressed="true"] { color: var(--teal-on-ink); }
.place__n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(240, 241, 241, .4); color: var(--teal-on-ink); transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.place.is-hot .place__n, .place[aria-pressed="true"] .place__n { background: var(--teal-on-ink); border-color: var(--teal-on-ink); color: var(--ink); }
.place__n--none { border-style: dashed; opacity: .6; }
.place__i { display: block; width: 14px; height: 14px; }
.place__d { display: grid; justify-items: end; font-size: 12.5px; color: var(--muted-on-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.place__d b { font-weight: 400; color: var(--mist); font-size: 13.5px; }
.places__copy { padding: 16px 0 0; font-size: 13.5px; color: var(--muted-on-ink); }
.explorer__map { position: relative; background: var(--mist); }
.explorer__map #map { position: absolute; inset: 0; }
.mapcard { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--rule); box-shadow: var(--shadow-float); }
.mapcard b { display: flex; align-items: center; gap: 10px; font: 500 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.mapcard b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.mapcard span { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); padding-left: 19px; }
.recenter { position: absolute; z-index: 2; top: 22px; right: 22px; min-height: 40px; padding: 0 16px; background: var(--paper); border: 1px solid var(--rule); cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: border-color var(--t) ease; }
.recenter:hover { border-color: var(--ink); }
.map-fail { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 40px; text-align: center; color: var(--muted); }
.map-fail[hidden] { display: none; }
.pin { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--mist); border: 2px solid var(--plate); display: flex; align-items: center; justify-content: center; font: 500 11px/1 var(--sans); box-shadow: 0 2px 6px rgba(18, 48, 58, .3); cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.pin.is-hot { background: var(--teal); transform: scale(1.18); z-index: 3; }
.pin__i { display: block; width: 16px; height: 16px; pointer-events: none; }
.pin--home { width: 58px; height: 58px; background: var(--teal); font: 400 17px/1 var(--serif); letter-spacing: .02em; border-width: 3px; cursor: default; }
.maplibregl-popup-content { border-radius: 0 !important; padding: 14px 16px !important; font: 400 14px/1.5 var(--sans); color: var(--body); box-shadow: var(--shadow-float) !important; }
.maplibregl-popup-content b { display: block; font: 400 19px/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; padding-right: 18px; }
.maplibregl-popup-content a { color: var(--teal); }
.maplibregl-popup-close-button { font-size: 20px; width: 32px; height: 32px; }
.sheet { display: none; }
.areacta { padding: 56px 0; border-top: 1px solid var(--rule); }
.areacta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.areacta h2 { font-size: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-on-ink); font-size: 14px; }
.footer a { color: var(--mist); text-decoration: none; transition: color var(--t) ease; }
.footer a:hover { color: var(--teal-on-ink); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr .9fr 1.1fr; gap: 56px; padding: 72px 0 52px; }
.footer .wordmark { color: var(--mist); --wm: 34px; align-items: flex-start; }
.footer .wordmark__sub { padding-left: 0; }
.footer__addr { margin: 26px 0 0; line-height: 1.8; font-style: normal; }
.footer__inline { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; }
.footer__head { font: 500 14px/1.4 var(--sans); color: var(--mist); margin: 0 0 16px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col p { margin: 0; line-height: 1.7; }
.footer__hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; justify-content: start; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.footer__hours dt, .footer__hours dd { margin: 0; }
.footer__parr { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule-on-ink); max-width: 360px; }
.footer__parr img { width: 120px; height: auto; flex: none; }
.footer__parr p { margin: 0; font-size: 13px; line-height: 1.55; }
.footer__legal { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--rule-on-ink); }
.footer__legal img { width: 46px; height: auto; flex: none; }
.footer__legal p { margin: 0; font-size: 12.5px; line-height: 1.75; max-width: 860px; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(240, 241, 241, .45); }
.footer__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 22px 0 30px; border-top: 1px solid var(--rule-on-ink); font-size: 12.5px; }
.footer__bar p { margin: 0; max-width: 640px; }
.footer__policy { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__kiara { margin-top: 14px; }
.footer__kiara a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-on-ink); }
.footer__kiara img { height: 18px; width: auto; }
.footer__kiara img.kw { height: 15px; filter: brightness(0) invert(.86); }

/* ---------- Scroll reveal (class added by scroll-reveal.js only) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
