:root {
  /* sky gradient — straight from the game canvas drawSky() */
  --bg:        #0c0a1f;
  --bg-2:      #1c1438;
  --bg-3:      #2a1840;
  /* earth ocean — straight from drawEarth() */
  --ocean:     #1d4068;
  --ocean-hi:  #2a6a92;
  --ocean-lo:  #0e2244;
  --ink: #F2EDE3;
  --ink-soft: rgba(242, 237, 227, 0.62);
  --ink-line: rgba(242, 237, 227, 0.16);
  --accent: #f8a8c0;                    /* donut pink — primary */
  --accent-deep: #ff7a98;               /* deeper pink — on-target / active */
  --accent-soft: rgba(248, 168, 192, 0.20);
  --accent-hover: #F2EDE3;              /* cream hover */
  --accent-glow: rgba(248, 168, 192, 0.35);
  --donut-pink: #f8a8c0;
  --cream-warm: #fff2c8;                /* warm cream — replaces yellow sprinkle */
  --display: 'Press Start 2P', 'Courier New', monospace;
  --display-soft: 'VT323', 'JetBrains Mono', monospace;
  --body: 'VT323', 'JetBrains Mono', ui-monospace, monospace;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw: 1320px;
  --pad: clamp(20px, 4.5vw, 64px);
  --donut-cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='16' viewBox='0 0 10 8' shape-rendering='crispEdges'><rect x='2' width='6' height='1' fill='%23f8a8c0'/><rect x='1' y='1' width='1' height='1' fill='%23f8a8c0'/><rect x='3' y='1' width='6' height='1' fill='%23f8a8c0'/><rect y='2' width='1' height='4' fill='%23f8a8c0'/><rect x='8' y='2' width='2' height='1' fill='%23f8a8c0'/><rect x='9' y='3' width='1' height='3' fill='%23f8a8c0'/><rect x='1' y='6' width='1' height='1' fill='%23f8a8c0'/><rect x='8' y='6' width='1' height='1' fill='%23f8a8c0'/><rect x='2' y='7' width='6' height='1' fill='%23f8a8c0'/><rect x='2' y='1' width='1' height='1' fill='%23ffd8e4'/><rect x='1' y='2' width='2' height='1' fill='%23ffd8e4'/><rect x='1' y='3' width='1' height='1' fill='%23ffd8e4'/><rect x='4' y='2' width='3' height='1' fill='%23c08055'/><rect x='2' y='3' width='1' height='1' fill='%23c08055'/><rect x='8' y='3' width='1' height='1' fill='%23c08055'/><rect x='1' y='4' width='2' height='1' fill='%23c08055'/><rect x='7' y='4' width='2' height='1' fill='%23c08055'/><rect x='1' y='5' width='1' height='1' fill='%23c08055'/><rect x='8' y='5' width='1' height='1' fill='%23c08055'/><rect x='2' y='6' width='2' height='1' fill='%23c08055'/><rect x='6' y='6' width='2' height='1' fill='%23c08055'/><rect x='3' y='2' width='1' height='1' fill='%235c83d3'/><rect x='7' y='2' width='1' height='1' fill='%232bc15c'/><rect x='7' y='3' width='1' height='1' fill='%23fff2c8'/><rect x='7' y='5' width='1' height='1' fill='%23fff2c8'/><rect x='4' y='6' width='1' height='1' fill='%235c83d3'/></svg>") 10 8;
}

* { box-sizing: border-box; margin: 0; padding: 0; cursor: none; }
html {
  scroll-behavior: smooth;
  cursor: none;
  /* fallback while bg.js boots — gets covered by the sky canvas */
  background: var(--bg);
}
body {
  color: var(--ink);
  font-family: var(--body);
  font-size: 22px;
  line-height: 1.32;
  font-weight: 400;
  -webkit-font-smoothing: none;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
  cursor: none;
  background: transparent;
}
/* Touch devices have no hover — re-enable the OS pointer so taps still feel native */
@media (hover: none) {
  *, html, body { cursor: auto; }
}
a, button, [role="button"], input, textarea, select { cursor: none; }

