/* ============================================================================
 * referee/css/landing.css — /referee, the page-specific compositions only.
 * ============================================================================
 * Oct 10 2026 (lane L4b). The system — canvas, type, the volt slash, acts,
 * rows, the drive, the act bar, the footer — is css/sc-product-landing.css;
 * the header is css/sc-site-header.css; the rails css/sc-yardline-rail.css.
 * This file holds what is unique to the referee page: the wrist-under-the-
 * lights hero, the band renders as the dominant product, the phone as the
 * smaller second option, the stands, and the one quiet "how it connects" row.
 *
 * Laws: tokens only (zero hex, zero rgba literals); VOLT is the one accent
 * (Carlos, Oct 10: "the Volt Green's clashing with that orange. And Volt
 * wins.") — no referee gold, no coach green; photos keep their own colours.
 * scripts/test-landing-referee-platform.js fails on any of it.
 * ========================================================================== */

/* ─── HERO: the referee's wrist under the stadium lights, full bleed ───── */
.rf-hero { background: var(--pl-ink); }
.rf-hero-photo {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 62% 40%;
}
/* The scrim: dark where the words are, open where the band is */
.rf-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, var(--pl-scrim) 0%, var(--pl-scrim-mid) 38%, var(--pl-clear) 64%),
        linear-gradient(0deg, var(--pl-bg) 0%, var(--pl-clear) 30%);
}
/* The hero is designed as three phrases — RUN THE GAME / FROM YOUR WRIST /
   OR YOUR PHONE. — and "from your wrist" is the widest; 7.6vw ran it past
   the 660px copy column and broke it "from your / wrist or / your phone."
   (scripts/test-intentional-line-breaks.js) */
.rf-hero .lp-h1 { font-size: clamp(52px, 6.4vw, 104px); }
/* On a phone "from your wrist" is ~6.8 font-sizes wide: size it to the
   column (viewport less the 20px gutters) so 360 and 375 phones hold it too. */
@media (max-width: 720px) { .rf-hero .lp-h1 { font-size: min(52px, calc(14.4vw - 6px)); } }
.rf-hero .lp-lede { color: var(--pl-text); }

/* ─── Q1 · THE BAND: the render owns the act and breaks the grid ───────── */
.rf-band { padding-bottom: 120px; }
.rf-band-head { max-width: 1100px; }
.rf-patent { color: var(--pl-accent); }
.rf-band-hero { margin: 40px auto 56px; max-width: 1080px; }
.rf-band-hero img { width: 100%; height: auto; }
/* Product facts, as a spec sheet: solid hairlines, no chips */
.rf-spec {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0 0;
    border-top: 1px solid var(--pl-line-strong);
}
.rf-spec > div { padding: 26px 32px 0 0; }
.rf-spec > div + div { padding-left: 32px; border-left: 1px solid var(--pl-line-strong); }
.rf-spec dt {
    font-family: var(--pl-font-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px);
    line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; color: var(--pl-text);
}
.rf-spec dd { margin: 12px 0 0; color: var(--pl-text-2); font-size: 18px; }
.rf-band-lede { margin-top: 56px; }

/* ─── Q1 · THE GAME: the band leads, the phone is the smaller option ───── */
/* The band leads; the phone stands beside it, smaller, and never on its glass. */
.rf-devices { position: sticky; top: 120px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 20px; align-items: end; }
.rf-pair { width: 100%; height: auto; }
.rf-phone { margin: 0; }
.rf-phone img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px var(--pl-shadow-deep)); }
.rf-phone .lp-cap { font-size: 13px; }

/* ─── Q3 · THE STANDS: bleachers full bleed, the scoreboard playing ───── */
.rf-fans { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: var(--pl-ink); }
.rf-fans-photo {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
/* Legibility scrim (the deck's): clear at the top, dark under the words */
.rf-fans::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, var(--pl-clear) 0%, var(--pl-clear) 30%, var(--pl-scrim-mid) 64%, var(--pl-scrim) 100%);
}
.rf-fans-copy { width: 100%; }
.rf-fans-copy .lp-h2, .rf-fans-copy .lp-lede { max-width: 760px; }
.rf-fans-copy .lp-lede { color: var(--pl-text); }
.rf-fans-phone {
    position: absolute; right: var(--pl-gutter); bottom: 6vh; z-index: 1;
    width: min(19vw, 300px); margin: 0;
    aspect-ratio: 600 / 1185;
    filter: drop-shadow(0 30px 60px var(--pl-shadow-deep));
}
/* The screen inside iphone-frame-parent: the deck's measured insets */
.rf-fans-poster, .rf-fans-stream {
    position: absolute; left: 7.8%; top: 3.65%; width: 84.25%; height: 92.6%;
    border: 0; border-radius: 20px; object-fit: cover; background: var(--pl-ink);
}
.rf-fans-poster { z-index: 0; }
.rf-fans-stream { z-index: 1; }
.rf-fans-stream:not([src]) { display: none; }
.rf-fans-frame { position: relative; z-index: 2; width: 100%; height: auto; pointer-events: none; }

/* ─── Q3 · HOW IT CONNECTS: one quiet row ──────────────────────────────── */
.rf-connect { padding-top: 110px; padding-bottom: 110px; }
.rf-connect .lp-head { margin-bottom: 40px; }
.rf-connect-h { color: var(--pl-text); }
.rf-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--pl-line-strong); }
.rf-chain li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 4px; padding: 24px 24px 0 0; align-content: start; }
.rf-chain li + li { padding-left: 24px; border-left: 1px solid var(--pl-line); }
.rf-chain img { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 10px; }
.rf-chain b { font-family: var(--pl-font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; }
.rf-chain span { color: var(--pl-text-2); font-size: 16px; }
.rf-chain a {
    display: inline-flex; align-items: center; min-height: 44px; justify-self: start;
    font-family: var(--pl-font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
    text-transform: uppercase; text-decoration: none; color: var(--pl-text-2);
}
.rf-chain a::after { content: '→'; margin-left: 8px; }
.rf-chain a:hover { color: var(--pl-accent); }

@media (max-width: 1100px) {
    .rf-devices { position: relative; top: auto; max-width: 640px; }
    .rf-fans-copy .lp-h2, .rf-fans-copy .lp-lede { max-width: 60%; }
    .rf-fans-phone { width: 26vw; }
    .rf-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
    .rf-chain li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 880px) {
    .rf-hero { align-items: flex-end; }
    .rf-hero-photo { object-position: 70% 30%; }
    .rf-hero::before { background: linear-gradient(0deg, var(--pl-bg) 8%, var(--pl-scrim) 52%, var(--pl-scrim-mid) 100%); }
    .rf-band-hero { margin: 28px 0 32px; }
    .rf-spec { grid-template-columns: minmax(0, 1fr); }
    .rf-spec > div, .rf-spec > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--pl-line); }
    .rf-band-lede { margin-top: 32px; }
    .rf-chain { grid-template-columns: minmax(0, 1fr); }
    .rf-fans { flex-direction: column; align-items: stretch; justify-content: flex-end; }
    .rf-fans-copy .lp-h2, .rf-fans-copy .lp-lede { max-width: none; }
    .rf-fans-phone { position: relative; right: auto; bottom: auto; align-self: flex-end; width: 46%; margin-top: 32px; }
    .rf-chain li, .rf-chain li + li { padding: 20px 0 0; border-left: 0; }
}
