:root {
  --paper: #eef1eb;
  --ink: #1c211e;
  --ink-soft: #4a524c;
  --brick: #004c54;
  --brick-dark: #00363c;
  --gold: #c4a35a;
  --rule: #c5cdc6;
  --white: #f7f8f4;
  --ok: #2f5d3a;
  --warn: #8a4b12;
  --masthead: #0d1f22;
  --shadow: 0 18px 40px rgba(13, 31, 34, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --masthead-offset: 6.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(0, 76, 84, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.55;
  overflow-x: clip;
}
main { flex: 1; }
main:focus { outline: none; }

a { color: var(--brick); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-200%);
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  z-index: 40;
  border-radius: 4px;
}
.skip:focus,
.skip:focus-visible { transform: none; }

.masthead {
  background: var(--masthead);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
.masthead-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 12px;
}
.masthead-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.nav-toggle {
  display: none;
}
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  flex: 1;
  min-width: 0;
  padding: 4px 0 10px;
}
.site-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.6vw, 2.05rem);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.site-title a { color: inherit; text-decoration: none; }
.site-title a:hover { color: var(--gold); }
.site-title a[aria-current="page"] { pointer-events: none; }
.site-title a[aria-current="page"]:hover { color: inherit; }
.brand-meta {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.masthead nav,
.site-nav-panel {
  border-top: 1px solid rgba(184, 137, 58, 0.32);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  list-style: none;
  margin: 0;
  padding: 6px 0 8px;
}
.site-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 8px 11px;
  font-size: 0.88rem;
  border-radius: 999px;
}
.site-nav a:hover {
  background: rgba(0, 76, 84, 0.55);
}
.site-nav a[aria-current="page"] {
  background: var(--brick);
  font-weight: 600;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 36px 0 12px;
}
@media (min-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 12px;
}
.hero-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 42rem; }
.hero-photo {
  position: relative;
  box-shadow: var(--shadow);
  margin: 0;
  min-width: 0;
  overflow: hidden;
  max-height: 380px;
}
.hero-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: 50% 88%;
  min-height: 0;
}
.hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(13,31,34,.82));
  color: var(--white);
  font-size: 0.8rem;
}

.alert {
  background: #e4ece6;
  border: 1px solid #c4d0c8;
  padding: 14px 16px;
  margin: 8px 0 28px;
}
.alert p { margin: 0 0 10px; }
.alert p:last-child { margin-bottom: 0; }
.alert strong { color: var(--warn); }
.updated {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.updated strong { color: inherit; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding-bottom: 40px;
}
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--brick);
}
.card:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}
.card h2,
.card h3 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.card p { margin: 0; color: var(--ink-soft); }
.card .go { margin-top: 12px; color: var(--brick); font-weight: 600; }

.page {
  padding: 28px 0 56px;
}
.page h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 8px;
}
.page > h2,
.page h2.section-break {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 0 0 8px;
}
.sub { color: var(--ink-soft); margin: 0 0 16px; max-width: 44rem; }
.sub + ul {
  margin: 0 0 24px;
  max-width: 44rem;
}

.stack { display: grid; gap: 14px; }
.panel {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 16px 18px;
}
.panel h2,
.panel h3 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-size: 1.3rem;
}
.panel p { margin: 0 0 10px; }
.panel p:last-child { margin-bottom: 0; }
.panel ul,
.panel ol {
  margin: 0;
  padding-left: 1.2rem;
}
.panel li { margin: 0.3rem 0; }
.panel li:first-child { margin-top: 0; }
.panel li:last-child { margin-bottom: 0; }
.do { color: var(--ok); }
.dont { color: var(--brick-dark); }
.note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  align-items: start;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact .role { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brick-dark); }
.contact h3 { margin: 0; font-family: var(--serif); }
.contact p { margin: 0; color: var(--ink-soft); }
.contact a { word-break: break-word; overflow-wrap: anywhere; }