/* ── site-wide pixel night sky (lives behind every section) ── */
.sky-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* ── JS donut cursor ── */
.donut-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 32px;
  height: 26px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .12s ease, transform .04s linear;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='32' viewBox='0 0 10 8' shape-rendering='crispEdges'><rect x='2' width='6' height='1' fill='%23f8a8c0'/><rect x='1' y='1' width='1' height='1' fill='%23f8a8c0'/><rect x='3' y='1' width='6' height='1' fill='%23f8a8c0'/><rect y='2' width='1' height='4' fill='%23f8a8c0'/><rect x='8' y='2' width='2' height='1' fill='%23f8a8c0'/><rect x='9' y='3' width='1' height='3' fill='%23f8a8c0'/><rect x='1' y='6' width='1' height='1' fill='%23f8a8c0'/><rect x='8' y='6' width='1' height='1' fill='%23f8a8c0'/><rect x='2' y='7' width='6' height='1' fill='%23f8a8c0'/><rect x='2' y='1' width='1' height='1' fill='%23ffd8e4'/><rect x='1' y='2' width='2' height='1' fill='%23ffd8e4'/><rect x='1' y='3' width='1' height='1' fill='%23ffd8e4'/><rect x='4' y='2' width='3' height='1' fill='%23c08055'/><rect x='2' y='3' width='1' height='1' fill='%23c08055'/><rect x='8' y='3' width='1' height='1' fill='%23c08055'/><rect x='1' y='4' width='2' height='1' fill='%23c08055'/><rect x='7' y='4' width='2' height='1' fill='%23c08055'/><rect x='1' y='5' width='1' height='1' fill='%23c08055'/><rect x='8' y='5' width='1' height='1' fill='%23c08055'/><rect x='2' y='6' width='2' height='1' fill='%23c08055'/><rect x='6' y='6' width='2' height='1' fill='%23c08055'/><rect x='3' y='2' width='1' height='1' fill='%235c83d3'/><rect x='7' y='2' width='1' height='1' fill='%232bc15c'/><rect x='7' y='3' width='1' height='1' fill='%23fff2c8'/><rect x='7' y='5' width='1' height='1' fill='%23fff2c8'/><rect x='4' y='6' width='1' height='1' fill='%235c83d3'/></svg>");
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.6));
}
.donut-cursor.press {
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.6)) brightness(1.2);
}
@media (hover: none) {
  .donut-cursor { display: none; }
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
em { font-style: italic; }

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

/* ---------- shared mono / labels ---------- */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
}
.section-label {
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: 32px;
  min-width: 180px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(12, 10, 31, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ink-line);
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  font-family: var(--display);
  font-size: 22px;
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: -0.05em;
  line-height: 1;
}
.brand-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand-name em {
  font-family: var(--display);
  text-transform: none;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-left: 2px;
}
.brand-slash { color: var(--ink-soft); margin: 0 6px; }

.nav nav { display: flex; gap: 28px; align-items: center; }
.nav nav a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s ease;
}
.nav nav a .num { color: var(--accent); font-size: 9px; }
.nav nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--ink) !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg) !important; }
.nav-cta .num { display: none; }

@media (max-width: 760px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .brand-name { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink-line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

/* ---------- hero (full-bleed game, no text) ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg);
}
/* ---------- pixel ring-toss game (full-bleed hero canvas) ---------- */
.game-wrap {
  position: absolute;
  inset: 0;
  background: var(--bg);
  overflow: hidden;
  cursor: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
  touch-action: pan-y;
}
canvas#ringgame {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.game-hud {
  position: absolute;
  top: clamp(96px, 13vh, 140px);
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Press Start 2P', var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--ink);
  pointer-events: none;
  text-shadow: 1px 1px 0 #000, 0 0 8px rgba(0,0,0,0.6);
  z-index: 5;
}
.game-score em { color: var(--accent); font-style: normal; }
.game-msg {
  color: var(--accent);
  text-align: right;
  max-width: 60%;
  transition: opacity .25s ease;
  min-height: 1em;
}
.game-msg.fade { opacity: 0; }
.game-info {
  position: absolute;
  top: clamp(80px, 14vh, 160px);
  left: 50%;
  transform: translate(-50%, -8px);
  width: min(560px, 86%);
  background: rgba(11, 11, 10, 0.88);
  border: 1px solid rgba(248, 168, 192, 0.40);
  border-radius: 4px;
  padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px);
  text-align: center;
  pointer-events: none;
  z-index: 8;
  opacity: 0;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 48px -16px rgba(0,0,0,0.6);
}
.game-info.show { opacity: 1; transform: translate(-50%, 0); }
.info-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.info-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 6px;
}
.info-loc {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, 0.6);
  margin-bottom: 14px;
}
.info-hist {
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 460px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .game-info { top: 110px; padding: 14px 18px; }
  .info-hist { font-size: 13px; line-height: 1.4; }
}
.game-scanlines {
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.16) 2px,
    rgba(0,0,0,0.16) 3px
  );
  mix-blend-mode: multiply;
  z-index: 4;
}
@media (max-width: 760px) {
  .game-hud { font-size: 8px; top: 90px; }
}

