/* ============================================================
   COREACK — Play-by-Play caster portfolio
   System:
   - Bg: near-black #07080B / panel #0D0F14 / line #1B1F27
   - Fg: bone #EDEAE0 / muted #8A8F9A
   - Accent: electric lime oklch(82% 0.19 128) ≈ #C7F73D
   - Type: Space Grotesk (display) + JetBrains Mono (labels) + Inter (body)
   - Motif: monospace tournament-graphics tags, angular clips,
     broadcast registration marks, ticker, sharp 0-radius corners.
   ============================================================ */

:root {
  --bg: #07080B;
  --panel: #0D0F14;
  --panel-2: #11141B;
  --line: #1F242E;
  --line-2: #2A3140;
  --fg: #EDEAE0;
  --muted: #8A8F9A;
  --muted-2: #5A606C;
  --accent: #C7F73D;
  --accent-ink: #07080B;
  --warn: #FF4D3B;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1480px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ---------- TICKER ---------- */
.ticker {
  position: sticky; top: 0; z-index: 50;
  background: var(--accent); color: var(--accent-ink);
  border-bottom: 1px solid #0006;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  overflow: hidden; white-space: nowrap;
  height: 28px; display: flex; align-items: center;
}
.ticker__track { display: inline-flex; animation: ticker 60s linear infinite; padding-left: 100%; }
.ticker__track > span { padding: 0 24px; display: inline-flex; align-items: center; gap: 12px; }
.ticker__track .dot { width: 6px; height: 6px; background: var(--accent-ink); display: inline-block; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,8,11,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); }
.brand__mark {
  width: 26px; height: 26px; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}
.brand__name { font-weight: 700; letter-spacing: 0.18em; font-size: 13px; }
.brand__tag { color: var(--muted); font-size: 11px; letter-spacing: 0.18em; }
.nav__links { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--fg); }
.nav__cta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--accent); color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.nav__cta:hover { background: var(--accent); color: var(--accent-ink); }
.nav__cta .pulse { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 0 var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(199,247,61,.7); } 70% { box-shadow: 0 0 0 8px rgba(199,247,61,0); } 100% { box-shadow: 0 0 0 0 rgba(199,247,61,0); } }
.nav__cta:hover .pulse { background: var(--accent-ink); box-shadow: none; animation: none; }

/* ---------- HERO ---------- */
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: 56px 32px 48px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1.4fr; gap: 32px; align-items: stretch; }

.hero__col-left { display: flex; flex-direction: column; justify-content: center; gap: 24px; }

.tag-row { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.tag-row .reg { width: 12px; height: 12px; border: 1px solid var(--accent); position: relative; }
.tag-row .reg::after { content: ""; position: absolute; inset: 3px; background: var(--accent); }
.tag-row .bar { flex: 1; height: 1px; background: var(--line); }
.tag-row .num { color: var(--accent); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-top: 32px;
}
.hero__title .stroke {
  -webkit-text-stroke: 1.5px var(--fg);
  color: transparent;
}
.hero__title .accent { color: var(--accent); }

.hero__role {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fg); margin-top: 28px;
  padding: 8px 14px; border: 1px solid var(--line-2); background: var(--panel);
}
.hero__role .dot { width: 6px; height: 6px; background: var(--accent); }

