:root {
  --paper: #f5f2eb;
  --milk: #fbf7ed;
  --forest: #213c2e;
  --forest-dark: #172b20;
  --accent: #a38b5e;
  --ink: #2f2f2f;
  --muted: #687063;
  --line: rgba(47, 47, 47, 0.12);
  --shadow: 0 18px 48px rgba(33, 60, 46, 0.14);
  --soft-shadow: 0 10px 28px rgba(33, 60, 46, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Inter, "IBM Plex Sans", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(34px, 5vw, 72px);
  padding: 18px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.94);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(33, 60, 46, 0.64) 0%, rgba(33, 60, 46, 0.34) 54%, rgba(33, 60, 46, 0.02) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(78px, 8vw, 104px);
  min-width: clamp(78px, 8vw, 104px);
  height: clamp(78px, 8vw, 104px);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
  color: #f2dfb8;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 140px clamp(20px, 6vw, 86px) clamp(54px, 8vw, 92px);
  color: #fff;
  background: var(--forest-dark);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero::before {
  z-index: 0;
  background: url("assets/images/background.png") center / cover no-repeat;
  filter: saturate(1.18) brightness(1.08) contrast(1.04);
  transform: scale(1.015);
}

.hero::after {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 217, 148, 0.34), transparent 30%),
    linear-gradient(90deg, rgba(23, 43, 32, 0.72), rgba(23, 43, 32, 0.24) 54%, rgba(23, 43, 32, 0.34)),
    linear-gradient(0deg, rgba(23, 43, 32, 0.68), rgba(23, 43, 32, 0.03) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
  font-weight: 800;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--forest);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.intro,
.gallery,
.impressions,
.contact {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 86px);
}

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

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

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

.intro-grid article,
.feature,
.gallery-note,
blockquote,
.feedback-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 247, 237, 0.74);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.intro-grid article:hover,
.feature:hover,
.gallery-note:hover,
blockquote:hover,
.feedback-form:hover {
  background: rgba(251, 247, 237, 0.9);
  box-shadow: 0 16px 36px rgba(33, 60, 46, 0.12);
  transform: translateY(-2px);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid h3,
.gallery-note h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.intro-grid p,
.gallery-note p,
.feature p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 86px) clamp(42px, 6vw, 72px);
}

.feature {
  min-height: 190px;
  padding: 24px;
  box-shadow: none;
}

.feature span {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-weight: 700;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.gallery {
  background: var(--forest);
  color: #fff;
}

.gallery .section-heading h2 {
  max-width: 900px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

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

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-main img {
  min-height: 482px;
}

.gallery-grid figcaption {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-note {
  padding: 26px;
  color: var(--ink);
  background: var(--milk);
}

.quote-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

blockquote {
  margin: 0;
  padding: 28px;
}

blockquote p {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.35;
}

blockquote cite {
  color: var(--muted);
  font-style: normal;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #ece7dc;
}

.contact-copy p {
  margin-top: 18px;
  max-width: 560px;
}

.feedback-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--milk);
}

.matrix-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  margin-top: 28px;
  padding: 11px 16px;
  border: 1px solid rgba(33, 60, 46, 0.18);
  border-radius: 6px;
  color: var(--forest);
  background: rgba(251, 247, 237, 0.72);
  box-shadow: var(--soft-shadow);
  font-weight: 700;
  text-decoration: none;
}

.matrix-link span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  line-height: 1;
}

.matrix-link img {
  width: 100%;
  height: 100%;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 25, 0.22);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(163, 139, 94, 0.28);
  border-color: var(--accent);
}

.form-button {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--forest);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header::before {
    mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .intro-grid,
  .features,
  .gallery-grid,
  .quote-row,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    grid-column: auto;
    grid-row: auto;
  }

  .features {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 74px;
    min-width: 74px;
    height: 74px;
  }

  .hero {
    min-height: 760px;
    padding-top: 210px;
  }

  .hero-actions,
  .button,
  .form-button,
  .matrix-link {
    width: 100%;
  }

  .gallery-main img {
    min-height: 280px;
  }

  .site-footer {
    flex-direction: column;
  }
}
