/* Proposal 1 — "Archiv": archival dossier, paper + typewriter + rubber stamps */
:root {
  --paper: #efe8d8;
  --paper-2: #e6dcc6;
  --ink: #1f1b16;
  --ink-2: #5b5245;
  --rule: #cbbfa6;
  --red: #a3261d;
  --blue: #22406f;
  --serif: 'Fraunces', Georgia, serif;
  --text: 'Source Serif 4', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 1.075rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
figure { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.label { font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(239, 232, 216, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.05rem var(--serif); }
.brand img { width: 36px; height: 36px; border-radius: 50%; filter: sepia(.4); }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a, .lang-current { font: 500 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--red); }
.lang-switch { display: flex; gap: 6px; align-items: center; padding-left: 18px; border-left: 1px solid var(--rule); }
.lang-current { color: var(--red); }
.lang-sep { color: var(--rule); }

/* Hero */
.hero { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 72px 0 88px; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.6rem); font-weight: 800; line-height: .92; margin: 14px 0 26px; font-variation-settings: 'opsz' 144; }
.hero__lede { font-size: 1.2rem; max-width: 30ch; color: var(--ink-2); margin: 0; }

/* Timeline — a ruler across the hero: minor ticks, red markers, year + full title */
.timeline {
  grid-column: 1 / -1; list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 2px solid var(--ink); position: relative;
}
.timeline::before { /* ruler ticks hanging under the line */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px;
  background: repeating-linear-gradient(90deg, var(--ink-2) 0 1px, transparent 1px 16px);
  opacity: .45;
}
.timeline li { position: relative; }
.timeline li + li { border-left: 1px dashed var(--rule); }
.timeline a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px 18px 6px; color: var(--ink); text-decoration: none; }
.timeline a::before { /* marker on the line */
  content: ""; position: absolute; top: -8px; left: 18px; width: 14px; height: 14px;
  background: var(--paper); border: 2px solid var(--red); border-radius: 50%; transition: background .15s;
}
.timeline__year { font: 800 2.1rem/1 var(--serif); color: var(--red); font-variation-settings: 'opsz' 144; }
.timeline__name { font: 400 1rem/1.3 var(--serif); }
.timeline__game { font-size: .66rem; margin-top: 2px; }
/* standalone games stand out from scenarios/variants: typewriter caps */
.timeline__name--game { font: 500 .95rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.timeline a:hover .timeline__name { color: var(--red); }
.timeline a:hover::before { background: var(--red); }
.hero__map { position: relative; transform: rotate(1.2deg); background: #fbf8f0; padding: 12px 12px 40px; box-shadow: 0 1px 0 var(--rule), 0 24px 50px -24px rgba(60, 40, 10, .45); }
.hero__map::before { /* tape */
  content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(214, 200, 160, .75); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.hero__map img { filter: sepia(.18) contrast(1.02); }
.hero__map figcaption { position: absolute; left: 14px; bottom: 12px; }

/* Sections */
.section { padding: 88px 0; }
.section__head { display: flex; align-items: baseline; gap: 22px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.section__head .label { order: 2; margin-left: auto; }
.h2--small { font-size: 1.7rem !important; }

/* Game records */
.record { display: grid; grid-template-columns: 150px minmax(0, 4fr) minmax(0, 6fr); gap: 44px; padding: 20px 0 64px; }
.record + .record { border-top: 1px dashed var(--rule); padding-top: 64px; }
.record__meta { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 10px; align-self: start; }
.record__years { font: 800 2rem/1 var(--serif); color: var(--red); }
.record__cover { position: relative; align-self: start; }
.record__cover img { box-shadow: 0 18px 40px -20px rgba(40, 25, 5, .55); }
.stamp {
  position: absolute; right: -14px; top: 22px; transform: rotate(8deg);
  font: 600 .95rem var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); border: 3px double var(--red); padding: 6px 12px; background: rgba(239,232,216,.78);
  mix-blend-mode: multiply;
}
.stamp--out { color: var(--ink); border-color: var(--ink); transform: rotate(-7deg); }
.record__text h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; }
.record__sub { font: italic 400 1.25rem/1.35 var(--serif); color: var(--ink-2); margin: 8px 0 22px; }
.btn {
  display: inline-block; margin-top: 6px; padding: 11px 20px; border: 1.5px solid var(--ink); color: var(--ink);
  font: 500 .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn .label { color: inherit; opacity: .7; }
.btn--small { padding: 9px 14px; margin-top: auto; align-self: flex-start; }

.press { margin-top: 40px; }
.press h4.label { margin-bottom: 18px; }
blockquote { margin: 0 0 26px; padding-left: 22px; border-left: 3px solid var(--red); }
blockquote p { font: italic 400 1.18rem/1.5 var(--serif); margin: 0 0 8px; }
blockquote footer { font: 500 .8rem var(--mono); letter-spacing: .06em; }
blockquote footer span { color: var(--ink-2); }
.videos { font-family: var(--mono); font-size: .85rem; }

/* Scenarios */
.scen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.scen { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: start; }
.scen img { filter: sepia(.25); border: 1px solid var(--rule); }
.scen h4 { font-size: 1.45rem; margin: 6px 0 10px; }
.scen p { margin: 0; }
.scen .label { color: var(--red); }

/* Downloads — index cards on a dark folder */
.section--dark { background: #2b2620; color: #efe8d8; }
.section--dark .section__head { border-color: #efe8d8; }
.section--dark .section__head .label { color: #bfb39b; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #f6f1e4; color: var(--ink); padding: 34px 18px 20px;
  background-image: repeating-linear-gradient(#f6f1e4 0 27px, #d8e0ea 27px 28px);
  background-position: 0 150px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.6);
  transition: transform .18s;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; border-top: 1.5px solid #d38b84; }
.card__tab { position: absolute; top: 6px; left: 18px; color: var(--red); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.2); }
.card h4 { font-size: 1.3rem; margin-top: 6px; }
.card p { margin: 0; font-size: .98rem; line-height: 1.75rem; }
.card__for { font-family: var(--mono); font-size: .8rem !important; color: var(--ink-2); }

/* Follow + Contact */
#follow { padding-bottom: 0; }
#contact { padding-top: 64px; }
.contact__list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--rule); }
.contact__list div { padding: 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 130px 1fr; align-items: center; }
.contact__list div:nth-child(odd) { padding-right: 32px; }
.contact__list dd { margin: 0; display: flex; align-items: center; gap: 12px; font: 400 1.15rem var(--serif); overflow-wrap: anywhere; }
.contact__list svg, .contact__list .socicon { width: 22px; height: 22px; font-size: 20px; color: var(--red); flex: none; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0 40px; border-top: 2px solid var(--ink); }
.foot a { text-decoration: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
  .timeline li:nth-child(5) { border-left: 0; }
  .timeline li:nth-child(n+5) { border-top: 2px solid var(--ink); }
  .record { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .record__meta { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 18px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scen-grid { grid-template-columns: 1fr; }
  .contact__list { grid-template-columns: 1fr; }
  .contact__list div:nth-child(odd) { padding-right: 0; }
}
@media (max-width: 640px) {
  .top nav > a { display: none; }
  .lang-switch { border: 0; padding: 0; }
  .section { padding: 60px 0; }
  .section__head { flex-direction: column; gap: 4px; }
  .section__head .label { order: 0; margin-left: 0; }
  .record { grid-template-columns: 1fr; gap: 28px; }
  .record__cover { max-width: 300px; }
  .stamp { right: -6px; }
  .cards { grid-template-columns: 1fr; }
  .scen { grid-template-columns: 110px 1fr; }
  .contact__list { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 6px; padding-right: 0 !important; }
  .foot { flex-direction: column; }
  /* timeline turns vertical: line on the left, markers along it */
  .timeline { grid-template-columns: 1fr; row-gap: 0; border-top: 0; border-left: 2px solid var(--ink); margin-left: 7px; }
  .timeline::before { display: none; }
  .timeline li + li, .timeline li:nth-child(n+5) { border: 0; }
  .timeline a { flex-direction: row; align-items: baseline; gap: 16px; padding: 12px 0 12px 24px; }
  .timeline a::before { top: 17px; left: -8px; }
  .timeline__year { font-size: 1.5rem; min-width: 2.6em; }
  .timeline a { flex-wrap: wrap; }
  .timeline__name { flex: 1; }
  .timeline__game { flex-basis: 100%; padding-left: calc(3.9rem + 16px); margin-top: -8px; }
}
