:root {
  color-scheme: light;
  --canvas: #fdf7e8;
  --coral: #ff5a3c;
  --teal: #005968;
  --gold: #f2b72c;
  --rule: #f1ddbe;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --content-width: 96rem;
  font-family:
    "Avenir Next",
    Avenir,
    "Nunito Sans",
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--teal);
  background: var(--canvas);
}

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

a {
  color: inherit;
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, var(--content-width));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.site-header {
  padding-block: clamp(1.5rem, 4vw, 3.25rem) 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  width: fit-content;
  text-decoration: none;
}

.brand__mark {
  width: clamp(3.35rem, 7vw, 5.75rem);
  border-radius: 50%;
}

.brand__name {
  font-size: clamp(1.55rem, 3.2vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(25rem, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5.5rem);
  padding-block: clamp(2rem, 5vw, 5rem);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.8rem, 6vw, 6.75rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.89;
}

h1 span {
  display: block;
}

h1 span:first-child {
  color: var(--coral);
}

.hero__intro {
  max-width: 31rem;
  margin: clamp(2rem, 4vw, 3.75rem) 0 0;
  font-size: clamp(1.2rem, 1.85vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.launch-note {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-top: clamp(2rem, 3vw, 3.25rem);
}

.launch-note__spark {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2.75rem;
  line-height: 0.8;
  transform: translateY(0.15rem);
}

.launch-note p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.launch-note span:last-child {
  display: block;
}

.hero__art {
  align-self: center;
  margin: 0;
}

.hero__art img {
  width: 100%;
  object-fit: contain;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 1.25rem clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.error-page {
  align-self: center;
  max-width: 49rem;
  padding-block: 4rem;
}

.error-page__code {
  margin: 0 0 0.75rem;
  color: var(--coral);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.error-page h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6rem);
}

.error-page > p:last-child {
  max-width: 36rem;
  margin: 2rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
}

.error-page a {
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
  }

  h1 {
    font-size: clamp(3.5rem, 8vw, 5.75rem);
  }
}

@media (max-width: 48rem) {
  .site-header {
    padding-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 3rem;
  }

  .hero__copy {
    text-align: center;
  }

  h1 {
    max-width: 10ch;
    margin-inline: auto;
    font-size: clamp(3.35rem, 15vw, 5.6rem);
  }

  .hero__intro {
    max-width: 36rem;
    margin-inline: auto;
  }

  .launch-note {
    justify-content: center;
    max-width: 28rem;
    margin-inline: auto;
    text-align: left;
  }

  .hero__art {
    width: min(100%, 38rem);
    margin-inline: auto;
  }
}

@media (max-width: 30rem) {
  .brand__name {
    font-size: 1.45rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .hero__intro {
    font-size: 1.1rem;
  }

  .launch-note {
    gap: 0.75rem;
  }

  .launch-note__spark {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  h1 span:first-child,
  .launch-note__spark {
    color: CanvasText;
  }
}