/* video work-cards */
.work-media--video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.05);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.work-card:hover .work-media--video video { transform: scale(1.04); }

/* ---------- section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
  .section-label { min-width: 0; }
}

/* ---------- about ---------- */
.about {
  padding: clamp(80px, 13vw, 180px) var(--pad);
  max-width: var(--maxw); margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line);
}
.about-lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.founders {
  display: grid; gap: 40px;
  padding-top: 8px;
}
.founder { padding-top: 24px; border-top: 1px solid var(--ink-line); }
.founder-role { margin-bottom: 8px; }
.founder-name {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
}
.founder-bio { font-size: 15px; color: var(--ink-soft); max-width: 360px; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- services ---------- */
.services {
  padding: clamp(80px, 13vw, 180px) var(--pad);
  max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.service-list { list-style: none; }
.service {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: clamp(20px, 4vw, 64px);
  padding: 40px 0;
  border-top: 1px solid var(--ink-line);
  align-items: baseline;
  position: relative;
  transition: padding-left .35s cubic-bezier(.2,.7,.2,1);
}
.service:hover { padding-left: 16px; }
.service:hover .service-num { color: var(--accent); }
.service:last-child { border-bottom: 1px solid var(--ink-line); }
.service-num { letter-spacing: 0.1em; color: var(--ink-soft); transition: color .35s ease; }
.service h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 18px;
}
.service p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 640px;
}
.service-meta {
  text-align: right;
  align-self: start;
  padding-top: 18px;
  color: var(--accent);
}

@media (max-width: 820px) {
  .service { grid-template-columns: 60px 1fr; }
  .service-meta { grid-column: 2; text-align: left; padding-top: 12px; }
}

/* ---------- work ---------- */
.work {
  padding: clamp(80px, 13vw, 180px) var(--pad);
  max-width: var(--maxw); margin: 0 auto;
}

.work-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.work-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-card:hover h3 em { color: var(--accent); }
.work-card:hover .work-link { color: var(--accent); }

.work-card--featured {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.work-card--featured .work-media { aspect-ratio: 16/10; }
.work-card--featured .work-body {
  padding: clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.work-card--featured h3 {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 24px;
}
.work-card--featured .work-desc {
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 520px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-grid .work-media { aspect-ratio: 4/5; }
.work-grid .work-body { padding: 28px 24px 28px; }
.work-grid h3 {
  font-size: clamp(32px, 3vw, 44px);
  margin-bottom: 16px;
}
.work-grid .work-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }

.work-media {
  position: relative;
  overflow: hidden;
  background: #000;
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  filter: contrast(1.03);
}
.work-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 10px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 999px;
  font-size: 10px;
}
.work-tag {
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.work-card h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--ink);
}
.work-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  transition: color .2s ease;
}

