/* ==========================================================================
   Media page — layered on top of style.css
   Reuses the global tokens, nav, brand, .btn, .reveal and footer.
   ========================================================================== */

/* .slab and the serif body face are redeclared here rather than pulled out of
   the other page stylesheets, so those pages stay untouched. */
:root {
  --f-slab:       'Alfa Slab One', Georgia, serif;
  --f-serif-body: 'Lora', Georgia, 'Times New Roman', serif;
}

.slab {
  display: block;
  font-family: var(--f-slab);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1;
  filter: url(#distress-heavy);
}
.slab--accent { color: var(--red); }


/* ==========================================================================
   Media hero
   ========================================================================== */
.dhero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: calc(var(--nav-h) + 46px) 0 140px;
}

.dhero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
}
.dhero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* holds both Rowshanara and the studio sign behind her in frame */
  object-position: 55% 40%;
}

.dhero__grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--black)          0%,
      var(--black)          5%,
      rgba(10,10,10,.9)    15%,
      rgba(10,10,10,.64)   26%,
      rgba(10,10,10,.36)   36%,
      rgba(10,10,10,.14)   46%,
      rgba(10,10,10,.04)   54%,
      rgba(10,10,10,0)     62%),
    linear-gradient(0deg,  rgba(10,10,10,.44) 0%, rgba(10,10,10,0) 24%),
    linear-gradient(180deg, rgba(10,10,10,.34) 0%, rgba(10,10,10,0) 15%);
}

.dhero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: 44px;
}

.dhero__title {
  margin: 20px 0 0;
  font-size: clamp(3.3rem, 7.4vw, 6.4rem);
  line-height: .86;
}
.dhero__title .script {
  margin-top: .04em;
  margin-left: .04em;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: .94;
}

.dhero__lede {
  max-width: 34ch;
  margin: 28px 0 36px;
  font-family: var(--f-serif-body);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text);
}

.dhero__tear {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 3;
  width: 100%;
  height: 104px;
  fill: var(--black);
}


/* ==========================================================================
   Editorial features — image + typography, alternating
   ========================================================================== */
.feature { padding: 78px 0; background: var(--black); }
.feature--lead { padding-top: 92px; }

.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 62px;
  align-items: center;
}
.feature--flip .feature__media { order: 2; }
.feature--flip .feature__body  { order: 1; }

.feature__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .45s var(--ease);
}
/* the Channel 9 asset is a two-panel collage — square keeps it uncropped */
.feature__media--square { aspect-ratio: 1 / 1; }
/* matches the ATN photo's native 1600x1200 exactly, so nothing is cropped */
.feature__media--wide   { aspect-ratio: 4 / 3; }

.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.004);
  transition: transform 1.15s var(--ease);
}

.feature__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,.34) 0%, rgba(10,10,10,.03) 42%, rgba(10,10,10,0) 68%);
  transition: opacity .45s var(--ease);
}

.feature__media:hover img,
.radio__media:hover img,
.shot__media:hover img { transform: scale(1.05); }
.feature__media:hover,
.radio__media:hover,
.shot__media:hover { border-color: rgba(230, 48, 48, .55); }

.feature__label {
  margin: 0 0 14px;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red);
}
.feature__label span { margin-inline: 5px; opacity: .7; }

.feature__title {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: .98;
}
.feature--lead .feature__title { font-size: clamp(2.1rem, 4.1vw, 3.3rem); }
.feature__title .slab { margin-top: .05em; }

.feature__text {
  max-width: 46ch;
  margin: 0;
  font-family: var(--f-serif-body);
  font-size: 15px;
  line-height: 1.76;
  color: var(--muted);
}
.feature__text em { font-style: italic; color: var(--text); }

/* the 17-months marker */
.feature__stat {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(230, 48, 48, .32);
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.feature__stat span {
  font-family: var(--f-ui);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--red);
  margin-right: 10px;
  vertical-align: -3px;
}


/* ==========================================================================
   Broadcasting journey — numbered editorial rows
   ========================================================================== */
.journeyline { padding: 44px 0 84px; background: var(--black); }

.journeyline__title {
  margin: 0 0 34px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: .98;
}
.journeyline__title .slab { margin-top: .05em; }

.jline { margin: 0; padding: 0; list-style: none; }

.jrow {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(0, 300px);
  align-items: baseline;
  gap: 0 30px;
  padding: 24px 4px;
  border-top: 1px solid var(--line);
  transition: background-color .4s var(--ease), padding-left .4s var(--ease);
}
.jrow:last-child { border-bottom: 1px solid var(--line); }
.jrow:hover { background: rgba(255, 255, 255, .018); padding-left: 12px; }

.jrow__index {
  font-family: var(--f-ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--red);
}

.jrow__name {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.06;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--white);
}

.jrow__role {
  margin: 0;
  font-family: var(--f-serif-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.jrow__sep { color: var(--red); margin-inline: 4px; }


/* ==========================================================================
   On air — radio
   ========================================================================== */
.onair { padding: 8px 0 84px; background: var(--black); }

.onair__head {
  max-width: 620px;
  margin: 0 0 38px;
}
.onair__title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: .98;
}
.onair__title .slab { margin-top: .05em; }

.onair__lede {
  margin: 0;
  font-family: var(--f-serif-body);
  font-size: 15px;
  line-height: 1.74;
  color: var(--muted);
}

.radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin: 0; padding: 0;
  list-style: none;
  align-items: start;
}

