:root {
  color-scheme: dark;
  --ink: #151612;
  --panel: #20221b;
  --cream: #f8efd9;
  --muted: #c9c3b1;
  --gold: #edc47b;
  --line: #756b53;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--cream);
  background: var(--ink);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
p,
li {
  line-height: 1.75;
}
p {
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 1rem;
  top: -8rem;
  padding: 1rem;
  background: var(--ink);
  z-index: 10;
}
.skip:focus {
  top: 1rem;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem max(5vw, env(safe-area-inset-left));
  min-height: 96px;
  border-bottom: 1px solid #756b5366;
  gap: 1.5rem;
  background: #151612;
}
.brand {
  display: block;
  min-width: 130px;
}
.brand img {
  width: 170px;
  height: 80px;
  object-fit: contain;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
}
nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.86rem;
}
nav a:hover {
  color: var(--gold);
}
.hero {
  position: relative;
  min-height: min(900px, calc(100svh - 96px));
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #201b18;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 15, 13, 0.97),
    rgba(14, 15, 13, 0.86) 33%,
    rgba(14, 15, 13, 0.16) 78%
  );
  z-index: -1;
}
.hero-copy {
  padding: 5rem 6vw 7rem;
  width: min(760px, 65%);
}
.eyebrow {
  font:
    600 0.75rem/1.6 system-ui,
    sans-serif;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
h1,
h2 {
  overflow-wrap: anywhere;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
}
h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.5rem);
}
h1 em {
  font-style: normal;
  color: var(--gold);
}
h2 {
  font-size: clamp(2.3rem, 3.7vw, 4rem);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 34rem;
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 52px;
  padding: 1rem 1.4rem;
  background: var(--gold);
  color: #201a10;
  border: 1px solid var(--gold);
  text-decoration: none;
  font:
    650 0.95rem/1.4 system-ui,
    sans-serif;
  transition:
    background 0.18s,
    transform 0.18s;
}
.cta:hover {
  background: #ffe1a9;
  transform: translateY(-2px);
}
.hero-copy .cta {
  margin-top: 1.2rem;
}
.hero-copy .release-note {
  font-size: 0.8rem;
  margin-top: 1.4rem;
}
.hero-caption {
  position: absolute;
  bottom: 2rem;
  right: 3vw;
  font:
    600 0.64rem system-ui,
    sans-serif;
  letter-spacing: 0.17em;
  color: #f8efd9;
  background: #151612c9;
  padding: 0.6rem;
}
.duel-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 6vw;
  padding: 7rem 6vw;
  align-items: center;
  border-bottom: 1px solid #756b5366;
}
.section-heading > p:last-child {
  font-family: system-ui, sans-serif;
  max-width: 32rem;
}
.attack-table {
  padding: 2.2rem 0;
  border-block: 1px solid var(--line);
}
.attack-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.attack {
  min-width: 0;
  color: var(--cream);
  border: 1px solid var(--line);
  background: #1b1d17;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.8rem 0.7rem;
  transition:
    background 0.2s,
    transform 0.2s;
}
.attack > span:not(.attack-mark) {
  font-size: 1.7rem;
}
.attack small {
  font:
    0.7rem/1.5 system-ui,
    sans-serif;
  max-width: 9rem;
  color: var(--muted);
}
.attack-mark {
  font-size: 2.5rem;
  height: 3.5rem;
  color: var(--gold);
}
.attack.selected {
  background: #343023;
  border-color: var(--gold);
  transform: translateY(-7px);
  box-shadow: inset 0 -3px var(--gold);
}
.attack-result {
  font-family: system-ui, sans-serif;
  min-height: 3rem;
  margin: 2rem 0 0;
}
.attack-result strong {
  color: var(--cream);
}
.table-note {
  font:
    0.75rem/1.6 system-ui,
    sans-serif;
  margin: 0;
  max-width: 32rem;
}
.world-section {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 5vw;
  padding: 6rem 6vw;
}
.world-section figure {
  margin: 0;
}
.world-section figure img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}
.world-section figcaption {
  margin-top: 1rem;
  font:
    0.65rem/1.6 system-ui,
    sans-serif;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.world-copy p:not(.eyebrow) {
  font-family: system-ui, sans-serif;
}
.release-section {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 7rem;
}
.release-section > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1.5rem auto;
  font-family: system-ui, sans-serif;
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
  margin: 2.8rem 0;
  font-size: 1.6rem;
}
.platforms small {
  display: block;
  color: var(--muted);
  font:
    0.8rem/2 system-ui,
    sans-serif;
}
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font:
    0.9rem system-ui,
    sans-serif;
  color: var(--gold);
}
footer {
  padding: 2.5rem 6vw;
  border-top: 1px solid #756b5366;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-brand {
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}
footer p {
  width: 100%;
  margin: 0;
  font:
    0.72rem/1.8 system-ui,
    sans-serif;
}
.document {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}
.document .back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font:
    0.85rem system-ui,
    sans-serif;
  margin-bottom: 2.5rem;
}
.document h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}
.document .lead {
  font-size: 1.25rem;
  color: var(--cream);
}
.document .eyebrow {
  font-size: 0.65rem;
}
.document section {
  margin-top: 2.7rem;
  scroll-margin-top: 2rem;
}
.document h2 {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.document p,
.document li {
  font-family: system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.document section a {
  color: var(--gold);
}
.contents {
  border-block: 1px solid var(--line);
  padding: 1rem 0;
  gap: 0 1.5rem;
  margin-top: 2rem;
}
.contents a {
  color: var(--muted);
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-block: 1px solid var(--line);
  padding: 1.5rem 0;
  margin: 1.5rem 0;
  font-family: system-ui, sans-serif;
}
label {
  font-size: 0.95rem;
}
label > span {
  color: var(--muted);
}
input:not([type="checkbox"]),
textarea {
  width: 100%;
  border: 1px solid #a39370;
  background: #10120e;
  color: var(--cream);
  padding: 1rem;
  border-radius: 0;
  margin-bottom: 0.6rem;
}
textarea {
  resize: vertical;
}
.acknowledge {
  display: flex;
  gap: 1rem;
  align-items: center;
  line-height: 1.6;
  margin: 0.2rem 0 1rem;
}
.acknowledge input {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin: 10px;
  accent-color: var(--gold);
}
.acknowledge span {
  color: var(--cream);
}
#delete-status {
  margin: 0;
  color: var(--gold);
}
@media (min-width: 2000px) {
  .hero-copy {
    width: 49%;
    max-width: 1040px;
  }
  .hero {
    min-height: 960px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 1.2rem;
    max-width: 38rem;
  }
  .duel-section,
  .world-section {
    padding-inline: 9vw;
    gap: 8vw;
  }
}
@media (max-width: 1000px) {
  .hero-copy {
    width: 75%;
    padding-left: 5vw;
  }
  .hero:after {
    background: linear-gradient(90deg, #0e0f0df5, #0e0f0dbb 48%, #0e0f0d20);
  }
  .duel-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 6vw;
  }
  .section-heading {
    max-width: 40rem;
  }
  .attack-table {
    max-width: 46rem;
    width: 100%;
  }
  .world-section {
    gap: 3rem;
    grid-template-columns: 1fr 1fr;
  }
  .world-section figure img {
    aspect-ratio: 0.9;
  }
  .world-copy h2 {
    font-size: 2.5rem;
  }
}
@media (max-width: 650px) {
  .site-header {
    padding: 0.6rem 5vw;
    min-height: 82px;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .brand img {
    width: 140px;
    height: 64px;
  }
  nav {
    gap: 0 0.9rem;
  }
  nav a {
    font-size: 0.75rem;
  }
  .site-header nav {
    justify-content: flex-end;
  }
  /* Narrow screens: the art gets its own frame, cropped toward Pyrecrown,
     and the copy follows it instead of covering it. */
  .hero {
    min-height: 0;
    display: block;
    background: #0e0f0d;
  }
  .hero-art {
    position: relative;
    inset: auto;
    display: block;
    /* Square on a portrait phone; short landscape screens keep the headline
       within the first view. */
    height: min(100vw, 72svh);
    object-position: 100% 45%;
    z-index: 0;
  }
  .hero:after {
    inset: 0 0 auto 0;
    height: min(100vw, 72svh);
    background: linear-gradient(0deg, #0e0f0d 0%, #0e0f0d00 38%);
    z-index: 1;
  }
  .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: -2.5rem;
    padding: 0 6vw 3rem;
  }
  .hero-copy h1 {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 0.95rem;
  }
  .hero-caption {
    display: none;
  }
  .world-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 6vw 3rem;
  }
  .world-section figure img {
    aspect-ratio: 1.5;
  }
  .world-copy h2 {
    font-size: 2.6rem;
  }
  .attack-choices {
    gap: 0.5rem;
  }
  .attack {
    padding: 1.1rem 0.3rem;
  }
  .attack small {
    font-size: 0.65rem;
  }
  .attack > span:not(.attack-mark) {
    font-size: 1.4rem;
  }
  .release-section {
    padding: 3rem 6vw 4rem;
  }
  .document {
    padding: 2rem 6vw 4rem;
  }
  .document .back {
    margin-bottom: 1.5rem;
  }
  .document h1 {
    font-size: 2.8rem;
  }
  .document .eyebrow {
    letter-spacing: 0.1em;
  }
  .platforms {
    gap: 1.5rem;
  }
  footer {
    padding: 2rem 6vw;
  }
  footer nav {
    width: 100%;
  }
}
/* Phone landscape: too short for art above the copy, so the copy sits over
   the art as on desktop, with Pyrecrown kept on the right. */
@media (max-width: 650px) and (max-height: 500px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 82px);
  }
  .hero-art {
    position: absolute;
    inset: 0;
    height: 100%;
    object-position: 85% 45%;
    z-index: -2;
  }
  .hero:after {
    inset: 0;
    height: auto;
    background: linear-gradient(90deg, #0e0f0df5, #0e0f0dcc 45%, #0e0f0d10 85%);
    z-index: -1;
  }
  .hero-copy {
    width: 62%;
    margin-top: 0;
    padding: 1.2rem 5vw;
  }
  .hero-copy h1 {
    font-size: clamp(1.7rem, 6.5vh, 2.3rem);
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 0.85rem;
  }
}
@media (max-height: 500px) and (min-width: 651px) {
  .hero {
    min-height: 560px;
  }
  .hero-copy {
    padding-block: 3rem;
  }
  .site-header {
    min-height: 78px;
  }
  .brand img {
    height: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .cta:hover {
    transform: none;
  }
}
