/* ===========================================================
   ozobozo — one stylesheet for the whole site
   Palette and shapes are taken from the logo: the dark set,
   the cobalt screen, the tan knobs, the rounded case corners.
   =========================================================== */

:root {
  --ink:        #12101A;   /* the set, switched off */
  --ink-soft:   #1E1B2B;
  --ink-line:   #322D42;
  --paper:      #EDEEF2;   /* the page */
  --white:      #FFFFFF;
  --cobalt:     #2340E8;   /* the screen */
  --cobalt-deep:#16299E;
  --cobalt-lift:#7C93FF;   /* cobalt that survives a dark background */
  --tan:        #C9843C;   /* the knobs and feet */
  --tan-lift:   #E8AE6A;   /* tan that stays legible on the dark set */
  --tan-deep:   #8A5616;   /* tan that stays legible on the light page */
  --ear:        #E7B294;
  --muted:      #56525F;
  --muted-dark: #A9A4BC;

  --display: "Dela Gothic One", Impact, system-ui, sans-serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --f-xs: .875rem;
  --f-s:  1rem;
  --f-b:  1.125rem;
  --f-m:  1.28rem;
  --f-l:  clamp(1.45rem, 2.4vw, 1.85rem);
  --f-xl: clamp(1.9rem, 3.8vw, 2.9rem);
  --f-2xl:clamp(2.1rem, 4.4vw, 3.4rem);

  --r-lg: 34px;            /* the TV case corner */
  --r-md: 18px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --rule: 3px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--f-b);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 20;
  background: var(--white); color: var(--ink);
  padding: .6rem 1.1rem; font-weight: 700; border-radius: 0 0 12px 12px;
}
.skip:focus { top: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: var(--f-2xl); letter-spacing: -.015em; }
h2 { font-size: var(--f-xl); letter-spacing: -.01em; }
h3 { font-size: var(--f-l); }
p  { margin: 0 0 1.05rem; }

/* ---------------------------------------------------- ticker */
.ticker {
  display: flex; background: #000; color: var(--white);
  font-size: var(--f-xs); overflow: hidden;
}
.ticker__label {
  flex: none; display: flex; align-items: center; gap: .5rem;
  background: var(--tan); color: var(--ink); font-weight: 800;
  padding: .45rem 1rem; position: relative; z-index: 1;
}
.ticker__dot {
  width: .5rem; height: .5rem; border-radius: 50%; background: #C2261B;
  box-shadow: 0 0 0 3px rgba(194,38,27,.25);
}
.ticker__window { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker__track {
  display: flex; white-space: nowrap; list-style: none; margin: 0; padding: 0;
  animation: ticker 64s linear infinite;
}
.ticker__track li { padding: .45rem 2.6rem .45rem 0; }
.ticker__track li::before {
  content: ""; display: inline-block; width: .42rem; height: .42rem;
  background: var(--tan); margin-right: .9rem; vertical-align: middle;
  transform: rotate(45deg);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------- the dark set: header + hero */
.set {
  background: var(--ink);
  color: var(--white);
  position: relative;
  border-bottom: 4px solid var(--tan);
}
.set::after {          /* one scanline texture, used only here */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, rgba(255,255,255,.045) 0 1px, transparent 1px 7px);
}
.set > * { position: relative; z-index: 1; }

.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding-block: 1.05rem; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 52px; width: auto; }
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav a { font-weight: 700; text-decoration: none; }
.nav a:not(.btn) { color: var(--white); }
.nav a:not(.btn):hover { color: var(--tan-lift); }
.nav a[aria-current="page"] {
  color: var(--tan-lift);
  box-shadow: inset 0 -3px 0 var(--tan-lift);
}

