/* ============================================================
   GAARINHA — fan site
   Fonts: Brush King (logo, local)
        + Oxanium (menu/títulos)
        + Poppins (texto)
        + Rajdhani (números)
   ============================================================ */

@font-face {
  font-family: 'Brush King';
  src: url('/assets/brush-king.otf') format('opentype');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  /* deep oxblood palette pulled from mockup */
  --bg-0: #0c0203;
  --bg-1: #18030a;
  --bg-2: #2a0509;
  --red-1: #ff1a2a;          /* primary bright red — numbers, accent */
  --red-2: #e6101f;          /* button/cta red */
  --red-3: #b00714;          /* hover/darker red */
  --red-glow: rgba(255, 26, 42, .4);
  --line: rgba(255, 26, 42, .22);
  --line-soft: rgba(255, 255, 255, .06);
  --ink: #ffffff;
  --ink-2: #d4d4d4;
  --ink-3: #8a8a8a;
  --card-bg: rgba(10, 0, 2, .58);
  --card-bg-2: rgba(10, 0, 2, .78);
  --shadow-card: 0 8px 24px -10px rgba(0, 0, 0, .8);
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;   /* iOS: kill grey/blue tap flash */
}
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* iOS notch / home-indicator safe areas */
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-text-size-adjust: 100%;             /* iOS: don't auto-bump text on rotate */
}

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-0);
  min-height: 100vh;
  min-height: 100dvh;                          /* iOS: dynamic viewport, no URL-bar wobble */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100vw;
  overscroll-behavior-y: none;                 /* iOS: kill rubber-band */
  /* iOS Liquid Glass: ensure scrollable area extends well past the URL bar */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  overflow-x: clip;
  max-width: 100vw;
  background-color: #0c0203;     /* matches theme-color → fills behind Liquid Glass + safe areas */
  min-height: 100vh;
  min-height: 100dvh;
}
.shell, .nav, main, footer { max-width: 100vw; }

/* red-themed native scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--red-2) #1a0306; }
::-webkit-scrollbar { width: 12px; height: 12px; background: #1a0306; }
::-webkit-scrollbar-track { background: #1a0306; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red-2), var(--red-3));
  border-radius: 6px;
  border: 2px solid #1a0306;
}
::-webkit-scrollbar-thumb:hover { background: var(--red-1); }
::selection { background: var(--red-2); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ============ FULL-PAGE BACKGROUND ============ */
.page-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
.page-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(220, 12, 22, .75) 0%, rgba(120, 6, 12, .35) 35%, transparent 60%),
    radial-gradient(ellipse at 5% 85%, rgba(60, 2, 6, .9) 0%, transparent 55%),
    linear-gradient(180deg, #1a0306 0%, #2f0509 35%, #1a0306 100%);
}
.page-bg::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  background: url('/assets/background.png') no-repeat right center / cover;
  mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
  opacity: 1;
  mix-blend-mode: screen;
}
/* layer the actual character image (no blend) on top so the figure stays crisp */
.page-bg-fig {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/background.png') no-repeat right center / cover;
  mask-image: linear-gradient(to right, transparent 0%, transparent 32%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 32%, #000 55%, #000 100%);
  opacity: .95;
}

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

/* ============ NAV ============ */
.nav-wrap {
  position: relative; z-index: 20;
}
.nav {
  max-width: 1680px; margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) calc(48px + env(safe-area-inset-right)) 24px calc(48px + env(safe-area-inset-left));
  display: flex; align-items: center; gap: 48px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  user-select: none;
  padding: 4px 0 4px;
  line-height: 1;
}
.brand-name {
  font-family: 'Brush King', cursive;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red-1);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55), 0 0 14px rgba(255, 26, 42, .5);
  filter: drop-shadow(0 0 10px rgba(255, 26, 42, .3));
}
.brand-tag {
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}
.nav-links {
  display: flex; gap: 44px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  color: var(--ink);
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a.active { color: var(--red-1); }
.nav-links a.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--red-1);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--red-glow);
}
.nav-links a:not(.active):hover { color: var(--ink-2); }

