@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  --ink: #0f1220;
  --ink-deep: #07080e;
  --ink-raised: #161a2c;
  --paper: #f4f1ea;
  --muted: #9298ad;
  --coral: #ff6b4a;
  --amber: #ffb347;

  --rule: rgba(244, 241, 234, 0.14);
  --rule-strong: rgba(244, 241, 234, 0.3);

  /* Latin faces carry no CJK glyphs; the browser falls through per character. */
  --font-cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP",
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Apple SD Gothic Neo", "Malgun Gothic",
    "Noto Sans KR";
  --font-display: "Space Grotesk", var(--font-cjk), system-ui, sans-serif;
  --font-text: "Inter", var(--font-cjk), system-ui, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.4rem, 2.2vw, 1.85rem);
  --step-3: clamp(1.9rem, 3.2vw, 2.6rem);
  --step-4: clamp(2.5rem, 6.2vw, 4.5rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1200px;
  --section: clamp(3rem, 6vw, 5rem);

  --r: 4px;
  --r-md: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  background: var(--ink);
  color: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--paper); }
::selection { background: var(--coral); color: #1a0b06; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.label,
.kicker {
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin: 0;
}
.muted { color: var(--muted); }

main { flex: 1; width: 100%; }
/* Narrow blocks keep the container's left edge instead of centring themselves. */
main > *,
.site-header,
.admin-header,
.admin-main,
.band-inner,
.footer-inner,
.footer-copy {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline-start: max(var(--gutter), (100% - var(--max)) / 2);
  margin-inline-end: auto;
}
main > .band {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
/* A closing band already carries its own padding; anything else needs the gap. */
main > :last-child:not(.band) { margin-bottom: var(--section); }
.band {
  background: var(--ink-deep);
  border-block: 1px solid var(--rule);
}
.band-inner { padding: var(--section) 0; }
/* Texture built from the mark's own geometry, faded off the text so it stays legible. */
.band-texture,
.site-footer {
  position: relative;
  overflow: hidden;
}
.band-texture::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hopvera-pattern.svg");
  background-repeat: repeat;
  background-size: 200px 200px;
  -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 38%, #000 100%);
  pointer-events: none;
}
.band-texture > .band-inner,
.site-footer > .footer-inner,
.site-footer > .footer-copy {
  position: relative;
  z-index: 1;
}

/* Raised dark band: lighter than the page, so the studio statement still reads as its own block. */
.band-studio {
  background: var(--ink-raised);
  border-block-color: var(--rule-strong);
}

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--paper);
}
.brand-mark { width: 38px; height: 38px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.035em;
  line-height: 1;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--coral);
}

.lang { position: relative; }
.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 0.35rem 0.6rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 120ms ease, color 120ms ease;
}
.lang summary:hover { color: var(--paper); border-color: var(--rule-strong); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::marker { content: ""; }
.lang summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lang[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang ul {
  position: absolute;
  right: 0;
  z-index: 5;
  background: var(--ink-deep);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  padding: 0.35rem;
  margin: 0.45rem 0 0;
  list-style: none;
  min-width: 11rem;
  max-height: 17rem;
  overflow: auto;
}
.lang ul a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: 0.3rem 0.5rem;
  border-radius: var(--r);
  font-size: 0.95rem;
}
.lang ul a:hover { color: var(--paper); background: rgba(244, 241, 234, 0.06); }
.lang ul a[aria-current="true"] { color: var(--coral); }

/* Home */

.hero {
  display: grid;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--section);
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 3rem;
  }
}
.hero h1 { margin: 0.8rem 0 1.2rem; }
.hero .lead {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 34ch;
}
.hero-mark { display: none; }
@media (min-width: 900px) {
  .hero-mark { display: block; }
  .hero-mark img {
    width: min(300px, 100%);
    margin-left: auto;
  }
}

.section {
  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
}
.section:first-child { border-top: 0; }
.section > .kicker,
.band-inner > .kicker {
  margin-bottom: 1.1rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.section-head > .kicker { margin-bottom: 0; }
.text-link {
  color: var(--coral);
  text-decoration: none;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.text-link:hover { color: var(--amber); }

.statement {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 32ch;
  margin: 0 0 1rem;
}

.band-texture .band-inner > p:not(.statement),
.band-studio .band-inner > p {
  color: var(--muted);
  max-width: 58ch;
}

.games-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-color: var(--rule-strong) transparent;
}
.game-card { flex: 0 0 min(240px, 70vw); scroll-snap-align: start; }
.game-card a { display: block; text-decoration: none; }
.game-card .cover {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--ink-raised);
  transition: border-color 120ms ease;
}
.game-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.game-card a:hover .cover { border-color: var(--rule-strong); }
.cover-fallback { display: grid; place-items: center; height: 100%; }
.cover-fallback img { width: 46%; height: auto; object-fit: contain; }
.game-card h3 { margin: 0.9rem 0 0.25rem; font-size: var(--step-1); }
.game-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.genre {
  color: var(--coral);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-controls { display: none; gap: 0.4rem; }
@media (min-width: 800px) {
  .scroll-controls { display: flex; }
}
.scroll-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: color 120ms ease, border-color 120ms ease;
}
.scroll-btn:hover { color: var(--paper); border-color: var(--rule-strong); }

