/* ==========================================================================
   GB Gaming, LLC — Global Styles
   Sketchbook look (matches the Court Sense videos): paper, ruled lines,
   ink outlines, Bangers headlines, Patrick Hand body.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Patrick+Hand&display=swap');

:root {
  /* Paper + ink. Older variable names are kept so inline styles still work. */
  --navy-950: #f4eee2;              /* page paper */
  --navy-900: #fbf7ee;              /* card paper */
  --navy-800: #efe6d3;              /* tinted paper */
  --navy-700: rgba(42,38,34,0.55);  /* pencil line */
  --navy-600: #2a2622;              /* ink line */
  --ink-100: #2a2622;               /* ink */
  --ink-300: #4a423b;               /* body ink */
  --ink-500: #8a8178;               /* pencil grey */

  --green: #d1495b;                 /* red ink (main accent) */
  --green-dim: #d1495b;
  --orange: #d9a521;                /* gold */
  --blue: #3d6e9c;                  /* blue ink */
  --gold: #d9a521;
  --red: #d1495b;
  --ink: #2a2622;

  --font-head: 'Bangers', 'Impact', sans-serif;
  --font-body: 'Patrick Hand', 'Comic Sans MS', system-ui, sans-serif;

  --max-w: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --sketch: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --sketch-2: 18px 225px 18px 255px / 255px 18px 225px 18px;
  --shadow: 5px 6px 0 rgba(42,38,34,0.16);
  --hatch-gold: repeating-linear-gradient(-45deg, rgba(217,165,33,0.55) 0 3px, rgba(217,165,33,0.12) 3px 9px);
  --hatch-blue: repeating-linear-gradient(-45deg, rgba(61,110,156,0.22) 0 2px, transparent 2px 9px);
  --hatch-red: repeating-linear-gradient(-45deg, rgba(209,73,91,0.22) 0 2px, transparent 2px 9px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-300);
  font-family: var(--font-body);
  font-size: 1.14rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-color: var(--navy-950);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0 0.15 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent 54px, rgba(209,73,91,0.28) 54px, rgba(209,73,91,0.28) 56px, transparent 56px),
    repeating-linear-gradient(180deg, transparent 0 47px, rgba(70,120,170,0.10) 47px 48px);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
p a, li a { text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 0.45em;
  letter-spacing: 0.03em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); }
h3 { font-size: 1.6rem; }

p { color: var(--ink-300); margin: 0 0 1em; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 0 72px;
}

section { padding: 84px 0; position: relative; }

/* Eyebrow = little handwritten label with a red pencil tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 4px;
  border-radius: 4px;
  background: var(--red);
  transform: rotate(-6deg);
}

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { position: relative; }
.section-head h2::after { width: min(340px, 70%); }
.section-head h2::after,
.hero h1::after {
  content: '';
  display: block;
  height: 10px;
  margin-top: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 60 2, 120 9, 180 5 S 270 3, 298 6' stroke='%23d1495b' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.section-head.center h2::after { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  padding: 10px 24px 9px;
  border: 3px solid var(--ink);
  border-radius: var(--sketch);
  cursor: pointer;
  color: var(--ink);
  background: var(--navy-900);
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { transform: translate(-1px, -2px) rotate(-1deg); box-shadow: 5px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c23c4e; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--hatch-blue), var(--navy-900); }
.btn-orange, .btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover, .btn-orange:hover { background: #e3b230; }
.btn-blue { background: var(--blue); color: #fff; }

.btn-yt { background: var(--red); color: #fff; }
.btn-yt::before {
  content: '';
  width: 0; height: 0;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-right: 2px;
}

.btn-sm { padding: 6px 16px 5px; font-size: 1.05rem; box-shadow: 2px 3px 0 var(--ink); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,238,226,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 4px 0 rgba(209,73,91,0.35);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand .mark {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.brand .sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 1.08rem;
  color: var(--ink-300);
  padding: 4px 0;
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); border-color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; }
.nav-toggle span:nth-child(2) { width: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: 30px; right: -40px;
  width: 460px; height: 430px;
  opacity: 0.22;
  transform: rotate(4deg);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 470' fill='none' stroke='%232a2622' stroke-width='4' stroke-linecap='round'%3E%3Crect x='10' y='10' width='480' height='450' rx='6'/%3E%3Cpath d='M190 10 V200 H310 V10'/%3E%3Ccircle cx='250' cy='200' r='60'/%3E%3Cpath d='M40 10 V120 C 80 330, 420 330, 460 120 V10'/%3E%3Ccircle cx='250' cy='48' r='14' stroke='%23d1495b'/%3E%3Cpath d='M190 460 A60 60 0 0 1 310 460'/%3E%3Cg stroke='%233d6e9c' stroke-width='5'%3E%3Cpath d='M120 260 l20 20 M140 260 l-20 20'/%3E%3Cpath d='M370 250 l20 20 M390 250 l-20 20'/%3E%3C/g%3E%3Cg stroke='%23d1495b' stroke-dasharray='10 9'%3E%3Cpath d='M380 380 C 400 300, 330 220, 280 120'/%3E%3Cpath d='M110 380 C 120 330, 170 300, 220 250'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.hero::after { content: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 820px; }
.hero h1::after { width: min(560px, 80%); }
.hero .lead { font-size: 1.3rem; max-width: 640px; color: var(--ink-300); }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div {
  border: 3px solid var(--ink);
  border-radius: var(--sketch-2);
  background: var(--navy-900);
  padding: 10px 20px 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}
.hero-stats div:nth-child(2) { transform: rotate(1deg); }
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.04em;
}
.hero-stats div span { font-size: 1rem; color: var(--ink-300); }

/* Panel = a page torn from the notebook */
.hero-panel {
  background: var(--navy-900);
  border: 3px solid var(--ink);
  border-radius: var(--sketch);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-panel .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: transparent;
  border: 3px solid var(--red);
  padding: 2px 12px 0;
  border-radius: 6px;
  transform: rotate(-4deg);
  margin-bottom: 14px;
}
.hero-panel h3 { font-size: 1.55rem; }
.hero-panel ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.hero-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1.08rem;
  color: var(--ink-300);
  margin-bottom: 8px;
}
.hero-panel li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; font-size: 1.2rem; line-height: 1.3; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--navy-900);
  border: 3px solid var(--ink);
  border-radius: var(--sketch);
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(-0.5deg);
  transition: transform .18s ease, box-shadow .18s ease;
}
.grid > .card:nth-child(even) { transform: rotate(0.6deg); border-radius: var(--sketch-2); }
.grid > .card:nth-child(3n) { transform: rotate(-0.3deg); }
.card:hover,
.grid > .card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 8px 10px 0 rgba(42,38,34,0.18); }
.card img { border: 2px solid var(--ink); }
.card .icon {
  width: 54px; height: 54px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.55rem; margin-bottom: 8px; }
