@font-face {
  font-family: "Cinzel";
  src: url("../assets/cinzel-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 900;
}

@font-face {
  font-family: "Cinzel Decorative";
  src: url("../assets/cinzel-decorative-700-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

:root {
  --paper: #eee7d6;
  --gold: #e7b83d;
  --accent: #d89f30;
  --accent-soft: rgba(216, 159, 48, 0.17);
  --line: rgba(231, 184, 61, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: #f5f0e5;
  background: #24262c;
  font: 17px/1.68 Georgia, "Times New Roman", serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-family: "Cinzel Decorative", Georgia, serif;
  line-height: 1.1;
}
h3, .eyebrow, .fact__label, .button, .prototype-bar {
  font-family: "Cinzel", Georgia, serif;
}

.prototype-bar {
  min-height: 46px;
  padding: .7rem max(1rem, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 10;
  color: #d9d6ce;
  background: #15161a;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.prototype-bar strong { color: var(--gold); }
.prototype-bar a { text-underline-offset: .22em; }

.activity-hero {
  min-height: 720px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 30%, var(--accent-soft), transparent 34%),
    linear-gradient(115deg, #191a1f 0 53%, #2f3037 100%);
}
.activity-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background: url("../assets/steam-escape-hero.webp") center / cover;
  mix-blend-mode: luminosity;
}
.activity-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 150px;
  background: linear-gradient(transparent, #24262c);
}
.hero-grid {
  width: min(1180px, calc(100% - 2rem));
  padding: 4.5rem 0 6rem;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  align-items: center;
}
.poster {
  width: min(410px, 100%);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  padding: .55rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(8,8,9,.62);
  box-shadow: 0 22px 70px rgba(0,0,0,.55), 0 0 35px var(--accent-soft);
  transform: rotate(-1.2deg);
}
.poster::before, .poster::after {
  content: "";
  width: 82px;
  height: 20px;
  position: absolute;
  z-index: 2;
  background: rgba(226,211,168,.68);
  box-shadow: 0 2px 5px rgba(0,0,0,.25);
}
.poster::before { top: -7px; left: 28px; transform: rotate(-8deg); }
.poster::after { right: 24px; bottom: -7px; transform: rotate(8deg); }
.poster picture {
  width: 100%;
  height: 100%;
  display: block;
}
.poster img {
  width: 100%;
  height: 100% !important;
  border-radius: 11px;
  object-fit: cover;
  object-position: center;
}
.poster--vip img { object-position: center 45%; }

.eyebrow {
  margin-bottom: .85rem;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  color: #f5efdf;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  text-shadow: 0 3px 2px #000;
}
.hero-lead {
  max-width: 620px;
  margin-bottom: 1.6rem;
  color: #eee8dc;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}
.facts {
  max-width: 680px;
  margin: 0 0 2rem;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255,255,255,.2);
}
.fact { padding: 0 1rem; }
.fact:first-child { padding-left: 0; }
.fact + .fact { border-left: 1px solid rgba(255,255,255,.2); }
.fact__label {
  display: block;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fact__value { display: block; color: #fff; font-size: 1rem; }
.button {
  min-height: 48px;
  padding: .78rem 1.25rem .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f3c759;
  border-radius: 4px;
  color: #251b08;
  background: linear-gradient(#f3ca62, #d89f2e);
  box-shadow: 0 0 17px var(--accent-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 0 26px var(--accent-soft); }

.section { padding: 5.5rem 0; }
.shell { width: min(1080px, calc(100% - 2rem)); margin-inline: auto; }
.section-heading { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-heading h2 {
  margin-bottom: .9rem;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-shadow: 0 2px 2px #000;
}
.section-heading p:last-child { color: #ddd8cc; }

.mission {
  background:
    linear-gradient(rgba(34,36,42,.96), rgba(34,36,42,.96)),
    url("../assets/steam-escape-hero.webp") center / cover;
}
.mission-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.chapter {
  padding: clamp(1.8rem, 4vw, 3.2rem);
  position: relative;
  color: #30291f;
  background: linear-gradient(135deg, #f2ead8, #d8caaa);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  transform: rotate(.5deg);
}
.chapter::after {
  content: "";
  position: absolute;
  inset: 11px;
  pointer-events: none;
  border: 1px solid rgba(105,71,22,.22);
}
.chapter h2 { color: #3b2b17; font-size: clamp(2rem, 4vw, 3.3rem); }
.chapter p { position: relative; z-index: 1; }
.chapter .eyebrow { color: #825713; }

.beats { display: grid; gap: 1.4rem; counter-reset: beat; }
.beat {
  padding: 0 0 1.4rem 4.4rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.16);
  counter-increment: beat;
}
.beat::before {
  content: "0" counter(beat);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  font: 700 1.4rem/1 "Cinzel", serif;
}
.beat h3 { margin-bottom: .35rem; color: #fff; font-size: 1.05rem; }
.beat p { margin: 0; color: #dcd7cc; }

.reasons { background: #ece4d4; color: #332f29; }
.reasons .section-heading h2 { color: #30281c; text-shadow: none; }
.reasons .section-heading p:last-child { color: #5b554d; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.reason {
  min-height: 220px;
  padding: 1.7rem;
  border-top: 3px solid var(--accent);
  background: rgba(255,255,255,.5);
  box-shadow: 0 12px 32px rgba(50,39,24,.08);
}
.reason__number { color: var(--accent); font: 700 1.8rem/1 "Cinzel", serif; }
.reason h3 { margin-top: 1.4rem; color: #30281c; font-size: 1.08rem; }
.reason p { margin-bottom: 0; color: #5a534a; }

.dossier-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(25,26,31,.98), rgba(45,43,44,.94)),
    url("../assets/steam-escape-hero.webp") center / cover;
}
.dossier-section::before {
  content: "";
  width: 420px;
  height: 420px;
  position: absolute;
  top: 50%;
  left: 9%;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: .45;
  transform: translateY(-50%);
}
.dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, 1.15fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.dossier-copy { position: relative; z-index: 1; }
.dossier-copy h2 {
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-shadow: 0 2px 2px #000;
}
.dossier-copy p:not(.eyebrow) { max-width: 520px; color: #ddd7ca; }
.dossier-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  color: #f2ead9;
  background: rgba(255,255,255,.055);
}
.brochure {
  width: min(470px, 100%);
  margin: 0 auto;
  padding: clamp(.65rem, 1.5vw, 1rem);
  position: relative;
  background: #15161a;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 40px var(--accent-soft);
  transform: rotate(.45deg);
}
.brochure::before {
  content: "";
  width: 112px;
  height: 24px;
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 2;
  background: rgba(226,211,168,.7);
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  transform: translateX(-50%) rotate(-2deg);
}
.brochure__link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #090a0d;
}
.brochure__link img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
}
.brochure__action {
  padding: .65rem .9rem;
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 3px;
  color: #231908;
  background: rgba(241,196,86,.94);
  font: 800 .66rem/1.2 "Cinzel", serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.brochure__link:hover .brochure__action,
.brochure__link:focus-visible .brochure__action { background: #ffe08a; }
.brochure figcaption {
  padding: .7rem .35rem 0;
  color: #bfb9ad;
  font-size: .8rem;
  text-align: center;
}

.skills { background: #23252a; }
.skill-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: center; }
.skill-layout h2 { color: var(--gold); font-size: clamp(2rem, 4vw, 3.2rem); }
.chips { display: flex; flex-wrap: wrap; gap: .75rem; }
.chip {
  padding: .65rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #f6edda;
  background: var(--accent-soft);
  font: 700 .72rem/1.2 "Cinzel", serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.final-cta {
  padding: 6rem 1rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(13,14,18,.7), rgba(13,14,18,.9)),
    url("../assets/steam-escape-hero.webp") center 72% / cover;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, var(--accent-soft), transparent 42%);
  border-block: 1px solid var(--line);
}
.final-cta > * { position: relative; }
.final-cta h2 { margin-bottom: 1rem; color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
.final-cta p { max-width: 620px; margin: 0 auto 1.7rem; color: #d8d3c8; }

.theme-jules { --accent: #c8922d; --accent-soft: rgba(200,146,45,.24); --gold: #f0c65c; }
.theme-murder { --accent: #9e3b3b; --accent-soft: rgba(158,59,59,.25); --gold: #e7c57f; }
.theme-puzzle { --accent: #3c9baa; --accent-soft: rgba(60,155,170,.24); --gold: #f0ca53; }
.theme-vip { --accent: #d19a31; --accent-soft: rgba(209,154,49,.28); --gold: #f3c45d; }

.mockup-hub {
  min-height: 100vh;
  background:
    linear-gradient(rgba(24,26,32,.84), rgba(24,26,32,.96)),
    url("../assets/steam-escape-hero.webp") center / cover fixed;
}
.hub-hero { padding: 5rem 0 2.5rem; text-align: center; }
.hub-hero h1 { max-width: 16ch; margin-inline: auto; }
.hub-hero p:not(.eyebrow) { max-width: 720px; margin-inline: auto; color: #ddd8ce; }
.hub-grid {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.5rem 0 6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.hub-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(24,25,29,.9);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.hub-card__image { aspect-ratio: 1 / 1; overflow: hidden; background: #15161a; }
.hub-card__image img { width: 100%; height: 100% !important; object-fit: cover; object-position: center; transition: transform .3s ease; }
.hub-card__image--vip img { object-position: center 45%; }
.hub-card:hover .hub-card__image img { transform: scale(1.025); }
.hub-card__content { padding: 1.4rem; display: flex; flex: 1; flex-direction: column; }
.hub-card h2 { margin-bottom: .7rem; color: var(--gold); font-size: 1.45rem; }
.hub-card p { color: #d8d4cb; font-size: .95rem; }
.hub-card .button { width: 100%; margin-top: auto; }

@media (max-width: 960px) {
  .hero-grid, .mission-grid, .skill-layout, .dossier-grid { grid-template-columns: 1fr; }
  .poster { width: min(360px, 82%); }
  .hero-copy { text-align: center; }
  h1 { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .facts { margin-inline: auto; }
  .dossier-copy { max-width: 680px; margin-inline: auto; text-align: center; }
  .dossier-copy p:not(.eyebrow) { margin-inline: auto; }
  .dossier-note { text-align: left; }
  .brochure { width: min(430px, 88%); }
  .reason-grid, .hub-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .prototype-bar { align-items: flex-start; flex-direction: column; }
  .activity-hero { min-height: 0; }
  .hero-grid { padding: 3rem 0 5rem; }
  .poster { width: min(290px, 88%); }
  h1 { font-size: clamp(2.35rem, 13vw, 4rem); }
  .facts { grid-template-columns: 1fr; padding: 0; border: 0; }
  .fact { padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .fact + .fact { border-left: 0; }
  .section { padding: 4.2rem 0; }
  .reason-grid, .hub-grid { grid-template-columns: 1fr; }
  .reason { min-height: 0; }
  .dossier-section::before { width: 280px; height: 280px; left: -90px; }
  .brochure { width: min(350px, 92%); }
  .brochure__action { right: .45rem; bottom: .45rem; }
  .hub-grid { max-width: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
