:root {
  color-scheme: light;
  --paper: #f6f1ea;
  --paper-soft: #fffaf3;
  --ink: #171514;
  --muted: #766f68;
  --rose: #b7645c;
  --brass: #a57935;
  --line: rgba(23, 21, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(246, 241, 234, 0.92), rgba(255, 250, 243, 0.74)),
    radial-gradient(circle at 8% 14%, rgba(183, 100, 92, 0.08), transparent 28%),
    linear-gradient(90deg, var(--paper), var(--paper-soft));
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field {
  position: absolute;
  display: block;
  width: 58vw;
  min-width: 420px;
  aspect-ratio: 1.4 / 1;
  border-radius: 43% 57% 62% 38% / 48% 36% 64% 52%;
  background:
    radial-gradient(circle at 30% 42%, rgba(183, 100, 92, 0.22), transparent 42%),
    radial-gradient(circle at 72% 58%, rgba(165, 121, 53, 0.16), transparent 46%),
    rgba(255, 250, 243, 0.06);
  filter: blur(30px);
  mix-blend-mode: multiply;
  opacity: 0.58;
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: ambient-drift 24s ease-in-out infinite alternate;
}

.field-one {
  top: -18vh;
  left: -18vw;
}

.field-two {
  right: -22vw;
  bottom: -16vh;
  width: 64vw;
  border-radius: 61% 39% 44% 56% / 36% 54% 46% 64%;
  background:
    radial-gradient(circle at 38% 36%, rgba(118, 111, 104, 0.16), transparent 44%),
    radial-gradient(circle at 68% 66%, rgba(183, 100, 92, 0.14), transparent 48%),
    rgba(255, 250, 243, 0.05);
  animation-duration: 31s;
  animation-delay: -9s;
}

.field-three {
  top: 34vh;
  left: 42vw;
  width: 38vw;
  min-width: 320px;
  border-radius: 52% 48% 36% 64% / 62% 42% 58% 38%;
  background:
    radial-gradient(circle at 48% 46%, rgba(165, 121, 53, 0.12), transparent 44%),
    radial-gradient(circle at 78% 38%, rgba(183, 100, 92, 0.1), transparent 38%);
  opacity: 0.42;
  animation-duration: 37s;
  animation-delay: -17s;
}

@keyframes ambient-drift {
  0% {
    border-radius: 43% 57% 62% 38% / 48% 36% 64% 52%;
    transform: translate3d(-2vw, -1vh, 0) rotate(-4deg) scale(1);
  }

  50% {
    border-radius: 58% 42% 39% 61% / 37% 58% 42% 63%;
    transform: translate3d(4vw, 3vh, 0) rotate(7deg) scale(1.08);
  }

  100% {
    border-radius: 36% 64% 54% 46% / 62% 39% 61% 38%;
    transform: translate3d(1vw, -4vh, 0) rotate(-2deg) scale(0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-field {
    animation: none;
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(23, 21, 20, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 21, 20, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(115deg, transparent 0%, black 42%, transparent 78%);
  opacity: 0.16;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  border: 14px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  isolation: isolate;
  padding: clamp(22px, 4.5vw, 64px);
}

.veil-logo {
  position: absolute;
  right: max(-190px, -12vw);
  bottom: max(-170px, -10vw);
  z-index: -1;
  width: min(74vw, 820px);
  height: auto;
  opacity: 0.055;
  filter: saturate(0.58) contrast(0.96);
  pointer-events: none;
  user-select: none;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(23, 21, 20, 0.72);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero {
  width: min(680px, 100%);
  align-self: center;
  padding-block: clamp(84px, 16vh, 158px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--brass);
  font-size: clamp(0.76rem, 1.6vw, 0.86rem);
  font-weight: 720;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.62;
}

h1 {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-family:
    Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
}

.subhead {
  max-width: 470px;
  margin: clamp(22px, 3.4vw, 30px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.55;
}

.footnote {
  width: min(780px, 100%);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(23, 21, 20, 0.58);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .page-shell {
    padding: 24px 20px;
  }

  .masthead {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-block: 94px 64px;
  }

  h1 {
    font-size: clamp(3rem, 14.6vw, 4.6rem);
  }

  .veil-logo {
    right: -190px;
    bottom: 4vh;
    width: 640px;
    opacity: 0.045;
  }
}
