/* Agent - agentgaming.gg
   Ink / ivory / red system from the Agent brand guideline. */

@font-face {
  font-family: "PP Neue Montreal";
  src: url("/assets/fonts/PPNeueMontreal-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("/assets/fonts/PPNeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("/assets/fonts/PPNeueMontreal-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #050505;
  --ink-2: #0f0f0f;
  --ivory: #dbdad2;
  --white: #ffffff;
  --red: #fb090b;
  --dim: rgba(219, 218, 210, 0.6);
  --faint: rgba(219, 218, 210, 0.38);
  --line: rgba(219, 218, 210, 0.14);
  --font: "PP Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.5;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.site-head--overlay {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.site-head__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 44px);
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 14px 2px;
  transition: color 0.2s ease;
}

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

.site-nav a[aria-current="page"] {
  color: var(--ivory);
  box-shadow: inset 0 -2px 0 var(--red);
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  background: var(--ink);
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Audio control ---------- */

.audio-ctl {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(5, 5, 5, 0.62);
  border: 1px solid rgba(219, 218, 210, 0.28);
  border-radius: 999px;
  padding: 8px;
  transition: border-color 0.2s ease;
}

.audio-ctl:hover { border-color: rgba(219, 218, 210, 0.55); }

.audio-ctl__btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.audio-ctl__btn svg { width: 20px; height: 20px; fill: currentColor; overflow: visible; }

.audio-ctl__vol {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  opacity: 0;
  height: 2px;
  background: linear-gradient(to right, var(--ivory) var(--p, 70%), rgba(219, 218, 210, 0.25) var(--p, 70%));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-right: 0;
}

.audio-ctl:hover .audio-ctl__vol,
.audio-ctl.is-on .audio-ctl__vol { width: 84px; opacity: 1; margin-right: 6px; }

.audio-ctl__vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  cursor: pointer;
}

.audio-ctl__vol::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  cursor: pointer;
}

@media (max-width: 820px) {
  .audio-ctl { bottom: 18px; right: 16px; }
  .audio-ctl__vol,
  .audio-ctl:hover .audio-ctl__vol,
  .audio-ctl.is-on .audio-ctl__vol { width: 0; opacity: 0; margin-right: 0; }
}

/* ---------- Page scaffold (content + manifesto) ---------- */

.page-main { padding-top: clamp(56px, 9vh, 110px); }

.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- Content page ---------- */

.content-intro { padding-bottom: clamp(48px, 7vw, 96px); }

.content-intro h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 17ch;
  margin: 18px 0 26px;
}

.content-intro p:not(.kicker) {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--dim);
  max-width: 54ch;
}

.content-intro p + p { margin-top: 8px; }

.feature {
  border-top: 1px solid var(--line);
  padding-block: clamp(32px, 5vw, 72px);
}

.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-2);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.thumb:hover img { transform: scale(1.025); }

.thumb__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.7);
  border: 1px solid rgba(219, 218, 210, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.thumb__play svg { width: 18px; height: 18px; fill: var(--white); margin-left: 2px; }

.thumb:hover .thumb__play { background: var(--red); border-color: var(--red); }

.feature h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 14px 0 14px;
}

.feature h2 a:hover { color: var(--ivory); }

.feature__desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--dim);
  max-width: 44ch;
}

.feature__row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.watch-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 8px;
}

.watch-link .arrow { color: var(--red); transition: transform 0.2s ease; }
.watch-link:hover .arrow { transform: translateX(4px); }

.views {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}

.feature--minor h2 { font-size: clamp(22px, 2.3vw, 30px); }

.feature--minor .feature__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}

/* ---------- Shorts ---------- */

.shorts {
  border-top: 1px solid var(--line);
  padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 96px);
}

.section-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-row h2 {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-top: 10px;
}

.shorts__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.short-card .thumb--v { aspect-ratio: 9 / 16; }

.short-card .views { display: block; margin-top: 10px; }

/* ---------- Channel line ---------- */

.channel {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px) 0;
  text-align: center;
}

.channel p {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: var(--white);
}

.channel a { box-shadow: inset 0 -2px 0 var(--red); transition: color 0.2s ease; }
.channel a:hover { color: var(--red); }