@media (max-width: 980px) {
  .work-card--featured { grid-template-columns: 1fr; }
  .work-card--featured .work-media { aspect-ratio: 16/10; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .work-media { aspect-ratio: 16/10; }
}

/* ---------- contact ---------- */
.contact {
  padding: clamp(120px, 16vw, 220px) var(--pad);
  max-width: var(--maxw); margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--ink-line);
}
.contact .section-label { display: inline-block; }
.contact-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 24px auto 56px;
}
.contact-mail {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em;
  padding: 20px 36px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.contact-mail .arrow { font-size: 0.7em; transition: transform .25s ease; }
.contact-mail:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.contact-mail:hover .arrow { transform: translate(4px, -4px); }

.contact-meta {
  margin-top: 56px;
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
}

/* ---------- footer ---------- */
footer {
  padding: 28px var(--pad);
  background: transparent;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* ============================================================
   PIXEL / RETRO-GAME SYSTEM (overrides)
   ============================================================ */

/* ── pixel typography utilities ── */
.px-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  padding: 6px 10px;
  border: 2px solid var(--accent);
  background: rgba(248, 168, 192, 0.12);
  margin-bottom: 24px;
}
.px-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.6);
  margin-bottom: 48px;
}
.px-title .accent { color: var(--accent); }
.px-title-sm {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.px-num {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1;
}
.px-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-align: right;
  align-self: start;
  padding-top: 14px;
}

/* ── pixel cards (earth-blue glass over the purple sky) ── */
.pixel-card {
  /* radial gradient in the same key as the game's earth ocean */
  background:
    radial-gradient(ellipse at 25% 20%, var(--ocean-hi) 0%, var(--ocean) 55%, var(--ocean-lo) 100%);
  border: none;
  outline: 4px solid var(--accent);
  outline-offset: -4px;
  padding: clamp(20px, 2.6vw, 32px);
  position: relative;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55);
  transition: transform .2s steps(2), box-shadow .2s steps(2);
}
.pixel-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.55);
}

/* ── pixel button ── */
.pixel-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 36px;
  background: var(--accent);
  color: #0c0a1f !important;
  border: 4px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .15s steps(2), box-shadow .15s steps(2), background .15s steps(2);
  position: relative;
}
.pixel-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background: #fff2c8;
}
.pixel-button:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--ink);
}

/* ── section base ── */
.pixel-section {
  position: relative;
  background: transparent;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  max-width: none;
}
.pixel-section + .pixel-section { border-top: none; }
.pixel-section .section-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(48px, 8vw, 80px);
}

/* ── about — left-aligned mission statement ── */
.about {
  max-width: none;
  padding: clamp(120px, 16vw, 200px) var(--pad);
}
.about-inner {
  max-width: 760px;
  margin: 0;          /* anchored left, not centered */
  text-align: left;
}
.about-tag {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 10px;
  background: rgba(248, 168, 192, 0.12);
  outline: 1.5px solid var(--accent);
  outline-offset: -1.5px;
  color: var(--accent);
}
.about-lede {
  font-family: var(--body);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
  border-left: 4px solid var(--accent);
  padding-left: clamp(20px, 2.4vw, 32px);
}
.about-lede .accent { color: var(--accent); }

/* ── reveal-on-scroll: vertical (slide up) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ── reveal-on-scroll: horizontal (slide in from left) ── */
[data-reveal-x] {
  opacity: 0;
  transform: translateX(-72px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
[data-reveal-x].in-view {
  opacity: 1;
  transform: translateX(0);
}

/* ── services overrides ── */
.services {
  max-width: none;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: transparent;
}
.services .section-head { max-width: var(--maxw); margin: 0 auto clamp(48px, 6vw, 80px); }
.service-list { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 24px; }
.service {
  display: grid;
  grid-template-columns: 60px 1fr 120px;
  gap: clamp(20px, 4vw, 56px);
  border: none;
  outline: 4px solid var(--accent);
  outline-offset: -4px;
  padding: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(ellipse at 25% 20%, var(--ocean-hi) 0%, var(--ocean) 55%, var(--ocean-lo) 100%);
  align-items: baseline;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55);
  transition: transform .15s steps(2), box-shadow .15s steps(2);
}
.service:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.55); }
.service h3 { color: var(--ink); }
.service p {
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 640px;
}
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; }
  .px-meta { text-align: left; padding-top: 8px; }
}

/* ── work / photo album ── */
.work {
  max-width: none;
  padding: clamp(80px, 12vw, 160px) var(--pad);
}
.work .section-head { max-width: var(--maxw); margin: 0 auto clamp(48px, 6vw, 80px); }

