:root {
  --ink: #1c2a24;
  --ink-soft: #3d4f46;
  --paper: #e8eee8;
  --mist: #d5e0d8;
  --sage: #5f7a68;
  --sage-deep: #3f5a4a;
  --cream-wash: rgba(232, 238, 232, 0.88);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, #cfdcd2 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 20%, #b7c9bc 0%, transparent 50%),
    linear-gradient(165deg, #eef3ef 0%, var(--paper) 45%, #dce6df 100%);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #f4f7f4;
  opacity: 0;
  animation: rise 0.9s ease 0.15s forwards;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 28, 24, 0.35) 0%,
      rgba(18, 28, 24, 0.2) 35%,
      rgba(18, 28, 24, 0.72) 100%
    ),
    linear-gradient(90deg, rgba(18, 28, 24, 0.45) 0%, transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 0 12vh 1.5rem;
  color: #f4f7f4;
  opacity: 0;
  animation: rise 1s ease 0.35s forwards;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #e4ebe5;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1.05rem;
  color: rgba(244, 247, 244, 0.86);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: 0.35rem;
  background: #f4f7f4;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

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

.cta:focus-visible {
  outline: 2px solid #f4f7f4;
  outline-offset: 3px;
}

.cta-quiet {
  background: transparent;
  color: #f4f7f4;
  border: 1px solid rgba(244, 247, 244, 0.45);
}

.cta-quiet:hover {
  background: rgba(244, 247, 244, 0.1);
}

.about {
  padding: 5.5rem 1.5rem;
}

.about-inner {
  width: min(36rem, 100%);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.about h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--sage-deep);
}

.about p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(63, 90, 74, 0.15);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sage);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

@media (min-width: 768px) {
  .site-header {
    padding: 1.75rem 2.5rem;
  }

  .hero-copy {
    margin: 0 0 14vh 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .wordmark,
  .hero-copy,
  .hero-media img,
  .about-inner {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