.nav-socials {
  margin-left: auto;
  display: flex; gap: 14px;
  align-items: center;
}
.nav-social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  font-family: 'Oxanium', sans-serif;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: all .2s ease;
}
.nav-social svg { width: 18px; height: 18px; }
.nav-social.youtube svg { color: #ff0033; }
.nav-social.instagram svg { color: #e1306c; }
.nav-social:hover { background: rgba(255, 26, 42, .1); border-color: var(--line); color: var(--ink); transform: translateY(-1px); }

/* hamburger (mobile) */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  align-items: center; justify-content: center;
  margin-left: auto;
  position: relative;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  z-index: 60;
}
.hamburger:hover { background: rgba(255, 26, 42, .12); border-color: var(--line); }
.hamburger svg { width: 22px; height: 22px; color: var(--ink); position: absolute; transition: opacity .2s, transform .2s; }
.hamburger .hb-close { opacity: 0; transform: rotate(-90deg); }
.hamburger.open .hb-open { opacity: 0; transform: rotate(90deg); }
.hamburger.open .hb-close { opacity: 1; transform: rotate(0); }
.hamburger.open { background: var(--red-2); border-color: var(--red-2); }

/* mobile drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 320px);
  z-index: 55;
  background: linear-gradient(180deg, #1a0307 0%, #0c0203 100%);
  border-left: 1px solid var(--line);
  padding: calc(80px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) 18px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.85,.3,1);
  box-shadow: -20px 0 40px rgba(0, 0, 0, .55);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;            /* iOS: momentum scroll */
  overscroll-behavior: contain;                  /* iOS: stop scroll chaining to body */
}
.drawer.open { transform: translateX(0); -webkit-transform: translateX(0); }
.drawer-backdrop {
  position: fixed; inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .55);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);            /* iOS Safari */
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: all .2s;
}
.drawer-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.drawer-link:hover {
  background: rgba(255, 26, 42, .08);
  color: var(--ink);
  border-color: var(--line);
}
.drawer-link.active {
  background: rgba(255, 26, 42, .14);
  color: var(--red-1);
  border-color: var(--line);
}
.drawer-divider {
  height: 1px; background: var(--line-soft);
  margin: 14px 8px;
}
.drawer-social.yt { color: #ff3a3a; }
.drawer-social.dc { color: #6470ff; }

/* ============ MAIN GRID ============ */
.shell {
  position: relative; z-index: 10;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 48px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.col-left { padding-top: 4px; }
.col-right { padding-top: 280px; }

/* ============ HERO TYPE ============ */
.hero-mark {
  font-family: 'Brush King', cursive;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 12px 0 32px;       /* bigger bottom margin to clear brushy descenders */
  padding: 0;
  max-width: 100%;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .6), 0 2px 0 rgba(0, 0, 0, .35);
  filter: drop-shadow(0 0 26px rgba(255, 30, 40, .15));
  user-select: none;
  white-space: nowrap;
  overflow: visible;
  display: block;
}
.hero-sub {
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 22px;
}
.hero-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 460px;
  margin: 0 0 36px;
}

/* ============ SECTION HEAD ============ */
.sec-head {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}
.sec-head .icon-circle {
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  background: var(--red-2);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}
.sec-head .icon-circle svg { width: 16px; height: 16px; }
.sec-head .mush-m {
  width: 32px; height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)) drop-shadow(0 0 8px rgba(255, 30, 40, .3));
  image-rendering: -webkit-optimize-contrast;
}
.sec-head.sec-icon-svg svg { width: 22px; height: 22px; color: var(--red-1); }

