/* ==========================================================================
   StraightShot Entertainment — v matches APP_VERSION (cache-busted via ?v=)
   Palette drawn from the brand logo:
     ink      #15121c   violet-tinted near-black base
     panel    #201b2b   raised surfaces
     paper    #f2efea   warm white text
     orange   #f5822b   arrow orange (primary action)
     magenta  #e23a5f
     teal     #5bc9db   "ENTERTAINMENT" blue
     purple   #7c3aa8
   Motif: the shattered play button — angled cuts and shard edges.
   ========================================================================== */

/* Self-hosted fonts (Barlow & Barlow Condensed, SIL OFL via @fontsource) */
@font-face {
  font-family: "Barlow";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #15121c;
  --ink-deep: #0f0d15;
  --panel: #201b2b;
  --panel-edge: #332b44;
  --paper: #f2efea;
  --paper-dim: #b9b2c4;
  --orange: #f5822b;
  --magenta: #e23a5f;
  --teal: #5bc9db;
  --purple: #7c3aa8;
  --accent: var(--orange);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cut: 2.5rem; /* depth of the angled section edges */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* --- Header ----------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: var(--ink-deep);
}

/* --- Brand lockup (icon image + live-text wordmark) -------------------- */

.lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.lockup img { flex-shrink: 0; }

.lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.lockup-main {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--paper);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.lockup-sub {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.37em;
  margin-top: 0.2rem;
}

.lockup-hero {
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  margin-bottom: 2.25rem;
}

.lockup-hero img {
  width: clamp(92px, 20vw, 174px);
  height: auto;
}

.lockup-hero .lockup-main { font-size: clamp(1.9rem, 8vw, 4rem); }
.lockup-hero .lockup-sub  { font-size: clamp(0.85rem, 3.6vw, 1.8rem); letter-spacing: 0.3em; margin-top: 0.35rem; }

.lockup-small .lockup-main { font-size: 1.25rem; }
.lockup-small .lockup-sub  { font-size: 0.66rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--paper);
}

.site-nav a:hover { color: var(--orange); }

/* --- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(60rem 28rem at 18% 0%, rgba(124, 58, 168, 0.35), transparent 65%),
    radial-gradient(50rem 26rem at 85% 20%, rgba(226, 58, 95, 0.22), transparent 60%),
    radial-gradient(40rem 22rem at 60% 100%, rgba(91, 201, 219, 0.14), transparent 65%),
    var(--ink-deep);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) calc(clamp(3rem, 8vw, 6rem) + var(--cut));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 38% 100%, 0 calc(100% - 0.75rem));
}

/* shard slivers echoing the shattered logo */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  opacity: 0.85;
}
.hero::before {
  width: 7rem; height: 0.3rem;
  right: 12%; top: 22%;
  transform: rotate(-24deg);
}
.hero::after {
  width: 4rem; height: 0.25rem;
  right: 20%; top: 30%;
  transform: rotate(-24deg);
  background: linear-gradient(135deg, var(--teal), var(--purple));
}

.hero-inner { max-width: 46rem; }

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

.hero-lede {
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--paper-dim);
  margin: 0 0 2rem;
}

.hero-cta {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink-deep);
  background: var(--orange);
  padding: 0.65rem 1.9rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.8rem) 100%, 0 100%);
  transition: background 150ms ease;
}

.hero-cta:hover { background: var(--teal); }
.hero-cta:focus-visible { outline-offset: 5px; }

/* --- Section heads ------------------------------------------------------ */

.section-head {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.3rem;
  margin-top: 0.6rem;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.5rem) 100%, 0 100%);
}

.section-head p {
  color: var(--paper-dim);
  margin: 0.75rem 0 0;
  max-width: 38rem;
}

/* --- Live channel cards ------------------------------------------------- */

.channels {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.channel-card {
  max-width: 72rem;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-left: 0.35rem solid var(--accent);
}

.channel-card:last-child { margin-bottom: 0; }

/* alternate media side so the two cards don't mirror each other */
.channel-card:nth-of-type(even) .channel-media { order: 2; }

.channel-media {
  position: relative;
  min-height: 16rem;
}

.channel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.channel-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 0.35rem;
}