/* Lists */

.empty {
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
  color: var(--muted);
  max-width: 54ch;
  margin-block: 0;
}
.empty-action { margin-top: 0.8rem; }

.note-cards {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  width: 100%;
}
@media (min-width: 760px) {
  .note-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.notes .empty-action { text-align: center; }
.note-cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 16rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--ink-raised);
  text-decoration: none;
  transition: border-color 120ms ease;
}
.note-cards a:hover { border-color: var(--rule-strong); }
.note-cards h3 {
  font-size: var(--step-1);
  margin: 0 0 0.7rem;
  transition: color 120ms ease;
}
.note-cards a:hover h3 { color: var(--coral); }
.note-cards p {
  color: var(--muted);
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
}
.note-cards .more {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--coral);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.post-list {
  list-style: none;
  margin-block: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.post-list li { border-bottom: 1px solid var(--rule); }
.post-list a {
  display: block;
  text-decoration: none;
  padding: 1.5rem 0;
}
.post-list h2,
.post-list h3 {
  font-size: var(--step-2);
  margin: 0 0 0.5rem;
  transition: color 120ms ease;
}
.post-list a:hover h2,
.post-list a:hover h3 { color: var(--coral); }
.post-list p { color: var(--muted); margin: 0; }
.post-list .more {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--coral);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  color: var(--muted);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.7rem;
}

/* Article pages */

.page-head {
  padding: var(--section) 0 clamp(1.5rem, 3vw, 2.25rem);
}
.page-head h1 { font-size: var(--step-3); }
.page-head .lead,
.careers-lead {
  color: var(--muted);
  max-width: 54ch;
  margin: 1rem 0 0;
}
.article { padding: var(--section) 0 0; max-width: 42rem; }
.article h1 { font-size: var(--step-3); margin-bottom: 1.25rem; }
.article h2 {
  font-size: var(--step-2);
  margin: 2.25rem 0 0.75rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.back-link:hover { color: var(--coral); }
.hero-cover { border-radius: var(--r-md); margin: 1.5rem 0; }
.prose p { color: var(--muted); max-width: 62ch; }
.prose a { color: var(--coral); }
.prose a:hover { color: var(--amber); }
.prose ul {
  color: var(--muted);
  max-width: 62ch;
  margin: 1rem 0;
  padding-left: 1.1rem;
  list-style: none;
}
.prose li {
  position: relative;
  margin-bottom: 0.6rem;
}
.prose li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.65em;
  width: 5px;
  height: 1px;
  background: var(--coral);
}
.privacy .muted + .muted { margin-top: -0.6rem; }

/* Controls */

.store-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  background: var(--coral);
  color: #1a0b06;
  border: 1px solid var(--coral);
  border-radius: var(--r);
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:hover { background: var(--amber); border-color: var(--amber); color: #1a1020; }
.btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--rule-strong);
}
.btn.ghost:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