/* ---------- Manifesto ---------- */

.mfst { text-align: center; }

.mfst-col {
  max-width: 760px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mfst-open { padding-block: clamp(48px, 10vh, 130px) clamp(40px, 7vh, 90px); }

.mfst-open .emblem { height: 46px; width: auto; margin: 0 auto clamp(36px, 6vh, 64px); }

.mfst-open h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}

.mfst-open .quiet-list {
  margin-top: clamp(32px, 5vh, 52px);
  display: grid;
  gap: 10px;
  font-size: clamp(17px, 2vw, 23px);
  color: var(--dim);
}

.mfst-open .down {
  margin-top: clamp(40px, 7vh, 70px);
  color: var(--faint);
  font-size: 22px;
}

.mfst section { padding-block: clamp(28px, 4.5vh, 56px); }

.mfst .kicker { display: block; margin-bottom: 20px; }

.m-strong {
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.m-line {
  font-size: clamp(18px, 2.2vw, 25px);
  color: var(--dim);
  line-height: 1.35;
}

.m-line strong, .m-line b { color: var(--white); font-weight: 700; }

.m-gap { display: grid; gap: 14px; }

.m-big {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: clamp(20px, 4vh, 44px) 0;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 40px);
  align-items: end;
  margin-top: clamp(28px, 4vh, 44px);
}

.value-grid figure { display: grid; gap: 8px; justify-items: center; }

.value-grid img {
  height: clamp(52px, 8vw, 96px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.value-grid figcaption {
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.25;
}

.value-grid .val {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(28px, 4vh, 48px);
}

.proof-grid figure { display: grid; gap: 12px; }

.proof-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.proof-tile video { width: 100%; height: 100%; object-fit: cover; }

.proof-tile--logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 18px);
  padding: 12%;
}

.proof-tile--logos img { object-fit: contain; }
.proof-tile--logos .l1 { width: 64%; }
.proof-tile--logos .l2 { width: 48%; }
.proof-tile--logos .l3 { width: 36%; }

.proof-grid .stat { font-size: clamp(18px, 2.6vw, 34px); font-weight: 700; color: var(--white); line-height: 1.1; }
.proof-grid .lbl { font-size: clamp(11px, 1.2vw, 14px); color: var(--dim); margin-top: 4px; }

.espn-clip {
  margin: clamp(28px, 4vh, 48px) auto 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.espn-clip video { width: 100%; aspect-ratio: 16 / 9; }

.giant {
  font-size: clamp(64px, 12vw, 150px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.giant-lbl {
  margin-top: 14px;
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

.mfst-cta { padding-block: clamp(40px, 7vh, 80px) clamp(64px, 10vh, 120px); }

.btn {
  display: inline-block;
  margin-top: clamp(28px, 4vh, 44px);
  padding: 18px 44px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover { background: var(--red); color: var(--white); }

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
  text-align: center;
}

.site-foot .emblem { height: 30px; width: auto; margin: 0 auto 28px; }

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(219, 218, 210, 0.24);
  color: var(--ivory);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.socials a:hover { border-color: var(--white); color: var(--white); }

.socials svg { width: 17px; height: 17px; fill: currentColor; }

.site-foot .copy {
  margin-top: 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

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

@media (max-width: 900px) {
  .feature__grid,
  .feature--minor .feature__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .shorts__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    scrollbar-width: none;
  }

  .shorts__grid::-webkit-scrollbar { display: none; }

  .short-card {
    flex: 0 0 46%;
    max-width: 220px;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .brand img { height: 24px; }

  .site-nav a { font-size: 12px; letter-spacing: 0.16em; padding: 14px 2px; }

  :root { --header-h: 60px; }

  .short-card { flex-basis: 58%; }
}

@media (min-width: 1800px) {
  .container { max-width: 1560px; }
  :root { --header-h: 84px; }
  .brand img { height: 34px; }
}

/* This nav carries five links now, not two. Below tablet the header stacks and
   the nav scrolls sideways on its own instead of pushing the page wide. */
@media (max-width: 860px) {
  .site-head__inner {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 6px;
  }
  .site-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a {
    font-size: 11px;
    letter-spacing: 0.14em;
    padding: 6px 0;
    white-space: nowrap;
  }
}
