:root {
  color-scheme: dark;
  --ink: #f7f1e7;
  --muted: #c2b6a9;
  --background: #201c19;
  --background-deep: #171412;
  --line: #504238;
  --sand: #f0e5d0;
  --copper: #cc7846;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 79% 51%, #443026 0, transparent 39%),
    linear-gradient(135deg, var(--background) 0%, var(--background-deep) 100%);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #efb56e;
  outline-offset: 5px;
}

.page {
  min-height: 100svh;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 32px clamp(24px, 6vw, 100px) 28px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.wordmark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 15px;
  text-decoration-color: #816b58;
  text-underline-offset: 5px;
}

.header-link:hover {
  color: var(--ink);
}

.hero {
  flex: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
  padding: clamp(54px, 8vh, 112px) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 32px;
  color: #dec8b0;
  font-size: 14px;
  letter-spacing: 0.015em;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px #cc784626;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(64px, 7.6vw, 126px);
  line-height: 0.97;
  letter-spacing: -0.075em;
  font-weight: 600;
}

h1 em {
  display: inline-block;
  color: #ebbd83;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.intro {
  max-width: 550px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.actions {
  margin-top: 44px;
}

.primary-link {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 22px;
  border-radius: 14px;
  background: var(--sand);
  color: #241c18;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    transform 150ms ease;
}

.primary-link:hover {
  background: #fff3dc;
  transform: translateY(-2px);
}

.actions p {
  max-width: 400px;
  margin: 17px 0 0;
  color: #b6a89a;
  font-size: 14px;
  line-height: 1.5;
}

.hero-art {
  position: relative;
  min-height: min(45vw, 670px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.halo {
  position: absolute;
  inset: 10%;
  z-index: -1;
  border: 1px solid #b9764838;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #9a58302b 0,
    #7f4b2120 43%,
    transparent 68%
  );
  box-shadow: 0 0 110px #b7652820;
}

.hero-art img {
  width: min(100%, 700px);
  height: auto;
  filter: drop-shadow(0 30px 38px #08060455);
  transform: rotate(-12deg);
}

.site-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #a99c90;
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 70px 0 52px;
  }
  .hero-art {
    grid-row: 1;
    min-height: 250px;
    max-height: 330px;
  }
  .hero-art img {
    width: min(65vw, 350px);
  }
  .halo {
    inset: 3% 25%;
  }
  h1 {
    font-size: clamp(58px, 11vw, 90px);
  }
}

@media (max-width: 540px) {
  .page {
    padding: 22px 22px 24px;
  }
  .wordmark {
    font-size: 25px;
  }
  .wordmark img {
    width: 36px;
    height: 36px;
  }
  .header-link {
    font-size: 13px;
    text-align: right;
  }
  .hero {
    padding: 32px 0 54px;
  }
  .hero-art {
    min-height: 195px;
    max-height: 220px;
  }
  .hero-art img {
    width: 215px;
  }
  .halo {
    inset: 3% 19%;
  }
  .status {
    margin-bottom: 23px;
    font-size: 13px;
  }
  h1 {
    font-size: clamp(48px, 12.5vw, 68px);
  }
  .intro {
    margin-top: 27px;
    font-size: 18px;
  }
  .actions {
    margin-top: 32px;
  }
  .primary-link {
    width: 100%;
  }
  .site-footer {
    align-items: flex-start;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-link {
    transition: none;
  }
  .primary-link:hover {
    transform: none;
  }
}
