:root {
  color-scheme: light;
  --ink: #172018;
  --muted: #617064;
  --paper: #f7f4ec;
  --paper-strong: #fffdf7;
  --pine: #203f31;
  --pine-deep: #14241c;
  --line: rgba(23, 32, 24, 0.14);
  --gold: #b68a3a;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(13, 24, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Songti SC",
    "Noto Serif CJK SC",
    "Source Han Serif SC",
    Georgia,
    serif;
  line-height: 1.65;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(16, 30, 22, 0.78), rgba(16, 30, 22, 0));
  color: #fffaf0;
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 17px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: 50%;
  font-size: 18px;
}

.nav {
  gap: clamp(14px, 3vw, 32px);
  font-size: 14px;
  color: rgba(255, 250, 240, 0.86);
}

.nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: rgba(255, 250, 240, 0.9);
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 6vw, 80px) 72px;
  background:
    linear-gradient(90deg, rgba(13, 24, 17, 0.86) 0%, rgba(13, 24, 17, 0.55) 42%, rgba(13, 24, 17, 0.08) 100%),
    linear-gradient(180deg, rgba(13, 24, 17, 0.05) 0%, rgba(13, 24, 17, 0.42) 100%),
    url("assets/shanhe-hero.jpg") center / cover;
}

.hero-copy {
  width: min(660px, 100%);
  color: #fffaf0;
}

.studio-name {
  margin: 0 0 12px;
  color: rgba(255, 250, 240, 0.76);
  font-family:
    "Avenir Next",
    "Gill Sans",
    "Helvetica Neue",
    sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 11vw, 120px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text,
.section p,
.feature-list {
  font-size: clamp(17px, 2vw, 21px);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.88);
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family:
    "Avenir Next",
    "Helvetica Neue",
    sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.primary-link {
  background: #fffaf0;
  color: var(--pine-deep);
  box-shadow: var(--shadow);
}

.secondary-link {
  border: 1px solid rgba(255, 250, 240, 0.34);
  color: #fffaf0;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 80px);
}

.section-light {
  background: var(--paper-strong);
}

.section-dark {
  background: var(--pine-deep);
  color: #fffaf0;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.game-block,
.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.section p {
  max-width: 760px;
  color: var(--muted);
}

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

.summary {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1eadc;
}

.summary span {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 32, 24, 0.12);
  font-size: 20px;
}

.summary span:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 80px);
  background: #0e1712;
  color: rgba(255, 250, 240, 0.62);
  font-family:
    "Avenir Next",
    "Helvetica Neue",
    sans-serif;
  font-size: 14px;
}

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

  .nav {
    gap: 12px;
    font-size: 13px;
  }

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

  .hero {
    min-height: 84vh;
    padding-top: 112px;
  }

  .two-column,
  .game-block,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-row {
    align-items: start;
  }

  .footer {
    flex-direction: column;
  }
}
