/*
 * Coming soon (round 9, owner 25 Nov 2026): what is in the pipeline, each with a small preview.
 * Same tokens and type as the home page (r2.css, r7.css). Dark only, like the home page.
 */
.nav-links a.here { color: var(--text); box-shadow: 0 1px 0 var(--amber); padding-bottom: 4px; }
.soon-hero { padding: 168px 0 40px; }
@media (max-width: 760px) { .soon-hero { padding: 116px 0 12px; } }
.soon-h1 { margin: 22px 0 0; font-size: clamp(44px, 7.4vw, 112px); line-height: 0.95; font-weight: 800; letter-spacing: -0.01em; font-stretch: 112%; font-variation-settings: "wdth" 112; text-wrap: balance; }
@media (max-width: 760px) { .soon-h1 { font-size: clamp(36px, 10.5vw, 52px); font-stretch: 100%; font-variation-settings: "wdth" 100; } }
.soon-lede { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; margin-top: 44px; align-items: start; }
.soon-lede .lede { font-size: 17px; max-width: 34em; }
@media (max-width: 900px) { .soon-lede { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; } }
.soon-key { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.soon-key li { display: grid; grid-template-columns: 168px 1fr; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); }
@media (max-width: 420px) { .soon-key li { grid-template-columns: 150px 1fr; gap: 10px; font-size: 13px; } }

/* the four stages: the same small mono label everywhere */
.st { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; flex: none; }
.st.test { color: var(--amber); }
.st.test::before { background: var(--amber); box-shadow: none; }
.st.build { color: var(--six); }
.st.build::before { background: linear-gradient(90deg, var(--six) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--six); }
.st.design { color: var(--soft); }
.st.talk { color: var(--dim); }

.soon-group { padding-top: 120px; }
@media (max-width: 760px) { .soon-group { padding-top: 80px; } }
.sg-head { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 440px); gap: 24px; align-items: baseline; padding-bottom: 26px; margin-bottom: 34px; box-shadow: 0 1px 0 var(--rule); }
.sg-no { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--amber); }
.sg-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: 0.01em; }
.sg-head p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .sg-head { grid-template-columns: 40px 1fr; row-gap: 10px; } .sg-head p { grid-column: 2; } }

