:root {
  --bg: #f3eadc;
  --bg-deep: #eadcc8;
  --paper: rgba(255, 250, 242, 0.58);
  --paper-strong: rgba(255, 253, 248, 0.78);
  --charcoal: #292622;
  --muted: #74695f;
  --soft-sage: #8b9c7d;
  --sage-deep: #627257;
  --terracotta: #bd735f;
  --sand-line: rgba(84, 72, 58, 0.15);
  --shadow: 0 28px 90px rgba(69, 50, 32, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--charcoal);
  font-family: "Manrope", "Avenir Next", sans-serif;
  background:
    radial-gradient(circle at 16% 22%, rgba(189, 115, 95, 0.18), transparent 27rem),
    radial-gradient(circle at 82% 18%, rgba(139, 156, 125, 0.23), transparent 25rem),
    linear-gradient(138deg, var(--bg) 0%, #f8f1e8 47%, var(--bg-deep) 100%);
}

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

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(41, 38, 34, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 38, 34, 0.021) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 75%);
}

.ambient-wash,
.quiet-arc {
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.ambient-wash {
  width: clamp(18rem, 32vw, 34rem);
  height: clamp(16rem, 30vw, 30rem);
  opacity: 0.52;
  filter: blur(2px);
}

.wash-a {
  left: max(-7rem, -9vw);
  bottom: 8vh;
  background: linear-gradient(135deg, rgba(189, 115, 95, 0.2), rgba(189, 115, 95, 0));
  border-radius: 42% 58% 54% 46%;
  transform: rotate(-13deg);
}

.wash-b {
  right: max(-6rem, -8vw);
  top: 13vh;
  background: linear-gradient(155deg, rgba(98, 114, 87, 0.18), rgba(98, 114, 87, 0));
  border-radius: 56% 44% 48% 52%;
  transform: rotate(11deg);
}

.quiet-arc {
  width: min(62rem, 92vw);
  aspect-ratio: 1.8;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(98, 114, 87, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -44%) rotate(-8deg);
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  place-items: center;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(3rem, 8vh, 6.5rem) 0;
}

.hero-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(2.2rem, 6vw, 4.8rem);
  text-align: center;
  background:
    linear-gradient(135deg, var(--paper-strong), rgba(255, 248, 236, 0.38)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  animation: rise 760ms cubic-bezier(0.2, 0.75, 0.18, 1) both;
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-card::before {
  inset: 0.7rem;
  border: 1px solid var(--sand-line);
  border-radius: 8px;
}

.hero-card::after {
  width: 6.2rem;
  height: 1px;
  left: 50%;
  bottom: clamp(1.35rem, 3vw, 2rem);
  background: linear-gradient(90deg, transparent, rgba(189, 115, 95, 0.54), transparent);
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 1.05rem;
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0 auto;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0;
}

.subheading {
  max-width: 34rem;
  margin: clamp(1.25rem, 3vw, 1.9rem) auto 0;
  color: #514940;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.muted-line {
  margin: clamp(1.2rem, 3vw, 1.7rem) auto 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.site-footer {
  padding-block: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(41, 38, 34, 0.58);
  font-size: 0.85rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 680px) {
  .site-footer,
  .hero {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-block: 2rem 3.5rem;
  }

  h1 {
    max-width: 10ch;
  }
}

@media (max-width: 420px) {
  .hero-card {
    padding: 2rem 1.25rem 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