/* paper colors used inside the album */
:root {
  --paper:        #f3eada;   /* aged cream paper */
  --paper-deep:   #e6d8b8;   /* edges / tinted */
  --paper-shadow: rgba(60, 40, 20, 0.18);
  --ink-pen:      #1a1a1a;
  --ink-faded:    #4a3a28;
}

.album {
  max-width: 1080px;
  margin: 0 auto;
  --book-w: min(960px, 92vw);
  --book-h: calc(var(--book-w) * 0.62);   /* 8:5 spread when open */
  --cover-w: calc(var(--book-w) / 2);
}

.album-stage {
  position: relative;
  width: var(--book-w);
  height: var(--book-h);
  margin: 0 auto;
  perspective: 2400px;
  /* shift stage left when closed so the cover (right half) appears centered in section */
  transition: transform .85s cubic-bezier(0.65, 0, 0.35, 1);
}
.album.is-closed .album-stage {
  transform: translateX(calc(var(--cover-w) / -2));
}
/* book "shadow on the table" for the closed state */
.album.is-closed .album-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: var(--cover-w);
  height: 22px;
  transform: translateX(-50%) skewX(-14deg);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
  filter: blur(3px);
  pointer-events: none;
  z-index: 0;
}

/* ── CLOSED COVER ────────────────────────────────────── */
.album-cover {
  position: absolute;
  top: 0;
  left: 50%;                /* sits in RIGHT half of stage; pivots around binding */
  width: var(--cover-w);
  height: 100%;
  z-index: 12;
  cursor: var(--donut-cursor), pointer;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 4px, transparent 4px 8px),
    linear-gradient(155deg, #2a1840 0%, #1c1438 60%, #14102a 100%);
  border: 0;
  padding: 0 22px 0 28px;     /* inner room for spine + page-stack */
  font: inherit;
  color: var(--ink);
  outline: 4px solid var(--accent);
  outline-offset: -4px;
  box-shadow:
    inset 0 0 0 10px rgba(12, 10, 31, 0.45),
    inset 0 0 0 12px rgba(248, 168, 192, 0.18),
    inset 0 0 80px rgba(0,0,0,0.5);
  transform-origin: left center;
  /* slight 3D tilt so the cover sits like a real book on the table */
  transform: rotateY(0) rotateX(0) translateZ(2px);
  transition: transform .85s cubic-bezier(0.65, 0, 0.35, 1),
              box-shadow .25s ease,
              filter .25s ease;
  image-rendering: pixelated;
  -webkit-tap-highlight-color: transparent;
  backface-visibility: hidden;
}
/* SPINE — thick binding on the left edge with stitched holes */
.album-cover::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -2px;
  width: 22px;
  background:
    /* stitch holes */
    radial-gradient(circle at center, rgba(12,10,31,0.85) 0 2px, transparent 2.5px) 50% 24px / 22px 60px repeat-y,
    /* spine ridge */
    linear-gradient(90deg,
      #14102a 0%,
      #2a1840 40%,
      #3a2455 70%,
      rgba(0,0,0,0.5) 100%);
  border-right: 2px solid rgba(0,0,0,0.55);
  box-shadow: inset -2px 0 4px rgba(0,0,0,0.6);
  pointer-events: none;
}
/* PAGE STACK — visible cream page-edges on the right side (the unbound edge) */
.album-cover::after {
  content: '';
  position: absolute;
  top: 4px; bottom: 4px; right: -10px;
  width: 12px;
  background:
    repeating-linear-gradient(to bottom,
      var(--paper)      0 1px,
      var(--paper-deep) 1px 3px,
      rgba(0,0,0,0.18)  3px 3.5px);
  border: 1px solid rgba(0,0,0,0.5);
  border-left: none;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.45);
  transform: skewY(-1deg);
  pointer-events: none;
}
.album-cover:hover {
  filter: brightness(1.08);
  box-shadow:
    16px 18px 0 rgba(0, 0, 0, 0.65),
    inset 0 0 0 10px rgba(12, 10, 31, 0.45),
    inset 0 0 0 12px rgba(248, 168, 192, 0.28),
    inset 0 0 80px rgba(0,0,0,0.4),
    0 0 0 6px var(--accent-glow);
  transform: rotateY(-6deg) translateZ(2px);
}
.album.is-opening .album-cover,
.album.is-open    .album-cover {
  transform: rotateY(-170deg) translateZ(2px);
  pointer-events: none;
  box-shadow: none;
}
.album.is-open .album-cover { display: none; }
.album.is-closing .album-cover {
  display: block;
  transform: rotateY(0) translateZ(2px);
}