.channel-tagline {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.channel-desc {
  color: var(--paper-dim);
  margin: 0 0 1rem;
}

.channel-cast {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

/* Slim card: channel has its own site — art leads, one clear way through */

.channel-card--slim .channel-media {
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.channel-card--slim .channel-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.channel-card--slim .channel-name a {
  color: inherit;
  text-decoration: none;
}

.channel-card--slim .channel-name a:hover { color: var(--accent); }

.channel-card--slim .channel-tagline { margin-bottom: 1.75rem; }

.site-cta {
  align-self: flex-start;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink-deep);
  background: var(--accent);
  padding: 0.6rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.8rem) 100%, 0 100%);
  transition: background 150ms ease, color 150ms ease;
}

.site-cta:hover { background: var(--paper); }
.site-cta:focus-visible { outline-offset: 5px; }

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid var(--panel-edge);
  padding: 0.35rem 0.9rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.5rem) 100%, 0 100%);
  transition: border-color 150ms ease, color 150ms ease;
}

.platform img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.platform:hover { color: var(--accent); border-color: var(--accent); }

/* --- Coming soon -------------------------------------------------------- */

.coming-soon {
  background: var(--ink-deep);
  padding: calc(clamp(3rem, 7vw, 5rem) + var(--cut)) clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  clip-path: polygon(0 var(--cut), 62% 0.4rem, 100% var(--cut), 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--cut));
}

.soon-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.soon-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-top: 0.35rem solid var(--accent);
}

.soon-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 13rem;
  padding: 1.25rem;
  background: var(--ink);
}

.soon-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* banner-style card art fills the whole tile */
.soon-media img.fit-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.soon-media:has(img.fit-cover) {
  position: relative;
  padding: 0;
}

.soon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background:
    radial-gradient(14rem 9rem at 30% 20%, rgba(91, 201, 219, 0.25), transparent 70%),
    radial-gradient(12rem 8rem at 75% 85%, rgba(124, 58, 168, 0.3), transparent 70%);
}

.soon-mark { width: 5.5rem; height: 5.5rem; }

.soon-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.soon-badge {
  align-self: flex-start;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-deep);
  background: var(--accent);
  padding: 0.1rem 0.6rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.4rem) 100%, 0 100%);
}

.soon-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0.25rem 0 0;
}

.soon-tagline {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0;
}

.soon-desc {
  color: var(--paper-dim);
  font-size: 0.98rem;
  margin: 0;
}

/* --- StraightShot Studio ---------------------------------------------- */

.studio {
  --studio: #22b8f0; /* cyan from the Studio logo */
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(36rem 24rem at 22% 50%, rgba(34, 184, 240, 0.16), transparent 70%),
    var(--ink);
}

.studio-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.studio-logo {
  display: block;
  justify-self: center;
  width: min(100%, 300px);
}

.studio-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.studio-body h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.3rem;
  margin-top: 0.6rem;
  background: linear-gradient(90deg, var(--studio), var(--teal));
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.5rem) 100%, 0 100%);
}

.studio-body p {
  color: var(--paper-dim);
  max-width: 36rem;
  margin: 1.25rem 0 2rem;
}

.studio-cta {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink-deep);
  background: var(--studio);
  padding: 0.6rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.8rem) 100%, 0 100%);
  transition: background 150ms ease;
}

.studio-cta:hover { background: var(--paper); }
.studio-cta:focus-visible { outline-offset: 5px; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--panel-edge);
  padding: 2.5rem clamp(1rem, 4vw, 3rem);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.site-footer .lockup { margin-bottom: 1rem; }

.footer-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.footer-studio {
  font-size: 0.95rem;
  color: var(--paper-dim);
  margin: 0 0 0.35rem;
}

.footer-studio a { color: var(--teal); }

.footer-meta {
  color: var(--paper-dim);
  font-size: 0.9rem;
  margin: 0;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 56rem) {
  .soon-grid { grid-template-columns: 1fr; }
  .soon-card { max-width: 30rem; }
}

@media (max-width: 48rem) {
  .hero::before, .hero::after { display: none; }
  .studio-inner { grid-template-columns: 1fr; }
  .studio-logo { width: min(60%, 220px); }
  .channel-card { grid-template-columns: 1fr; }
  .channel-card:nth-of-type(even) .channel-media { order: 0; }
  .channel-media { min-height: 0; aspect-ratio: 16 / 9; }
  .site-header { flex-direction: column; }
  :root { --cut: 1.5rem; }
}
