:root {
  --stone: #eee7dc;
  --parchment: #f6f0e7;
  --espresso: #2c211c;
  --terracotta: #b66950;
  --clay: #c9a28f;
  --line: rgba(44, 33, 28, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--espresso);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.5), transparent 30%),
    linear-gradient(120deg, var(--parchment), var(--stone));
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.site-header {
  width: calc(100% - 6rem);
  height: 96px;
  margin: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.wordmark {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.38em;
}

nav {
  display: flex;
  gap: 3rem;
}

nav a {
  position: relative;
  font-size: 1rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--terracotta);
  transition: right 220ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  right: 0;
}

.hero {
  min-height: calc(100vh - 96px);
  padding: clamp(4.5rem, 9vh, 7.5rem) 5vw 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 4vw;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 600;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(4.5rem, 8.5vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.hero-intro {
  display: grid;
  grid-template-columns: 1px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
  padding-bottom: 0.6rem;
  transition-delay: 120ms;
}

.intro-rule {
  background: var(--line);
}

.hero-intro p {
  max-width: 360px;
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  line-height: 1.5;
}

.primary-link {
  width: min(100%, 310px);
  min-height: 70px;
  padding: 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--terracotta);
  color: white;
  font-size: 1.05rem;
  transition: background 220ms ease, transform 220ms ease;
}

.primary-link span {
  font-size: 1.75rem;
  transition: transform 220ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: #9e543d;
  transform: translateY(-2px);
}

.primary-link:hover span,
.primary-link:focus-visible span {
  transform: translateX(6px);
}

.orb {
  position: absolute;
  z-index: 0;
  border: 2px solid var(--terracotta);
  pointer-events: none;
  opacity: 0.85;
}

.orb-large {
  width: 430px;
  height: 430px;
  border-radius: 50%;
  right: -100px;
  top: 120px;
  animation: drift 12s ease-in-out infinite;
}

.orb-small {
  width: 240px;
  height: 520px;
  border-radius: 180px 0 0 0;
  right: -1px;
  top: 330px;
  border-color: var(--clay);
}

.explore-panel {
  min-height: 75vh;
  padding: 9rem max(6vw, 3rem);
  display: flex;
  align-items: center;
  background: var(--espresso);
  color: var(--parchment);
  position: relative;
  z-index: 2;
}

.explore-panel h2 {
  max-width: 900px;
  margin: 0 0 2rem;
  font-size: clamp(3.25rem, 7vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.explore-panel div > p:not(.section-label) {
  max-width: 640px;
  margin: 0 0 2.5rem;
  color: #d8cabe;
  font-size: 1.15rem;
  line-height: 1.7;
}

.text-link {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--terracotta);
}

footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background: var(--espresso);
  color: #cdbeb1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
}

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

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

@keyframes drift {
  50% {
    transform: translate(-10px, 8px);
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 2.5rem);
    height: 78px;
    margin: 0 1.25rem;
  }

  .wordmark {
    font-size: 0.8rem;
    letter-spacing: 0.26em;
  }

  nav {
    gap: 1.2rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    min-height: calc(100svh - 78px);
    padding: 4rem 1.25rem 2.5rem;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3rem;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 6.5rem);
  }

  .hero-intro {
    max-width: 520px;
    gap: 1.25rem;
  }

  .orb-large {
    width: 260px;
    height: 260px;
    right: -125px;
    top: 115px;
  }

  .orb-small {
    display: none;
  }

  .explore-panel {
    min-height: 65vh;
    padding: 6rem 1.25rem;
  }

  footer {
    padding: 2rem 1.25rem;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header nav a:first-child {
    display: none;
  }

  h1 {
    font-size: clamp(3.8rem, 19vw, 5.5rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
