/* BleacherSnap site. One family (Barlow Semi Condensed), aluminum-bleacher grey, logo orange and blue.
   The one bold element: the LED board (true black with a visible pixel grid). Everything else stays quiet. */
@font-face { font-family: "Barlow SC"; src: url("/fonts/BarlowSemiCondensed-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow SC"; src: url("/fonts/BarlowSemiCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --alu: #d9dde3; --alu-2: #c8cdd5; --ink: #1f2329; --ink-2: #4b525c;
  --orange: #ff6a13; --orange-d: #d95407; --blue: #2f7cf6; --board: #000; --white: #fff;
  --measure: 38rem; --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--alu); color: var(--ink); font: 500 1.2rem/1.5 "Barlow SC", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; margin: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.02em; max-width: 14ch; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1; letter-spacing: -.015em; max-width: 20ch; margin-bottom: .6em; }
h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: .25em; }
p { margin: 0 0 1em; max-width: var(--measure); }
.small { font-size: 1rem; color: var(--ink-2); }

.btn { display: inline-block; white-space: nowrap; background: var(--orange); color: var(--white); font-weight: 700; font-size: 1.15rem; text-decoration: none; padding: .55em 1.1em; border-radius: 6px; }
.btn:hover { background: var(--orange-d); }
.quiet { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; margin-left: 1.2em; }

/* Header */
.top { display: flex; align-items: center; gap: 32px; padding: 18px var(--gutter); }
.brand img { height: 64px; width: auto; }
.top nav { display: flex; gap: 28px; margin-left: auto; font-weight: 700; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }

/* The LED board: true black, pixel grid over the image. */
.led { position: relative; background: var(--board); margin: 0; overflow: hidden; }
.led::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at center, transparent 0 52%, rgba(0,0,0,.72) 62%) 0 0 / 5px 5px; }
.led img { width: 100%; filter: saturate(1.15) brightness(1.08); }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) var(--gutter) 0; }
.lead { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 1em; color: var(--ink-2); }
.actions { margin: 1.6em 0 0; }
.hero-board { margin-top: clamp(40px, 6vw, 72px); border: clamp(10px, 1.6vw, 22px) solid #2b3038; border-radius: 4px; box-shadow: 0 2px 0 #fff inset; }
.planks { height: clamp(48px, 6vw, 80px); margin: 0 calc(var(--gutter) * -1); background: repeating-linear-gradient(180deg, var(--alu-2) 0 10px, #e9ecf0 10px 13px, var(--alu) 13px 22px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-board img { animation: power-on 900ms cubic-bezier(.2,.7,.2,1) 250ms both; }
  @keyframes power-on { 0% { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(3); } 45% { clip-path: inset(49.5% 0 49.5% 0); } 100% { clip-path: inset(0 0 0 0); filter: saturate(1.15) brightness(1.08); } }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section + .section { border-top: 3px solid var(--alu-2); }

/* Play-by-play: a real sequence, so it gets times, not decoration. */
.pbp { list-style: none; margin: 0; padding: 0; max-width: 60rem; }
.pbp li { display: grid; grid-template-columns: 10rem 1fr; gap: 24px; padding: 22px 0; border-top: 2px solid var(--ink); }
.pbp li:last-child { border-bottom: 2px solid var(--ink); }
.pbp .t { font-weight: 700; color: var(--orange-d); font-size: 1.3rem; }
.pbp p { margin: 0; color: var(--ink-2); }
kbd { font: 700 1rem/1 "Barlow SC", sans-serif; display: inline-block; min-width: 1.8em; text-align: center; padding: .3em .45em; background: var(--white); color: var(--ink); border: 1px solid var(--alu-2); border-bottom-width: 4px; border-radius: 5px; }

/* Boards drawn to scale: width is the board's pixel width / 1152. */
.boards { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; background: var(--ink); color: var(--white); border-top: 0 !important; }
.boards .small { color: #aeb5c0; }
.scale { display: grid; gap: 22px; }
.mini { width: calc(var(--w) / 1152 * 100%); aspect-ratio: var(--w) / var(--h); background: #050505; outline: 2px solid #3a414c; }
.mini::after { background-size: 4px 4px; }
.mini img { width: 100%; height: 100%; image-rendering: pixelated; }
.scale p { margin: 8px 0 0; font-weight: 700; }
.scale p span { color: #aeb5c0; font-weight: 500; margin-left: .4em; }
.pair { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; }
.pair > div { flex: 0 0 auto; width: calc(var(--w, 400) / 1152 * 100%); }
.pair > div:nth-child(1) { --w: 456; } .pair > div:nth-child(2) { --w: 360; } .pair > div:nth-child(3) { --w: 352; }
.pair .mini { width: 100%; }

/* Safety */
.facts { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.facts p { color: var(--ink-2); margin: 0; }

/* Pricing: two plain columns */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 60rem; border-top: 2px solid var(--ink); }
.prices > div { padding: 28px 40px 32px 0; }
.prices > div + div { padding-left: 40px; border-left: 2px solid var(--ink); }
.price { font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; margin: .2em 0 .4em; }
.prices p:not(.price) { color: var(--ink-2); }

/* Pilot */
.pilot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(48px, 7vw, 88px) var(--gutter); background: var(--orange); color: var(--white); }
.pilot h2 { margin-bottom: .3em; }
.pilot p { margin: 0; }
.pilot .btn { background: var(--ink); }
.pilot .btn:hover { background: #000; }

.about p { color: var(--ink-2); }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--gutter); border-top: 3px solid var(--alu-2); font-size: 1rem; color: var(--ink-2); }
footer img { height: 48px; width: auto; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .brand img { height: 48px; }
  .boards { grid-template-columns: 1fr; }
  .facts, .prices { grid-template-columns: 1fr; }
  .prices > div + div { padding-left: 0; border-left: 0; border-top: 2px solid var(--ink); }
  .pbp li { grid-template-columns: 1fr; gap: 6px; }
}