/* hero */
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--tan-lift); }
.hero__lead {
  font-size: var(--f-m); color: #D6D3E4; max-width: 46ch;
  margin: 1.5rem 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__set { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__set::before {
  content: ""; position: absolute; inset: -18% -12%;
  background: radial-gradient(circle at 50% 48%, rgba(90,120,255,.55), rgba(90,120,255,0) 68%);
}
.hero__set img { position: relative; display: block; width: 100%; height: auto; }

/* ---------------------------------------------------- buttons */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 800;
  font-size: 1.02rem; line-height: 1.2; padding: .72rem 1.35rem;
  border: 3px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.btn:hover { transform: rotate(-2.5deg); }
.btn--tan   { background: var(--tan); color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--ink   { background: var(--ink); color: var(--white); }
.btn--cobalt{ background: var(--cobalt); color: var(--white); }

/* ---------------------------------------------------- generic band */
.band { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.band__intro { max-width: 52ch; margin-bottom: 2.6rem; }
.band__intro p { font-size: var(--f-m); color: var(--muted); margin: .7rem 0 0; }

/* ---------------------------------------------------- the dial */
.dial { border-top: var(--rule); }
.channel {
  padding-block: 2.3rem;
  border-bottom: var(--rule);
}
.channel__name { margin-bottom: .2rem; }
.channel__line { font-weight: 700; color: var(--tan-deep); margin: 0 0 .7rem; }
.channel__body { max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.chips li {
  font-size: var(--f-xs); font-weight: 700; line-height: 1.5;
  padding: .18rem .75rem; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white);
}

/* ---------------------------------------------------- latest */
.latest { background: var(--white); border-block: var(--rule); }
.latest__grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.feature { display: block; text-decoration: none; }
.feature__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: var(--rule); border-radius: var(--r-lg);
  background: radial-gradient(circle at 42% 38%, #2E4BF0, #101C7A 78%);
  display: grid; place-items: center;
}
.feature__media img { width: 52%; height: auto; }
.feature__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feature__play {
  position: absolute; right: 1.1rem; bottom: 1.1rem;
  width: 64px; height: 64px; border-radius: 50%; background: var(--tan);
  border: 3px solid var(--ink); display: grid; place-items: center;
}
.feature__play::after {
  content: ""; margin-left: 5px;
  border-left: 18px solid var(--ink);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.feature h3 { margin-top: 1rem; font-size: var(--f-l); }
.feature:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

.posts { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.posts li { border-bottom: 2px solid var(--ink); }
.posts a { display: block; padding: 1rem 0 1.15rem; text-decoration: none; }
.posts h3 { font-size: 1.22rem; margin-top: .35rem; }
.posts a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.tag {
  display: inline-block; font-size: .8rem; font-weight: 800; line-height: 1.5;
  padding: .06rem .62rem; border-radius: 999px; border: 2px solid var(--ink);
}
.tag--news   { background: var(--white); }
.tag--satire { background: var(--tan); }
.tag--clip   { background: var(--ear); }
.tag--essay  { background: var(--cobalt); color: var(--white); border-color: var(--cobalt-deep); }
.meta { display: block; font-size: var(--f-xs); color: var(--muted); margin-top: .35rem; }

/* ---------------------------------------------------- follow */
.platforms {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: var(--rule); border-radius: var(--r-md); overflow: hidden;
  background: var(--white);
}
.platforms li + li { border-left: var(--rule); }
.platforms a { display: block; height: 100%; padding: 1.3rem 1.2rem 1.5rem; text-decoration: none; }
.platforms a:hover { background: var(--tan); }
.platforms__name { display: block; font-family: var(--display); font-size: 1.24rem; }
.platforms__handle { display: block; font-weight: 700; color: var(--cobalt); }
.platforms a:hover .platforms__handle { color: var(--ink); }
.platforms__what { display: block; font-size: var(--f-xs); color: var(--muted); margin-top: .45rem; }
.platforms a:hover .platforms__what { color: var(--ink); }

/* ---------------------------------------------------- tip band */
.tip { background: var(--tan); border-top: var(--rule); }
.tip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.4rem 3rem; padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.tip p { margin: .5rem 0 0; max-width: 40ch; font-size: var(--f-m); }
.tip :focus-visible { outline-color: var(--ink); }

/* ---------------------------------------------------- page head (inner pages) */
.pagehead .wrap { padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.pagehead h1 { max-width: 18ch; }
.pagehead p { font-size: var(--f-m); color: #D6D3E4; max-width: 50ch; margin: 1.2rem 0 0; }

/* ---------------------------------------------------- channels page */
.ch {
  border-top: var(--rule);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.ch__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.6rem, 4vw, 3.4rem); margin-top: 1.2rem; align-items: start;
}
.ch__lead { font-size: var(--f-m); }
.covers { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.covers > div { padding: .85rem 0; border-bottom: 2px solid var(--ink); }
.covers dt { font-family: var(--display); font-size: 1.05rem; }
.covers dd { margin: .15rem 0 0; font-size: var(--f-s); color: var(--muted); }
.samples { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.samples li { padding: .55rem 0; border-bottom: 2px dotted #C3C2CC; font-weight: 600; }
.samples li:last-child { border-bottom: 0; }
.samples__head { font-family: var(--display); font-size: 1.05rem; margin: 0; }

/* ---------------------------------------------------- about */
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.frame {
  margin: 0; background: var(--white); padding: 14px 14px 0;
  border: var(--rule); box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-3deg); width: min(100%, 380px); justify-self: center;
}
.frame img { display: block; width: 100%; height: auto; }
.frame figcaption { padding: .8rem .3rem 1rem; font-size: var(--f-s); line-height: 1.45; }
.frame figcaption strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.rules { background: var(--white); border-block: var(--rule); }
.rules ol { max-width: 54ch; margin: 0; padding-left: 1.4rem; }
.rules li { margin-bottom: .85rem; }
.rules li::marker { color: var(--cobalt); font-weight: 800; }

/* ---------------------------------------------------- forms */
.contact__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.25rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .hint { display: block; font-weight: 400; font-size: var(--f-xs); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: .72rem .9rem;
  border: var(--rule); border-radius: 14px; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 10rem; resize: vertical; }
.honey { position: absolute; left: -9999px; }
.aside { border: var(--rule); border-radius: var(--r-md); padding: 1.5rem; background: var(--white); }
.aside h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.aside ul { list-style: none; margin: 0; padding: 0; }
.aside li { padding: .5rem 0; border-top: 2px solid var(--paper); }
.aside a { font-weight: 700; display: inline-block; min-width: 24px; }

/* ---------------------------------------------------- prose + centred pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin: 2.3rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .55rem; }
.centre {
  min-height: 56vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.centre img { width: min(56vw, 210px); height: auto; margin-bottom: 1.4rem; }
.centre p { font-size: var(--f-m); max-width: 34ch; margin: 1rem 0 2rem; }

/* ---------------------------------------------------- footer */
.foot { background: var(--ink); color: #C9C5D8; padding-block: 3.2rem; font-size: var(--f-s); }
.foot .wrap { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem 3.5rem; align-items: start; }
.foot img { height: 44px; width: auto; display: block; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.foot__links a { color: var(--white); font-weight: 700;
  display: inline-block; min-width: 24px; padding-block: .15rem; }
.foot p { margin: 0 0 .5rem; max-width: 52ch; }
.foot__note { color: #8F8AA6; font-size: var(--f-xs); }

/* ---------------------------------------------------- responsive */
@media (max-width: 920px) {
  .hero .wrap, .latest__grid, .ch__grid, .story, .contact__grid { grid-template-columns: 1fr; }
  .hero__set { order: -1; width: min(72%, 300px); }
  .platforms { grid-template-columns: 1fr; }
  .platforms li + li { border-left: 0; border-top: var(--rule); }
  .foot .wrap { grid-template-columns: 1fr; }
  .frame { transform: rotate(-2deg); }
}
@media (max-width: 620px) {
  .nav { width: 100%; }
  .nav ul { justify-content: space-between; gap: .75rem 1rem; }
  .nav li:last-child { flex-basis: 100%; }
  .nav .btn { display: block; text-align: center; }
  .brand img { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .ticker__window { overflow-x: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