.contact-form {
  max-width: 34rem;
  display: grid;
  gap: 1.15rem;
}
.contact-form label,
.admin-card label {
  display: grid;
  gap: 0.45rem;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea,
.admin-card input,
.admin-card textarea,
.admin-card select {
  width: 100%;
  background: var(--ink-raised);
  color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 0.7rem 0.8rem;
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 120ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.admin-card input:focus,
.admin-card textarea:focus,
.admin-card select:focus {
  border-color: var(--coral);
  outline: none;
}
.contact-form .hint {
  font-size: var(--step--1);
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
  color: var(--muted);
}
.contact-form .contact-submit { margin-top: 0.5rem; justify-self: start; min-width: 11rem; }
.contact-form .hp {
  position: absolute;
  left: -10000px;
  height: 0;
  overflow: hidden;
}
.sent {
  border-left: 2px solid var(--coral);
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--paper);
  max-width: 54ch;
}
.error { color: var(--coral); }

/* Footer */

.site-footer {
  background: var(--ink-deep);
  color: #fff;
  width: 100%;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding: clamp(2.75rem, 5vw, 4rem) 0 2.25rem;
}
.footer-col h2 {
  font-family: var(--font-text);
  margin: 0 0 1rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 120ms ease;
}
.footer-col a:hover { color: var(--coral); }
.footer-stores { gap: 0.85rem; align-items: start; }
.footer-stores a { display: inline-block; line-height: 0; }
.footer-stores img { height: 40px; width: auto; }
.footer-copy {
  padding: 1.1rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { margin-left: 0; width: 100%; order: 3; gap: 0.4rem 1.15rem; font-size: 0.95rem; }
  .lang { margin-left: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Admin */

.admin { background: #0b0e18; }
.admin-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.1rem 0;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.admin-header .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
}
.admin-header .brand-mark { width: 30px; height: 30px; }
.admin-header .brand-word { font-size: 1.15rem; }
.admin-header nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.admin-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 120ms ease;
}
.admin-header nav a:hover { color: var(--paper); }
.admin-main { padding: 2.5rem 0 4rem; }
.admin-main h1 { font-size: var(--step-3); }
.admin-card {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 1.5rem;
  max-width: 38rem;
}
.admin-card h1 { margin-bottom: 1.4rem; }
.admin-card form { display: grid; gap: 1.1rem; }
.admin-card label .muted {
  font-size: var(--step--1);
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
}
.admin-card .check {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  text-transform: none;
  letter-spacing: normal;
  color: var(--paper);
  font-weight: 500;
}
.admin-card .check input { width: auto; }
.admin-card .btn { justify-self: start; min-width: 9rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--rule);
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}
.admin-table th {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.row-actions { display: flex; gap: 1rem; align-items: center; }
.row-actions a { color: var(--muted); text-decoration: none; }
.row-actions a:hover { color: var(--paper); }
.linkish {
  background: none;
  border: 0;
  color: var(--coral);
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.admin-dash {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.admin-dash a {
  display: block;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 1.3rem;
  text-decoration: none;
  color: var(--muted);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 120ms ease;
}
.admin-dash a:hover { border-color: var(--rule-strong); }
.admin-dash strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 0.2rem;
}

/* Game page (designed layout, see views/game-show.php) */

.hero-cover { width: 100%; }
.gp-hero {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 4rem) 0 var(--section);
}
@media (min-width: 900px) {
  .gp-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 4rem;
  }
}
.gp-hero h1 { margin: 0.6rem 0 0.9rem; font-size: var(--step-4); }
.gp-tagline {
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 1rem;
}
.gp-lead { color: var(--muted); font-size: var(--step-1); max-width: 34rem; }
.gp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; margin-top: 2rem; }
.gp-badge { display: inline-block; line-height: 0; }
.gp-badge img { height: 44px; width: auto; }
.gp-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r);
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.gp-soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.gp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.75rem 0 0; }
.gp-chips li {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gp-hero-media {
  position: relative;
  /* Show the top of the phone and let the empty felt fade out, like a phone held up in the frame. */
  max-height: 34rem;
  overflow: hidden;
  padding: 0.5rem 0.5rem 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.gp-hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -6% 4%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 107, 74, 0.16), transparent 65%);
  pointer-events: none;
}

/* Phone frame around real captures */
.phone {
  position: relative;
  width: min(100%, 320px);
  margin-inline: auto;
  padding: 10px;
  background: #0a0c16;
  border: 2px solid #3a4058;
  border-radius: 2.6rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 26%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #04050a;
  z-index: 2;
}
.phone img,
.phone video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 2rem;
  background: var(--ink);
}
.phone-sm { width: 100%; border-radius: 2.1rem; padding: 8px; }
.phone-sm img { border-radius: 1.65rem; }
.phone-sm::before { top: 18px; height: 16px; }

.gp-section h2 { font-size: var(--step-3); margin-bottom: 2rem; }
.gp-section .section-head h2 { margin-bottom: 0; }
.gp-section .section-head { margin-bottom: 2rem; }

.gp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 620px) {
  .gp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .gp-features { grid-template-columns: repeat(3, 1fr); }
}
.gp-features li { background: var(--ink); padding: 1.75rem; }
.gp-icon { color: var(--coral); margin-bottom: 1rem; }
.gp-features h3 { font-size: var(--step-1); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.gp-features p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.gp-gallery {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1rem;
  scrollbar-color: var(--rule-strong) transparent;
}
.gp-gallery figure { flex: 0 0 min(230px, 62vw); margin: 0; scroll-snap-align: start; }
.gp-gallery figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.gp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.gp-steps li { counter-increment: step; padding-top: 1rem; border-top: 1px solid var(--rule-strong); }
.gp-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.gp-steps h3 { font-size: var(--step-1); margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.gp-steps p { color: var(--muted); margin: 0; }

.gp-video { max-width: 960px; }
.gp-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--ink-deep);
}
.gp-links ul { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; list-style: none; padding: 0; margin: 0; }
.gp-links a { color: var(--paper); text-underline-offset: 0.25em; }
.gp-links a:hover { color: var(--coral); }
