:root {
  --paper: #fffef5;
  --ink: #050505;
  --page: 1500px;
  --gutter: clamp(1.5rem, 5vw, 6rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  line-height: 1.58;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: clamp(1.25rem, 3vw, 3rem);
  left: 50%;
  transform: translateX(-50%);
}

.brand { display: block; }

.brand img {
  width: clamp(170px, 13vw, 250px);
  height: auto;
}

.section-shell {
  width: min(100%, var(--page));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1,
h2 {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h1,
h2 { font-size: 40px; }

p { margin: 0 0 1.65em; }

.prose h2 { margin-bottom: 0.9em; }

.hero {
  min-height: min(900px, 100vh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.9fr);
  align-items: center;
  gap: 2rem;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-copy { padding-left: clamp(0rem, 3vw, 4rem); }

.hero .eyebrow {
  margin: 0.65em 0 0.8em;
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  font-weight: 600;
}

.hero .intro {
  font-size: clamp(1.2rem, 1.65vw, 1.8rem);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  min-width: 220px;
  justify-content: center;
  padding: 0.7rem 2.2rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cta:hover,
.cta:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.hero-art img {
  width: min(100%, 720px);
  margin-inline: auto;
}

.story {
  display: grid;
  grid-template-columns: minmax(350px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding-top: 7rem;
  padding-bottom: 8rem;
}

.story-art img {
  width: min(100%, 560px);
  margin-inline: auto;
}

.expect {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.expect-copy ul {
  margin: -0.5rem 0 1.75rem;
  padding-left: 2.2rem;
}

.join { margin-top: 4rem; }

.socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: -0.25rem;
}

.socials a {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 13px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  opacity: 0.72;
  transform: translateY(-3px);
}

.socials img { width: 100%; }

.dragon-art img {
  width: min(100%, 650px);
  margin-inline: auto;
}

footer {
  padding: 3rem var(--gutter) 4rem;
  text-align: center;
  font-size: 1rem;
}

footer p { margin: 0; }

:focus-visible {
  outline: 3px solid #6f7f45;
  outline-offset: 5px;
}

@media (max-width: 900px) {
  body { font-size: 1.04rem; }

  .site-header {
    top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .brand img { width: 185px; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
    text-align: center;
  }

  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: 40px; }
  .hero .eyebrow { font-size: clamp(1.35rem, 6vw, 2rem); }
  .hero .intro { font-size: clamp(1.05rem, 4.5vw, 1.4rem); }
  .desktop-break { display: none; }

  .cta {
    min-width: 190px;
    font-size: 1.1rem;
  }

  .hero-art img { width: min(100%, 590px); }

  .story,
  .expect {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .story-art { order: 2; }
  .story-copy { order: 1; }

  .story-art img { width: min(83%, 520px); }

  .expect-copy { order: 1; }
  .dragon-art { order: 2; }
  .dragon-art img { width: min(92%, 550px); }

  .join { margin-top: 3.25rem; }
}

@media (max-width: 520px) {
  :root { --gutter: 1.5rem; }

  body {
    font-size: 1rem;
    line-height: 1.55;
  }

  h2 { font-size: 40px; }

  .hero { padding-bottom: 3.5rem; }
  .hero .intro { margin-bottom: 1.3rem; }
  .hero-art img { width: 100%; }

  .story,
  .expect {
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .story-art img,
  .dragon-art img { width: 100%; }

  .prose h2 { margin-bottom: 0.75em; }
  p { margin-bottom: 1.45em; }

  .socials a {
    width: 48px;
    height: 48px;
  }

  footer { padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
