@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --ink: #3b2415;
  --muted: #805d42;
  --amber: #f5a623;
  --orange: #e76f26;
  --cream: #fff8ea;
  --paper: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 4%, rgba(245, 166, 35, 0.18), transparent 26rem),
    var(--cream);
}

.site-header,
.hero,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 22px;
  border-bottom: 1px solid rgba(128, 93, 66, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand strong {
  color: var(--orange);
  font-weight: 700;
}

.footprint {
  display: grid;
  width: 39px;
  height: 45px;
  padding: 7px;
  place-items: center;
  border-radius: 13px;
  color: var(--paper);
  background: var(--orange);
  transform: rotate(-15deg);
}

.footprint svg,
.large-footprint svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: rgba(245, 166, 35, 0.16);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--ink);
  background: rgba(231, 111, 38, 0.12);
}

.nav-link-accent {
  color: var(--paper);
  background: var(--orange);
  box-shadow: 0 7px 18px rgba(231, 111, 38, 0.2);
}

.nav-link-accent:hover,
.nav-link-accent:focus-visible {
  color: var(--paper);
  background: #d65e1a;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: 70px;
  flex: 1;
  padding: 78px 0 66px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 27px;
  height: 2px;
  background: var(--amber);
}

h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.welcome-message {
  max-width: 610px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.inline-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration-color: rgba(231, 111, 38, 0.35);
  text-underline-offset: 3px;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--ink);
}

.closing-line {
  margin: 19px 0 27px;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: 1.42rem;
  font-style: italic;
}

.discord-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 19px 15px 22px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.discord-cta:hover,
.discord-cta:focus-visible {
  background: var(--orange);
  transform: translateY(-2px);
}

.arrow {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--amber);
  font-size: 1.1rem;
}

.hero-art {
  position: relative;
  min-height: 450px;
  isolation: isolate;
}

.sun {
  position: absolute;
  top: 20px;
  right: 11%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #ffd27a;
}

.art-ring {
  position: absolute;
  border: 1px solid rgba(231, 111, 38, 0.27);
  border-radius: 50%;
}

.ring-one {
  top: 0;
  right: 1%;
  width: 420px;
  height: 420px;
}

.ring-two {
  top: 54px;
  right: 14%;
  width: 302px;
  height: 302px;
  border-color: rgba(255, 253, 248, 0.65);
}

.large-footprint {
  position: absolute;
  top: 76px;
  right: 28%;
  width: 180px;
  height: 208px;
  color: var(--orange);
  filter: drop-shadow(15px 20px 0 rgba(231, 111, 38, 0.1));
  transform: rotate(18deg);
}

.floating-spark {
  position: absolute;
  color: var(--orange);
  font-size: 1.8rem;
}

.spark-one {
  top: 39px;
  right: 4%;
}

.spark-two {
  right: 53%;
  bottom: 61px;
  color: var(--amber);
  font-size: 1.1rem;
}

.art-caption {
  position: absolute;
  right: 1%;
  bottom: 17px;
  margin: 0;
  color: var(--muted);
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  line-height: 1.05;
  text-align: right;
}

.art-caption strong {
  color: var(--orange);
  font-size: 1.65rem;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 0 25px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-rule {
  width: 28px;
  height: 1px;
  background: var(--amber);
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 32px, 540px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .nav-link {
    padding: 9px 13px;
  }

  .hero {
    display: block;
    padding: 58px 0 35px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .hero-art {
    min-height: 355px;
    margin-top: 25px;
    transform: scale(0.85);
    transform-origin: top center;
  }

  .site-footer {
    padding-top: 0;
  }
}
