/* FRAGILE! — fragile.nortegames.com
   Palette from the game UI and logo: tape yellow, cardboard, kraft, dark brown ink. */
:root {
  --yellow: #ffc62b;
  --yellow-hi: #ffe27a;
  --tape: #f2c744;
  --brown: #3a2415;
  --brown-2: #4e3220;
  --ink: #24170d;
  --cardboard: #c8975a;
  --cardboard-dk: #a8783f;
  --kraft: #e9d2a4;
  --paper: #fff8e7;
  --red: #b5301c;
  --red-ui: #e0442b;
  --blue-ui: #2f6fe0;
  --green-ui: #2c9a3c;
  --steam: #ffc62b;
  --radius: 14px;
  --shadow: 0 6px 0 rgba(36, 23, 13, .9);
  --shadow-soft: 0 10px 30px rgba(36, 23, 13, .25);
  --display: "Arial Black", "Segoe UI Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--kraft);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Focus: thick, high-contrast, visible on every background */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yellow);
  border-radius: 6px;
}
.section-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--yellow);
  box-shadow: 0 0 0 6px var(--ink);
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 800; text-decoration: none; border: 3px solid var(--ink);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 860px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
@media (min-width: 2000px) {
  html { font-size: 125%; }
  .wrap { max-width: 1560px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em;
  font-family: var(--display); font-weight: 900; font-size: 1rem; letter-spacing: .01em; text-transform: uppercase;
  text-decoration: none; border-radius: 12px; border: 3px solid var(--ink); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-steam { background: var(--yellow); color: var(--ink); box-shadow: var(--shadow); }
.btn-steam:hover { background: var(--yellow-hi); transform: translateY(-2px); box-shadow: 0 8px 0 rgba(36, 23, 13, .9); }
.btn-steam:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(36, 23, 13, .9); }
.btn-ghost { background: rgba(36, 23, 13, .72); color: #fff; border-color: #fff; }
.btn-ghost:hover { background: var(--ink); }
.btn-lg { font-size: 1.1rem; min-height: 56px; padding: .8em 1.5em; }
.btn-sm { min-height: 40px; padding: .4em .9em; font-size: .85rem; box-shadow: 0 4px 0 rgba(36, 23, 13, .9); }
.btn-icon { font-size: 1.1em; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brown);
  border-bottom: 4px solid var(--ink);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: block; flex: 0 0 auto; width: 120px; }
.brand img { width: 120px; height: auto; }
.site-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  order: 3; display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 2px solid rgba(255, 255, 255, .7); border-radius: 10px;
  min-height: 40px; padding: 0 10px; color: #fff; cursor: pointer; font-weight: 700; font-size: .9rem;
}
.menu-toggle span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.lang-toggle {
  background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .7); border-radius: 10px;
  min-height: 40px; min-width: 44px; padding: 0 10px; font-weight: 800; cursor: pointer;
}
.lang-toggle:hover, .menu-toggle:hover { border-color: var(--yellow); color: var(--yellow); }

.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--brown); border-bottom: 4px solid var(--ink); padding: 8px 16px 16px;
}
.site-nav.is-open ul { display: grid; gap: 2px; }
.site-nav a {
  display: block; padding: 10px 8px; text-decoration: none; font-weight: 700; color: #fff; border-radius: 8px;
}
.site-nav a:hover { color: var(--yellow); }

