:root {
  --ink: #17130f;
  --paper: #f5efe4;
  --mist: #e6dccb;
  --forest: #17382f;
  --forest-2: #245147;
  --ember: #a94d2f;
  --gold: #c9a463;
  --steel: #66737a;
  --night: #0f1515;
  --white: #fffaf0;
  --shadow: 0 18px 45px rgba(18, 14, 10, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(13, 18, 18, 0.86);
  border-bottom: 1px solid rgba(201, 164, 99, 0.3);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 24px);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
}

.site-nav a {
  color: rgba(255, 250, 240, 0.82);
  text-decoration: none;
}

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

.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 12, 12, 0.92) 0%, rgba(8, 12, 12, 0.72) 42%, rgba(8, 12, 12, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 12, 12, 0.9) 0%, rgba(8, 12, 12, 0) 35%),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  width: min(1160px, calc(100% - 36px));
  margin-left: clamp(18px, 4vw, 56px);
  margin-right: auto;
  padding: 74px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  font-size: clamp(3.5rem, 9vw, 8.2rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.12;
}

p {
  line-height: 1.65;
}

.lede {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: rgba(255, 250, 240, 0.86);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(201, 164, 99, 0.58);
  border-radius: 4px;
  color: var(--white);
  background: rgba(201, 164, 99, 0.16);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #17130f;
  background: var(--gold);
  border-color: var(--gold);
}

.button.dark {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.button.light {
  color: var(--forest);
  background: transparent;
  border-color: rgba(23, 56, 47, 0.35);
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  padding: clamp(58px, 9vw, 108px) clamp(18px, 4vw, 56px);
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  color: var(--white);
  background: var(--night);
}

.container {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: #5d5145;
  font-family: Arial, sans-serif;
}

.dark .section-heading p {
  color: rgba(255, 250, 240, 0.72);
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.door,
.feature,
.info-card,
.song,
.doc-link {
  border: 1px solid rgba(23, 56, 47, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.7);
  box-shadow: 0 10px 24px rgba(18, 14, 10, 0.08);
}

.door {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
}

.door img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.door-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.door-body p {
  margin: 0;
  color: #5d5145;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.door-body span {
  margin-top: auto;
  color: var(--ember);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.framed-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.framed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy p {
  color: #51473e;
  font-family: Arial, sans-serif;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.fact {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 250, 240, 0.64);
}

.fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.fact span {
  font-size: 1.15rem;
}

.info-grid,
.song-grid,
.doc-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-form-copy p {
  color: #51473e;
  font-family: Arial, sans-serif;
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(23, 56, 47, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: var(--forest);
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(23, 56, 47, 0.26);
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  font: 1rem Arial, sans-serif;
}

.field textarea {
  min-height: 190px;
  resize: vertical;
}

.field-error {
  color: #8b2f24;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.form-alert {
  display: block;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 4px;
  color: var(--forest);
  background: rgba(201, 164, 99, 0.18);
  font-family: Arial, sans-serif;
}

.form-alert:empty {
  display: none;
}

.form-alert.error {
  color: #6d2119;
  background: #f3d8d1;
}

.form-alert.success {
  color: #17382f;
  background: #d8eadf;
}

.form-button {
  width: auto;
  cursor: pointer;
}

.info-card,
.song,
.doc-link {
  padding: 20px;
}

.info-card p,
.song p,
.doc-link p {
  margin-bottom: 0;
  color: #5d5145;
  font-family: Arial, sans-serif;
}

.song-meta {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--forest);
  background: rgba(201, 164, 99, 0.2);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.song audio {
  width: 100%;
  margin-top: 14px;
}

.doc-link {
  text-decoration: none;
}

.doc-link strong {
  color: var(--forest);
}

.page-hero {
  min-height: 58vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 12, 12, 0.9), rgba(8, 12, 12, 0.42)),
    var(--hero-image) center / cover no-repeat;
}

.page-hero .hero-inner {
  padding-top: 150px;
  padding-bottom: 58px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 56, 47, 0.2);
}

.status-strip div {
  padding: 22px clamp(18px, 4vw, 56px);
  background: var(--forest);
  color: var(--white);
}

.status-strip strong {
  display: block;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.book-cover {
  width: min(360px, 100%);
  margin-inline: auto;
}

.line-art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.line-art-card {
  overflow: hidden;
  border: 1px solid rgba(23, 56, 47, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(18, 14, 10, 0.08);
}

.line-art-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: contrast(1.04);
}

.line-art-card figcaption {
  padding: 12px 14px;
  color: #51473e;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.comic-pages img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.game-panel {
  min-height: 360px;
  display: grid;
  place-items: end start;
  padding: 28px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(0deg, rgba(8, 12, 12, 0.9), rgba(8, 12, 12, 0.12)),
    url("assets/images/world-art-grandfathers-sword.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.footer {
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(255, 250, 240, 0.72);
  background: #0b1111;
  font-family: Arial, sans-serif;
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-heading,
  .split,
  .contact-form-section {
    grid-template-columns: 1fr;
  }

  .door-grid,
  .facts,
  .info-grid,
  .song-grid,
  .doc-grid,
  .line-art-grid,
  .preview-grid,
  .status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 78vh;
    background-position: 60% center;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 3.25rem);
    line-height: 1.02;
  }

  .hero-inner {
    padding-bottom: 48px;
  }

  .door-grid,
  .facts,
  .info-grid,
  .song-grid,
  .doc-grid,
  .line-art-grid,
  .preview-grid,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