/* photo-tape corners (kept subtle — they decorate the cover, not the book) */
.album-cover-tape { display: none; }

.album-cover-frame {
  position: absolute;
  inset: 24px;
  border: 2px dashed var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 14px;
  text-align: center;
}
.album-cover-band {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.16em;
  background: var(--accent);
  color: #0c0a1f;
  padding: 6px 10px;
  width: 100%;
  outline: 2px solid #0c0a1f;
  outline-offset: -2px;
}
.album-cover-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 14px;
}
.album-cover-title {
  font-family: var(--display);
  font-size: clamp(22px, 3.6vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin: 8px 0 4px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.55);
  letter-spacing: 0.04em;
}
.album-cover-illu {
  background: var(--paper);
  border: 3px solid var(--accent);
  padding: 10px;
  width: min(78%, 220px);
  aspect-ratio: 6/5;
  display: grid;
  place-items: center;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}
.album-cover-illu svg { width: 100%; height: 100%; }
.album-cover-year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.album-cover-cta {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.55);
  animation: cover-blink 1.6s steps(2) infinite;
}
@keyframes cover-blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.35; }
}

/* ── OPEN SPREADS ────────────────────────────────────── */
.album-spreads {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 100%);
  outline: 4px solid var(--accent);
  outline-offset: -4px;
  box-shadow:
    14px 16px 0 rgba(0, 0, 0, 0.55),
    inset 0 0 60px rgba(60, 40, 20, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
}
/* center-binding shadow rendered above the spread */
.album-spreads::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 28px;
  margin-left: -14px;
  background:
    linear-gradient(to right,
      transparent 0%,
      rgba(60,40,20,0.25) 35%,
      rgba(0,0,0,0.55) 50%,
      rgba(60,40,20,0.25) 65%,
      transparent 100%);
  pointer-events: none;
  z-index: 6;
}
/* book "shadow on the table" for the open state */
.album.is-open .album-stage::after,
.album.is-opening .album-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: var(--book-w);
  height: 22px;
  transform: translateX(-50%) skewX(-14deg);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, transparent 75%);
  filter: blur(3px);
  pointer-events: none;
  z-index: 0;
}
/* visible page-stack thickness on the OUTER edges of the open spread */
.album-spreads::after {
  content: '';
  position: absolute;
  top: 4px; bottom: 4px;
  left: -10px;
  width: 10px;
  background:
    repeating-linear-gradient(to bottom,
      var(--paper)      0 1px,
      var(--paper-deep) 1px 3px,
      rgba(0,0,0,0.18)  3px 3.5px);
  border: 1px solid rgba(0,0,0,0.5);
  border-right: none;
  box-shadow: -2px 2px 0 rgba(0,0,0,0.4);
  transform: skewY(1deg);
  pointer-events: none;
  z-index: 7;
}
.album-spread.is-active::before {
  /* mirror page-stack on the right edge */
  content: '';
  position: absolute;
  top: 4px; bottom: 4px; right: -10px;
  width: 10px;
  background:
    repeating-linear-gradient(to bottom,
      var(--paper)      0 1px,
      var(--paper-deep) 1px 3px,
      rgba(0,0,0,0.18)  3px 3.5px);
  border: 1px solid rgba(0,0,0,0.5);
  border-left: none;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  transform: skewY(-1deg);
  pointer-events: none;
  z-index: 7;
}
.album.is-opening .album-spreads,
.album.is-open    .album-spreads {
  visibility: visible;
  opacity: 1;
}
.album.is-opening .album-spreads { transition-delay: .35s; }

.album-spread {
  display: none;
  grid-column: 1 / -1;
  grid-row: 1;
  /* fills the spread; uses internal grid for the two pages */
}
.album-spread.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