.radio__media {
  position: relative;
  margin: 0 0 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .45s var(--ease);
}
.radio__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.004);
  transition: transform 1.15s var(--ease);
}
.radios > li:nth-child(1) .radio__media img { object-position: 48% 24%; }
.radios > li:nth-child(2) .radio__media img { object-position: 68% 52%; }

.radio__name {
  margin: 0 0 5px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--white);
}
.radio__role {
  margin: 0;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.radio__note {
  margin: 9px 0 0;
  font-family: var(--f-serif-body);
  font-style: italic;
  font-size: 13px;
  color: var(--muted-2);
}

/* the entry with no photograph keeps the row balanced with a ruled panel */
.radio--text .radio__body {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(230, 48, 48, .5);
  background: rgba(255, 255, 255, .012);
}


/* ==========================================================================
   Archive — asymmetric
   ========================================================================== */
.archive { padding: 8px 0 88px; background: var(--black); }

.archive__title {
  margin: 0 0 34px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: .98;
}
.archive__title .slab { margin-top: .05em; }

.shots {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 34px;
  margin: 0; padding: 0;
  list-style: none;
}
.shot { grid-column: span 4; }
.shot--tall { grid-column: span 8; }

.shot__media {
  position: relative;
  margin: 0 0 14px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .45s var(--ease);
}
.shot--tall .shot__media { aspect-ratio: 16 / 10; }

.shot__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.004);
  transition: transform 1.15s var(--ease);
}
.shots > li:nth-child(1) .shot__media img { object-position: 55% 44%; }
.shots > li:nth-child(2) .shot__media img { object-position: 30% 48%; }
.shots > li:nth-child(3) .shot__media img { object-position: 62% 42%; }

.shot__cap { display: block; }
.shot__name {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--white);
}
.shot__meta {
  display: block;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}


/* ==========================================================================
   Reach — Bangladesh / United Kingdom
   ========================================================================== */
.reach { padding: 0 0 84px; background: var(--black); }

.reach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
.reach__rule { align-self: stretch; background: rgba(230, 48, 48, .3); }

.reach__place {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--white);
}
.reach__list {
  margin: 0;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.reach__list span { color: var(--red); margin-inline: 6px; }


/* ==========================================================================
   CTA
   ========================================================================== */
.dcta { padding: 0 0 96px; background: var(--black); }

.dcta__inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  padding-top: 56px;
  border-top: 1px solid rgba(230, 48, 48, .28);
}
.dcta__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.9vw, 3rem);
  line-height: .96;
}
.dcta__title .slab { margin-top: .04em; }

.dcta__lede {
  margin: 0 0 32px;
  font-family: var(--f-serif-body);
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .dhero__content { padding-inline: 28px; }
  .feature__grid { gap: 42px; }
  .jrow { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 240px); gap: 0 22px; }
  .radios { gap: 24px; }
  .shots { gap: 26px; }
}

@media (max-width: 900px) {
  .dhero {
    align-items: flex-end;
    padding: calc(var(--nav-h) + 200px) 0 126px;
  }
  .dhero__photo { width: 100%; }
  .dhero__photo img { object-position: 52% 34%; }
  .dhero__grade {
    background:
      linear-gradient(0deg, var(--black) 20%, rgba(10,10,10,.66) 44%, rgba(10,10,10,.06) 70%),
      linear-gradient(180deg, rgba(10,10,10,.34) 0%, rgba(10,10,10,0) 20%);
  }
  .dhero__title { font-size: clamp(2.9rem, 12vw, 4.7rem); }
  .dhero__title .script { font-size: clamp(2.2rem, 8.6vw, 3.6rem); }
  .dhero__tear { height: 64px; }

  .feature { padding: 56px 0; }
  .feature__grid { grid-template-columns: 1fr; gap: 26px; }
  .feature--flip .feature__media { order: 1; }
  .feature--flip .feature__body  { order: 2; }

  .radios { grid-template-columns: repeat(2, 1fr); }
  .radio--text { grid-column: 1 / -1; }

  .shot, .shot--tall { grid-column: span 6; }

  .reach__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .reach__rule { height: 1px; width: 100%; align-self: auto; }
}

@media (max-width: 600px) {
  .dhero__content { padding-inline: 22px; }
  .dhero { padding-top: calc(var(--nav-h) + 158px); }
  .dhero__lede { max-width: 30ch; font-size: 15.5px; }

  .jrow {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 2px;
  }
  .jrow:hover { padding-left: 6px; }

  .radios { grid-template-columns: 1fr; gap: 30px; }
  .shot, .shot--tall { grid-column: 1 / -1; }
  .shot__media, .shot--tall .shot__media { aspect-ratio: 4 / 3; }

  .feature__stat span { font-size: 27px; }
  .onair__head { margin-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .feature__media img, .radio__media img, .shot__media img,
  .feature__veil, .jrow { transition: none; }
}
