:root {
  --ink: #262621;
  --muted: #60665a;
  --fog: #e9ece9;
  --paper: #f7f3eb;
  --field: #687456;
  --field-dark: #303a28;
  --steel: #cfd3d0;
  --steel-line: #7d8581;
  --ginger: #c8813f;
  --brown: #6b4930;
  --bow: #ef9dba;
  --line: rgba(43, 45, 39, 0.18);
  --shadow: 0 24px 70px rgba(34, 39, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(239, 157, 186, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 4%, rgba(207, 211, 208, 0.26), transparent 26rem),
    linear-gradient(180deg, #d9dddc 0%, #bcc3b9 42%, #798668 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.mist {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mist-ribbon {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246, 248, 246, 0.34), transparent);
  filter: blur(22px);
  animation: drift 11s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.mist-ribbon:nth-child(1) {
  top: 14%;
}

.mist-ribbon:nth-child(2) {
  top: 44%;
}

.mist-ribbon:nth-child(3) {
  top: 70%;
}

@keyframes drift {
  to {
    transform: translateX(9%) scaleY(1.18);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 78px;
  margin: 1rem auto 0;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background: rgba(244, 244, 239, 0.72);
  box-shadow: 0 18px 46px rgba(36, 42, 31, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 2px solid rgba(38, 38, 33, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 52%),
    linear-gradient(145deg, var(--ginger), #f1c487);
  color: #24170f;
  font-size: 0.8rem;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
  max-width: min(45vw, 340px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 0.12rem;
  color: var(--muted);
  font-weight: 850;
}

.nav-links,
.cta-row,
.ticker-line {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.nav-links a,
.button,
[data-copy] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(43, 45, 39, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-links a {
  min-width: 56px;
  padding: 0 1rem;
}

.nav-links a:hover,
.button:hover,
[data-copy]:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 129, 63, 0.56);
  background: rgba(255, 255, 255, 0.88);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1rem 0 0;
}

.banner-card {
  position: relative;
  min-height: clamp(235px, 35vw, 420px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 34px;
  background: var(--fog);
  box-shadow: var(--shadow);
}

.banner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(233, 236, 233, 0.78), transparent 34%, rgba(233, 236, 233, 0.18)),
    linear-gradient(0deg, rgba(121, 134, 104, 0.6), transparent 42%);
}

.banner-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(250px, 410px) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-top: -3.25rem;
  padding: 0 clamp(0.7rem, 2vw, 1.5rem);
}

.portrait-card,
.quest-card,
.quest-strip article,
.lore {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(247, 243, 235, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.portrait-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0.74rem;
  border-radius: 28px;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.quest-card {
  position: relative;
  z-index: 2;
  padding: clamp(1.2rem, 4vw, 3rem);
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #9b515f;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p,
strong {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  color: #1f211d;
  font-size: clamp(3.25rem, 8.4vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.22rem);
  line-height: 1.62;
}

.ticker-line {
  margin-top: 1.25rem;
}

.ticker-line > span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--steel), #ffffff 45%, var(--bow));
  color: #20231d;
  font-weight: 950;
}

[data-copy] {
  cursor: pointer;
  padding: 0 1rem;
}

.cta-row {
  margin-top: 1.45rem;
}

.button {
  min-width: 128px;
  padding: 0.78rem 1.05rem;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--field-dark), var(--field));
  color: #fffaf1;
}

.quest-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.quest-strip article {
  min-height: 116px;
  padding: 1rem;
  border-radius: 24px;
}

.quest-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quest-strip strong {
  display: block;
  margin-top: 0.58rem;
  color: #4b5b38;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.lore {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 4vw, 2.35rem);
  border-radius: 28px;
}

.lore h2 {
  margin: 0;
  color: #1f211d;
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.lore > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.7;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  color: #34382f;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-grid,
  .lore {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin-top: -2rem;
    padding: 0 0.65rem;
  }

  .portrait-card {
    order: 2;
  }

  .portrait-card img {
    aspect-ratio: 16 / 10;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14vw, 5.3rem);
  }
}

@media (max-width: 620px) {
  main,
  .topbar,
  footer {
    width: min(100% - 1rem, 1180px);
  }

  .topbar,
  footer {
    flex-direction: column;
    align-items: stretch;
  }

  .brand strong,
  .brand small {
    max-width: calc(100vw - 7rem);
  }

  .nav-links,
  .cta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a,
  .button {
    min-width: 0;
    width: 100%;
    padding-inline: 0.45rem;
  }

  .banner-card {
    min-height: 255px;
    border-radius: 24px;
  }

  .banner-card img {
    object-position: 52% center;
  }

  .quest-card,
  .portrait-card,
  .lore {
    border-radius: 22px;
  }

  .quest-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.1rem);
  }
}
