/* ═══════════════════════════════════════════════════════════════
   oilkingdom.css — the Oil Kingdom page's own art direction, on top of
   the studio's shell.css + site.css: the game's hand-painted 1970s oil
   boom (rust, brass, sunset orange, cream paper). Only `.game-oilkingdom`
   and `gp-` / `dev-stamp` selectors; tokens prefixed --ok-.
═══════════════════════════════════════════════════════════════ */
.game-oilkingdom {
  --ok-ink: #140d08;
  --ok-panel: #22160e;
  --ok-panel-2: #2d1d12;
  --ok-line: #4a3220;
  --ok-brass: #e9b04a;       /* 9.6:1 on --ok-ink */
  --ok-orange: #e8571a;
  --ok-cream: #f4e5c6;       /* 16:1 on --ok-ink */
  --ok-cream-2: #cdb894;     /* 9.9:1 on --ok-ink */
  background: var(--ok-ink);
  color: var(--ok-cream);
}
.game-oilkingdom main { background: radial-gradient(1200px 600px at 80% 0%, rgb(232 87 26 / 0.08), transparent 70%), var(--ok-ink); }
.game-oilkingdom .lead, .game-oilkingdom .muted, .game-oilkingdom .note { color: var(--ok-cream-2); }
.game-oilkingdom .kicker, .game-oilkingdom .sec-title { color: var(--ok-brass); }
.game-oilkingdom h2, .game-oilkingdom h3 { font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 700; letter-spacing: -.01em; }
.game-oilkingdom .crumbs a { color: var(--ok-cream-2); }
.game-oilkingdom .crumbs [aria-current] { color: var(--ok-cream); }
.game-oilkingdom .btn-primary { background: var(--ok-brass); color: var(--ok-ink); }
.game-oilkingdom .btn-primary:hover { background: #f6c66a; }
.game-oilkingdom .btn-secondary { border-color: var(--ok-line); color: var(--ok-cream); background: rgb(20 13 8 / 0.5); }
.game-oilkingdom .btn-secondary:hover { border-color: var(--ok-brass); }
.game-oilkingdom .facts { border-top-color: var(--ok-line); }
.game-oilkingdom .facts > div { border-bottom-color: var(--ok-line); }
.game-oilkingdom .facts dt { color: var(--ok-cream-2); }
.game-oilkingdom .facts dd { color: var(--ok-cream); }

/* The stamp */
.dev-stamp {
  display: inline-block; padding: 9px 16px 8px;
  border: 3px double var(--ok-brass, #e9b04a); border-radius: 6px;
  font: 800 .85rem/1 var(--font-ui); letter-spacing: .24em; text-transform: uppercase;
  color: var(--ok-brass, #e9b04a); background: rgb(20 13 8 / 0.7);
  transform: rotate(-4deg); box-shadow: 0 10px 26px rgb(0 0 0 / 0.4);
}
.dev-stamp--hero { margin-bottom: 26px; font-size: .95rem; }

/* Hero */
.gp-hero { position: relative; isolation: isolate; min-height: clamp(560px, 86vh, 900px); display: flex; align-items: flex-end; overflow: hidden; }
.gp-hero-media, .gp-hero-media picture, .gp-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-hero-media { z-index: -1; }
.gp-hero-media img { object-fit: cover; }
.gp-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(20 13 8 / 0.92) 0%, rgb(20 13 8 / 0.7) 34%, rgb(20 13 8 / 0.1) 64%, transparent 78%),
    linear-gradient(0deg, var(--ok-ink) 0%, rgb(20 13 8 / 0) 30%);
}
.gp-hero-content { width: 100%; padding-top: 88px; padding-bottom: clamp(56px, 8vw, 112px); }
.gp-hero-content > * { max-width: 600px; }
.gp-hero h1 { margin: 0 0 18px; line-height: 0; }
.gp-logo { width: min(100%, 520px); height: auto; filter: drop-shadow(0 12px 24px rgb(0 0 0 / 0.5)); }
.gp-genre { font: 600 .8rem/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ok-brass); margin-bottom: 10px; }
.gp-tagline { font-family: var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 14px; }
.gp-summary { color: var(--ok-cream-2); max-width: 52ch; margin-bottom: 24px; }
.game-oilkingdom .hero-meta { color: var(--ok-cream-2); margin-bottom: 28px; }
.game-oilkingdom .badge { border-color: var(--ok-line); color: var(--ok-cream); background: rgb(20 13 8 / 0.6); }

/* Notice */
.gp-notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 32px; align-items: center;
  margin-top: clamp(24px, 4vw, 48px); padding-top: 28px; padding-bottom: 28px;
  background:
    repeating-linear-gradient(-45deg, rgb(233 176 74 / 0.10) 0 14px, transparent 14px 28px),
    var(--ok-panel);
  border: 1px solid var(--ok-line); border-radius: var(--radius-md);
}
.gp-notice h2 { font-size: 1.5rem; margin-bottom: 6px; color: var(--ok-brass); }
.gp-notice p:not(.dev-stamp) { color: var(--ok-cream); max-width: 75ch; }

