:root {
  --ink: #17201d;
  --muted: #5d6b66;
  --paper: #f7f4ee;
  --paper-strong: #fffdf8;
  --water: #0f766e;
  --water-dark: #0a4f4d;
  --leaf: #476b3b;
  --clay: #bd6b45;
  --line: rgba(23, 32, 29, 0.14);
  --shadow: 0 24px 70px rgba(12, 31, 27, 0.18);
  --radius: 8px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 40px rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.24);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 14px;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
  background-image: url("0c17d438-9691-419f-89fe-3dd91bd6e4ed.jfif");
  background-position: center 38%;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 21, 18, 0.76) 0%, rgba(6, 21, 18, 0.45) 45%, rgba(6, 21, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(6, 21, 18, 0.55) 0%, rgba(6, 21, 18, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: clamp(128px, 18vh, 190px) 0 180px;
  margin-left: clamp(18px, 6vw, 80px);
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.03rem, 1.8vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--water);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.28);
}

.button.primary:hover {
  background: var(--water-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.button.secondary.light,
.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper-strong);
}

.hero-facts {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 28px;
  left: clamp(18px, 5vw, 70px);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.hero-facts div {
  min-height: 92px;
  padding: 18px;
  background: rgba(13, 32, 29, 0.3);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  margin-bottom: 4px;
  font-size: clamp(1.02rem, 2vw, 1.32rem);
  line-height: 1.05;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section-band {
  background: var(--paper-strong);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.two-column,
.map-layout,
.document-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.intro h2 {
  max-width: 620px;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

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

.highlight-card {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
}

.highlight-card span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--clay);
  font-weight: 850;
}

.highlight-card p {
  color: var(--muted);
}

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

.neighbor-section {
  background: var(--paper);
}

.reviews-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading.split p:last-child {
  max-width: 420px;
  color: var(--muted);
}

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

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.project-side {
  display: grid;
  gap: 18px;
}

.project-image {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: #e6e7e0;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.project-image.main {
  min-height: 560px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(15, 118, 110, 0.92);
  box-shadow: 0 12px 28px rgba(23, 32, 29, 0.22);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.project-image:hover img,
.project-image:focus-visible img {
  transform: scale(1.025);
}

.project-note {
  display: grid;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.project-note strong,
.project-note span {
  display: block;
}

.project-note span {
  color: var(--muted);
}

.neighbor-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.neighbor-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.neighbor-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.neighbor-facts div {
  min-height: 122px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper-strong);
}

.neighbor-facts strong,
.neighbor-facts span {
  display: block;
}

.neighbor-facts strong {
  margin-bottom: 8px;
  font-size: 1.14rem;
  line-height: 1.15;
}

.neighbor-facts span {
  color: var(--muted);
  font-size: 0.94rem;
}

.neighbor-map {
  overflow: hidden;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #d8ded5;
  box-shadow: var(--shadow);
}

.neighbor-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.rating-panel,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(23, 32, 29, 0.08);
}

.rating-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
}

.source-pill {
  justify-self: start;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--water);
  background: rgba(15, 118, 110, 0.08);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.rating-panel strong {
  display: block;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
}

.rating-panel p {
  color: var(--muted);
}

.stars {
  color: #fbbc04;
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1;
}

.stars.small {
  margin-top: 16px;
  font-size: 1rem;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  display: grid;
  align-content: start;
  min-height: 280px;
  padding: 22px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--water);
  font-weight: 850;
}

.review-avatar.clay {
  background: var(--clay);
}

.review-avatar.leaf {
  background: var(--leaf);
}

.review-avatar.photo {
  overflow: hidden;
  background: #d8ded5;
}

.review-avatar.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-head strong,
.review-head span {
  display: block;
}

.review-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.review-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.gallery-item {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: #d9ded1;
  cursor: zoom-in;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.video-grid video {
  width: 100%;
  border-radius: var(--radius);
  background: #17201d;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.video-grid .landscape-video {
  aspect-ratio: 4 / 3;
  grid-column: span 2;
}

.video-grid .portrait-video {
  aspect-ratio: 9 / 16;
  max-height: 720px;
}

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

.map-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.distance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.distance-card {
  display: grid;
  gap: 4px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper-strong);
  transition: transform 180ms ease, border-color 180ms ease;
}

.distance-card:hover {
  border-color: rgba(15, 118, 110, 0.4);
  transform: translateY(-2px);
}

.distance-card span {
  color: var(--water);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.distance-card strong {
  font-size: 1.28rem;
  line-height: 1.1;
}

.distance-card small {
  color: var(--muted);
  font-size: 0.92rem;
}

.map-frame {
  overflow: hidden;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #d8ded5;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
}

.document-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.document-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.document-card strong,
.document-card span {
  display: block;
}

.document-card span {
  color: var(--muted);
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  color: #fff;
  background: #13221e;
}

.contact-media {
  min-height: 620px;
  background-image:
    linear-gradient(90deg, rgba(19, 34, 30, 0.18), rgba(19, 34, 30, 0.78)),
    url("ed7de95c-f1d5-4b5f-b766-21aaa0859d62.jfif");
  background-position: center;
  background-size: cover;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 72px);
}

.contact-content h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.contact-content p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.07rem;
}

.contact-note {
  margin-top: 20px;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--paper-strong);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 14, 12, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 340px;
  }

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

  .two-column,
  .map-layout,
  .document-layout,
  .neighbor-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

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

  .project-image.main {
    min-height: 420px;
  }

  .section-heading.split {
    display: block;
  }

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

  .video-grid .landscape-video {
    grid-column: auto;
  }

  .contact-media {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 112px;
    padding-bottom: 430px;
    margin-left: 16px;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

  .hero-actions,
  .map-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
  }

  .hero-facts {
    bottom: 16px;
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    min-height: 72px;
    padding: 14px 16px;
  }

  .section-inner {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

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

  .highlight-card {
    min-height: auto;
  }

  .highlight-card span {
    margin-bottom: 18px;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item.tall,
  .project-image,
  .project-image.main {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

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

  .neighbor-facts {
    grid-template-columns: 1fr;
  }

  .document-card {
    display: grid;
  }

  .site-footer {
    display: grid;
  }
}
