/* basket.us.com — bold, sporty: scoreboard black, hardwood, ball orange. */
:root {
  --black: #111418;
  --black-2: #1b2027;
  --wood: #f3e6d3;
  --wood-2: #e9d5b7;
  --paper: #fffaf3;
  --orange: #f26a1b;
  --orange-dark: #c9500c;
  --ink: #16191e;
  --muted: #5b5f66;
  --line: #e2d2bb;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--wood);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body {
  margin: 0; font-size: 16px; line-height: 1.55;
  /* Subtle hardwood planks. */
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(120, 72, 24, .07) 119px 120px),
    linear-gradient(var(--wood), var(--wood-2));
}
a { color: var(--orange-dark); text-underline-offset: 3px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button, a, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; top: -80px; left: 16px; background: #fff; padding: 10px; z-index: 10; }
.skip:focus { top: 8px; }
.wrap { max-width: 1160px; padding: 0 28px; margin: auto; }

/* Scoreboard header bar spanning the page. */
.masthead {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 0 19px; color: #fff;
  /* Full-bleed bar without widening the page. */
  border-image: linear-gradient(var(--black) calc(100% - 5px), var(--orange) 0) fill 0 / / 0 100vw;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; color: var(--orange); }
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: .5px;
  text-transform: uppercase; color: #fff; text-decoration: none; line-height: 1;
}
.wordmark span { color: var(--orange); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 15px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.nav a { color: #e9ebee; text-decoration: none; padding: 7px 12px; border-radius: 4px; }
.nav a:hover { background: var(--black-2); color: #fff; }
.nav-search { display: flex; align-items: center; gap: 6px; background: var(--orange); color: #fff !important; }
.nav-search:hover { background: var(--orange-dark) !important; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; flex-shrink: 0; }

/* Search: a half-court panel. */
#search { margin-top: 26px; }
.search-band {
  position: relative; overflow: hidden; padding: 28px 30px 26px; border-radius: 10px; color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='3'%3E%3Ccircle cx='600' cy='150' r='70'/%3E%3Cpath d='M600 40a150 150 0 0 0 0 220M600 0v300'/%3E%3Crect x='-10' y='90' width='150' height='120'/%3E%3Ccircle cx='140' cy='150' r='60'/%3E%3Cpath d='M-10 15h60a245 245 0 0 1 0 270H-10'/%3E%3C/svg%3E") right center / auto 100% no-repeat,
    linear-gradient(120deg, var(--black) 0%, var(--black-2) 60%, #2a1a10 100%);
  box-shadow: 0 10px 0 -4px var(--orange), 0 18px 34px rgba(40, 22, 6, .25);
}
.search-label {
  display: block; margin-bottom: 14px;
  font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05;
  text-transform: uppercase; letter-spacing: .5px;
}
.search-label::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 12px; vertical-align: 4px;
  border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 106, 27, .3);
}
.search-box { display: flex; align-items: center; gap: 10px; max-width: 820px; }
.search-box > .icon { display: none; }
.search-box input {
  min-width: 0; flex: 1; width: 100%; height: 58px; border: 3px solid transparent; border-radius: 6px;
  padding: 0 18px; background: #fff; color: var(--ink); font-size: 18px; font-weight: 500;
}
.search-box input:focus { border-color: var(--orange); outline: none; }
.search-box input::placeholder { color: #70747b; opacity: 1; }
.search-box button {
  height: 58px; padding: 0 34px; border: 0; border-radius: 6px; background: var(--orange); color: #fff;
  font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18);
}
.search-box button:hover { background: var(--orange-dark); }
.search-help { font-size: 14px; margin: 12px 0 0; color: #c9cdd3; }
.search-status { font-size: 15px; font-weight: 600; margin: 16px 0 0; }
.search-status:empty { display: none; }

.intro { padding: 30px 0 6px; }
h1 {
  font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1.05; margin: 0 0 8px;
  text-transform: uppercase; letter-spacing: .3px;
}
.intro p { margin: 0; color: var(--muted); max-width: 720px; font-size: 17px; }

.section { padding: 30px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
h2 {
  font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; margin: 0 0 8px;
  text-transform: uppercase; letter-spacing: .3px;
}
h2::after { content: ""; display: block; width: 54px; height: 5px; margin-top: 8px; background: var(--orange); border-radius: 3px; }
.section-heading h2 { margin: 0; }
.section-heading > p { color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; margin: 0; }

/* Drill cards, numbered like jerseys. */
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: play; }
.guide {
  position: relative; min-width: 0; padding: 20px 22px 20px 92px; background: var(--paper);
  border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 3px 0 var(--line);
  transition: transform .15s, box-shadow .15s; counter-increment: play;
}
.guide::before {
  content: counter(play, decimal-leading-zero); position: absolute; left: 20px; top: 20px;
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 8px;
  background: var(--black); color: #fff; font-family: var(--display); font-size: 26px; font-weight: 700;
  box-shadow: inset 0 -5px 0 var(--orange);
}
.guide:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange); }
.guide[open] { box-shadow: 0 4px 0 var(--orange); border-color: var(--orange); }
.guide summary { list-style: none; }
.guide summary::-webkit-details-marker, .gear-item summary::-webkit-details-marker { display: none; }
.guide-meta { color: var(--orange-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.guide p { color: var(--muted); font-size: 14.5px; margin: 0; }
.read-link {
  display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--black); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.read-link::after { content: "  +"; }
.guide[open] .read-link { background: var(--orange); }
.guide[open] .read-link::after { content: "  −"; }
.expanded { margin-top: 16px; padding-top: 14px; border-top: 2px dashed var(--line); font-size: 15px; }
.expanded ol { margin: 0; padding-left: 22px; }
.expanded li + li { margin-top: 9px; }
.expanded li::marker { color: var(--orange); font-weight: 700; }
.expanded .takeaway {
  margin: 14px 0 0; padding: 11px 14px; border-radius: 6px; background: var(--black); color: #fff;
  font-size: 14px; font-weight: 500; border-left: 5px solid var(--orange);
}

/* Gear: dark locker-room panel. */
.equipment {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px; margin: 10px 0; padding: 32px 34px;
  background: var(--black); color: #fff; border-radius: 12px; position: relative;
}
.equipment::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 6px; background: var(--orange); border-radius: 0 4px 4px 0; }
.equipment h2 { color: #fff; }
.equipment-intro p { font-size: 15px; color: #b9bec6; margin: 0; }
.gear-item { border-bottom: 1px solid #2d333c; padding: 15px 0; }
.gear-item:first-child { padding-top: 0; }
.gear-item:last-child { border-bottom: 0; }
.gear-item summary { display: flex; align-items: center; gap: 16px; list-style: none; }
.gear-icon { width: 40px; height: 40px; padding: 7px; border-radius: 8px; background: #252b33; stroke: var(--orange); stroke-width: 1.8; fill: none; flex-shrink: 0; }
.gear-text { flex: 1; }
.gear-text span { font-size: 12px; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.gear-text h3 { margin: 2px 0 0; font-size: 18px; color: #fff; }
.gear-item summary:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.gear-toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 22px; font-weight: 600; transition: transform .2s; }
.gear-item[open] .gear-toggle { transform: rotate(45deg); }
.gear-item .expanded { border-top-color: #2d333c; color: #dfe2e6; }
.gear-item .expanded .takeaway { background: #252b33; }

/* On-court basics. */
.course-section { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.course-copy { grid-column: 1; grid-row: 1; }
.course-photo { grid-column: 2; margin: 4px 0 0; }
.course-photo img { display: block; width: 100%; height: 250px; object-fit: cover; border-radius: 10px; border: 4px solid var(--black); box-shadow: 8px 8px 0 var(--orange); }
.course-photo figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; }
.course-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.course-list li { padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: 8px; }
.course-list h3 { font-size: 18px; margin-bottom: 3px; }
.course-list p { margin: 0; font-size: 14.5px; color: var(--muted); }

.footer { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 24px 0 28px; margin-top: 20px; color: #c9cdd3; }
.footer { padding-top: 29px; border-image: linear-gradient(var(--orange) 5px, var(--black) 0) fill 0 / / 0 100vw; }
.footer .wordmark { font-size: 24px; }
.footer p { font-size: 13px; margin: 0; }
.footer > a:last-child { color: #fff; font-size: 13px; font-weight: 600; }
.empty { padding: 22px; margin-top: 16px; background: var(--paper); border: 2px dashed var(--orange); border-radius: 10px; }
.empty h2::after { display: none; }
.empty p { margin: 0 0 15px; }
.button { display: inline-block; border: 0; border-radius: 6px; background: var(--orange); color: #fff; padding: 11px 20px; font-weight: 700; }
.button:hover { background: var(--orange-dark); }
.filter-hidden, [hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) { .guide, .gear-toggle { transition: none; } .guide:hover { transform: none; } }

@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .masthead { display: block; padding: 12px 0; }
  .brand { width: fit-content; }
  .wordmark { font-size: 26px; }
  .brand-icon { width: 30px; height: 30px; }
  .nav { gap: 2px; justify-content: space-between; margin-top: 10px; font-size: 13px; }
  .nav a { padding: 6px 8px; }
  .nav-search .icon { display: none; }
  #search { margin-top: 16px; }
  .search-band { padding: 20px 16px; }
  .search-label { font-size: 25px; margin-bottom: 12px; }
  .search-label::before { width: 11px; height: 11px; margin-right: 9px; vertical-align: 3px; }
  .search-box { gap: 8px; }
  .search-box input { height: 52px; font-size: 16px; padding: 0 12px; }
  .search-box button { height: 52px; padding: 0 16px; font-size: 17px; }
  .search-help { font-size: 12.5px; }
  .intro { padding: 22px 0 0; }
  h1 { font-size: 30px; }
  .intro p { font-size: 15px; }
  .section { padding: 24px 0; }
  h2 { font-size: 25px; }
  .section-heading { display: block; margin-bottom: 14px; }
  .section-heading > p { margin-top: 8px; font-size: 12px; }
  .guides { grid-template-columns: 1fr; gap: 12px; }
  .guide { padding: 16px 16px 16px 76px; }
  .guide::before { left: 14px; top: 16px; width: 46px; height: 46px; font-size: 22px; }
  .equipment { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .course-section { grid-template-columns: 1fr; gap: 20px; }
  .course-copy { grid-column: auto; grid-row: auto; }
  .course-photo { grid-column: auto; order: 2; margin-right: 8px; }
  .course-photo img { height: 190px; }
  .footer p { order: 3; width: 100%; }
}
