:root {
  --ink: #14201c;
  --foam: #f3f6f2;
  --pine: #1f4d3a;
  --moss: #6f8f6a;
  --sun: #d8b26a;
  --mist: rgba(243, 246, 242, 0.78);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Manrope", sans-serif;
  color: var(--foam);
  background: #0d1713;
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(216, 178, 106, 0.28), transparent 55%),
    radial-gradient(900px 600px at 85% 20%, rgba(111, 143, 106, 0.35), transparent 50%),
    linear-gradient(165deg, #102019 0%, #1a3329 42%, #0c1411 100%);
  z-index: -2;
  animation: drift 18s ease-in-out infinite alternate;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--foam);
  animation: rise 0.9s ease both;
}
.nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  animation: rise 0.9s ease 0.08s both;
}
.nav a {
  color: var(--mist);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}
.nav a:hover {
  color: var(--foam);
  border-bottom-color: var(--sun);
}

.hero {
  min-height: calc(100vh - 7rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  max-width: 56rem;
}
.headline {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 14ch;
  animation: rise 1s ease 0.12s both;
}
.lead {
  margin: 0 0 1.8rem;
  max-width: 34ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--mist);
  animation: rise 1s ease 0.22s both;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: rise 1s ease 0.32s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn.primary {
  background: var(--sun);
  color: var(--ink);
}
.btn.primary:hover { transform: translateY(-2px); background: #e3c27d; }
.btn.ghost {
  border-color: rgba(243, 246, 242, 0.35);
  color: var(--foam);
  background: transparent;
}
.btn.ghost:hover {
  border-color: var(--foam);
  transform: translateY(-2px);
}

.about {
  padding: 4.5rem clamp(1.2rem, 4vw, 3rem) 5rem;
  border-top: 1px solid rgba(243, 246, 242, 0.12);
  background: linear-gradient(180deg, rgba(12, 20, 17, 0.2), rgba(12, 20, 17, 0.85));
}
.about h2 {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--sun);
}
.about p {
  margin: 0;
  max-width: 48ch;
  line-height: 1.6;
  color: var(--mist);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.04) translate3d(-1.5%, 1%, 0); }
}

@media (max-width: 640px) {
  .hero { min-height: calc(100vh - 6rem); }
  .cta { flex-direction: column; align-items: stretch; }
}