.sn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .sn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sn-grid { grid-template-columns: 1fr; gap: 16px; } }
.sn { display: grid; grid-template-rows: auto 1fr; border-radius: 8px; background: var(--pad); box-shadow: inset 0 0 0 1px rgb(58 62 68 / 0.5); overflow: hidden; }
.sn-pv { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #22252a, #121417 70%); }
/* a part of a real screen (or a mock's) at about the app's own size, so its words can be read */
.sn-pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sn-pv:not(.ic)::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -28px 24px -18px var(--pad); pointer-events: none; }
.sn-pv.ic { display: grid; place-items: center; }
.sn-pv.ic svg { width: 46%; max-width: 180px; fill: none; stroke: var(--soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.sn-pv.none img { display: none; }
.sn-tx { display: grid; align-content: start; gap: 10px; padding: 22px 24px 24px; }
.sn-tx h3 { margin: 4px 0 0; font-size: 26px; line-height: 1.04; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: 0.01em; }
.sn-tx p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--soft); }
.sn-tx p a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.sn-tx small { margin-top: 4px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.soon-games .game h3 { color: var(--text); }
.soon-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .soon-games { grid-template-columns: 1fr; } }
.soon-end { padding: 140px 0 40px; }
.soon-end .say { margin: 0; max-width: 20em; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em; }
.soon-end .say a { color: var(--amber); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.soon-go { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }
@media (max-width: 760px) { .soon-end { padding-top: 90px; } .soon-end .say { font-size: 26px; overflow-wrap: anywhere; } }
@media (max-width: 640px) { .sn-pv { aspect-ratio: 16 / 10; } .sn-pv img { object-position: 50% 0; } .sn-tx { padding: 18px 20px 20px; } }

/* round 9b: what left this page because it is live */
.soon-live { margin: 0 0 56px; padding: 18px 22px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.6; color: var(--soft); max-width: 62em; }
.soon-live a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Round 9e: sneak peeks (owner: "a sneak peak preview kind of a thing for all upcoming items") ---------- */
.peek { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; box-shadow: 0 -1px 0 var(--rule); }
.sg-head + .peek { box-shadow: none; padding-top: 8px; }
.pk-tx { display: grid; gap: 12px; align-content: start; }
.pk-tx h3, .pk-tx .pk-h { margin: 4px 0 0; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: 0.01em; }
.pk-tx p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 34em; }
.pk-src { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); line-height: 1.6; }
.pk-shots { display: flex; gap: 22px; align-items: flex-start; justify-content: flex-start; }
.pk-shot { position: relative; display: block; flex: none; padding: 0; border-radius: 20px; overflow: hidden; background: #1f2124; cursor: zoom-in; box-shadow: 0 0 0 5px #08090a, 0 0 0 6px #2f3237, 0 30px 60px -30px rgb(0 0 0 / 0.9); transition: transform 220ms var(--ease-out); }
.pk-shot img, .pk-shot video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* a phone screen, top two thirds: enough to read, the whole screen on a tap */
.pk-shot.pk-ph { width: 260px; aspect-ratio: 390 / 640; }
.pk-shot.pk-ph.pk-clip { cursor: default; aspect-ratio: 390 / 844; }
.pk-shot.pk-wide { width: min(100%, 760px); aspect-ratio: 16 / 10; border-radius: 12px; }
.pk-shot.pk-tv { width: 440px; aspect-ratio: 16 / 9; border-radius: 12px; align-self: center; }
@media (hover: hover) and (pointer: fine) { .pk-shot:not(.pk-clip):hover { transform: translateY(-4px); } }
.pk-shot:focus-visible { outline: 2px solid var(--amber); outline-offset: 8px; }
/* the Control room leads, larger: text above, the laptop and two phones across the page */
.pk-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 0; box-shadow: none; margin-bottom: 40px; }
.pk-hero .pk-tx { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: 56px; align-items: end; }
.pk-hero .pk-tx .st, .pk-hero .pk-tx h3, .pk-hero .pk-tx .pk-h { grid-column: 1; }
.pk-hero .pk-tx p { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.pk-hero .pk-tx h3, .pk-hero .pk-tx .pk-h { font-size: clamp(36px, 4vw, 60px); }
.pk-hero .pk-tx .pk-src { grid-column: 1; }
.pk-hero .pk-shots { align-items: stretch; }
.pk-hero .pk-shot.pk-wide { width: auto; flex: 1 1 auto; max-width: 820px; }
.pk-hero .pk-shot.pk-ph { width: 230px; }
.pk-sports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; justify-items: center; }
.pk-sports .pk-shot.pk-ph { width: 100%; max-width: 300px; }
.sp-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; background: linear-gradient(transparent, rgb(12 13 15 / 0.92)); font-weight: 800; font-size: 24px; font-stretch: 75%; font-variation-settings: "wdth" 75; text-transform: uppercase; text-align: left; color: var(--text); }
.sports-src { margin: 22px 0 0; }
/* the large view: one screen at a time, Escape or a tap outside closes it */
.lb { width: min(92vw, 1180px); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: #0c0d0f; color: var(--text); box-shadow: 0 40px 120px rgb(0 0 0 / 0.8); overflow: hidden; }
.lb::backdrop { background: rgb(6 7 8 / 0.82); }
.lb img { display: block; max-width: 100%; max-height: calc(92vh - 56px); margin: 0 auto; object-fit: contain; }
.lb-cap { margin: 0; padding: 14px 18px 18px; font-size: 14px; color: var(--soft); text-align: center; }
.lb-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; background: rgb(12 13 15 / 0.75); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.lb-x svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1100px) {
  .peek { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .pk-hero .pk-tx { grid-template-columns: 1fr; }
  .pk-hero .pk-tx p { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  /* phones: the screens of an item in a row swiped sideways; each about two thirds of the phone wide */
  .pk-shots { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--edge)); padding: 8px var(--edge) 14px; gap: 14px; scrollbar-width: none; }
  .pk-shots::-webkit-scrollbar { display: none; }
  .pk-shot { scroll-snap-align: start; box-shadow: 0 0 0 4px #08090a, 0 0 0 5px #2f3237; }
  .pk-shot.pk-ph { width: 68vw; }
  .pk-shot.pk-wide, .pk-hero .pk-shot.pk-wide { width: 86vw; flex: none; aspect-ratio: 16 / 10; }
  .pk-shot.pk-tv { width: 86vw; }
  .pk-hero .pk-shot.pk-ph { width: 60vw; }
  .pk-sports { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--edge)); padding: 8px var(--edge) 14px; gap: 14px; justify-items: stretch; scrollbar-width: none; }
  .pk-sports .pk-shot.pk-ph { max-width: none; }
  .pk-tx h3, .pk-tx .pk-h { font-size: 30px; }
  .pk-tx p { font-size: 15px; }
  .lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .lb img { max-height: calc(100dvh - 90px); }
}
@media (prefers-reduced-motion: reduce) { .pk-shot { transition: none; } }
/* a screen shorter than the slot (the school board mock) is shown whole, from the top */
.pk-shot.pk-fit img { object-fit: contain; object-position: 50% 0; background: #17191c; }

/* Round 9i: taps on phones */
a, summary, .pk-shot { touch-action: manipulation; }
@media (pointer: coarse) { .menu-btn { width: 44px; height: 44px; } .soon-go .line, .sn-tx p a, .soon-live a, .foot li a { padding-block: 12px; margin-block: -12px; } }