/* Sections */
.gp-section { padding-top: clamp(64px, 8vw, 120px); }
.gp-section:last-child { padding-bottom: var(--space-section); }
.gp-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); }
.gp-about h2 { margin-top: 12px; font-size: clamp(2rem, 3.8vw, 3.2rem); }
.gp-about .lead + .lead { margin-top: 16px; }

.gp-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(32px, 5vw, 64px); }
.gp-feature--flip .gp-shot { order: 2; }
.gp-shot a { display: block; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--ok-line); box-shadow: var(--shadow-panel); background: var(--ok-panel); }
.gp-shot img { width: 100%; transition: transform .5s var(--ease); }
.gp-shot a:hover img { transform: scale(1.02); }
.gp-shot figcaption, .gp-shots figcaption { margin-top: 10px; font-size: .88rem; color: var(--ok-cream-2); }
.gp-feature-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.gp-feature-text p { color: var(--ok-cream-2); font-size: 1.05rem; }
.gp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.gp-cards li { padding: 26px; background: var(--ok-panel); border: 1px solid var(--ok-line); border-radius: var(--radius-md); }
.gp-cards h3 { font-size: 1.45rem; margin-bottom: 10px; color: var(--ok-brass); }
.gp-cards p { color: var(--ok-cream-2); }

.gp-planned { }
.gp-planned h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 20px; }
.gp-planned ul { display: grid; gap: 12px; max-width: 820px; }
.gp-planned li { position: relative; padding: 14px 18px 14px 46px; border: 1px dashed var(--ok-line); border-radius: var(--radius-sm); color: var(--ok-cream-2); }
.gp-planned li::before { content: ''; position: absolute; left: 18px; top: 1.15em; width: 12px; height: 12px; border: 2px solid var(--ok-brass); border-radius: 50%; }

.gp-gallery .lead { margin: 14px 0 0; }
.gp-gallery h2 { margin-top: 10px; }
.gp-shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.gp-shots li { grid-column: span 2; }
.gp-shots .gp-shots-ipad { grid-column: span 3; }
.gp-shots a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--ok-line); background: var(--ok-panel); }
.gp-shots img { width: 100%; transition: transform .5s var(--ease); }
.gp-shots a:hover img { transform: scale(1.03); }

.gp-companies-head h2 { margin-top: 10px; }
.gp-office { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ok-line); aspect-ratio: 16 / 7; }
.gp-office picture, .gp-office img { width: 100%; height: 100%; }
.gp-office img { object-fit: cover; object-position: 50% 40%; }
.gp-company-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -60px; padding: 0 clamp(12px, 3vw, 40px); position: relative; }
.gp-company-list li { padding: 20px; background: var(--ok-panel-2); border: 1px solid var(--ok-line); border-radius: var(--radius-md); box-shadow: var(--shadow-panel); }
.gp-company-list img { width: 96px; height: auto; margin-bottom: 12px; }
.gp-company-list h3 { font-size: 1.35rem; margin-bottom: 6px; }
.gp-company-list p { color: var(--ok-cream-2); font-size: .95rem; }
.gp-companies .note { margin-top: 20px; }

.gp-facts h2, .gp-faq h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 20px; }
.gp-facts .facts { max-width: 820px; }
.gp-faq { max-width: calc(820px + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--content-max)) / 2)); }
.gp-faq details { border-top: 1px solid var(--ok-line); }
.gp-faq details:last-of-type { border-bottom: 1px solid var(--ok-line); }
.gp-faq summary { cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 1.08rem; list-style: none; }
.gp-faq summary::-webkit-details-marker { display: none; }
.gp-faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--ok-brass); transition: transform .2s; }
.gp-faq details[open] summary::after { transform: rotate(45deg); }
.gp-faq details p { padding: 0 0 20px; color: var(--ok-cream-2); max-width: 70ch; }

@media (max-width: 960px) {
  .gp-about, .gp-feature { grid-template-columns: 1fr; }
  .gp-feature--flip .gp-shot { order: 0; }
  .gp-company-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; padding: 0; }
  .gp-shots { grid-template-columns: 1fr 1fr; }
  .gp-shots li, .gp-shots .gp-shots-ipad { grid-column: span 1; }
}
@media (max-width: 700px) {
  .gp-hero { display: block; min-height: 0; }
  .gp-hero-media { position: relative; z-index: 0; aspect-ratio: 4 / 5; max-height: 70vh; }
  .gp-hero-media picture, .gp-hero-media img { position: absolute; }
  .gp-hero-media::after { background: linear-gradient(0deg, var(--ok-ink) 0%, rgb(20 13 8 / 0) 45%); }
  .gp-hero-content { padding-top: 0; margin-top: -64px; padding-bottom: 48px; }
  .gp-notice { grid-template-columns: 1fr; }
  .gp-shots { grid-template-columns: 1fr; }
  .gp-company-list { grid-template-columns: 1fr; }
}
