:root {
  --ink: #20211d;
  --paper: #f7f2ea;
  --soft: #ede4d8;
  --mist: #d6ddd4;
  --moss: #4a5a43;
  --olive: #7b7856;
  --clay: #9b6250;
  --wine: #5c2433;
  --white: #fffaf2;
  --shadow: 0 22px 60px rgba(32, 33, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

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

button {
  font: inherit;
}

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

.site-header {
  align-items: center;
  color: var(--white);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(247, 242, 234, 0.94);
  box-shadow: 0 12px 30px rgba(32, 33, 29, 0.1);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  background: rgba(255, 250, 242, 0.9);
  display: inline-flex;
  padding: 8px 12px;
}

.brand img {
  display: block;
  height: 58px;
  object-fit: contain;
  width: auto;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.5vw, 38px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.primary-nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 6px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  border-color: currentColor;
}

.menu-toggle {
  background: transparent;
  border: 0;
  color: inherit;
  display: none;
  height: 42px;
  place-items: center;
  position: relative;
  width: 42px;
}

.menu-toggle span {
  background: currentColor;
  display: block;
  height: 2px;
  position: absolute;
  width: 26px;
}

.menu-toggle span:first-child {
  transform: translateY(-5px);
}

.menu-toggle span:last-child {
  transform: translateY(5px);
}

.hero {
  min-height: 96vh;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  animation: slowPan 18s ease-in-out infinite alternate;
  background-image: url("home-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 20, 16, 0.66), rgba(18, 20, 16, 0.2) 52%, rgba(18, 20, 16, 0.45)),
    linear-gradient(0deg, rgba(18, 20, 16, 0.72), transparent 46%);
}

.hero-content {
  color: var(--white);
  max-width: 920px;
  padding: 27vh clamp(22px, 6vw, 86px) 190px;
  position: relative;
  z-index: 2;
}

.kicker,
.eyebrow,
.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.kicker {
  color: #e4c9a2;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(58px, 12vw, 152px);
  max-width: 820px;
}

h2 {
  font-size: clamp(36px, 6vw, 78px);
}

.hero-address {
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: 1.6px;
  margin: 24px 0 34px;
  text-transform: uppercase;
}

.hero-cta {
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 2px;
  min-height: 48px;
  padding: 16px 24px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-cta:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  background: rgba(247, 242, 234, 0.92);
  bottom: 0;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  width: min(70vw, 860px);
  z-index: 3;
}

.hero-stats div {
  padding: 28px clamp(18px, 3vw, 36px);
}

.hero-stats strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 500;
  line-height: 1;
}

.hero-stats span {
  color: #5f6157;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  margin-top: 10px;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 10vw, 140px) clamp(20px, 6vw, 86px);
}

.intro {
  display: grid;
  gap: clamp(32px, 5vw, 76px);
  grid-template-columns: 120px minmax(0, 1fr) minmax(280px, 420px);
}

.section-label {
  color: var(--wine);
  writing-mode: vertical-rl;
}

.intro-copy h2 {
  margin: 12px 0 28px;
}

.intro-copy p:not(.eyebrow),
.section-heading p,
.contact-inner p {
  color: #5d5d54;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.75;
}

.intro-copy p:not(.eyebrow) {
  margin: 0 0 22px;
}

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

.eyebrow {
  color: var(--clay);
  margin: 0 0 16px;
}

.details-panel {
  align-self: end;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 34px;
}

.details-panel h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 28px;
}

.details-panel dl {
  display: grid;
  gap: 26px;
  margin: 0;
}

.details-panel div {
  border-bottom: 1px solid #ded4c8;
  padding-bottom: 18px;
}

.details-panel div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.details-panel dt {
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.details-panel dd {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  line-height: 1.15;
  margin: 0;
}

.image-band {
  background-image:
    linear-gradient(rgba(32, 33, 29, 0.05), rgba(32, 33, 29, 0.08)),
    url("image-band.webp");
  background-position: center;
  background-size: cover;
  min-height: 70vh;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  margin-bottom: 46px;
}

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

.gallery-item {
  aspect-ratio: 1.1;
  background: #d6d0c5;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: relative;
}

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

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

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

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

.plan-section {
  background: var(--soft);
}

.plan-layout {
  display: grid;
  gap: 18px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.plan-card {
  background: var(--white);
  border: 0;
  box-shadow: 0 16px 42px rgba(32, 33, 29, 0.12);
  cursor: pointer;
  display: grid;
  gap: 0;
  padding: 0;
  position: relative;
  text-align: left;
}

.plan-card.large {
  grid-row: span 2;
}

.plan-card img {
  aspect-ratio: 1.55;
  background: #f4f0e9;
  height: 100%;
  object-fit: contain;
  padding: clamp(10px, 1.8vw, 24px);
  width: 100%;
}

.plan-card.large img {
  aspect-ratio: 0.8;
}

.plan-card span {
  background: var(--ink);
  bottom: 0;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  left: 0;
  letter-spacing: 1.8px;
  padding: 13px 15px;
  position: absolute;
  text-transform: uppercase;
}

.plan-note {
  color: #626259;
  font-size: 13px;
  line-height: 1.7;
  margin: 22px 0 0;
  max-width: 760px;
}

.contact-section {
  background: var(--moss);
  color: var(--white);
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 86px) 34px;
}

.contact-inner {
  max-width: 920px;
}

.contact-inner p {
  color: #e6e0d4;
}

.site-footer {
  border-top: 1px solid rgba(255, 250, 242, 0.22);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  padding-top: 28px;
}

.site-footer div {
  display: grid;
  gap: 8px;
}

.site-footer strong {
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.site-footer span,
.site-footer p {
  color: #ded7ca;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.lightbox {
  align-items: center;
  background: rgba(18, 20, 16, 0.88);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 28px;
  position: fixed;
  z-index: 50;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  box-shadow: var(--shadow);
  max-height: 82vh;
  object-fit: contain;
}

.lightbox p {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  margin: 16px 0 0;
}

.lightbox-close {
  background: var(--white);
  border: 0;
  cursor: pointer;
  font-size: 34px;
  height: 48px;
  line-height: 1;
  position: fixed;
  right: 24px;
  top: 20px;
  width: 48px;
}

.toast {
  background: var(--wine);
  bottom: 24px;
  color: var(--white);
  left: 50%;
  opacity: 0;
  padding: 14px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 60;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes slowPan {
  from {
    transform: scale(1.04) translateX(-1.5%);
  }

  to {
    transform: scale(1.08) translateX(1.5%);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
    z-index: 22;
  }

  .primary-nav {
    background: rgba(247, 242, 234, 0.98);
    color: var(--ink);
    display: grid;
    gap: 0;
    left: 16px;
    opacity: 0;
    padding: 82px 28px 28px;
    pointer-events: none;
    position: fixed;
    right: 16px;
    top: 16px;
    transform: translateY(-16px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    border-bottom: 1px solid #ded4c8;
    padding: 18px 0;
  }

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

  .hero-stats,
  .intro,
  .section-heading,
  .plan-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .section-label {
    writing-mode: horizontal-tb;
  }

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

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

  .brand img {
    height: 48px;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding-top: 22vh;
  }

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

  .hero-stats div {
    padding: 18px 20px;
  }

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

  .gallery-item,
  .gallery-item.wide {
    aspect-ratio: 1.15;
    grid-column: auto;
  }

  .gallery-item.tall {
    grid-row: auto;
  }

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