@media (min-width: 400px) { .brand, .brand img { width: 150px; } }
@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; border: 0; background: none; margin-left: 12px; }
  .site-nav ul, .site-nav.is-open ul { display: flex; gap: 2px; }
  .site-nav a { padding: 8px 10px; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 900px);
  display: flex; align-items: flex-end;
  background: var(--brown);
  color: #fff;
  border-bottom: 6px solid var(--ink);
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity .6s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 23, 13, .55) 0%, rgba(36, 23, 13, .15) 30%, rgba(36, 23, 13, .55) 62%, rgba(36, 23, 13, .94) 100%);
}
.hero-content { padding-top: 48px; padding-bottom: 56px; text-align: center; }
.hero-logo { margin: 8px auto 12px; max-width: 760px; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .35)); }
.hero-logo img { width: 100%; }
.hero-tagline {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.45rem, 5vw, 2.6rem); line-height: 1.1; margin: 0 0 .4em;
  color: var(--yellow);
  text-shadow: 0 3px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink);
}
.hero-sub { max-width: 640px; margin: 0 auto 1.4em; font-size: 1.05rem; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.hero-facts li {
  background: rgba(36, 23, 13, .78); border: 2px solid rgba(255, 198, 43, .7); border-radius: 999px;
  padding: 4px 14px; font-size: .9rem; font-weight: 700;
}
.stamp {
  display: inline-block; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: .04em; font-size: .9rem; padding: .3em .8em; border-radius: 6px;
}
.stamp-demo { color: #fff; background: var(--red); border: 3px solid #fff; transform: rotate(-3deg); box-shadow: 0 4px 0 rgba(0, 0, 0, .4); }
.hero-pause {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px;
  background: rgba(36, 23, 13, .8); color: #fff; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px;
  cursor: pointer; font-size: .85rem; font-weight: 700;
}
.hero-pause-icon { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hero-pause[aria-pressed="true"] .hero-pause-icon { border: 0; width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
@media (max-width: 559px) { .hero-pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (min-width: 768px) {
  .hero { align-items: center; }
  .hero-content { padding-top: 80px; padding-bottom: 96px; }
  .hero-sub { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-kraft { background: var(--kraft); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--brown); color: #fff; }
.section-yellow { background: var(--yellow); }
.section-cardboard {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .035) 0 2px, transparent 2px 9px),
    var(--cardboard);
}
/* packing-tape strip between sections */
.section + .section::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 20px; z-index: 1;
  background:
    repeating-linear-gradient(-45deg, rgba(58, 36, 21, .14) 0 12px, transparent 12px 24px),
    var(--tape);
  border-top: 2px solid rgba(36, 23, 13, .5); border-bottom: 2px solid rgba(36, 23, 13, .5);
  transform: rotate(-.6deg);
}

.kicker {
  display: inline-block; margin: 0 0 12px; padding: 2px 12px;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  background: var(--ink); color: var(--yellow); border-radius: 4px; transform: rotate(-1.5deg);
}
.kicker-light { background: var(--yellow); color: var(--ink); }
.title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 6vw, 3.4rem); letter-spacing: -.01em; margin-bottom: .45em; color: var(--ink);
  text-wrap: balance;
}
.title-light { color: var(--yellow); text-shadow: 0 4px 0 var(--ink); }
.subtitle { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 3.5vw, 1.8rem); margin: 48px 0 8px; }
.subtitle-light { color: var(--yellow); }
.lead { max-width: 760px; font-size: 1.12rem; }
.lead-light, .muted-light { color: #f3e6cf; }

/* ---------- About ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 40px; }
.stats li {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 12px; text-align: center; font-weight: 700;
}
.stats strong { display: block; font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--red); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--ink); }
.card-body { padding: 16px 18px 18px; }
.card h3 { font-family: var(--display); font-weight: 900; font-size: 1.2rem; text-transform: uppercase; margin-bottom: .5em; }
.card p { margin: 0; font-size: 1rem; }

/* ---------- Videos ---------- */
.trailer { margin: 24px 0 0; }
.trailer-frame {
  position: relative; aspect-ratio: 16 / 9; background: #000; border: 4px solid var(--yellow); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 10px 0 var(--ink);
}
.trailer-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.trailer figcaption { margin-top: 18px; color: #f3e6cf; font-size: .95rem; }

.shorts {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%);
  gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 8px 4px 20px; margin: 16px -4px 0;
  scrollbar-color: var(--yellow) transparent;
}
@media (min-width: 640px) { .shorts { grid-auto-columns: minmax(170px, 30%); } }
@media (min-width: 1000px) { .shorts { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }
.short { scroll-snap-align: start; }
.short-btn, .short video {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; overflow: hidden;
  background: #000; border: 3px solid var(--yellow); border-radius: 12px; cursor: pointer;
}
.short-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .25s; opacity: .92; }
.short-btn:hover img { transform: scale(1.04); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .short-btn img, .short-btn:hover img { transition: none; transform: none; } }
.short-play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
}
.short-play::after {
  content: ""; position: absolute; left: 24px; top: 17px;
  border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.short-title { margin: 8px 2px 0; font-weight: 700; font-size: .92rem; line-height: 1.3; color: #fff; }

/* ---------- Places ---------- */
.places { display: grid; gap: 22px; margin-top: 32px; counter-reset: place; }
@media (min-width: 560px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .places { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 2000px) { .places { grid-template-columns: repeat(5, 1fr); } }
.place {
  position: relative; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.place:nth-child(odd) { transform: rotate(-.5deg); }
.place:nth-child(even) { transform: rotate(.5deg); }
@media (prefers-reduced-motion: reduce) { .place:nth-child(n) { transform: none; } }
.place img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 3px solid var(--ink); }
.place-body { position: relative; padding: 18px 18px 18px; }
.place-num {
  position: absolute; top: -22px; right: 14px;
  font-family: var(--display); font-weight: 900; font-size: 1.1rem;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 8px; padding: 2px 10px;
  transform: rotate(3deg);
}
.place h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.2rem; margin-bottom: .4em; }
.place p { margin: 0; font-size: .98rem; }

/* ---------- Tools & chaos ---------- */
.clips { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 900px) { .clips { grid-template-columns: repeat(3, 1fr); } }
.clip { margin: 0; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.clip-frame { position: relative; aspect-ratio: 16 / 9; background: var(--brown); border-bottom: 3px solid var(--ink); }
.clip-video { width: 100%; height: 100%; object-fit: cover; }
.clip-toggle {
  position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(36, 23, 13, .85); border: 2px solid #fff; cursor: pointer;
}
.clip-toggle span { position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.clip-toggle[aria-pressed="true"] span { transform: translate(-50%, -50%); width: 14px; height: 16px; border: 0; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.clip figcaption { padding: 14px 16px 16px; font-size: .98rem; }
.clip figcaption strong { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.05rem; }

.chaos-grid { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 900px) { .chaos-grid { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.35rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips li { background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: .95rem; }
.panel-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid var(--ink); border-radius: 10px; }
.mods { display: grid; gap: 14px; }
.mods li { display: grid; gap: 4px; }
.mod-tag {
  justify-self: start; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: .95rem;
  color: var(--red); border: 3px solid var(--red); border-radius: 6px; padding: 1px 10px; transform: rotate(-1.5deg);
}

/* ---------- Invoice ---------- */
.invoice-layout { display: grid; gap: 28px; margin-top: 32px; align-items: start; }
@media (min-width: 960px) { .invoice-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.receipt {
  position: relative; background: #fffdf6; color: var(--ink); padding: 34px 22px 30px; border-radius: 4px;
  box-shadow: 0 12px 0 rgba(0, 0, 0, .35); transform: rotate(-1deg);
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x,
                linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 51% repeat-x,
                linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat;
}
@media (prefers-reduced-motion: reduce) { .receipt { transform: none; } }
.tape { position: absolute; top: -10px; left: 50%; width: 120px; height: 26px; margin-left: -60px; background: rgba(242, 199, 68, .9); transform: rotate(-3deg); }
.receipt-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; text-align: center; font-size: 1.5rem; letter-spacing: .06em; }
.receipt-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 10px 0 12px; padding-bottom: 10px; border-bottom: 2px dashed #8a7a66; font-size: .85rem; }
.receipt-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.receipt-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: 4px 0; }
.receipt-table th:last-child, .receipt-table td:last-child { text-align: right; }
.receipt-table td { padding: 10px 0; border-bottom: 1px dotted #b3a48e; vertical-align: top; }
.receipt-table td:last-child { color: var(--red); font-weight: 800; padding-left: 12px; white-space: nowrap; }
.culprit { display: block; font-style: italic; font-size: .85rem; color: #4d4033; }
.culprit::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; border: 1.5px solid var(--ink); }
.c-red::before { background: var(--red-ui); } .c-blue::before { background: var(--blue-ui); } .c-green::before { background: var(--green-ui); } .c-none::before { background: transparent; }
.wrecked { font-style: normal; font-size: .72rem; text-transform: uppercase; color: #fff; background: var(--red); padding: 1px 6px; border-radius: 3px; margin-left: 4px; }
.receipt-table tfoot th, .receipt-table tfoot td { padding-top: 14px; border-top: 3px double var(--ink); font-size: 1.2rem; font-family: var(--display); }
.receipt-table tfoot td { color: var(--red); font-size: 1.6rem; }
.receipt-stamp {
  display: inline-block; margin: 18px 0 0; padding: 2px 10px; border: 3px solid var(--red); border-radius: 6px;
  color: var(--red); font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-4deg);
}
.award-list { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 560px) { .award-list { grid-template-columns: 1fr 1fr; } }
.award { background: #fffdf6; color: var(--ink); border-radius: 6px; padding: 14px 14px 14px 18px; border-left: 8px solid; box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.award:nth-child(odd) { transform: rotate(-1deg); } .award:nth-child(even) { transform: rotate(1deg); }
@media (prefers-reduced-motion: reduce) { .award:nth-child(n) { transform: none; } }
.award strong { display: block; color: var(--red); font-family: var(--display); font-weight: 900; text-transform: uppercase; margin-bottom: 4px; }
.award span { font-size: .92rem; font-style: italic; }
.a-red { border-color: var(--red-ui); } .a-green { border-color: var(--green-ui); } .a-blue { border-color: var(--blue-ui); } .a-yellow { border-color: var(--yellow); }
.screenshot { margin: 48px 0 0; }
.screenshot img { width: 100%; border: 4px solid var(--yellow); border-radius: var(--radius); box-shadow: 0 10px 0 var(--ink); }
.screenshot figcaption { margin-top: 18px; color: #f3e6cf; font-size: .95rem; }

/* ---------- Customization ---------- */
.lineup { width: 100%; margin-top: 24px; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); background: #b9b9b9; }
.style-grid { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 700px) { .style-grid { grid-template-columns: repeat(3, 1fr); } }
.style-grid figure { margin: 0; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.style-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid var(--ink); }
.style-grid figcaption { padding: 10px 14px; font-family: var(--display); font-weight: 900; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
  font-family: var(--display); font-weight: 900; font-size: 1.05rem; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; line-height: 24px; text-align: center; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--ink); font-size: 1.2rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 18px; margin: 0; }

/* ---------- Follow ---------- */
.follow { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .follow { grid-template-columns: 1.2fr 1fr; } }
.follow-actions { display: grid; gap: 18px; justify-items: start; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px;
  background: var(--ink); color: #fff; border-radius: 12px; text-decoration: none; font-weight: 800;
}
.social:hover { background: var(--brown-2); }
.social-icon { font-size: 1.15rem; line-height: 1; }
.todo-note { font-size: .72rem; text-transform: uppercase; background: var(--yellow); color: var(--ink); border-radius: 4px; padding: 0 6px; margin-left: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8dccb; padding: 48px 0 40px; border-top: 6px solid var(--yellow); }
.footer-inner { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; align-items: start; } }
.footer-brand img { width: 180px; margin-bottom: 10px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #fff; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--yellow); }
.footer-meta p { margin: 8px 0 0; }
.lang-toggle-footer { min-height: 44px; }

/* utility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Steam switch (html[data-steam]) ---------- */
html[data-steam="soon"] .when-live, html[data-steam="live"] .when-soon { display: none !important; }
html[data-steam="soon"] .btn-steam-cta { background: rgba(36, 23, 13, .72); color: #fff; border-color: #fff; box-shadow: none; }
html[data-steam="soon"] .btn-steam-cta:hover { background: var(--ink); transform: none; }
html[data-steam="soon"] .follow .btn-steam-cta { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.notice {
  max-width: 720px; margin: 0 auto 18px; padding: 16px 18px 18px;
  background: rgba(36, 23, 13, .86); border: 3px dashed var(--yellow); border-radius: var(--radius);
  display: grid; gap: 12px; justify-items: center;
}
.notice-text { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.notice-text strong { color: var(--yellow); }
.follow-actions .btn { width: 100%; max-width: 420px; }
@media (min-width: 560px) { .follow-actions .btn { width: auto; } }
/* On the yellow follow band the primary button turns dark so it stays visible */
.section-yellow .btn-steam { background: var(--ink); color: var(--yellow); border-color: var(--ink); box-shadow: 0 6px 0 rgba(36, 23, 13, .45); }
.section-yellow .btn-steam:hover { background: var(--brown-2); }
html[data-steam="soon"] .section-yellow .btn-steam-cta { background: var(--paper); color: var(--ink); border-color: var(--ink); }
html, body { overflow-x: clip; }
.btn-sm { white-space: nowrap; }
@media (max-width: 479px) {
  .hide-xs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-actions .btn-sm { min-width: 44px; font-size: 1rem; }
}

/* ---------- Round 2: disabled Steam button, short labels, compact mobile hero ---------- */
.btn-disabled {
  background: rgba(36, 23, 13, .6); color: #f3e6cf; border: 3px dashed rgba(255, 255, 255, .7);
  box-shadow: none; cursor: default;
}
.section-yellow .btn-disabled { background: transparent; color: var(--ink); border-color: var(--ink); }
.lbl-short { display: none; }
.short-desc { margin: 4px 2px 0; font-size: .85rem; line-height: 1.35; color: #e5d6bd; }
@media (max-width: 479px) {
  .lbl-long { display: none; }
  span.lbl-short { display: inline; }
  p.lbl-short { display: block; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 20px; padding-bottom: 24px; }
  .hero-logo { margin: 6px auto 6px; }
  .hero-tagline { font-size: 1.35rem; }
  .hero-sub { font-size: .95rem; line-height: 1.45; margin-bottom: .9em; }
  .notice { padding: 12px 12px 14px; gap: 10px; margin-bottom: 12px; }
  .notice .btn { width: 100%; }
  .hero-ctas { flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: .55em .5em; font-size: .85rem; white-space: nowrap; }
  .hero-facts { display: none; }
  .hero-pause { top: 10px; bottom: auto; right: 10px; }
}
.hero-pause[hidden] { display: none; }
