:root {
  --ink: #071522;
  --paper: #f2efe8;
  --paper-deep: #e4ded2;
  --muted: #69747d;
  --line: rgba(7, 21, 34, 0.17);
  --red: #c24e3f;
  --red-dark: #8e342b;
  --night: #0c1b28;
  --cream: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 4%, rgba(194, 78, 63, 0.1), transparent 25rem),
    var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.92);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--cream);
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 1rem;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-header nav a,
footer nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
footer nav a:hover {
  color: var(--ink);
}

.account-link {
  justify-self: end;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.account-link:hover {
  color: var(--cream);
  background: var(--ink);
}

main {
  min-height: calc(100vh - 76px);
}

.intro {
  min-height: 66vh;
  padding: clamp(4.5rem, 9vw, 9rem) 7vw clamp(4rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.kicker {
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 900px;
  margin: 0.55rem 0 1.4rem;
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.intro h1 em {
  color: var(--red);
  font-family: "IM Fell English", Georgia, serif;
  font-weight: 400;
}

.intro-copy > p {
  max-width: 640px;
  color: #43505a;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.primary-link,
.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.35rem;
  color: var(--cream);
  background: var(--red);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 150ms ease, background 150ms ease;
}

.primary-link:hover,
.play-link:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.account-card {
  padding: 1.5rem 0 0;
  border-top: 3px solid var(--ink);
}

.account-card span {
  color: var(--red-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-card strong {
  display: block;
  margin: 0.65rem 0;
  font-family: "IM Fell English", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.06;
}

.account-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.catalog {
  padding: clamp(4rem, 8vw, 8rem) 7vw;
  background: var(--paper-deep);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 2.2rem;
}

.section-heading h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
}

.section-heading > p {
  max-width: 25rem;
  margin: 0 0 0.5rem;
  color: var(--muted);
  text-align: right;
}

.adventure-card {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  background: var(--cream);
  box-shadow: 0 30px 80px rgba(7, 21, 34, 0.12);
}

.adventure-card + .adventure-card {
  margin-top: 2.2rem;
}

.cover-link {
  min-height: 640px;
  overflow: hidden;
  background: var(--night);
}

.cover-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.cover-link:hover img {
  transform: scale(1.018);
}

.adventure-copy {
  padding: clamp(2.2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(194, 78, 63, 0.12);
}

.adventure-copy h3 {
  margin: 0.6rem 0 0.1rem;
  font-family: "IM Fell English", Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.setting {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary {
  max-width: 710px;
  margin: 1.5rem 0;
  color: #3f4b54;
  font-family: "IM Fell English", Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.45;
}

.features {
  margin: 0.5rem 0 2.2rem;
  padding: 1.2rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.features li {
  color: var(--muted);
  font-size: 0.82rem;
}

.features li::before {
  content: "—";
  margin-right: 0.55rem;
  color: var(--red);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.play-link span {
  margin-left: 1.2rem;
  font-size: 1.35rem;
}

.card-actions > span {
  color: var(--muted);
  font-size: 0.72rem;
}

footer {
  min-height: 150px;
  padding: 2.5rem 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: var(--cream);
  background: var(--night);
}

footer .brand-mark {
  color: var(--night);
  background: var(--cream);
}

footer p {
  color: #aeb9c1;
  font-family: "IM Fell English", Georgia, serif;
  text-align: center;
}

footer nav {
  justify-self: end;
}

footer nav a {
  color: #aeb9c1;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .intro {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-heading,
  .card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > p {
    text-align: left;
  }

  .adventure-card {
    grid-template-columns: 1fr;
  }

  .adventure-card + .adventure-card {
  margin-top: 2.2rem;
}

.cover-link {
    min-height: auto;
    aspect-ratio: 2 / 3;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer p {
    text-align: left;
  }

  footer nav {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0 1rem;
  }

  .brand > span:last-child {
    display: none;
  }

  .intro,
  .catalog {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .intro h1 {
    font-size: clamp(3.7rem, 20vw, 5.5rem);
  }

  .adventure-copy {
    padding: 1.6rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

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