.spread-page {
  position: relative;
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.spread-page--left  { border-right: 1px solid rgba(60, 40, 20, 0.15); }
.spread-page--right { border-left:  1px solid rgba(60, 40, 20, 0.15); }

/* paper texture overlay */
.paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 20%, transparent 0%, rgba(60,40,20,0.12) 100%),
    repeating-linear-gradient(0deg, rgba(60,40,20,0.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(60,40,20,0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
/* a few paper "stains" */
.spread-page::after {
  content: '';
  position: absolute;
  width: 50px; height: 50px;
  background: radial-gradient(circle, rgba(120,80,40,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.spread-page--left::after  { top: 12%; right: 10%; }
.spread-page--right::after { bottom: 14%; left: 12%; }

/* LEFT page — illustration */
.page-illu {
  background: transparent;
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.page-illu svg {
  width: min(90%, 340px);
  height: auto;
  filter: drop-shadow(2px 2px 0 rgba(60, 40, 20, 0.15));
}
.page-caption {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faded);
  text-transform: uppercase;
  text-align: center;
  border-top: 1.5px dashed var(--ink-faded);
  padding-top: 10px;
}

/* RIGHT page — text */
.page-corner {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-faded);
  z-index: 2;
}
.page-tag {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  background: rgba(248, 168, 192, 0.18);
  padding: 6px 8px;
  align-self: flex-start;
  outline: 1.5px solid var(--accent-deep);
  outline-offset: -1.5px;
  margin-bottom: 12px;
}
.page-h {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--ink-pen);
  margin: 4px 0 10px;
  text-shadow: 3px 3px 0 rgba(120, 80, 40, 0.18);
}
.page-meta {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faded);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-text {
  position: relative;
  z-index: 1;
  font-family: var(--body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  color: var(--ink-pen);
  margin-bottom: 18px;
  flex: 1;
}
.page-button {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: var(--ink-pen);
  padding: 10px 14px;
  align-self: flex-start;
  border: 2px solid var(--ink-pen);
  text-decoration: none;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  box-shadow: 4px 4px 0 rgba(60,40,20,0.5);
  transition: transform .15s steps(2), box-shadow .15s steps(2), background .15s steps(2);
}
.page-button:hover {
  background: var(--accent-deep);
  color: var(--ink-pen);
  text-shadow: none;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(60,40,20,0.55);
}
.page-num {
  position: absolute;
  bottom: 14px; right: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-faded);
  z-index: 1;
}

/* ── PAGE-FLIP FX OVERLAY ───────────────────────────── */
.album-flip-fx {
  position: absolute;
  top: 0; left: 50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 70%, rgba(60,40,20,0.6) 100%);
  pointer-events: none;
  transform-origin: left center;
  transform: rotateY(0);
  opacity: 0;
  z-index: 8;
}
.album-flip-fx.flip-right {
  animation: flip-right .58s cubic-bezier(0.55, 0, 0.45, 1) forwards;
}
.album-flip-fx.flip-left {
  /* mirror: flip from left half */
  left: 0;
  transform-origin: right center;
  background: linear-gradient(225deg, var(--paper) 0%, var(--paper-deep) 70%, rgba(60,40,20,0.6) 100%);
  animation: flip-left .58s cubic-bezier(0.55, 0, 0.45, 1) forwards;
}
@keyframes flip-right {
  0%   { opacity: 1; transform: rotateY(0); }
  85%  { opacity: 1; transform: rotateY(-160deg); }
  100% { opacity: 0; transform: rotateY(-180deg); }
}
@keyframes flip-left {
  0%   { opacity: 1; transform: rotateY(0); }
  85%  { opacity: 1; transform: rotateY(160deg); }
  100% { opacity: 0; transform: rotateY(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  .album-cover,
  .album-stage,
  .album-spreads,
  .album-flip-fx { transition: opacity .15s ease; animation-duration: .01s !important; }
}

/* ── CONTROLS ───────────────────────────────────────── */
.album-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 28px auto 0;
  flex-wrap: wrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}
.album.is-open .album-controls {
  opacity: 1;
  visibility: visible;
  transition-delay: .85s;
}
.album-btn,
.album-close {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(12, 10, 31, 0.7);
  border: 2px solid var(--accent);
  padding: 10px 14px;
  cursor: var(--donut-cursor), pointer;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
  transition: transform .15s steps(2), background .15s steps(2);
}
.album-btn:hover,
.album-close:hover {
  background: var(--accent);
  color: #0c0a1f;
  text-shadow: none;
  transform: translate(-2px, -2px);
}
.album-counter {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 0 8px;
}
.album-counter em { color: var(--accent); font-style: normal; }
.album-close { border-color: var(--ink); }
.album-close:hover { background: var(--ink); color: #0c0a1f; }

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .album {
    --book-w: 92vw;
    --book-h: calc(var(--book-w) * 1.25);   /* taller, single-page stack */
    --cover-w: var(--book-w);
  }
  .album.is-closed .album-stage { transform: none; }
  .album-cover {
    left: 0;
    width: 100%;
  }
  .album-cover::before { display: none; }
  .album-spread.is-active {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .album-spreads {
    background:
      linear-gradient(to bottom, transparent 49%, rgba(0,0,0,0.3) 49.6%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 50.4%, transparent 51%),
      linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 100%);
  }
  .spread-page--left  { border-right: 0; border-bottom: 1px solid rgba(60,40,20,0.15); }
  .spread-page--right { border-left: 0;  border-top:    1px solid rgba(60,40,20,0.15); }
  .album-cover-frame { padding: 14px 10px; }
  .album-cover-illu { width: min(70%, 200px); }
  .page-illu svg { width: min(70%, 240px); }
  .album-flip-fx { display: none; }   /* skip the fancy flip on mobile */
}

/* ── contact overrides ── */
.contact {
  text-align: center;
  max-width: none;
  padding: clamp(100px, 14vw, 200px) var(--pad);
}
.contact-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 6px 6px 0 rgba(0,0,0,0.6);
  margin: 24px auto 56px;
  color: var(--ink);
  max-width: 1100px;
}
.contact-title .accent { color: var(--accent); }
.contact-mail {
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.contact-mail-addr {
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 26px);
  letter-spacing: 0.04em;
}
.contact-mail .arrow {
  font-size: 0.7em;
  margin-left: 6px;
}
.contact-meta {
  margin-top: 56px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.contact-meta .px-label { margin-bottom: 0; }

/* ── nav pixel-ify ── */
.brand-mark {
  font-family: var(--display);
  font-size: 12px;
  border-radius: 0;
  outline: 2px solid var(--ink);
  outline-offset: -2px;
  border: none;
  background: var(--accent);
  color: #0c0a1f;
}
.brand-name {
  font-family: var(--mono);
  font-size: 11px;
}
.brand-name em {
  font-family: var(--display);
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}
.nav nav a {
  font-family: var(--mono);
}
.nav-cta {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.06em;
  border-radius: 0;
  outline: 2px solid var(--ink-line);
  outline-offset: -2px;
  border: none;
  background: var(--accent);
  color: #0c0a1f !important;
  padding: 10px 14px;
}
.nav-cta:hover {
  background: var(--donut-yellow);
  outline-color: var(--ink);
}

/* ── info card pixel-ify ── */
.game-info {
  border-radius: 0;
  outline: 4px solid var(--accent);
  outline-offset: -4px;
  border: none;
  background: rgba(12, 10, 31, 0.92);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.7);
  padding: clamp(16px, 2vw, 24px) clamp(20px, 3vw, 32px);
}
.info-eyebrow {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--donut-yellow);
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #000;
}
.info-title {
  font-family: var(--display);
  font-size: clamp(16px, 2.2vw, 26px);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 8px;
  text-shadow: 3px 3px 0 #000;
}
.info-loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.info-hist {
  font-family: var(--body);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.32;
  color: var(--ink);
  max-width: 460px;
}

/* ── footer ── */
.px-label.px-label { /* allow inline use without bottom margin */ }
footer .px-label { margin-bottom: 0; }

/* ── scanline overlay on the whole site (subtle) ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,0) 3px,
    rgba(0,0,0,0.06) 3px,
    rgba(0,0,0,0.06) 4px
  );
  z-index: 200;
}