.hero__meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.hero__meta > div { padding: 18px 0 0; border-right: 1px solid var(--line); padding-right: 16px; }
.hero__meta > div:last-child { border-right: 0; }
.hero__meta .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero__meta .v { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.hero__meta .v small { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.18em; margin-left: 6px; }

/* Reel panel */
.reel {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; min-height: 560px; display: flex; flex-direction: column;
}
.reel__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.reel__topbar .left { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.reel__topbar .live { color: var(--warn); display: inline-flex; align-items: center; gap: 6px; }
.reel__topbar .live::before { content: ""; width: 7px; height: 7px; background: var(--warn); border-radius: 50%; animation: pulse-red 1.4s infinite; }
@keyframes pulse-red { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.reel__topbar .right { color: var(--accent); }

.reel__video {
  position: relative; flex: 1; background: #000; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.reel__video video, .reel__video img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  filter: contrast(1.04) saturate(0.92);
}
.reel__video::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,8,11,0) 60%, rgba(7,8,11,0.85) 100%),
    radial-gradient(circle at 50% 40%, rgba(7,8,11,0) 0%, rgba(7,8,11,0.45) 100%);
  z-index: 1;
}
.reel__video::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
}
.reel__corners { position: absolute; inset: 12px; pointer-events: none; z-index: 2; }
.reel__corners span { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--accent); }
.reel__corners span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.reel__corners span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.reel__corners span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.reel__corners span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.reel__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  z-index: 3; cursor: pointer; transition: opacity .25s;
}
.reel__play.hidden { opacity: 0; pointer-events: none; }
.reel__play__btn {
  width: 96px; height: 96px; border: 1.5px solid var(--accent); background: rgba(7,8,11,0.5);
  display: flex; align-items: center; justify-content: center;
  position: relative; backdrop-filter: blur(2px);
  transition: transform .2s, background .2s;
}
.reel__play__btn::after {
  content: ""; width: 0; height: 0;
  border-left: 22px solid var(--accent);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.reel__play:hover .reel__play__btn { background: var(--accent); transform: scale(1.05); }
.reel__play:hover .reel__play__btn::after { border-left-color: var(--accent-ink); }

.reel__overlay {
  position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.reel__overlay .title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none; line-height: 1.1;
  margin-bottom: 6px;
}
.reel__overlay .sub { color: var(--muted); }
.reel__overlay .badge {
  padding: 6px 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700;
}

.reel__footbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.reel__footbar > div {
  padding: 14px 16px; border-right: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.reel__footbar > div:last-child { border-right: 0; }
.reel__footbar .val { color: var(--fg); font-size: 14px; margin-top: 4px; letter-spacing: 0.08em; }
.reel__footbar .val.acc { color: var(--accent); }

/* ---------- SECTION HEADERS ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 32px; position: relative; }
.section__head {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: end;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.section__index { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.section__index .num { color: var(--fg); font-size: 56px; line-height: 0.9; display: block; letter-spacing: -0.02em; margin-top: 6px; font-family: var(--font-display); font-weight: 600; }
.section__title { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 64px); font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
.section__title em { font-style: normal; color: var(--accent); }
.section__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-align: right; }
.section__meta .v { color: var(--fg); font-size: 14px; display: block; margin-top: 4px; }

/* ---------- COVERAGE GRID ---------- */
.coverage {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.cov {
  position: relative; aspect-ratio: 1 / 1;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  overflow: hidden; transition: background .25s;
  cursor: default;
}
.cov:hover { background: var(--panel-2); }
.cov__logo {
  max-width: 65%; max-height: 65%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.15) contrast(1.1);
  opacity: 0.78;
  transition: filter .3s, opacity .3s, transform .3s;
}
.cov:hover .cov__logo { filter: none; opacity: 1; transform: scale(1.04); }

.cov__id {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted-2);
}
.cov__name {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  display: flex; justify-content: space-between; align-items: end; gap: 8px;
}
.cov__name .n { color: var(--fg); }
.cov__name .r { color: var(--accent); }
.cov.featured { background: linear-gradient(160deg, #11151c 0%, #0d0f14 100%); }
.cov.featured::before {
  content: ""; position: absolute; top: 0; left: 0; width: 8px; height: 100%;
  background: var(--accent);
}

/* ---------- CONTACT ---------- */
#contact { padding-bottom: 0; }
.contact {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 16px;
}
.contact__left { padding: 56px 48px; border-right: 1px solid var(--line); position: relative; }
.contact__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.contact__h {
  font-family: var(--font-display); font-size: clamp(48px, 6vw, 88px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 0.92; margin: 24px 0 28px;
}
.contact__h .stroke { -webkit-text-stroke: 1.5px var(--fg); color: transparent; }
.contact__body { color: var(--muted); max-width: 52ch; font-size: 16px; line-height: 1.55; }
.contact__body strong { color: var(--fg); font-weight: 500; }
.contact__big {
  margin-top: 36px; display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 28px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  transition: transform .15s;
}
.contact__big:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line-2); }
.contact__big .arrow { width: 18px; height: 12px; position: relative; }
.contact__big .arrow::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--accent-ink); }
.contact__big .arrow::after { content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 12px; border-top: 2px solid var(--accent-ink); border-right: 2px solid var(--accent-ink); transform: rotate(45deg); }

.contact__right { background: var(--panel); padding: 56px 48px; display: flex; flex-direction: column; gap: 4px; }
.contact__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.social {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: padding .2s, color .2s;
}
.social:last-child { border-bottom: 0; }
.social:hover { padding-left: 12px; }
.social__l { display: flex; flex-direction: column; gap: 4px; }
.social__platform { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.social__handle { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; transition: color .2s; }
.social:hover .social__handle { color: var(--accent); }
.social__arrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); transition: color .2s, transform .2s; }
.social:hover .social__arrow { color: var(--accent); transform: translateX(6px); }

/* ---------- FOOTER ---------- */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 32px 32px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2);
}
.foot__c { display: flex; gap: 18px; align-items: center; }
.foot__c .sq { width: 8px; height: 8px; background: var(--accent); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__col-left { min-height: auto; }
  .reel { min-height: 480px; }
  .coverage { grid-template-columns: repeat(3, 1fr); }
  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .section__meta { text-align: left; }
  .contact { grid-template-columns: 1fr; }
  .contact__left { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 24px; }
  .contact__right { padding: 40px 24px; }
}
@media (max-width: 680px) {
  .nav__inner { padding: 16px 18px; }
  .nav__links { display: none; }
  .hero { padding: 32px 18px; }
  .section { padding: 56px 18px; }
  .coverage { grid-template-columns: repeat(2, 1fr); }
  .reel__footbar { grid-template-columns: repeat(2, 1fr); }
  .reel__footbar > div:nth-child(2) { border-right: 0; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta > div { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
}