.news {
  border-left: 4px solid var(--brick);
  padding: 4px 0 4px 16px;
  margin: 0 0 22px;
}
.news:last-of-type { margin-bottom: 0; }
.news time { color: var(--brick-dark); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.news h2,
.news h3 { font-family: var(--serif); margin: 4px 0 8px; font-size: 1.35rem; }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 0.88rem;
  align-items: center;
}
.jump a {
  font-weight: 600;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
}
.jump-label {
  flex: 1 0 100%;
  font-weight: 600;
  color: var(--ink-soft);
}
@media (min-width: 861px) {
  .page > .jump {
    position: sticky;
    top: var(--masthead-offset);
    z-index: 20;
    background: var(--paper);
    padding: 10px 0 12px;
    margin: 0 0 16px;
    border-bottom: 1px solid var(--rule);
  }
}
@media (min-width: 600px) {
  .jump-label { flex: 0 0 auto; }
}
a.pdf {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
}
a.pdf:hover { border-color: var(--brick); }
.site-nav a.nav-urgent {
  color: var(--gold);
}
.site-nav a.nav-urgent:hover,
.site-nav a.nav-urgent[aria-current="page"] {
  color: var(--white);
  background: var(--brick);
}

.steps {
  margin: 0 0 28px;
  padding-left: 1.3rem;
  max-width: 46rem;
}
.steps li { margin: 0.55rem 0; }
.places {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  align-items: start;
}

#packages, #laundry, #fire-room, #hallways, #hvac, #safety, #pests, #water-heaters, #utilities, #unit-systems, #work-orders, #owning, #hoa, #rules, #water, #alarm, #elevator, #lockout, #gas, #city, #parking, #who, #transit, #book, #nectarine, #building,
#story, #timeline, #pictures, #where, #numbers, #papers, #nearby, #groups, #fobs, #guests, #cameras, #elevators, #chute, #recycle, #bulk, #checklist, #who-was-here, #first-week {
  scroll-margin-top: 16px;
}
@media (min-width: 861px) {
  #packages, #laundry, #fire-room, #hallways, #hvac, #safety, #pests, #water-heaters, #utilities, #unit-systems, #work-orders, #owning, #hoa, #rules, #water, #alarm, #elevator, #lockout, #gas, #city, #parking, #who, #transit, #book, #nectarine, #building,
  #story, #timeline, #pictures, #where, #numbers, #papers, #nearby, #groups, #fobs, #guests, #cameras, #elevators, #chute, #recycle, #bulk, #checklist, #who-was-here, #first-week,
  #shared, #your-unit, #resident-portal, #emergency-phone {
    scroll-margin-top: calc(var(--masthead-offset) + 4rem);
  }
}
body[data-page="living"] #first-week,
body[data-page="living"] #where,
body[data-page="living"] #shared,
body[data-page="living"] #your-unit,
body[data-page="living"] #nearby,
body[data-page="living"] #groups,
body[data-page="living"] #packages,
body[data-page="living"] #laundry,
body[data-page="living"] #fire-room,
body[data-page="living"] #hallways,
body[data-page="living"] #hvac,
body[data-page="living"] #safety,
body[data-page="living"] #pests,
body[data-page="living"] #water-heaters,
body[data-page="living"] #utilities,
body[data-page="living"] #unit-systems,
body[data-page="living"] #work-orders,
body[data-page="living"] #owning,
body[data-page="living"] #hoa,
body[data-page="living"] #transit {
  scroll-margin-top: calc(var(--masthead-offset) + 4rem);
}

.three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  align-items: start;
}
.corners-wrap { margin-bottom: 16px; }
.corners-wrap .note { margin-top: 12px; }

.gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  overflow: visible;
}

.section-break { margin-top: 28px; }

