/* GameGarage Hub — Industrial garage minimal
   Layout: A boxed-1200 · spacing: regular (96/56, 48 mobile)
   Tokens only; motif = hazard ticks + garage-slat hairlines; shadow = hard offset 4px */

:root {
  --c-bg: #ece9e4;
  --c-bg-2: #e2ded7;
  --c-bg-dark: #16181a;
  --c-ink: #16181a;
  --c-ink-inv: #ece9e4;
  --c-muted: #6a6862;
  --c-a1: #ff5a1f;
  --c-a2: #2b6cff;
  --c-line: rgba(22, 24, 26, .16);
  --c-line-inv: rgba(236, 233, 228, .18);

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "IBM Plex Mono", ui-monospace, monospace;

  --r-card: 2px;
  --bd: 1.5px solid var(--c-ink);
  --sh: 4px 4px 0 var(--c-ink);

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px; --s-6: 56px;
  --w: 1200px;
  --sec: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(40px, 6.5vw, 84px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(19px, 2vw, 24px); }
p { margin: 0 0 var(--s-2); }

.container { max-width: var(--w); margin-inline: auto; padding-inline: 32px; }
.section { padding-block: var(--sec); }
.section--dark { background: var(--c-bg-dark); color: var(--c-ink-inv); }
.section--alt { background: var(--c-bg-2); }

/* motif: hazard-tick eyebrow */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--c-a1); margin: 0 0 var(--s-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 10px; flex: none;
  background: repeating-linear-gradient(-45deg, var(--c-a1) 0 3px, transparent 3px 7px);
}
.section--dark .eyebrow { color: var(--c-a1); }

/* motif: garage-slat divider */
.slats { height: 14px; background: repeating-linear-gradient(var(--c-line) 0 1.5px, transparent 1.5px 5px); }
.section--dark .slats, .slats--inv { background: repeating-linear-gradient(var(--c-line-inv) 0 1.5px, transparent 1.5px 5px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: 14px 22px; border-radius: var(--r-card); cursor: pointer;
  border: var(--bd); background: transparent; color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn--primary { background: var(--c-a1); border-color: var(--c-a1); color: #16181a; box-shadow: var(--sh); }
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-ink); }
.btn--ghost:hover { transform: translate(-2px, -2px); box-shadow: var(--sh); background: var(--c-bg); }
.section--dark .btn--ghost { border-color: var(--c-ink-inv); box-shadow: 4px 4px 0 var(--c-a2); }
.section--dark .btn--ghost:hover { background: transparent; box-shadow: 6px 6px 0 var(--c-a2); }

/* ---------- nav-underline-bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); padding: 16px 32px;
  background: rgba(236, 233, 228, .9); backdrop-filter: blur(8px);
  border-bottom: var(--bd);
}
.nav__logo {
  font-family: var(--f-display); font-weight: 800; font-size: 22px;
  text-transform: uppercase; letter-spacing: -.02em; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav__logo b { color: var(--c-a1); }
.nav__links { display: flex; gap: var(--s-3); }
.nav__links a {
  position: relative; text-decoration: none; font-size: 14px;
  text-transform: uppercase; letter-spacing: .04em; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--c-a1); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* ---------- hero-split-media ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-6);
  align-items: center; padding-block: var(--s-6) var(--sec);
}
.hero__text h1 span { color: var(--c-a1); }
.hero__lead { font-size: 18px; max-width: 46ch; color: var(--c-muted); }
.hero__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-4); }
.hero__meta { display: flex; gap: var(--s-4); margin-top: var(--s-5); flex-wrap: wrap; }
.hero__meta div { font-size: 13px; letter-spacing: .04em; }
.hero__meta b { display: block; font-family: var(--f-display); font-size: 26px; color: var(--c-ink); }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border: var(--bd); border-radius: var(--r-card); }
.hero__tag {
  position: absolute; left: -10px; bottom: 22px; background: var(--c-bg-dark); color: var(--c-ink-inv);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px;
  border-radius: var(--r-card); box-shadow: var(--sh);
}
/* animated slats overlay on hero media — "Shutter Slat Rise" */
.hero__shutter { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(rgba(255,90,31,.0) 0 22px, rgba(255,90,31,.14) 22px 24px);
  animation: shutterRise 6s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes shutterRise { 0%,100% { transform: translateY(6px); opacity: .5; } 50% { transform: translateY(-6px); opacity: 1; } }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stats__item { border-left: 3px solid var(--c-a1); padding-left: var(--s-2); }
.stats__num { font-family: var(--f-display); font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.stats__label { font-size: 13px; color: var(--c-ink-inv); opacity: .7; letter-spacing: .05em; }

/* ---------- feature grid ---------- */
.head { max-width: 62ch; margin-bottom: var(--s-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.card {
  background: var(--c-bg); border: var(--bd); border-radius: var(--r-card);
  padding: var(--s-4); box-shadow: var(--sh);
}
.card__no { font-size: 12px; color: var(--c-a1); letter-spacing: .1em; }
.card h3 { margin: var(--s-2) 0 var(--s-1); }
.card p { color: var(--c-muted); margin: 0; font-size: 14px; }

/* ---------- zigzag room ---------- */
.zig { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
.zig img { border: var(--bd); border-radius: var(--r-card); box-shadow: var(--sh); }
.zig ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; }
.zig li { padding: 10px 0; border-bottom: 1px solid var(--c-line-inv); display: flex; gap: 12px; }
.zig li::before { content: "//"; color: var(--c-a1); font-weight: 700; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); align-items: start; }
.plan { background: var(--c-bg); border: var(--bd); border-radius: var(--r-card); padding: var(--s-4); }
.plan--feature { box-shadow: var(--sh); border-color: var(--c-a1); }
.plan__tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-a1); }
.plan__price { font-family: var(--f-display); font-size: 44px; font-weight: 800; margin: var(--s-1) 0; }
.plan__price small { font-size: 15px; font-family: var(--f-body); color: var(--c-muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-4); }
.plan li { padding: 7px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.plan li::before { content: "+ "; color: var(--c-a2); }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: var(--bd); padding: var(--s-3) 0; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-size: 18px; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-a1); font-size: 24px; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: var(--s-2) 0 0; color: var(--c-muted); }

/* ---------- cta form (floating card) ---------- */
.order { background: var(--c-bg-dark); color: var(--c-ink-inv); }
.order__card {
  max-width: 640px; margin-inline: auto; background: var(--c-bg); color: var(--c-ink);
  border: var(--bd); border-radius: var(--r-card); box-shadow: 8px 8px 0 var(--c-a1); padding: var(--s-6);
}
.field { margin-bottom: var(--s-3); }
.field label { display: block; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font-family: var(--f-body); font-size: 15px; padding: 12px 14px;
  border: var(--bd); border-radius: var(--r-card); background: var(--c-bg); color: var(--c-ink);
}
.field input:focus, .field select:focus { outline: 3px solid var(--c-a2); outline-offset: 1px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--c-muted); }
#formStatus { min-height: 20px; font-size: 14px; }
#formStatus.error { color: #c1361b; }

