@import "tailwindcss";

:root {
  --ink: #161918;
  --muted: #535a57;
  --paper: #f8f4e8;
  --red: #e0362e;
  --green: #198d6b;
  --gold: #f2c629;
  --blue: #2794ad;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #d8d6cf;
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.studio-header {
  width: min(1120px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #fffdf5;
  border: 1px solid #9e9c95;
  box-shadow: 0 5px 14px #0002;
}
.studio-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-crop { width: 57px; height: 57px; overflow: hidden; border: 1px solid #d7b47c; border-radius: 50%; background: #fffaf0; }
.logo-crop img { width: 114px; height: 57px; max-width: none; transform: translateX(-28.5px); object-fit: cover; }
.studio-brand strong { display: block; font: 900 1.05rem/1 "Arial Black", Arial, sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.studio-brand small { display: block; margin-top: 4px; color: var(--red); font-weight: 900; letter-spacing: .3em; text-transform: uppercase; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
nav a { padding: 9px 10px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: white; background: var(--red); outline: none; }

.magazine-page {
  width: min(1120px, calc(100% - 28px));
  margin: 10px auto 36px;
  padding: clamp(22px, 5vw, 62px);
  background:
    linear-gradient(90deg, #00000007 1px, transparent 1px) 0 0 / 4px 4px,
    var(--paper);
  box-shadow: 0 15px 35px #0003;
}
.issue-line { padding-bottom: 8px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid #151515; font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.feature-title { padding: 28px 0 32px; position: relative; }
.feature-title > p { margin: 0 0 2px; color: var(--red); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.feature-title h1 {
  margin: 0;
  color: transparent;
  background: linear-gradient(#e92f26 10%, #f38b2d 48%, #16966d 52%, #117357 88%);
  -webkit-background-clip: text;
  background-clip: text;
  font: 900 clamp(4.4rem, 12vw, 9rem)/.92 Georgia, "Times New Roman", serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  filter: drop-shadow(3px 3px 0 #202020);
}
.red-banner { width: min(760px, 94%); margin-top: 17px; padding: 6px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; color: white; background: var(--red); font-size: 1rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.lead-grid { display: grid; grid-template-columns: 1fr 1.15fr .52fr; gap: 24px; align-items: start; }
.lead-copy h2, .world-copy h2, .studio-note h2 { margin: 0 0 12px; font: 900 1.2rem/1.2 "Arial Black", Arial, sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.lead-copy p, .world-copy p { margin: 0 0 14px; font: 500 .89rem/1.52 Georgia, serif; text-align: justify; }
.dropcap::first-letter { float: left; margin: 2px 7px 0 0; color: var(--red); font: 900 3.6rem/.78 Georgia, serif; }
.pull-quote { margin-top: 22px; padding: 14px; color: white; background: #111; transform: rotate(-1deg); }
.pull-quote strong { display: block; color: var(--gold); font: 900 1.8rem "Arial Black", Arial, sans-serif; }
.pull-quote span { font: italic 700 .82rem/1.4 Georgia, serif; }
.hero-shot, .screen { margin: 0; padding: 6px; background: white; border: 1px solid #222; box-shadow: 4px 4px 0 #9d9a90; }
.hero-shot img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
figcaption { padding: 7px 3px 2px; font: 500 .7rem/1.35 Arial, sans-serif; }
.facts { border: 2px solid #111; background: #fff; }
.facts-heading { padding: 8px 10px; color: white; background: var(--green); font-weight: 900; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.facts dl { margin: 0; padding: 6px 10px 12px; }
.facts dl div { padding: 9px 0; border-bottom: 1px solid #bebeb8; }
.facts dt { color: var(--red); font-size: .58rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.facts dd { margin: 3px 0 0; font-size: .78rem; font-weight: 900; }
.mission-stamp { margin: 6px 10px 12px; padding: 12px 6px; color: white; background: var(--red); text-align: center; transform: rotate(-2deg); }
.mission-stamp small, .mission-stamp strong { display: block; text-transform: uppercase; }
.mission-stamp small { font-size: .55rem; letter-spacing: .14em; }.mission-stamp strong { margin-top: 4px; font-size: .85rem; }

.tape-heading { margin: 42px -8px 26px; transform: rotate(-1.2deg); }
.tape-heading span { display: inline-block; width: min(840px, 94%); padding: 8px 22px; color: white; background: #111; font-size: .94rem; font-weight: 900; letter-spacing: .26em; text-align: center; text-transform: uppercase; }
.world-grid { display: grid; grid-template-columns: .74fr 1fr 1fr; gap: 20px; align-items: start; }
.screen img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.screen-day { border-color: var(--green); }.screen-night { border-color: #69478b; }

.rules-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rule-card { min-height: 145px; padding: 18px; position: relative; border: 2px solid #111; }
.rule-card > span { position: absolute; top: 7px; right: 12px; color: #0003; font: 900 2.8rem "Arial Black", Arial, sans-serif; }
.rule-card h3 { margin: 28px 0 7px; font: 900 1.35rem "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.rule-card p { margin: 0; font-size: .78rem; font-weight: 700; line-height: 1.4; }
.red-card { color: white; background: var(--red); }.red-card > span { color: #fff4; }
.green-card { color: white; background: var(--green); }.green-card > span { color: #fff4; }
.gold-card { background: var(--gold); }

.trailer-feature {
  margin-top: 48px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(190px, .62fr) minmax(0, 1.38fr);
  gap: 24px;
  align-items: center;
  border: 3px solid #111;
  background: #fff;
  box-shadow: 7px 7px 0 #e0362e;
}
.trailer-copy h2 { margin: 0 0 10px; font: 900 1.2rem/1.2 "Arial Black", Arial, sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.trailer-copy > p:not(.section-kicker) { margin: 0 0 16px; font: 500 .88rem/1.55 Georgia, serif; }
.google-play-link { display: inline-block; line-height: 0; }
.google-play-link img { width: 190px; max-width: 100%; height: auto; }
.google-play-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.trailer-frame { aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid #111; background: #111; box-shadow: 4px 4px 0 #b5b0a3; }
.trailer-frame iframe { width: 100%; height: 100%; display: block; border: 0; }

.studio-note { margin-top: 48px; padding: 25px; display: grid; grid-template-columns: 150px 1fr; gap: 25px; align-items: center; border: 3px solid #111; background: white; }
.studio-emblem { aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 1px solid #d7b47c; }
.studio-emblem img { width: 200%; height: 100%; max-width: none; transform: translateX(-25%); object-fit: cover; }
.section-kicker { margin: 0 0 6px; color: var(--red); font-size: .66rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.studio-note p { margin: 8px 0 0; font: 500 .88rem/1.55 Georgia, serif; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.contact-row a { color: #176e59; font-family: Arial, sans-serif; font-weight: 900; text-underline-offset: 4px; }

.magazine-page footer { margin-top: 30px; padding-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; border-top: 2px solid #111; font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.magazine-page footer a { color: var(--red); }

.policy-page { min-height: 100vh; padding-bottom: 50px; }
.policy-header { margin-bottom: 12px; }
.policy-card { width: min(860px, calc(100% - 28px)); margin: 0 auto; padding: clamp(28px, 6vw, 62px); background: var(--paper); box-shadow: 0 15px 35px #0003; }
.policy-card h1 { margin: 0; color: var(--green); font: 900 clamp(2.6rem, 7vw, 5rem)/.95 Georgia, serif; text-transform: uppercase; }
.policy-meta { color: var(--muted); }
.policy-summary { margin: 28px 0 36px; padding: 18px 20px; background: #f6da67; border-left: 9px solid var(--red); }
.policy-summary strong { color: var(--red); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.policy-summary p { margin-bottom: 0; }
.policy-card h2 { margin: 31px 0 8px; padding: 7px 10px; color: white; background: #111; font-size: 1rem; text-transform: uppercase; }
.policy-card p { font: 500 .95rem/1.68 Georgia, serif; }
.policy-card a { color: #0d7055; font-weight: 800; text-underline-offset: 4px; }
.policy-card code { padding: 2px 5px; background: #e7dec6; }

@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-column: 1 / -1; }
  .facts dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .world-grid { grid-template-columns: 1fr 1fr; }
  .world-copy { grid-column: 1 / -1; columns: 2; column-gap: 30px; }
}

@media (max-width: 640px) {
  .studio-header { align-items: center; }
  .studio-brand > span:last-child { display: none; }
  nav a { padding: 7px 5px; font-size: .62rem; }
  .magazine-page { padding: 24px 16px; }
  .issue-line b { display: none; }
  .feature-title h1 { font-size: clamp(3.1rem, 17vw, 5rem); filter: drop-shadow(2px 2px 0 #202020); }
  .red-banner { font-size: .72rem; }
  .lead-grid, .world-grid, .rules-grid, .trailer-feature, .studio-note { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .world-copy { grid-column: auto; columns: auto; }
  .tape-heading span { font-size: .7rem; letter-spacing: .13em; }
  .studio-emblem { width: 150px; margin: auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
