:root {
  color-scheme: light;
  --paper: #fbf9f2;
  --ink: #0b2e59;
  --muted: #536b83;
  --gold: #c8a863;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.page-shell {
  width: min(100%, 1680px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5.25rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: clamp(3rem, 4.5vw, 5.25rem);
  height: auto;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  min-height: calc(100svh - clamp(9rem, 14vw, 14rem));
}

.copy {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(4rem, 6.4vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

.lead,
.status {
  color: var(--muted);
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  line-height: 1.45;
}

.lead {
  max-width: 31ch;
  margin: clamp(2rem, 4vw, 3.75rem) 0 0;
}

.status {
  margin: clamp(1.5rem, 2.5vw, 2.5rem) 0 0;
}

a {
  display: inline-block;
  margin-top: clamp(2rem, 3.5vw, 3.5rem);
  color: var(--ink);
  font-size: clamp(1.1rem, 1.45vw, 1.5rem);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.28em;
}

a:hover {
  text-decoration-color: var(--gold);
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 0.45rem;
}

.book-path {
  width: 100%;
  max-height: 64vh;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-line {
  stroke-width: 1.15;
}

.route-line {
  stroke-width: 1.4;
}

@media (max-width: 850px) {
  .page-shell {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    padding: 1.5rem;
  }

  .hero {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .copy {
    max-width: 38rem;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5.5rem);
  }

  .lead,
  .status {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

  .book-path {
    position: absolute;
    right: -12rem;
    bottom: -5rem;
    width: 35rem;
    opacity: 0.18;
    pointer-events: none;
  }
}
