/* Three Kingdoms Reimagined — static promo site
   Palette from production ui_skin.gd (BRAND-BOARD.md) */

:root {
  --lacquer-deep: #170f0c;
  --lacquer: #23180f;
  --lacquer-raised: #33241a;
  --gold: #e8c06a;
  --gold-bright: #f8e6b0;
  --gold-dim: #a2823f;
  --vermilion: #b5382a;
  --jade: #5c9a72;
  --ink: #f3e6d0;
  --ink-muted: #c4b09a;
  --max: 1100px;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lacquer-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

.faces img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

a {
  color: var(--gold);
}

a:hover,
a:focus-visible {
  color: var(--gold-bright);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--lacquer-deep);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(40rem, calc(100% - 2.5rem));
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  color: var(--gold-bright);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    url("assets/hero.png") center / cover no-repeat;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 15, 12, 0.35) 0%,
    rgba(23, 15, 12, 0.55) 40%,
    rgba(23, 15, 12, 0.92) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.1;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}

h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--gold-bright);
  font-weight: 700;
}

h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.15rem;
}

.tagline {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--gold);
  line-height: 1.35;
}

.tagline--inline {
  margin-top: 1.25rem;
}

.lede {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.fine {
  margin: 1rem 0 0;
  color: var(--gold-dim);
  font-size: 0.85rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-row--center {
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--lacquer-deep);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--gold-bright);
  color: var(--lacquer-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-bright);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(232, 192, 106, 0.12);
  color: var(--gold-bright);
}

/* Sections */
.band {
  padding: 4rem 0;
  background: var(--lacquer);
  border-top: 1px solid rgba(162, 130, 63, 0.35);
}

.band--dark {
  background: var(--lacquer-deep);
}

.band--cta {
  background: linear-gradient(180deg, var(--lacquer) 0%, var(--lacquer-deep) 100%);
  text-align: center;
}

.section-sub {
  margin: 0 0 2rem;
  color: var(--gold-dim);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.pillar {
  padding: 1.25rem;
  background: var(--lacquer);
  border: 1px solid rgba(162, 130, 63, 0.45);
  border-top: 3px solid var(--gold);
}

.pillar p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.split.reverse > :first-child {
  order: 2;
}

@media (max-width: 800px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }
}

.shot {
  margin: 0;
  border: 1px solid rgba(162, 130, 63, 0.55);
  background: var(--lacquer-deep);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.shot img {
  width: 100%;
}

.shot figcaption,
.shot--poster figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  color: var(--gold-dim);
  border-top: 1px solid rgba(162, 130, 63, 0.35);
}

.shot--poster {
  max-width: 360px;
  margin-inline: auto;
}

.proof {
  color: var(--gold);
  font-family: var(--font-display);
}

.checklist {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
}

.checklist li {
  margin-bottom: 0.45rem;
}

.faces {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

.faces figure {
  margin: 0;
  text-align: center;
}

.faces img {
  width: 96px;
  height: 96px;
  border: 2px solid var(--gold-dim);
  background: var(--lacquer);
}

.faces figcaption {
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.faces__more {
  max-width: 14rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.trailer-slot {
  margin-top: 1.25rem;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--gold-dim);
  background: var(--lacquer-deep);
  color: var(--gold-dim);
}

.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(162, 130, 63, 0.4);
  background: #0c0907;
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  gap: 1.25rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal {
  max-width: 48rem;
}

code {
  font-size: 0.88em;
  color: var(--gold-dim);
}
