:root {
  --ivory: #f8f6f1;
  --sand: #dccdbb;
  --olive: #3a3e2d;
  --ink: #3d3023;
  --serif: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.snap-section {
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
}

.section-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.section-hero__visual {
  position: relative;
  min-height: 18rem;
  background: var(--sand);
}

.section-hero__visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.section-hero__inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: clamp(2rem, 7vh, 5rem);
  padding: clamp(2rem, 6vw, 5rem) 1.5rem 2.5rem;
  text-align: center;
  background: radial-gradient(ellipse at top right, #e8dbce, var(--ivory) 75%);
}

.wordmark {
  display: block;
  width: clamp(9rem, 17vw, 15rem);
  height: auto;
}

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(3.5rem, 6.4vw, 7.25rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

h1 em, h2 em {
  display: block;
  font-weight: inherit;
}

.section-hero__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.5rem);
  margin: 2rem 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-hero__status::before,
.section-hero__status::after {
  content: "";
  width: clamp(1rem, 4vw, 4rem);
  height: 1px;
  background: #9b8874;
}

.section-hero__scroll-hint {
  padding: 0.65rem 0.2rem;
  color: inherit;
  font-size: 0.875rem;
  text-underline-offset: 0.4em;
}

.section-hero__scroll-hint:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.25rem;
}

.section-launch {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 2rem;
  padding: 4rem 1.5rem 2rem;
  background: var(--olive);
  color: var(--ivory);
  text-align: center;
}

.section-launch__inner {
  max-width: 44rem;
}

.section-launch h2 {
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 1;
}

.section-launch__inner p {
  max-width: 32rem;
  margin: 1.75rem auto 0;
  font-size: 1rem;
  line-height: 1.65;
}

.section-launch footer {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-launch__inner.is-visible {
  animation: reveal 0.85s ease-out both;
}

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

@media (max-width: 700px) {
  .section-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(18rem, 1fr);
  }

  .section-hero__inner {
    grid-row: 1;
    gap: 1.75rem;
    padding: 2rem 1rem 1rem;
  }

  .section-hero__visual img {
    object-position: center 36%;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 5.25rem);
  }

  .section-hero__status {
    margin-top: 1.25rem;
  }
}

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

  .section-launch__inner.is-visible {
    animation: none;
  }
}

.cursor-follower {
  display: none;
}

@media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-follower {
    --cursor-accent: 167 126 80;
    position: fixed;
    z-index: 10;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .cursor-follower.is-visible {
    opacity: 1;
  }

  .cursor-follower__layer {
    position: absolute;
    top: 0;
    left: 0;
  }

  .cursor-follower__layer::before {
    content: "";
    display: block;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 250ms ease, background-color 250ms ease;
  }

  .cursor-follower__layer--dot::before {
    width: 6px;
    height: 6px;
    background: rgb(var(--cursor-accent));
    box-shadow: 0 0 12px rgb(var(--cursor-accent) / 60%);
  }

  .cursor-follower__layer--ring::before {
    width: 36px;
    height: 36px;
    border: 1px solid rgb(var(--cursor-accent) / 65%);
  }

  .cursor-follower__layer--glow::before {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgb(var(--cursor-accent) / 20%), transparent 70%);
  }

  .cursor-follower.is-over-control .cursor-follower__layer--dot::before {
    transform: translate(-50%, -50%) scale(0.67);
  }

  .cursor-follower.is-over-control .cursor-follower__layer--ring::before {
    transform: translate(-50%, -50%) scale(1.44);
    background-color: rgb(var(--cursor-accent) / 10%);
  }

  .cursor-follower.is-over-control .cursor-follower__layer--glow::before {
    transform: translate(-50%, -50%) scale(1.33);
  }
}

.preloader {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.5rem;
  background: var(--ivory);
  text-align: center;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.preloader[hidden] {
  display: none;
}

.preloader.is-ready {
  opacity: 0;
  visibility: hidden;
}

.preloader__wordmark {
  display: block;
  width: min(13rem, 65vw);
  height: auto;
}

.preloader__spinner {
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid var(--sand);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: preloader-spin 750ms linear infinite;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: none;
  }

  .preloader__spinner {
    animation: none;
  }
}