/* ============ STATS GRID ============ */
.stats {
  margin-bottom: 36px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-card {
  position: relative;
  padding: 22px 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: all .25s ease;
  overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-1), transparent);
  opacity: 0; transition: opacity .25s;
}
@media (hover: hover) {
  /* iOS: only enable hover effects on devices with real pointer */
  .stat-card:hover { border-color: var(--red-1); transform: translateY(-3px); box-shadow: 0 14px 36px -16px var(--red-glow); }
  .acc-card:hover { border-color: var(--red-1); transform: translateY(-3px); box-shadow: 0 14px 36px -16px var(--red-glow); }
  .social-card:hover { border-color: var(--red-1); transform: translateX(3px); box-shadow: 0 12px 28px -12px var(--red-glow); }
  .acc-cta:hover { background: rgba(230, 16, 31, .12); border-color: var(--red-1); transform: translateY(-2px); }
  .sc-cta:hover { background: var(--red-1); transform: translateY(-1px); box-shadow: 0 8px 16px -4px var(--red-glow); }
}
.stat-card:active, .acc-card:active, .social-card:active { transform: scale(.98); }
.sc-cta:active, .acc-cta:active { transform: scale(.96); }
.stat-card:hover::before { opacity: 1; }
.stat-card .stat-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  margin: 0 auto 10px;
  color: var(--red-1);
}
.stat-card .stat-icon svg { width: 28px; height: 28px; }
.stat-card .stat-label {
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.stat-card .stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--red-1);
  text-shadow: 0 0 20px rgba(255, 26, 42, .25);
}

/* ============ ACESSÓRIOS ============ */
.acc {
  margin-bottom: 36px;
}

/* ===== infinite carousel ===== */
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.carousel-track {
  display: flex;
  gap: 14px;
  padding: 4px 4px;
  will-change: transform;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.carousel-track.no-anim { transition: none; }
.carousel-track > .acc-card {
  flex: 0 0 calc((100% - 14px * 3) / 4);   /* 4 cards visible by default */
  min-width: 0;
}
.carousel-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10, 0, 2, .7);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
  z-index: 2;
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow:hover {
  background: var(--red-2);
  border-color: var(--red-2);
}
.carousel-arrow:active { transform: scale(.92); }

.acc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.acc-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  transition: all .25s ease;
  overflow: hidden;
}
.acc-card:hover { border-color: var(--red-1); transform: translateY(-3px); box-shadow: 0 14px 36px -16px var(--red-glow); }
.acc-card .acc-img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #1a0303;
  display: grid; place-items: center;
  overflow: hidden;
  margin-bottom: 14px;
}
.acc-card .acc-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
}
.acc-card .acc-name {
  font-family: 'Oxanium', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}
.acc-card .acc-price {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--red-1);
}

.acc .acc-cta-wrap {
  display: flex; justify-content: center;
  margin-top: 24px;
}
.acc-cta {
  display: inline-flex;
  padding: 16px 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  align-items: center; gap: 16px;
  transition: all .25s;
}
.acc-cta:hover {
  background: rgba(230, 16, 31, .12);
  border-color: var(--red-1);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px var(--red-glow);
}
.acc-cta svg { width: 14px; height: 14px; color: var(--red-1); }

