:root {
  color-scheme: dark;
  --bg: #080807;
  --bg-2: #12100c;
  --wood: #2a1d12;
  --panel: rgba(22, 19, 15, 0.88);
  --panel-solid: #19140f;
  --text: #fff4d7;
  --muted: #d5c29a;
  --line: rgba(255, 219, 145, 0.22);
  --gold: #f5c15d;
  --gold-2: #a96b2f;
  --green: #7dd684;
  --blue: #6bb8d6;
  --red: #d96e54;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(128, 82, 34, 0.24), transparent 36rem),
    linear-gradient(180deg, #050505 0%, var(--bg) 48%, #120e0a 100%);
  color: var(--text);
}

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

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(9, 8, 7, 0.72);
  border-bottom: 1px solid rgba(255, 219, 145, 0.18);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header[data-scrolled="true"] {
  background: rgba(9, 8, 7, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.quick-stats,
.copy-row,
.job-tabs,
.world-list {
  align-items: center;
  display: flex;
}

.brand {
  color: var(--text);
  font-weight: 900;
  gap: 10px;
}

.brand-mark {
  background: linear-gradient(135deg, #f7dd91, var(--gold-2));
  border: 2px solid rgba(255, 244, 215, 0.22);
  box-shadow: inset 0 0 0 2px rgba(45, 27, 12, 0.55);
  color: #201409;
  display: grid;
  font-weight: 1000;
  height: 40px;
  place-items: center;
  width: 48px;
}

.nav {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  gap: clamp(16px, 3vw, 38px);
  justify-content: center;
  text-transform: uppercase;
}

.nav a {
  padding: 10px 0;
}

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

.header-cta {
  background: linear-gradient(180deg, #f5cd6e, #c98632);
  color: #241509;
  display: inline-flex;
  font-weight: 1000;
  justify-self: end;
  padding: 12px 18px;
  text-transform: uppercase;
  width: max-content;
}

.hero {
  align-items: center;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 86px) 88px;
  position: relative;
  text-align: center;
}

.hero-image,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.34) 46%, #080807 100%),
    radial-gradient(circle at 50% 42%, rgba(33, 20, 9, 0.02), rgba(0, 0, 0, 0.58) 72%);
}

.hero-content {
  justify-self: center;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

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

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

h1 {
  color: #fff2c6;
  font-size: clamp(3.8rem, 12vw, 10.5rem);
  line-height: 0.8;
  margin-bottom: 24px;
  text-shadow:
    0 7px 0 rgba(63, 34, 13, 0.72),
    0 24px 48px rgba(0, 0, 0, 0.64);
}

.hero-copy {
  color: #fff7e4;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1.85;
  margin-left: auto;
  margin-right: auto;
  max-width: 770px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.button,
.copy-row button {
  border: 0;
  cursor: pointer;
  min-height: 52px;
  padding: 14px 22px;
}

.button.primary,
.copy-row button {
  background: linear-gradient(180deg, #ffe08d, #c97e2f);
  color: #211307;
  font-weight: 1000;
  text-transform: uppercase;
}

.button.secondary {
  background: rgba(12, 10, 8, 0.78);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  gap: 12px;
}

.button.secondary strong {
  color: var(--gold);
}

.quick-stats {
  border-top: 1px solid var(--line);
  gap: clamp(20px, 5vw, 70px);
  justify-content: center;
  margin: 42px auto 0;
  max-width: 680px;
  padding-top: 24px;
}

.quick-stats dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.quick-stats dd {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 1000;
  margin: 0;
}

.play-strip {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(42, 29, 18, 0.96), rgba(18, 16, 12, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 12px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(20px, 4vw, 54px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  padding: clamp(28px, 5vw, 48px) clamp(20px, 6vw, 86px);
}

.play-strip h2 {
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin-bottom: 0;
}

.join-box {
  background: #110d09;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px;
}

.join-box label {
  color: var(--gold);
  display: block;
  font-size: 0.8rem;
  font-weight: 1000;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.copy-row {
  gap: 8px;
}

.copy-row input {
  background: #f7e7bd;
  border: 0;
  color: #211307;
  font-weight: 900;
  min-height: 52px;
  min-width: 0;
  padding: 0 14px;
  width: 100%;
}

.copy-status {
  color: var(--green);
  font-weight: 900;
  min-height: 22px;
  margin: 10px 0 0;
}

.section {
  padding: clamp(76px, 10vw, 126px) clamp(20px, 6vw, 86px);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
  text-align: center;
}

.section-heading h2,
.world-copy h2,
.final-cta h2 {
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 1.05;
  margin-bottom: 0;
}

.news {
  background:
    linear-gradient(180deg, #080807 0%, #120e0a 100%);
}

.story-section {
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.94), rgba(18, 14, 10, 0.98)),
    radial-gradient(circle at 82% 18%, rgba(245, 193, 93, 0.14), transparent 26rem);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  padding: clamp(76px, 10vw, 126px) clamp(20px, 6vw, 86px);
}

.story-copy {
  align-self: center;
}

.story-copy h2 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.story-lead {
  color: #f5dfab;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 660px;
}

.story-quote {
  background: rgba(0, 0, 0, 0.28);
  border-left: 4px solid var(--gold);
  color: #fff4d7;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.75;
  margin-top: 30px;
  padding: 18px 20px;
}

.story-prose {
  background: linear-gradient(180deg, rgba(40, 29, 18, 0.92), rgba(18, 14, 10, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.story-prose p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.05;
  margin-bottom: 1.4em;
}

.story-prose p:last-child {
  margin-bottom: 0;
}

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

.news-card {
  background: linear-gradient(180deg, rgba(40, 29, 18, 0.96), rgba(18, 14, 10, 0.96));
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  min-height: 250px;
  padding: 28px;
}

.news-date {
  color: var(--gold);
  display: block;
  font-size: 0.76rem;
  font-weight: 1000;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.news-card h3,
.job-panel h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.news-card p,
.world-copy p,
.job-panel p,
.final-cta p,
.footer {
  color: var(--muted);
  line-height: 1.85;
}

.world-section {
  align-items: center;
  background: #0c0b09;
  display: grid;
  gap: clamp(30px, 6vw, 76px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  padding: clamp(76px, 10vw, 126px) clamp(20px, 6vw, 86px);
}

.world-image {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 340px;
  overflow: hidden;
}

.world-image img {
  display: block;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  width: 100%;
}

.world-copy p {
  font-size: 1.02rem;
  max-width: 690px;
}

.world-list {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.world-list span {
  background: #1b140e;
  border: 1px solid var(--line);
  color: #ffe6a7;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 10px 13px;
  text-transform: uppercase;
}

.classes {
  background:
    radial-gradient(circle at 50% 0%, rgba(94, 49, 20, 0.28), transparent 34rem),
    #080807;
}

.developers {
  background:
    linear-gradient(180deg, #080807 0%, #120e0a 100%),
    radial-gradient(circle at 20% 10%, rgba(245, 193, 93, 0.16), transparent 26rem);
}

.developer-card {
  align-items: center;
  background: linear-gradient(180deg, rgba(40, 29, 18, 0.94), rgba(18, 14, 10, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: 144px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 780px;
  padding: clamp(24px, 4vw, 42px);
}

.developer-card img {
  background: #0d0a07;
  border: 1px solid var(--line);
  image-rendering: pixelated;
  width: 144px;
}

.developer-role {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 1000;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.developer-card h3 {
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1;
  margin-bottom: 14px;
}

.developer-card p {
  color: var(--muted);
  line-height: 1.85;
}

.developer-card a {
  color: var(--gold);
  font-weight: 1000;
  text-transform: uppercase;
}

.job-tabs {
  background: #110d09;
  border: 1px solid var(--line);
  gap: 4px;
  justify-content: center;
  margin: 0 auto 28px;
  max-width: max-content;
  padding: 5px;
}

.tab {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  min-height: 42px;
  padding: 10px 14px;
}

.tab.active {
  background: var(--gold);
  color: #1c1107;
}

.job-panel {
  align-items: center;
  background: linear-gradient(180deg, rgba(31, 24, 18, 0.92), rgba(15, 12, 9, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(18px, 4vw, 42px);
  grid-template-columns: 112px minmax(0, 1fr) minmax(180px, 280px);
  margin: 0 auto;
  max-width: 1050px;
  min-height: 240px;
  padding: clamp(24px, 4vw, 42px);
}

.job-badge {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #3a2513, #15100c);
  border: 1px solid var(--line);
  color: var(--gold);
  display: flex;
  font-size: 3.8rem;
  font-weight: 1000;
  justify-content: center;
}

.job-role {
  color: var(--gold);
  font-weight: 1000;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.skill-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-list li {
  background: rgba(255, 244, 215, 0.06);
  border: 1px solid var(--line);
  color: #fff4d7;
  font-weight: 800;
  padding: 12px 14px;
}

.final-cta {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.42)),
    linear-gradient(135deg, #37200f, #11100d 62%, #192014);
  border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 86px);
  text-align: center;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.footer {
  align-items: center;
  background: #070604;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 86px);
}

.footer p {
  margin: 0;
}

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

  .nav {
    display: none;
  }

  .play-strip,
  .news-grid,
  .story-section,
  .world-section,
  .job-panel,
  .developer-card {
    grid-template-columns: 1fr;
  }

  .job-panel {
    align-items: start;
  }

  .job-badge {
    width: 104px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .quick-stats,
  .copy-row,
  .job-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-stats {
    gap: 16px;
  }

  .button.secondary {
    justify-content: space-between;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

}
