:root {
  --ink: #18332d;
  --ink-soft: #52645f;
  --cream: #f6f0e5;
  --paper: #fffdf8;
  --green: #173d34;
  --green-light: #2d6254;
  --orange: #df6f44;
  --line: rgba(24, 51, 45, 0.16);
  --shadow: 0 24px 70px rgba(37, 52, 47, 0.12);
}

* {
  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;
}

body.locked {
  overflow: hidden;
}

body.viewing-photo {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  line-height: 1;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-shell {
  min-height: 100vh;
}

.locked .site-shell {
  visibility: hidden;
}

.password-gate {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow-y: auto;
  background:
    radial-gradient(circle at 15% 20%, rgba(223, 111, 68, 0.25), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(126, 159, 136, 0.3), transparent 35%),
    var(--green);
}

.password-gate[aria-hidden="true"] {
  display: none;
}

.gate-card {
  width: min(100%, 34rem);
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.gate-mark,
.brand-mark {
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
}

.gate-mark {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.7rem;
}

.gate-card h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 10vw, 5rem);
}

.gate-copy {
  margin-bottom: 2rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.gate-card label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.password-row {
  display: flex;
  border: 1px solid var(--line);
}

.password-row:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.password-row input {
  min-width: 0;
  flex: 1;
  padding: 1rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.password-row button,
.button {
  border: 0;
  color: white;
  background: var(--green);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.password-row button {
  padding: 0.8rem 1.1rem;
}

.form-message {
  min-height: 1.25rem;
  margin: 0.7rem 0 0;
  color: #a33b2b;
  font-size: 0.83rem;
}

.gate-hint {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 4rem);
  color: white;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.text-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
}

.button:hover,
.password-row button:hover {
  background: var(--green-light);
}

.button-small {
  min-height: 2.5rem;
  color: var(--ink);
  background: white;
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1.05fr 0.95fr;
  color: white;
  background: var(--green);
}

.hero-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 9rem clamp(1.5rem, 6vw, 7rem) 5rem;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.hero-summary {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1rem 0 2.25rem;
}

.hero-facts span {
  position: relative;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-facts span:not(:last-child)::after {
  position: absolute;
  right: -0.75rem;
  color: var(--orange);
  content: "•";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .button {
  color: var(--green);
  background: white;
}

.hero .button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.hero-visual {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  background: #e5bda4;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
}

.availability-card {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 13rem;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--cream);
}

.availability-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.availability-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.section {
  padding: clamp(4.5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem);
}

.intro-section {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  align-items: end;
}

.intro-section h2 {
  max-width: 13ch;
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.section-heading {
  margin-bottom: 3rem;
}

.highlights-section {
  background: var(--cream);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.highlight-card {
  min-height: 12rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-card span {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
}

.highlight-card h3 {
  max-width: 12ch;
  margin: 3.25rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.gallery-heading > p {
  max-width: 24rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-auto-rows: 19rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  display: block;
  grid-column: span 4;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  cursor: zoom-in;
  text-align: left;
  transition:
    box-shadow 250ms ease,
    transform 250ms ease;
}

.gallery-item-1,
.gallery-item-5 {
  grid-column: span 8;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 300ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  z-index: 3;
  box-shadow: 0 22px 55px rgba(24, 51, 45, 0.28);
  transform: scale(1.035);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.gallery-caption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.55rem 0.7rem;
  color: white;
  background: rgba(23, 61, 52, 0.9);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.gallery-zoom {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.7rem;
  color: white;
  background: rgba(23, 61, 52, 0.9);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(-0.25rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.photo-viewer {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5rem clamp(1rem, 6vw, 6rem) 2rem;
  color: white;
  background: rgba(9, 25, 21, 0.97);
}

.photo-viewer.visible {
  display: flex;
}

.viewer-figure {
  display: flex;
  width: min(100%, 90rem);
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0;
}

.viewer-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100% - 3.5rem);
  object-fit: contain;
}

.viewer-figure figcaption {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.viewer-close,
.viewer-arrow {
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  background: rgba(23, 61, 52, 0.72);
  cursor: pointer;
}

.viewer-close:hover,
.viewer-arrow:hover,
.viewer-close:focus-visible,
.viewer-arrow:focus-visible {
  color: var(--ink);
  background: white;
}

.viewer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.8rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.viewer-close span:first-child {
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 0.7;
}

.viewer-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.viewer-previous {
  left: 1rem;
}

.viewer-next {
  right: 1rem;
}

.neighborhood-section {
  color: white;
  background: var(--green);
}

.neighborhood-intro {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
}

.neighborhood-copy h2 {
  max-width: 13ch;
  margin-bottom: 1.75rem;
}

.neighborhood-copy > p:not(.eyebrow) {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.neighborhood-list {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.neighborhood-list li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  line-height: 1.5;
}

.neighborhood-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 7rem);
}

.location-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.location-card .eyebrow {
  margin-bottom: 1.5rem;
}

.location-card .neighborhood-list {
  margin-top: 0;
  font-size: 0.88rem;
}

.map-card {
  position: relative;
  display: grid;
  min-height: 32rem;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #e5d7c0;
}

.map-grid {
  position: absolute;
  inset: -15%;
  opacity: 0.32;
  background:
    linear-gradient(25deg, transparent 48%, var(--green) 49%, var(--green) 51%, transparent 52%),
    linear-gradient(115deg, transparent 48%, var(--orange) 49%, var(--orange) 51%, transparent 52%);
  background-size: 5rem 5rem, 7rem 7rem;
  transform: rotate(-7deg);
}

.map-pin {
  position: relative;
  text-align: center;
}

.map-pin span {
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: auto;
  place-items: center;
  color: white;
  border: 0.5rem solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(24, 51, 45, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.map-pin p {
  margin: 0.75rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.map-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0.8rem;
  color: white;
  background: rgba(23, 61, 52, 0.92);
  font-size: 0.72rem;
  text-align: center;
}

.details-section {
  display: grid;
  gap: 5rem;
  grid-template-columns: 0.8fr 1.2fr;
}

.details-grid {
  border-top: 1px solid var(--line);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-row span {
  color: var(--ink-soft);
}

.detail-row strong {
  max-width: 65%;
  text-align: right;
  line-height: 1.45;
}

.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 65rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.4rem 2rem 1.4rem 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.faq-list p {
  max-width: 45rem;
  padding-bottom: 1.4rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7rem);
  color: white;
  background: var(--orange);
}

.contact-section h2 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.contact-section p:not(.eyebrow) {
  max-width: 35rem;
  margin-bottom: 0;
  line-height: 1.7;
}

.contact-email {
  color: inherit;
  font-weight: 800;
}

.contact-section .eyebrow {
  color: var(--green);
}

.button-light {
  flex: 0 0 auto;
  color: var(--green);
  background: white;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem clamp(1.25rem, 6vw, 7rem);
  color: rgba(255, 255, 255, 0.7);
  background: #102b24;
  font-size: 0.72rem;
}

footer p {
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 15;
  right: 1rem;
  bottom: 1rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  color: white;
  background: var(--green);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

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

  .hero-copy {
    min-height: 70svh;
  }

  .hero-visual {
    min-height: 65svh;
  }

  .intro-section,
  .neighborhood-intro,
  .details-section {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-grid {
    grid-auto-rows: 16rem;
  }

  .gallery-item,
  .gallery-item-1,
  .gallery-item-5 {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .site-header .text-button,
  .site-header .button-small {
    display: none;
  }

  .hero-copy {
    padding-top: 8rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 17vw, 5.5rem);
  }

  .intro-section {
    gap: 1.75rem;
  }

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

  .highlight-card {
    min-height: 9rem;
  }

  .highlight-card h3 {
    margin-top: 2rem;
  }

  .detail-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .detail-row strong {
    max-width: none;
    text-align: left;
  }

  .gallery-heading,
  .contact-section,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-item {
    height: 18rem;
    margin-bottom: 0.75rem;
  }

  .gallery-zoom {
    opacity: 1;
    transform: translateY(0);
  }

  .photo-viewer {
    padding: 4.5rem 0.75rem 5rem;
  }

  .viewer-arrow {
    top: auto;
    bottom: 0.75rem;
    transform: none;
  }

  .viewer-previous {
    left: calc(50% - 4.25rem);
  }

  .viewer-next {
    right: calc(50% - 4.25rem);
  }

  .viewer-close span:last-child {
    display: none;
  }

  .viewer-close {
    width: 2.8rem;
    justify-content: center;
    padding: 0;
  }

  .map-card {
    min-height: 24rem;
  }

  .password-row {
    display: block;
    border: 0;
  }

  .password-row input {
    width: 100%;
    border: 1px solid var(--line);
  }

  .password-row button {
    width: 100%;
    min-height: 3.2rem;
    margin-top: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
