:root {
  --ink: #181818;
  --muted: #6f6a61;
  --paper: #f8f5ee;
  --paper-deep: #efe8dc;
  --forest: #18231d;
  --moss: #5c6b54;
  --gold: #c1a36f;
  --line: rgba(24, 24, 24, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 18, 14, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(14, 17, 15, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.brand span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  justify-content: center;
}

.nav-links a,
.header-cta,
.text-link {
  text-decoration: none;
}

.nav-links a,
.header-cta {
  opacity: 0.9;
}

.header-cta {
  justify-self: end;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.20) 58%, rgba(0, 0, 0, 0.56)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.06) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  padding: clamp(150px, 21vh, 220px) 0 220px;
  margin-left: clamp(18px, 6vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #dfd4bf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--moss);
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(36px, 5vw, 70px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button-dark {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 6vw, 92px);
  right: clamp(18px, 6vw, 92px);
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-stats div {
  padding: 20px;
  background: rgba(12, 12, 12, 0.38);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.70);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
}

.section-pad {
  padding: clamp(70px, 10vw, 140px) clamp(18px, 6vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  background: var(--white);
}

.intro-copy p:not(.eyebrow),
.feature-band p,
.neighborhood-copy p,
.section-heading p,
.contact p,
.school-list p {
  color: var(--muted);
  font-size: 17px;
}

.intro-copy p:not(.eyebrow) {
  max-width: 680px;
}

.intro-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.intro-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.intro-media img:first-child {
  grid-row: span 2;
  height: 614px;
}

.facts {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 5vw, 70px);
  background: var(--paper);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--paper);
}

.fact-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.fact-grid strong {
  display: block;
  margin-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.fact-grid p {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 680px;
  background: var(--forest);
  color: var(--white);
}

.feature-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 88px);
}

.feature-band p {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-section {
  background: var(--white);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.active {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #ddd;
  cursor: pointer;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 392px;
}

.gallery-item.portrait-feature {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.neighborhood {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
  color: var(--white);
  background: var(--forest);
}

.neighborhood-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: #eadbb7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.neighborhood-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.neighborhood-collage img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.neighborhood-collage img:first-child {
  grid-row: span 2;
  height: 512px;
}

.schools {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 44px;
  background: var(--paper);
}

.school-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.school-list article {
  padding: 26px;
  background: var(--paper);
}

.school-list span {
  color: var(--moss);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.school-list strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.map-section {
  background: var(--white);
}

.map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.site-map,
.map-card {
  margin: 0;
  padding: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.site-map img {
  width: 100%;
  height: 560px;
  object-fit: contain;
  background: var(--white);
}

.site-map figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-card iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  filter: saturate(0.82);
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.56fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #171717, #273027);
}

.contact-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card span {
  display: block;
  color: #d9c89e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin: 12px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
}

.contact-card > a {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(18px, 6vw, 92px);
  color: var(--muted);
  background: #0e0e0d;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 42px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1120px, 84vw);
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.5);
}

.lightbox p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.annotation-panel {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
}

.annotation-panel p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.annotation-panel button {
  min-height: 36px;
  border: 0;
  padding: 0 12px;
  color: var(--white);
  background: var(--forest);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 30px;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 68px;
  transform: translateY(-50%);
  font-size: 44px;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-stats,
  .fact-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .facts,
  .feature-band,
  .neighborhood,
  .schools,
  .map-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-band img {
    height: 520px;
  }
}

@media (max-width: 700px) {
  .site-header {
    grid-template-columns: auto;
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 118px 0 310px;
    margin-left: 16px;
  }

  h1 {
    max-width: 340px;
    font-size: 40px;
    line-height: 1;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 16px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats {
    left: 16px;
    right: 16px;
    bottom: 18px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats div {
    padding: 14px;
  }

  .hero-stats div:first-child {
    grid-column: span 2;
  }

  .section-pad {
    padding: 70px 16px;
  }

  .intro-media,
  .neighborhood-collage,
  .school-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .intro-media img,
  .intro-media img:first-child,
  .neighborhood-collage img,
  .neighborhood-collage img:first-child,
  .gallery-item,
  .gallery-item.featured {
    grid-column: auto;
    grid-row: auto;
    height: 280px;
    min-height: 280px;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .site-map img,
  .map-card iframe {
    min-height: 360px;
    height: 360px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-nav {
    width: 44px;
    height: 54px;
    font-size: 34px;
  }
}
