:root {
  color-scheme: dark;
  --ink: #171810;
  --surface: #222318;
  --olive: #34371d;
  --line: #484934;
  --gold: #ffcb05;
  --cream: #f3eedc;
  --muted: #c6c0a9;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--cream);
  background: var(--ink);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-underline-offset: .22em }
a:hover { color: var(--gold) }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px }
img { display: block; max-width: 100%; height: auto }
h1, h2, h3, p, figure { margin: 0 }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.055em }
p { color: var(--muted) }
.wrap { width: min(100% - 6rem, 74rem); margin-inline: auto }
.skip { position: absolute; top: .5rem; left: .75rem; padding: .5rem 1rem; background: var(--ink); z-index: 10; transform: translateY(-160%) }
.skip:focus { transform: none }
.masthead { border-bottom: 1px solid var(--line); background: #15160f }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 6.5rem; gap: 1.5rem }
.brand { display: inline-flex; align-items: center; gap: 1rem; flex-shrink: 0; padding-block: .6rem; text-decoration: none }
.brand-mark { width: 4rem; height: 4rem; flex: none }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: .22rem }
.brand-word { width: 18.5rem; height: auto; display: block }
.brand-subtitle { color: var(--cream); font-size: .67rem; letter-spacing: .36em; text-transform: uppercase; font-weight: 650; line-height: 1.2 }
.brand:hover { opacity: .88 }
nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.8rem; row-gap: .5rem }
nav a { text-decoration: none; font-size: .94rem; font-weight: 650 }
.hero { overflow: clip; background: radial-gradient(ellipse at 76% 45%, #484820 0%, #2a2d18 36%, #1a1c12 75%); border-bottom: 1px solid var(--line) }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 1rem; min-height: 35rem; padding-block: 4rem 5rem }
.hero-copy { position: relative; z-index: 1 }
.hero-tag { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; color: var(--cream); font-weight: 700; font-size: .88rem }
.hero-tag span:first-child { color: var(--gold); border: 1px solid #8d782d; padding: .25rem .6rem; border-radius: 2px }
.hero h1 { font-size: clamp(3.55rem, 7.35vw, 7.15rem); line-height: .93; font-weight: 900 }
.hero h1 span { color: var(--gold) }
.hero p { margin-block: 1.65rem 1.7rem; max-width: 32ch; font-size: clamp(1rem, 1.5vw, 1.22rem) }
.button { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); border: 1px solid var(--gold); border-radius: 3px; color: #211a02; min-height: 2.9rem; padding: .65rem 1.15rem; text-decoration: none; font-weight: 780 }
.button:hover { color: #211a02; background: #ffdc63; border-color: #ffdc63 }
.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; padding: 2.1rem; margin: 1rem 0; aspect-ratio: 1; }
.hero-art::before, .hero-art::after { content: ''; position: absolute; z-index: -1; inset: 1%; border: 1px solid #fff3813b; border-radius: 50% }
.hero-art::after { inset: 8% }
.hero-board { width: 95%; border: 1px solid #ffe0a2; border-radius: .55rem; box-shadow: 0 24px 50px #0d0c07a8, 0 7px 0 #71502e; transform: rotate(-9deg) }
.sticker { width: clamp(3.5rem, 8.7vw, 7rem); position: absolute; right: 2%; bottom: 3%; border-radius: 50%; transform: rotate(13deg); box-shadow: 0 8px 20px #14110678 }
.collection { padding-block: 3.8rem 4.5rem }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .9rem; margin-bottom: 1.45rem; gap: 1rem }
.section-heading h2, .studio h2, .product-body h2 { font-size: clamp(2.2rem, 4vw, 3.9rem) }
.section-heading > span { color: var(--muted) }
.catalog { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(min(100%, 30rem),1fr)) }
.game-card { display: grid; grid-template-columns: minmax(8rem,.9fr) 1.1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); max-width: 48rem }
.game-preview { min-width: 0; overflow: hidden; display: block }
.game-preview img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1.4 }
.game-details { padding: clamp(1rem,3vw,2rem); align-self: center }
.game-details h3 { margin-block: .5rem; font-size: clamp(2rem, 4vw, 3.25rem) }
.game-details h3 a { text-decoration: none }
.game-details p { margin-block: .65rem }
.eyebrow { color: var(--gold); font-size: .9rem; font-weight: 750; letter-spacing: .05em }
.platforms { color: var(--muted); display: inline-block; font-size: .93rem }
.studio { background: var(--olive); border-block: 1px solid var(--line); padding-block: 3rem }
.studio-grid, .product-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,6vw,6rem) }
.studio-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1fr) }
.archive { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid #9e925440; border-radius: 4px }
.studio h2 { margin-block: .45rem .8rem }
.studio p { max-width: 39ch }
.footer { border-top: 1px solid var(--line) }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.2rem; padding-block: 2rem }
.footer-brand { display: flex; align-items: center; gap: .8rem }
.footer-brand img { width: 2.5rem; height: 2.5rem; flex-shrink: 0; object-fit: contain }
.parent { color: var(--muted); font-size: .93rem }
.product-hero { background: radial-gradient(ellipse at 85% 50%, #393b20, #202217 70%); border-bottom: 1px solid var(--line) }
.product-grid { padding-block: 3rem 4rem }
.back { display: inline-block; color: var(--muted); margin-bottom: 1.75rem }
.product-grid h1 { font-size: clamp(5rem,11vw,9rem); color: var(--gold) }
.product-grid h2 { font-size: clamp(1.6rem,4vw,2.8rem); margin-block: .5rem 1rem }
.product-grid p { max-width: 36ch; margin-block: .55rem }
.product-board, .product-image { border: 1px solid #ffe0a2; border-radius: 5px }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.3rem }
.plain-link { font-weight: 680 }
.product-body { padding-block: 3.5rem 4rem }
.product-body > p { max-width: 65ch; margin-top: 1rem }
.screens { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(.8rem,3vw,2.5rem); max-width: 63rem; margin-top: 2.25rem }
.screens img { width: 100%; border: 1px solid var(--line); border-radius: .8rem; background: #101319 }
figcaption { margin-top: .6rem; color: var(--muted) }
.document { max-width: 53rem; min-height: 65vh; padding-block: 3.4rem 4rem }
.document h1 { font-size: clamp(2.8rem,6vw,5rem); overflow-wrap: anywhere }
.document h2 { font-size: clamp(1.55rem,4vw,2.12rem); margin-block: 1.9rem .6rem }
.document p { margin-block: .65rem 1rem }
.lede { font-size: 1.17rem }
.document p a, .document li a { color: var(--gold); overflow-wrap: anywhere }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.3rem }
.contact p { margin: 0 }
details { border-top: 1px solid var(--line); padding: .9rem .15rem }
details:last-of-type { border-bottom: 1px solid var(--line) }
summary { cursor: pointer; font-weight: 720 }
details p { padding-inline: 1.05rem }
@media (max-width: 900px) {
  .wrap { width: min(100% - 3rem, 74rem) }
  .hero-inner { min-height: 29rem; padding-block: 3rem }
  .hero h1 { font-size: clamp(3.25rem,7.5vw,5.2rem) }
}
@media (max-width: 650px) {
  .wrap { width: min(100% - 2rem, 74rem) }
  .bar { min-height: 5rem; gap: .55rem; flex-wrap: wrap; padding-block: .55rem }
  .brand { gap: .65rem; padding-block: .25rem }
  .brand-mark { width: 2.8rem; height: 2.8rem }
  .brand-word { width: clamp(10rem, 45vw, 15rem); height: auto }
  .brand-subtitle { font-size: .53rem; letter-spacing: .28em }
  nav { column-gap: .8rem }
  nav a { font-size: .875rem }
  .hero-inner, .product-grid, .studio-grid { grid-template-columns: 1fr }
  .hero-inner { gap: .5rem; padding-block: 2.45rem 2.5rem }
  .hero h1 { font-size: clamp(2.85rem,10.5vw,4.2rem) }
  .hero-tag { margin-bottom: 1.15rem }
  .hero p { margin-block: 1.25rem }
  .hero-art { width: min(90%,25rem); margin: .1rem auto; padding: 1.4rem }
  .collection { padding-block: 2.7rem 3rem }
  .studio-grid { gap: 1.35rem }
  .studio { padding-block: 2rem }
  .footer-inner { flex-direction: column }
  .product-grid { gap: 1.5rem }
  .product-board { max-width: min(100%,26rem) }
  .screens { grid-template-columns: repeat(auto-fit,minmax(min(100%,8.5rem),1fr)) }
}

/* Brand editorial and product features */
.hero h1 { font-size: clamp(2.8rem, 5.5vw, 5.35rem); line-height: 1; }
.hero p { max-width: 45ch; }
.catalog-link { display: block; color: var(--gold); font-weight: 700; margin-top: .8rem; }
.studio-copy p { max-width: 55ch; margin-top: .85rem; }
.studio-copy .studio-philosophy, .studio-copy .studio-closing { color: var(--cream); font-weight: 700; }
.brand-definition { border-left: 2px solid var(--gold); padding-left: 1rem; margin: 1.4rem 0; }
.brand-definition dt { font-weight: 750; color: var(--gold); font-size: 1.2rem; }
.brand-definition dt span { font-size: .8rem; font-weight: 400; color: var(--muted); }
.brand-definition dd { margin: .4rem 0 0; color: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.feature { border: 1px solid var(--line); background: var(--surface); padding: 1.4rem; border-radius: 4px; }
.feature h3 { font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.2; color: var(--cream); margin-bottom: .65rem; }
.product-closing { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.product-closing h2 { color: var(--gold); }
.product-closing p { margin-top: .7rem; }
.product-closing nav { margin-top: 1.4rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .hero h1 { font-size: clamp(2.55rem, 9vw, 4.2rem); } .feature-grid { grid-template-columns: 1fr; } }

@media (max-width: 450px) { .masthead .bar { justify-content: center; gap: .6rem; padding-bottom: .85rem } .masthead nav { justify-content: center; width: 100%; } }