.card p { font-size: 1.06rem; margin-bottom: 0; }

.icon-green { background: var(--hatch-red), var(--navy-900); }
.icon-blue { background: var(--hatch-blue), var(--navy-900); }
.icon-orange { background: var(--hatch-gold); }

/* ---------- Band / CTA ---------- */
.band {
  background: rgba(239,230,211,0.65);
  border-top: 3px dashed rgba(42,38,34,0.45);
  border-bottom: 3px dashed rgba(42,38,34,0.45);
}
.cta-panel {
  background: var(--hatch-gold);
  background-color: var(--navy-900);
  border: 4px solid var(--ink);
  border-radius: var(--sketch-2);
  padding: 52px;
  text-align: center;
  box-shadow: 8px 9px 0 rgba(42,38,34,0.18);
  transform: rotate(-0.6deg);
}
.cta-panel h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.cta-panel p { color: var(--ink); font-size: 1.2rem; }
.cta-panel .btn-row { display: flex; gap: 14px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-block;
  font-size: 0.98rem;
  padding: 2px 12px;
  border: 2px solid var(--ink);
  border-radius: var(--sketch-2);
  background: var(--navy-900);
  color: var(--ink-300);
  margin: 0 8px 8px 0;
}
.pill.on { background: var(--hatch-red), var(--navy-900); color: var(--ink); border-color: var(--red); }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  padding: 64px 0 46px;
  border-bottom: 3px dashed rgba(42,38,34,0.45);
  background: transparent;
}
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.page-hero p { max-width: 660px; font-size: 1.25rem; }

.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.page-hero-grid img { max-width: 260px; margin: 0 auto; filter: drop-shadow(6px 8px 0 rgba(42,38,34,0.18)); transform: rotate(3deg); }

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid img { max-width: 200px; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 4px solid var(--ink);
  padding: 56px 0 28px;
  background: rgba(233,223,201,0.85);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { font-size: 1.4rem; letter-spacing: 0.06em; color: var(--red); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-300); font-size: 1.08rem; }
