:root {
  --bg-cream: #efede8;
  --bg-dust: #d6d0c5;
  --text-main: #f5f3ed;
  --text-soft: #e6e1d7;
  --accent: #a8b499;
  --accent-deep: #5d6653;
  --card-bg: rgba(255, 255, 255, 0.44);
  --card-border: rgba(255, 255, 255, 0.46);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, var(--bg-cream), #dfdbd0 45%, #c8c6bd 100%);
  color: #233025;
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 2vw, 2rem);
  background: linear-gradient(180deg, rgba(236, 233, 225, 0.8), rgba(236, 233, 225, 0));
  backdrop-filter: blur(4px);
}

.brand-mini {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.topbar nav {
  display: flex;
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
}

.topbar a {
  color: #273025;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.9;
}

.hero {
  position: relative;
  height: min(100svh, 980px);
  min-height: 680px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.layer {
  position: absolute;
  inset: 0;
  transform: translate3d(
    calc(var(--tx, 0px) + var(--px, 0px)),
    calc(var(--ty, 0px) + var(--py, 0px)),
    0
  );
  will-change: transform;
}

.sky {
  background:
    radial-gradient(120% 70% at 50% -10%, #f2f0e9 0%, rgba(242, 240, 233, 0.7) 50%, transparent 100%),
    linear-gradient(180deg, #d2d0cb 0%, #c6c6bf 35%, #b8bbb2 100%);
}

.mountain {
  inset: 8% -6% auto;
  height: 56%;
  background: linear-gradient(180deg, rgba(203, 199, 194, 0.45), rgba(84, 92, 87, 0.42));
  filter: blur(0.25px) saturate(0.8);
}

.mountain-back {
  clip-path: polygon(0% 88%, 10% 72%, 21% 57%, 32% 66%, 44% 36%, 56% 64%, 68% 44%, 82% 63%, 93% 52%, 100% 74%, 100% 100%, 0% 100%);
  opacity: 0.75;
}

.mountain-mid {
  inset: 20% -8% auto;
  height: 48%;
  clip-path: polygon(0% 82%, 8% 70%, 18% 73%, 30% 58%, 42% 68%, 52% 50%, 66% 62%, 78% 54%, 90% 66%, 100% 58%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, rgba(187, 190, 177, 0.5), rgba(95, 104, 90, 0.54));
}

.hill {
  inset: auto -8% -10%;
  height: 48%;
}

.hill-back {
  clip-path: polygon(0% 60%, 12% 50%, 25% 56%, 38% 46%, 53% 52%, 66% 44%, 79% 52%, 90% 46%, 100% 52%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, rgba(150, 160, 135, 0.65), rgba(92, 98, 78, 0.78));
  filter: blur(0.3px);
}

.hill-front {
  clip-path: polygon(0% 68%, 16% 61%, 33% 73%, 48% 62%, 66% 75%, 82% 64%, 100% 74%, 100% 100%, 0% 100%);
  background:
    radial-gradient(80% 50% at 20% 8%, rgba(175, 188, 153, 0.55), transparent),
    linear-gradient(180deg, rgba(122, 133, 106, 0.88), rgba(62, 71, 52, 0.92));
}

.grain {
  mix-blend-mode: multiply;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.45) 0.6px, transparent 1px),
    radial-gradient(circle at 80% 42%, rgba(0, 0, 0, 0.24) 0.8px, transparent 1.2px),
    radial-gradient(circle at 35% 68%, rgba(0, 0, 0, 0.28) 0.7px, transparent 1.1px);
  background-size: 190px 190px, 170px 170px, 210px 210px;
}

.dust {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 245, 241, 0.9);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.65);
  transform: translate3d(
    calc(var(--tx, 0px) + var(--px, 0px)),
    calc(var(--ty, 0px) + var(--py, 0px)),
    0
  );
  will-change: transform;
}

.dust-1 {
  top: 28%;
  left: 82%;
}

.dust-2 {
  top: 43%;
  left: 15%;
  width: 6px;
  height: 6px;
}

.dust-3 {
  top: 66%;
  left: 74%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-main);
  text-shadow: 0 10px 36px rgba(30, 34, 28, 0.4);
  padding: 2rem 1rem;
  transform: translate3d(
    calc(var(--tx, 0px) + var(--px, 0px)),
    calc(var(--ty, 0px) + var(--py, 0px)),
    0
  );
  will-change: transform;
}

.est {
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  opacity: 0.95;
}

.emblem {
  width: clamp(2.1rem, 4vw, 3.2rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
}

.emblem::before,
.emblem::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.emblem::after {
  inset: 47%;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.5rem, 13vw, 8.8rem);
  font-weight: 600;
  line-height: 0.86;
}

.subtitle {
  margin: 1rem 0 0.6rem;
  letter-spacing: 0.4em;
  font-size: clamp(0.95rem, 1.7vw, 1.35rem);
  color: var(--text-soft);
}

.line {
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 99px;
  margin: 1.2rem auto 1.35rem;
  background: rgba(245, 243, 237, 0.9);
}

.tags {
  margin: 0;
  letter-spacing: 0.28em;
  font-size: clamp(0.75rem, 1.45vw, 1rem);
  color: #efece5;
}

.cta {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.84rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(236, 241, 226, 0.95);
  color: #304032;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, background-color 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: #f0f4e7;
}

.section {
  width: min(1060px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.2rem 0;
}

.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: #3f4b3d;
}

.section h2 {
  margin: 0.5rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 0.96;
  color: #273322;
}

.section > p {
  margin: 0;
  width: min(74ch, 100%);
  line-height: 1.75;
  color: #32412f;
}

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

.cards article {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.4rem;
  backdrop-filter: blur(3px);
}

.cards h3 {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: #273322;
}

.cards p {
  margin: 0;
  line-height: 1.66;
  color: #394b35;
}

.contact {
  text-align: center;
  padding-top: 3.2rem;
  padding-bottom: 6rem;
}

.contact p {
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: transform 560ms ease, opacity 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero {
    min-height: 620px;
  }

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

  .topbar nav {
    gap: 0.8rem;
  }

  .topbar a {
    font-size: 0.72rem;
  }

  .tags {
    letter-spacing: 0.18em;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 580px;
  }

  .topbar {
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.9rem;
  }

  .hero-content {
    padding-top: 5rem;
  }

  .cta {
    width: 100%;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .layer,
  .hero-content,
  .reveal {
    transform: none !important;
    transition: none !important;
  }
}