footer {
  background: var(--masthead);
  color: #c5d0cc;
  padding: 28px 0 40px;
  margin-top: auto;
}
footer a { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.footer-mark {
  font-family: var(--serif);
  color: var(--white);
  margin: 0 0 8px;
  font-size: 1.6rem;
}
.footer-mark a {
  color: var(--white);
  text-decoration: none;
}
.footer-mark a:hover { text-decoration: underline; }

.corners {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px;
  align-items: stretch;
  text-align: center;
  font-size: 0.88rem;
}
.corners .cell {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 12px 10px;
}
.corners .cell.here {
  border-color: var(--brick);
  box-shadow: inset 0 0 0 2px var(--brick);
}
.corners .cell strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.corners .axis {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.corners .axis.ns {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 8px 0;
}
.corners .hub {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
}
.gallery a { display: block; }
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--masthead);
}
.gallery.clippings img { height: 280px; background: var(--paper); }
.gallery figure.is-photo img { background: var(--masthead); }
.gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.gallery figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.fig-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.hist-story {
  max-width: 46rem;
}
.hist-story p { margin: 0 0 1rem; }
.hist-toolbar {
  background: var(--paper);
  padding: 8px 0 10px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 861px) {
  .hist-toolbar {
    position: sticky;
    top: var(--masthead-offset);
    z-index: 19;
    box-shadow: 0 10px 18px -12px rgba(26, 22, 18, 0.35);
  }
}
.hist-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.hist-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hist-filter-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hist-count {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.hist-filters button {
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
}
.hist-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.gallery-era {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  scroll-margin-top: 88px;
}
.section-break,
#where {
  scroll-margin-top: 16px;
}
#pictures { scroll-margin-top: 12px; }
#who-was-here { scroll-margin-top: 88px; }
.gallery figure.is-stack a.hist-open {
  position: relative;
  padding: 0 12px 12px 0;
}
.gallery figure.is-stack a.hist-open img {
  box-shadow: 5px 5px 0 var(--paper), 5px 5px 0 1px var(--rule), 10px 10px 0 var(--paper), 10px 10px 0 1px var(--rule);
}
.hist-stack-count {
  position: absolute;
  top: 10px;
  right: 22px;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hist-lite {
  width: min(960px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 16px 18px 18px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  overflow: auto;
}
.hist-lite-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hist-lite-pos {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hist-lite-step {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.hist-lite-pos[hidden],
.hist-lite-step[hidden] {
  display: none;
}
.hist-lite-step button {
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
}
.hist-lite-frame {
  position: relative;
  min-height: min(42vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
.hist-lite-frame::after {
  content: "Loading picture…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  opacity: 0;
  pointer-events: none;
}
.hist-lite.is-loading .hist-lite-frame::after { opacity: 1; }
.hist-lite.is-loading img { opacity: 0; }
.hist-lite::backdrop { background: rgba(13, 31, 34, 0.72); }
.hist-lite img {
  max-width: 100%;
  max-height: min(72vh, 820px);
  width: auto;
  height: auto;
  margin: 0 auto;
}
.hist-lite-frame.is-step img { cursor: pointer; }
.hist-lite-close {
  font: inherit;
  font-weight: 600;
  background: var(--ink);
  color: var(--white);
  border: 0;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.hist-lite-cap { margin: 12px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.hist-lite-cap strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }
.credit {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
}
.hist-roster {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}
.hist-roster p { margin: 0; }

@media (max-width: 1099px) {
  .hero-photo {
    max-height: none;
    overflow: visible;
  }
  .hero-photo img {
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }
  .hero-photo figcaption {
    position: static;
    background: var(--masthead);
    padding: 8px 10px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0;
    min-height: 40px;
    min-width: 40px;
    padding: 6px 10px;
    border: 1px solid rgba(184, 137, 58, 0.55);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
  }
  .nav-toggle-bars {
    display: block;
    width: 16px;
    height: 12px;
    background:
      linear-gradient(var(--gold), var(--gold)) 0 0 / 100% 2px no-repeat,
      linear-gradient(var(--gold), var(--gold)) 0 5px / 100% 2px no-repeat,
      linear-gradient(var(--gold), var(--gold)) 0 10px / 100% 2px no-repeat;
  }
  .masthead-inner { padding: 6px 0; }
  .masthead-bar { align-items: center; }
  .brand { padding: 2px 0; flex: 1; }
  .brand-meta { display: none; }
  .site-title { font-size: 1.2rem; }
  .site-nav-panel {
    display: none;
    border-top: 1px solid rgba(184, 137, 58, 0.32);
  }
  body.nav-open .site-nav-panel { display: block; }
  .site-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    padding: 10px 0 16px;
  }
  .site-nav li { width: 100%; }
  .site-nav a {
    padding: 12px 14px;
    font-size: 1.05rem;
    border-radius: 8px;
    min-height: 44px;
  }
}
@media (max-width: 860px) {
  .grid, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .corners {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .corners .axis, .corners .hub { display: none; }
  .hero {
    padding: 24px 0 8px;
    gap: 18px;
  }
  .page { padding: 20px 0 40px; }
  .jump a {
    padding: 10px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .card { padding: 16px; }
}
@media (max-width: 520px) {
  .brand-meta { letter-spacing: 0.08em; }
}

@media print {
  .skip, .site-nav, .nav-toggle, .jump, .hist-toolbar, .hist-lite { display: none; }
  .masthead { background: none; color: #000; padding: 0; position: static; }
  .site-title a, .brand-meta { color: #000; }
  .brand-meta { color: #333; }
  body { background: #fff; }
  .panel, .card, .alert { box-shadow: none; }
  a { color: #000; }
  footer { color: #000; background: none; }
  footer a { color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
  .hist-lite.is-loading img { opacity: 1; }
  .hist-lite-frame::after { display: none; }
}
