:root {
  color-scheme: dark;
  --bg: #100d0b;
  --bg-2: #19120f;
  --paper: #c3a878;
  --paper-dark: #7b5633;
  --ink: #20140f;
  --text: #f4e7cf;
  --muted: #d1b992;
  --rust: #9f2f1d;
  --blood: #5f0f0c;
  --thorn: #1e2417;
  --gold: #d8a84d;
  --line: rgba(244, 231, 207, 0.16);
  --shadow: rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(95, 15, 12, 0.25), transparent 24rem),
    radial-gradient(circle at 82% 20%, rgba(159, 47, 29, 0.18), transparent 22rem),
    linear-gradient(180deg, var(--bg), #17100d 46%, #0c0a08);
  color: var(--text);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.45;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 168, 77, 0.22);
  background: rgba(16, 13, 11, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle, var(--blood) 0 38%, transparent 40%);
  box-shadow: 0 0 0 4px rgba(95, 15, 12, 0.28);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

nav a,
footer a {
  transition: color 160ms ease;
}

nav a:hover,
footer a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
  filter: saturate(0.72) sepia(0.22) contrast(1.1) brightness(0.78);
}

.hero-scrim {
  z-index: -2;
  background:
    radial-gradient(circle at 24% 24%, rgba(95, 15, 12, 0.34), transparent 28rem),
    linear-gradient(90deg, rgba(16, 13, 11, 0.96), rgba(16, 13, 11, 0.7) 45%, rgba(16, 13, 11, 0.34)),
    linear-gradient(0deg, var(--bg), rgba(16, 13, 11, 0.16) 42%, rgba(16, 13, 11, 0.42));
}

.thorn {
  position: absolute;
  z-index: -1;
  width: 34vw;
  max-width: 460px;
  height: 12px;
  border-top: 3px solid rgba(30, 36, 23, 0.88);
  filter: drop-shadow(0 6px 3px rgba(0, 0, 0, 0.45));
}

.thorn::before,
.thorn::after {
  content: "";
  position: absolute;
  top: -18px;
  width: 70%;
  height: 30px;
  border-top: 2px solid rgba(30, 36, 23, 0.9);
  transform: rotate(-9deg);
}

.thorn-left {
  left: -5vw;
  bottom: 18vh;
  transform: rotate(-18deg);
}

.thorn-right {
  right: -6vw;
  top: 24vh;
  transform: rotate(20deg);
}

.hero-content {
  width: min(1040px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 96px) 8vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(4rem, 10vw, 8.4rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.52);
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.4vw, 4.7rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #ffe5b3;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.26rem);
}

.hero-copy p {
  max-width: 840px;
  margin-bottom: 11px;
}

.hero-copy strong {
  color: #ffe5b3;
  font-weight: 800;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 820px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 7px 11px;
  border: 1px solid rgba(216, 168, 77, 0.22);
  border-radius: 6px;
  background: rgba(16, 13, 11, 0.46);
  color: var(--text);
  font-size: 0.98rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(216, 168, 77, 0.32);
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: linear-gradient(180deg, #b93f25, #6c1510);
  border-color: rgba(255, 217, 145, 0.36);
  color: white;
  box-shadow: 0 12px 30px rgba(95, 15, 12, 0.28);
}

.button.secondary {
  background: rgba(244, 231, 207, 0.07);
}

.button.teaser {
  position: relative;
  overflow: hidden;
  gap: 10px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #c41621, #6d0d12 62%, #260708);
  border-color: rgba(255, 220, 170, 0.34);
  color: #fff6e6;
  box-shadow: 0 12px 30px rgba(109, 13, 18, 0.32);
}

.button.teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  transition: transform 220ms ease;
}

.button.teaser:hover::after {
  transform: translateX(100%);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff6e6;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(216, 168, 77, 0.16);
  border-block: 1px solid rgba(216, 168, 77, 0.18);
}

.intro-band div {
  min-height: 136px;
  padding: 30px clamp(18px, 4vw, 44px);
  background: rgba(25, 18, 15, 0.96);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 8px;
  color: #ffe5b3;
  font-size: 1.18rem;
}

.intro-band span {
  color: var(--muted);
}

.section {
  padding: clamp(78px, 10vw, 132px) clamp(18px, 7vw, 96px);
}

.section-heading p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.15rem;
}

.map-section {
  background:
    radial-gradient(circle at 15% 12%, rgba(159, 47, 29, 0.2), transparent 22rem),
    #130f0d;
}

.treasure-map {
  position: relative;
  margin: 42px 0 0;
  border: 1px solid rgba(216, 168, 77, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-dark);
  box-shadow: 0 34px 80px var(--shadow);
}

.treasure-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, transparent 0 40%, rgba(0, 0, 0, 0.18) 76%),
    linear-gradient(135deg, rgba(255, 222, 160, 0.08), rgba(95, 15, 12, 0.12));
}

.treasure-map img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lore,
.staff {
  background:
    linear-gradient(180deg, rgba(95, 15, 12, 0.12), transparent 22rem),
    var(--bg-2);
}

.lore-grid,
.stat-grid,
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.lore-main {
  grid-column: span 2;
}

.lore-grid article,
.stat-grid article,
.staff-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(216, 168, 77, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 231, 207, 0.06), rgba(244, 231, 207, 0.025)),
    #1b130f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.lore-grid span,
.staff-grid span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 800;
}

.lore-grid p,
.stat-grid p,
.staff-grid p,
.tech-notes p,
.partners p {
  color: var(--muted);
}

.technique {
  background:
    radial-gradient(circle at 82% 10%, rgba(216, 168, 77, 0.14), transparent 20rem),
    #100d0b;
}

.tech-number {
  display: block;
  margin-bottom: 34px;
  color: #ffd27a;
  font-size: clamp(3.3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.82;
}

.tech-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  border: 1px solid rgba(216, 168, 77, 0.16);
  background: rgba(216, 168, 77, 0.14);
}

.tech-notes p {
  min-height: 110px;
  margin: 0;
  padding: 24px;
  background: #17110e;
}

.staff-grid {
  grid-template-columns: repeat(6, 1fr);
}

.staff-grid article {
  grid-column: span 2;
}

.staff-grid article:nth-child(4),
.staff-grid article:nth-child(5) {
  grid-column: span 3;
}

.staff-grid p {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.partners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  border-top: 1px solid rgba(216, 168, 77, 0.18);
  background:
    linear-gradient(135deg, rgba(95, 15, 12, 0.28), transparent 44%),
    #15100d;
}

.partners p {
  max-width: 780px;
  font-size: 1.12rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 7vw, 96px);
  border-top: 1px solid rgba(216, 168, 77, 0.18);
  background: #0d0a08;
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 1120px;
  }

  .hero-content {
    margin-top: 170px;
    margin-bottom: 64px;
  }

  .intro-band,
  .lore-grid,
  .stat-grid,
  .tech-notes,
  .staff-grid,
  .partners {
    grid-template-columns: 1fr;
  }

  .lore-main,
  .staff-grid article,
  .staff-grid article:nth-child(4),
  .staff-grid article:nth-child(5) {
    grid-column: auto;
  }

  .partners {
    align-items: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 4rem;
  }

  .hero {
    min-height: 1220px;
  }

  .hero-actions,
  .partner-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .treasure-map img {
    aspect-ratio: 4 / 5;
  }
}