/* ---------- footer map-contact ---------- */
.footer { background: var(--c-bg-dark); color: var(--c-ink-inv); padding-block: var(--sec) var(--s-5); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-4); }
.footer__logo { font-family: var(--f-display); font-size: 28px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.footer__logo b { color: var(--c-a1); }
.footer address { font-style: normal; color: var(--c-ink-inv); opacity: .8; margin-top: var(--s-2); font-size: 14px; }
.footer h4 { font-size: 13px; letter-spacing: .1em; color: var(--c-a1); margin-bottom: var(--s-2); }
.footer__col a { display: block; text-decoration: none; opacity: .82; padding: 5px 0; font-size: 14px; }
.footer__col a:hover { opacity: 1; color: var(--c-a1); }
.footer__disclaimer {
  margin-top: var(--s-6); padding: 14px 18px; border: 1.5px solid var(--c-a1); border-radius: var(--r-card);
  font-size: 14px; letter-spacing: .02em; display: inline-block;
}
.footer__bottom { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--c-line-inv);
  display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; font-size: 13px; opacity: .75; }

/* ---------- legal pages (narrow) ---------- */
.legal { max-width: 800px; margin-inline: auto; padding-block: var(--s-6) var(--sec); }
.legal h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: var(--s-2); }
.legal h2 { font-size: 22px; margin: var(--s-5) 0 var(--s-2); }
.legal p, .legal li { color: #2c2e30; }
.legal a:not(.btn) { color: var(--c-a1); }
.legal .updated { color: var(--c-muted); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }

/* thank you */
.thanks { min-height: 68vh; display: grid; place-items: center; text-align: center; padding: var(--sec) 32px; }
.thanks__mark { width: 72px; height: 72px; border: 3px solid var(--c-a1); border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--c-a1); margin: 0 auto var(--s-4); }

/* ---------- games catalog ---------- */
.games__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.game {
  background: var(--c-bg); border: var(--bd); border-radius: var(--r-card);
  padding: var(--s-3) var(--s-4); box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 6px;
}
.game__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.game h3 { font-size: 20px; margin: 0; }
.game__genre {
  font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-a2); white-space: nowrap;
}
.game p { color: var(--c-muted); font-size: 13px; margin: 0; }
.games__note { margin-top: var(--s-5); font-size: 14px; color: var(--c-muted); }
.games__note b { color: var(--c-ink); font-weight: 600; }

/* ---------- reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.review {
  background: var(--c-bg); border: var(--bd); border-radius: var(--r-card);
  padding: var(--s-4); box-shadow: var(--sh); display: flex; flex-direction: column; gap: var(--s-3);
}
.review__stars { color: var(--c-a1); letter-spacing: 3px; font-size: 15px; }
.review__text { margin: 0; font-size: 15px; line-height: 1.55; }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--c-ink); object-fit: cover; flex: none; }
.review__name { font-family: var(--f-display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: -.01em; }
.review__meta { font-size: 12px; color: var(--c-muted); letter-spacing: .04em; }

/* ---------- gallery ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--s-2);
}
.gallery__item { overflow: hidden; border: var(--bd); border-radius: var(--r-card); position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__cap {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 12px;
  background: var(--c-bg-dark); color: var(--c-ink-inv); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; border-top-right-radius: var(--r-card);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .footer__grid, .games__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 768px) {
  :root { --sec: 64px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__grid, .zig { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .container { padding-inline: 20px; }
  .order__card { padding: var(--s-4); }
}
@media (max-width: 480px) {
  .grid-4, .footer__grid, .games__grid, .reviews__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__shutter { animation: none; }
  html { scroll-behavior: auto; }
}