.footer-grid a:hover { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 2px dashed rgba(42,38,34,0.4);
  font-size: 1rem;
  color: var(--ink-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  background: #fffdf7;
  border: 3px solid var(--ink);
  border-radius: var(--sketch-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.1rem;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 3px 4px 0 rgba(61,110,156,0.35); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 1rem; color: var(--ink-500); margin-top: 10px; }

/* ---------- Resource list ---------- */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  font-family: var(--font-body);
  font-size: 1.08rem;
  padding: 5px 16px;
  border-radius: var(--sketch-2);
  border: 3px solid var(--ink);
  background: var(--navy-900);
  color: var(--ink);
  cursor: pointer;
  transition: all .15s ease;
}
.filter-btn:hover { background: var(--hatch-blue), var(--navy-900); }
.filter-btn.active { background: var(--blue); color: #fff; }

.resource-card { display: flex; flex-direction: column; height: 100%; }
.resource-card .sport-tag { align-self: flex-start; margin-bottom: 14px; }
.resource-card .fill { flex: 1; }
.resource-card .btn { margin-top: 18px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide-mobile { display: initial; }
.show-mobile { display: none; }
.hl { background: linear-gradient(transparent 55%, rgba(217,165,33,0.55) 55%, rgba(217,165,33,0.55) 90%, transparent 90%); padding: 0 3px; }
.red { color: var(--red); }

/* ---------- Responsive nav ---------- */
.nav { gap: 14px; max-width: 1360px; padding-left: 16px; padding-right: 16px; }
.brand { white-space: nowrap; flex-shrink: 0; }
.nav-links { gap: 16px; }
.nav-links a { white-space: nowrap; font-size: 1.02rem; }
.nav-cta .btn { white-space: nowrap; }
.nav-cta .btn-outline { display: none; }
@media (max-width: 1640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-950);
    padding: 20px 24px 24px 72px;
    border-bottom: 3px solid var(--ink);
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero::before { width: 300px; height: 280px; top: auto; bottom: 0; right: -60px; opacity: 0.14; }
}

@media (max-width: 720px) {
  body { background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0 0.15 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent 22px, rgba(209,73,91,0.28) 22px, rgba(209,73,91,0.28) 24px, transparent 24px),
    repeating-linear-gradient(180deg, transparent 0 47px, rgba(70,120,170,0.10) 47px 48px); }
  .wrap { padding: 0 18px 0 36px; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .show-mobile { display: block; }
  .brand { font-size: 1.3rem; }
  .brand .sub { display: none; }
  .nav-cta .btn-yt { padding: 5px 12px 4px; font-size: 0.98rem; }
  body.nav-open .nav-links { padding-left: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .cta-panel { padding: 34px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats div { padding: 8px 14px 6px; }
}

/* ---------- Product spotlights (Courtside / Football Coordinator) ---------- */
.spotlight {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-top: 3px dashed rgba(42,38,34,0.45);
  border-bottom: 0;
}
.spotlight::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 46%; height: 100%;
  background: var(--hatch-blue);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
          mask-image: linear-gradient(90deg, transparent, #000 40%);
  pointer-events: none;
}
.spotlight.flip-bg::before, #football-coordinator::before {
  right: auto; left: 0;
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 40%);
          mask-image: linear-gradient(270deg, transparent, #000 40%);
}
.spotlight .wrap { position: relative; z-index: 1; }
.spotlight-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.spot-logo { width: 120px; height: auto; margin-bottom: 14px; filter: drop-shadow(5px 6px 0 rgba(42,38,34,0.18)); transform: rotate(-4deg); }
.spotlight .eyebrow { color: var(--red); }
.spotlight .eyebrow::before { background: var(--gold); }
.spotlight h2 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); margin-bottom: 0.3em; }
.spotlight h2 span { color: var(--red); }
.spotlight .presents { font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.spotlight .lead { font-size: 1.22rem; max-width: 580px; color: var(--ink); }
.spotlight-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.spotlight-list li { position: relative; padding-left: 30px; font-size: 1.08rem; color: var(--ink-300); }
.spotlight-list li::before {
  content: ''; position: absolute; left: 0; top: 0.25em; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid var(--ink); background: var(--hatch-gold);
}
.tag-gold {
  display: inline-block; font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--hatch-gold); border: 2px solid var(--ink); padding: 2px 10px 0; border-radius: 6px; transform: rotate(-3deg);
}
.phone {
  position: relative;
  width: min(300px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 40px;
  background: var(--navy-900);
  border: 4px solid var(--ink);
  box-shadow: 9px 11px 0 rgba(42,38,34,0.2);
  transform: rotate(2deg);
  transition: transform .2s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone img { width: 100%; border-radius: 28px; display: block; height: auto; aspect-ratio: 9 / 17.5; object-fit: cover; object-position: top center; border: 2px solid var(--ink); }
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 7px; border-radius: 6px; background: var(--ink); z-index: 2;
}
.spotlight-grid.how { grid-template-columns: 0.9fr 1.1fr; }
.phone-pair { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.phone-pair .phone { width: min(250px, 48%); }
.phone-pair .phone:first-child { transform: translateY(-24px) rotate(-3deg); }
.demo-frame {
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 9px 11px 0 rgba(42,38,34,0.2);
}
.demo-frame .bar {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  background: var(--navy-800); border-bottom: 3px solid var(--ink);
  font-size: 1rem; color: var(--ink-300);
}
.demo-frame .bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--navy-900); display: inline-block; }
.demo-frame .bar i:first-child { background: var(--red); }
.demo-frame .bar i:nth-child(2) { background: var(--gold); }
.demo-frame .bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-frame .bar a { margin-left: auto; color: var(--red); white-space: nowrap; text-decoration: underline; }
.demo-frame iframe { display: block; width: 100%; height: 760px; border: 0; background: #0c1222; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 16px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.4rem;
  border: 3px solid var(--ink);
  background: var(--hatch-gold); color: var(--ink);
}
@media (max-width: 900px) {
  .spotlight-grid, .spotlight-grid.how { grid-template-columns: 1fr; gap: 36px; }
  .demo-frame iframe { height: 680px; }
  .spotlight::before { width: 100%; opacity: 0.3; }
}
@media (max-width: 720px) {
  .spotlight-list { grid-template-columns: 1fr; }
  .phone-pair .phone:first-child { transform: rotate(-2deg); }
  .spotlight .phone { width: min(250px, 80%); }
  .demo-frame iframe { height: 620px; }
}

.spotlight.courtside { background: transparent; }
.spotlight + .spotlight { border-top: 3px dashed rgba(42,38,34,0.45); }
.spotlight-grid.flip { grid-template-columns: 0.85fr 1.15fr; }
.spotlight-grid.flip > .phone { order: -1; transform: rotate(-2deg); }
@media (max-width: 900px) {
  .spotlight-grid.flip { grid-template-columns: 1fr; }
  .spotlight-grid.flip > .phone { order: 0; }
}

/* ==========================================================================
   Court Sense (YouTube) — homepage band + court-sense.html
   ========================================================================== */
.cs-band { border-top: 3px dashed rgba(42,38,34,0.45); }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cs-grid h2 span { color: var(--red); }
.cs-grid .lead { font-size: 1.25rem; color: var(--ink); max-width: 560px; }

/* The "Short" mockup: a vertical sketch card like the videos */
.short-card {
  position: relative;
  width: min(330px, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #f4eee2;
  border: 4px solid var(--ink);
  border-radius: 26px;
  box-shadow: 10px 12px 0 rgba(42,38,34,0.2);
  transform: rotate(2.5deg);
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s ease;
}
a.short-card:hover { transform: rotate(0deg) translateY(-4px); }
.short-card .sc-head { font-family: var(--font-head); font-size: 2rem; text-align: center; color: var(--ink); line-height: 1; }
.short-card .sc-head::after { content: ''; display: block; width: 60%; height: 4px; margin: 6px auto 0; background: var(--red); border-radius: 4px; }
.short-card .sc-sub { text-align: center; font-size: 1rem; color: var(--ink-300); margin: 6px 0 10px; }
.short-card svg { width: 100%; height: auto; margin: auto 0; }
.short-card .sc-foot { display: flex; align-items: center; justify-content: space-between; font-size: 0.95rem; color: var(--ink-500); margin-top: 8px; }
.short-card .sc-play {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--red); border: 4px solid var(--ink);
  display: grid; place-items: center; box-shadow: 4px 5px 0 var(--ink);
}
.short-card .sc-play::before { content: ''; border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }

.recap { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.recap b { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.05em; color: var(--ink); }
.recap b:last-child { color: var(--red); }

.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.series-card {
  position: relative;
  background: var(--navy-900);
  border: 3px solid var(--ink);
  border-radius: var(--sketch);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  transform: rotate(-0.8deg);
  transition: transform .18s ease;
  display: flex; flex-direction: column;
}
.series-card:nth-child(even) { transform: rotate(0.8deg); border-radius: var(--sketch-2); }
.series-card:hover { transform: rotate(0deg) translateY(-4px); }
.series-card .num { font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.1em; color: var(--blue); }
.series-card h3 { font-size: 2.1rem; margin: 2px 0 2px; }
.series-card .what { font-size: 1.05rem; color: var(--ink); margin-bottom: 10px; }
.series-card p { font-size: 1rem; flex: 1; }
.series-card .stamp {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 0.08em;
  color: var(--red); border: 2.5px solid var(--red); border-radius: 5px; padding: 1px 8px 0; transform: rotate(6deg);
}
.series-card .stamp.blue { color: var(--blue); border-color: var(--blue); }
.series-card .pill { margin: 0; align-self: flex-start; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: flow; }
.flow > div {
  position: relative;
  background: var(--navy-900);
  border: 3px solid var(--ink);
  border-radius: var(--sketch-2);
  padding: 54px 16px 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.flow > div::before {
  counter-increment: flow; content: counter(flow);
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 3px solid var(--ink); background: var(--hatch-gold); font-family: var(--font-head); font-size: 1.25rem; color: var(--ink);
}
.flow h3 { font-size: 1.4rem; margin-bottom: 4px; }
.flow p { font-size: 1rem; margin: 0; }

@media (max-width: 1000px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .series-grid, .flow { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
