/* Salmon Samurai — the landing site.
   Palette is the game's own: the campfire dark, the bone white of the wordmark,
   the gold of the wallet. Dark only, on purpose — it is the game's face. */

:root {
  --ink: #12100c;
  --ink-2: #191510;
  --line: #3a3128;
  --text: #f2e6c6;
  --dim: #a89b7c;
  --gold: #ffd98f;
  --teal: #2e6b68;
  --max: 62rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

a { color: var(--gold); }
a:hover { color: #fff0c4; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */

.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(18, 16, 12, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  flex-wrap: wrap;
}
.site-head a { text-decoration: none; }
.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--text);
}
.site-nav { display: flex; gap: 18px; font-size: 0.86rem; }
.site-nav a { color: var(--dim); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hero.jpg") center / cover no-repeat;
  opacity: 0.45;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,16,12,0.35) 0%, rgba(18,16,12,0.72) 55%, rgba(18,16,12,0.97) 100%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero img.wordmark { width: min(460px, 78vw); margin: 0 auto 8px; }
.tagline {
  font-size: clamp(1.05rem, 3.2vw, 1.4rem);
  color: var(--text);
  margin: 0 auto 6px;
  max-width: 30ch;
}
.kicker {
  color: var(--dim);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* --------------------------------------------------------------- buttons */

.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--ink-2);
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a1d05;
}
.btn--primary:hover { background: #fff0c4; border-color: #fff0c4; color: #2a1d05; }
.btn--soon {
  color: var(--dim);
  border-style: dashed;
  cursor: default;
}
.btn--soon:hover { border-color: var(--line); color: var(--dim); }
.btn small { font-weight: 400; opacity: 0.75; }

/* -------------------------------------------------------------- sections */

section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section h2 {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}
.lede { font-size: 1.12rem; max-width: 60ch; }

figure { margin: 0; }
figure video, figure img { border-radius: 10px; border: 1px solid var(--line); width: 100%; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.pillars h3 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.pillars p { margin: 0; color: var(--text); }

ul.plain { padding-left: 1.1em; }
ul.plain li { margin-bottom: 6px; }

/* ------------------------------------------------------------------ prose */

.prose { padding: 48px 0 72px; }
.prose h1 { font-size: 1.6em; letter-spacing: 0.04em; margin: 0 0 4px; }
.prose h2 {
  font-size: 1.05em;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-top: 2.2em;
  text-transform: none;
}
.prose { max-width: 46rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--dim); font-weight: 600; }
code { font-family: ui-monospace, monospace; font-size: 0.92em; color: var(--gold); }
.dim { color: var(--dim); }

/* ----------------------------------------------------------------- footer */

.site-foot {
  padding: 32px 0 48px;
  color: var(--dim);
  font-size: 0.88rem;
}
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-foot a { color: var(--dim); }
.site-foot a:hover { color: var(--gold); }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------- youtube facade */

.embed { position: relative; }
.embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: block;
}
.embed__play {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
  line-height: 0;
}
.embed__play:hover { border-color: var(--gold); }
.embed__play img { width: 100%; display: block; }
/* The play glyph: a gold disc with a triangle punched out of it. */
.embed__btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
  transition: transform 120ms ease, background 120ms ease;
}
.embed__btn::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #2a1d05;
}
.embed__play:hover .embed__btn { transform: translate(-50%, -50%) scale(1.08); background: #fff0c4; }
.embed__play:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .embed__btn { transition: none; }
  .embed__play:hover .embed__btn { transform: translate(-50%, -50%); }
}
