:root {
  --bg: #07080c;
  --bg-2: #10131a;
  --card: #151922;
  --line: rgba(246, 236, 214, 0.14);
  --text: #f7f4ee;
  --muted: #c4beb4;
  --gold: #e4b15c;
  --gold-2: #f3d7a6;
  --ink: #1a1208;
  --ember: #ff5c39;
  --serif: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --max: 1160px;
  --nav: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .stat strong, .store-name {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--nav);
  background: rgba(7, 8, 12, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand svg { width: 34px; height: 34px; color: var(--gold); }
.brand span {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold-2);
  margin-top: 3px;
}
.nav-panel { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(0,0,0,.25); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,8,12,.94) 0%, rgba(7,8,12,.72) 46%, rgba(7,8,12,.18) 100%),
    linear-gradient(180deg, rgba(7,8,12,.15), rgba(7,8,12,.78));
}
.hero-copy { position: relative; z-index: 1; padding: calc(var(--nav) + 48px) 0 72px; }
.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h1 { font-size: clamp(4.4rem, 10vw, 8.6rem); max-width: 11ch; margin-top: 14px; }
.lede { max-width: 46rem; color: var(--muted); font-size: 1.08rem; margin-top: 22px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(16, 19, 26, 0.88);
}
.stats.overlap { margin-top: -36px; position: relative; z-index: 2; }
.stat { padding: 22px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.4rem; color: var(--gold-2); }
.stat span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 92px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head h2 { font-size: clamp(2.8rem, 6vw, 4.6rem); max-width: 12ch; }
.section-head p { max-width: 34rem; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filters button.is-on, .filters button:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.05); }
.pill {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(7,8,12,.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 1.7rem; text-transform: none; letter-spacing: 0; line-height: 1.05; font-family: var(--sans); font-weight: 700; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--gold-2); }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.install { color: var(--gold-2); font-size: 0.85rem; font-weight: 700; }
.play-link { color: var(--ink); background: var(--gold); text-decoration: none; border-radius: 999px; padding: 8px 12px; font-size: 0.82rem; font-weight: 800; }
.play-link:hover { background: var(--gold-2); }

.stores { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 12px; }
.store {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--bg-2);
  text-decoration: none;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.store-lead { background: linear-gradient(160deg, #1b140c, #10131a 60%); }
.store-name { font-size: 2rem; }
.store span { color: var(--muted); font-size: 0.92rem; }
.store:hover { border-color: var(--gold); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.service-list { display: grid; gap: 14px; }
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.service b {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.6rem;
}
.service h3 { font-family: var(--sans); text-transform: none; font-size: 1.25rem; letter-spacing: 0; }
.service p { color: var(--muted); }

.band {
  background:
    linear-gradient(90deg, rgba(7,8,12,.82), rgba(7,8,12,.55)),
    url("../images/services.jpg") center/cover no-repeat;
  border-block: 1px solid var(--line);
}
.band .wrap { padding: 72px 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { border-top: 2px solid var(--gold); padding-top: 14px; }
.step strong { font-family: var(--serif); font-size: 1.8rem; display: block; text-transform: uppercase; }
.step p { color: var(--muted); margin-top: 8px; }

.page-hero { padding: calc(var(--nav) + 54px) 0 20px; }
.page-hero h1 { font-size: clamp(3.6rem, 8vw, 6.4rem); max-width: 14ch; }

.ios-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 18px 0 0; padding: 0; list-style: none; }
.ios-list li { border-bottom: 1px solid var(--line); padding: 10px 0; }

.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 700; }
input, select, textarea {
  background: #0c0e13;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.form-note { color: var(--gold-2); min-height: 1.4em; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: #0b0d12; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.site-footer a, .site-footer p { color: var(--muted); text-decoration: none; display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--text); }
.legal { margin-top: 28px; color: var(--muted); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.prose { max-width: 46rem; display: grid; gap: 14px; }
.prose h2 { font-size: 2.2rem; margin-top: 10px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--gold-2); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-media img { transition: none; }
}

@media (max-width: 980px) {
  .stats, .stores, .steps, .footer-grid { grid-template-columns: 1fr 1fr; }
  .stores { grid-template-columns: 1fr 1fr; }
  .grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: #0d1016;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-panel.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 12px; }
  .stats, .steps, .footer-grid, .ios-list { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: start; }
  h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}