/* ============ REDES SOCIAIS ============ */
.socials {
  margin-top: 60px;
}
.socials-list {
  display: flex; flex-direction: column; gap: 12px;
}
.social-card {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all .25s;
}
.social-card:hover { border-color: var(--red-1); transform: translateX(3px); box-shadow: 0 12px 28px -12px var(--red-glow); }
.social-card .sc-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
}
.social-card .sc-icon img,
.social-card .sc-icon svg { width: 100%; height: 100%; object-fit: cover; }
.social-card .sc-icon svg { padding: 8px; box-sizing: border-box; }
.social-card.youtube .sc-icon { background: #ff0033; color: #fff; }
.social-card.instagram .sc-icon { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-card.discord .sc-icon { background: #5865f2; color: #fff; }
.social-card.pfp .sc-icon { background: #1a0303; }
.social-card.livepix .sc-icon { background: #00ddb3; }

.sc-text { flex: 1; min-width: 0; }
.sc-text .sc-label {
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.sc-text .sc-handle {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--red-2);
  color: #fff;
  border-radius: 6px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: all .2s;
}
.sc-cta:hover { background: var(--red-1); transform: translateY(-1px); box-shadow: 0 8px 16px -4px var(--red-glow); }
.sc-cta svg { width: 12px; height: 12px; }

/* ============ FOOTER ============ */
footer {
  position: relative; z-index: 5;
  text-align: center;
  padding: 40px 24px calc(120px + env(safe-area-inset-bottom, 0px));
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--ink-3);
}

/* ============ MOBILE NAV TABS ============ */
.tab-nav { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1280px) {
  .shell { gap: 36px; padding: 0 28px 36px; }
  .nav { padding: 20px 28px; gap: 28px; }
  .nav-links { gap: 28px; }
  .stats-grid, .acc-grid { gap: 10px; }
  .stat-card .stat-value { font-size: 30px; }

  /* tighter carousel on small desktop / tablet */
  .carousel-track > .acc-card { flex: 0 0 calc((100% - 14px * 2) / 3); }
}

@media (max-width: 980px) {
  .carousel-track > .acc-card { flex: 0 0 calc((100% - 14px) / 2); }
}

@media (max-width: 1024px) {
  .nav { padding: 22px 36px; gap: 12px; }
  .nav-links, .nav-socials { display: none; }
  .hamburger { display: inline-flex; }

  .tab-nav {
    display: flex;
    align-items: center; gap: 36px;
    padding: 0 36px 18px;
  }
  .tab-nav a {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: 10px 0;
    position: relative;
  }
  .tab-nav a.active { color: var(--red-1); }
  .tab-nav a.active::after {
    content: ''; position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px; background: var(--red-1);
  }
  .tab-nav a svg { width: 18px; height: 18px; }
  .tab-nav .tab-socials {
    margin-left: auto; display: flex; gap: 12px;
  }
  .tab-nav .tab-socials a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--ink); border-radius: 6px;
    display: grid; place-items: center;
    transition: all .2s;
  }
  .tab-nav .tab-socials a svg { width: 18px; height: 18px; }
  .tab-nav .tab-socials a:hover {
    background: rgba(255, 26, 42, .12);
    border-color: var(--line);
  }

  .page-bg::after {
    width: 100%;
    background-position: 75% top;
    background-size: auto 60vh;
    opacity: .55;
    mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
  }
  .page-bg-fig {
    background-position: 75% top;
    background-size: auto 60vh;
    mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 80%);
  }

  .shell {
    grid-template-columns: 1fr;
    padding: 30px 36px 48px;
    gap: 40px;
  }
  .col-right { padding-top: 0; }

  .hero-mark { font-size: clamp(48px, 11.5vw, 124px); margin: 14px 0 48px; line-height: .92; }
  .hero-sub { font-size: 13px; letter-spacing: 0.4em; margin-bottom: 20px; }
  .hero-desc { font-size: 14px; max-width: 480px; margin-bottom: 32px; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .stat-card { padding: 22px 12px 20px; }
  .stat-card .stat-icon { width: 32px; height: 32px; margin-bottom: 12px; }
  .stat-card .stat-icon svg { width: 26px; height: 26px; }
  .stat-card .stat-label { font-size: 11px; margin-bottom: 10px; }
  .stat-card .stat-value { font-size: 38px; }

  /* mobile carousel: card takes full width, arrows overlay on top of edges */
  .carousel {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    position: relative;
  }
  .carousel-viewport {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 12px;
  }
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px; height: 30px;
    background: rgba(10, 0, 2, .9);
    border-color: rgba(255, 26, 42, .4);
    z-index: 4;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .carousel-arrow.prev { left: -6px; }
  .carousel-arrow.next { right: -6px; }
  .carousel-arrow svg { width: 14px; height: 14px; }
  .carousel-arrow:active { transform: translateY(-50%) scale(.92); }

  .carousel-track {
    gap: 10px;
    padding: 4px 0;
  }
  .carousel-track > .acc-card {
    flex: 0 0 100%;
    flex-direction: row;
    padding: 12px 18px 12px 14px;
    align-items: center;
    gap: 12px;
    min-height: 92px;
  }
  .acc-card .acc-img {
    width: 64px; height: 64px;
    aspect-ratio: 1; flex-shrink: 0;
    margin-bottom: 0;
  }
  .acc-card .acc-name {
    margin-bottom: 0;
    font-size: 12px;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
  }
  .acc-card .acc-price {
    font-size: 14px;
    flex-shrink: 0;
    margin-right: 30px;     /* clear of the right arrow that sits at right:-6px */
    white-space: nowrap;
  }
  .acc-cta-wrap { margin-top: 24px; }
  .acc-cta { padding: 16px 30px; font-size: 11px; }

  .socials { margin-top: 36px; }
  .social-card { padding: 14px 16px; gap: 14px; }
  .social-card .sc-icon { width: 44px; height: 44px; }
  .sc-text .sc-label { font-size: 10px; }
  .sc-text .sc-handle { font-size: 14px; }
  .sc-cta { padding: 12px 20px; font-size: 11px; }
}

@media (max-width: 720px) {
  /* hide tab-nav on phones — hamburger drawer handles nav */
  .tab-nav { display: none; }

  .nav { padding: max(14px, env(safe-area-inset-top, 14px)) calc(16px + env(safe-area-inset-right, 0px)) 14px calc(16px + env(safe-area-inset-left, 0px)); }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 8px; letter-spacing: 0.18em; }
  .shell {
    padding: 18px calc(16px + env(safe-area-inset-right, 0px)) 32px calc(16px + env(safe-area-inset-left, 0px));
    gap: 24px;
    min-width: 0;
  }
  .col-left, .col-right { min-width: 0; max-width: 100%; }

  .hero-mark {
    font-size: clamp(30px, 9vw, 64px);
    margin: 6px 0 22px;
    letter-spacing: 0;
    max-width: 100%;
    padding-right: 16px;       /* room for brushy stroke overshoot */
  }
  .hero-sub { letter-spacing: 0.18em; font-size: 11px; }
  .hero-sub { font-size: 11px; letter-spacing: 0.32em; margin-bottom: 16px; }
  .hero-desc { font-size: 13px; margin-bottom: 24px; max-width: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 18px 12px 16px; }
  .stat-card .stat-icon { width: 30px; height: 30px; margin-bottom: 10px; }
  .stat-card .stat-icon svg { width: 24px; height: 24px; }
  .stat-card .stat-label { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 8px; }
  .stat-card .stat-value { font-size: 32px; }

  .acc-card { padding: 12px; gap: 14px; }
  .acc-card .acc-img { width: 70px; height: 70px; }
  .acc-card .acc-name { font-size: 12px; line-height: 1.3; }
  .acc-card .acc-price { font-size: 15px; }

  .acc-cta { padding: 16px 28px; font-size: 11px; gap: 12px; }

  .social-card { padding: 12px 14px; gap: 12px; }
  .social-card .sc-icon { width: 40px; height: 40px; }
  .sc-text .sc-handle { font-size: 13px; }
  .sc-cta { padding: 10px 14px; font-size: 10px; }
  .sc-cta svg { width: 11px; height: 11px; }

  /* iOS Liquid Glass: extra bottom breathing room so the LAST card never sits under the bar */
  .socials { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .stats-grid { gap: 8px; }
  .stat-card .stat-value { font-size: 28px; }
  .acc-card .acc-name { font-size: 11px; }
  .sc-cta span { display: none; }
  .sc-cta { padding: 10px 11px; }
}

