/* ============================================================
   OII4 STREAM PAGE
   Editorial + Cinematic + Institutional
============================================================ */

.stream-single {
  background:
    radial-gradient(circle at top left, rgba(217,178,111,0.08), transparent 34%),
    #ffffff;
}

/* ============================================================
   HERO
============================================================ */

.stream-hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #061525;
  color: #ffffff;
}

.stream-hero__media {
  position: absolute;
  inset: 0;
}

.stream-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stream-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6,21,37,0.18) 0%,
      rgba(6,21,37,0.56) 48%,
      rgba(6,21,37,0.96) 100%
    ),
    radial-gradient(circle at 15% 20%, rgba(217,178,111,0.26), transparent 36%);
}

.stream-hero__content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1180px;

  padding-block: 12rem 5rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stream-hero__content > * {
  max-width: 980px;
}

.stream-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.stream-hero__eyebrow a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.stream-hero .oii-kicker {
  color: #f7d7a2;
}

.stream-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.stream-hero p {
  max-width: 680px;
  margin-top: 1.8rem;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.9;
}

/* ============================================================
   OVERVIEW
============================================================ */

.stream-overview {
  position: relative;
  overflow: hidden;
}

.stream-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.stream-overview__intro {
  position: sticky;
  top: 120px;
}

.stream-overview__intro h2 {
  margin: 0;
  color: #071b2f;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.stream-overview__content {
  max-width: 860px;
}

.stream-overview__content p {
  color: rgba(15,23,42,0.78);
  font-size: 1.08rem;
  line-height: 1.95;
}

.stream-overview__content p + p {
  margin-top: 1.25rem;
}

/* ============================================================
   SECTION HEAD
============================================================ */

.stream-section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}

.stream-section-head h2 {
  margin: 0;
  color: #071b2f;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.stream-section-head p {
  margin-top: 1rem;
  color: rgba(15,23,42,0.72);
  line-height: 1.85;
}

/* ============================================================
   PROGRAMS
============================================================ */

.stream-programs {
  background:
    radial-gradient(circle at top left, rgba(217,178,111,0.10), transparent 36%),
    #f8fafc;
}

.stream-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stream-program-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.stream-program-card__media {
  display: block;
  min-height: 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(217,178,111,0.24), transparent 34%),
    linear-gradient(135deg, #061525, #17385a);
}

.stream-program-card__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 800ms ease;
}

.stream-program-card:hover .stream-program-card__media img {
  transform: scale(1.06);
}

.stream-program-card__body {
  padding: 1.5rem;
}

.stream-program-card__body span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #b9784f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stream-program-card__body h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.stream-program-card__body h3 a {
  color: #071b2f;
  text-decoration: none;
}

.stream-program-card__body p {
  margin-top: 1rem;
  color: rgba(15,23,42,0.72);
  line-height: 1.8;
}

.stream-program-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.stream-program-card__chips small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ============================================================
   PROJECTS
============================================================ */

.stream-project-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.stream-project-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.stream-project-card--featured {
  grid-row: span 2;
}

.stream-project-card__media {
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(217,178,111,0.24), transparent 34%),
    linear-gradient(135deg, #061525, #17385a);
}

.stream-project-card__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 800ms ease;
}

.stream-project-card--featured .stream-project-card__media img {
  min-height: 520px;
}

.stream-project-card:hover .stream-project-card__media img {
  transform: scale(1.06);
}

.stream-project-card__body {
  padding: 1.5rem;
}

.stream-project-card__body span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #b9784f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stream-project-card__body h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.stream-project-card__body h3 a {
  color: #071b2f;
  text-decoration: none;
}

.stream-project-card__body p {
  margin-top: 1rem;
  color: rgba(15,23,42,0.72);
  line-height: 1.8;
}

/* ============================================================
   EVIDENCE
============================================================ */

.stream-evidence {
  background:
    radial-gradient(circle at top left, rgba(217,178,111,0.10), transparent 36%),
    #f8fafc;
}

.stream-evidence-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.stream-evidence-card {
  grid-column: span 4;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15,23,42,0.08);
}

.stream-evidence-card--featured {
  grid-column: span 8;
  grid-row: span 2;
}

.stream-evidence-card__media {
  display: block;
  overflow: hidden;
}

.stream-evidence-card__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 800ms ease;
}

.stream-evidence-card--featured .stream-evidence-card__media img {
  min-height: 520px;
}

.stream-evidence-card:hover .stream-evidence-card__media img {
  transform: scale(1.06);
}

.stream-evidence-card__body {
  padding: 1.5rem;
}

.stream-evidence-card__meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.stream-evidence-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

.stream-evidence-card__body h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.stream-evidence-card__body h3 a {
  color: #071b2f;
  text-decoration: none;
}

.stream-evidence-card__body p {
  margin-top: 1rem;
  color: rgba(15,23,42,0.72);
  line-height: 1.8;
}

/* ============================================================
   GALLERY
============================================================ */

.stream-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.stream-gallery__grid figure {
  overflow: hidden;
  border-radius: 24px;
  margin: 0;
  background: #061525;
}

.stream-gallery__grid figure:nth-child(1) {
  grid-column: span 6;
  grid-row: span 2;
}

.stream-gallery__grid figure:nth-child(2),
.stream-gallery__grid figure:nth-child(3) {
  grid-column: span 3;
}

.stream-gallery__grid figure:nth-child(n+4) {
  grid-column: span 4;
}

.stream-gallery__grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 800ms ease;
}

.stream-gallery__grid figure:hover img {
  transform: scale(1.06);
}

/* ============================================================
   LINKS
============================================================ */

.stream-link {
  display: inline-flex;
  margin-top: 1.25rem;
  color: #b9784f;
  font-weight: 800;
  text-decoration: none;
}

.stream-link:hover,
.stream-link:focus-visible {
  color: #071b2f;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

  .stream-overview__grid {
    grid-template-columns: 1fr;
  }

  .stream-overview__intro {
    position: static;
  }

  .stream-program-grid,
  .stream-project-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stream-project-card--featured {
    grid-row: auto;
  }

  .stream-evidence-card,
  .stream-evidence-card--featured {
    grid-column: span 6;
    grid-row: auto;
  }
}

@media (max-width: 768px) {

  .stream-program-grid,
  .stream-project-showcase,
  .stream-evidence-collage,
  .stream-gallery__grid {
    grid-template-columns: 1fr;
  }

  .stream-gallery__grid figure,
  .stream-gallery__grid figure:nth-child(1),
  .stream-gallery__grid figure:nth-child(2),
  .stream-gallery__grid figure:nth-child(3),
  .stream-gallery__grid figure:nth-child(n+4),
  .stream-evidence-card,
  .stream-evidence-card--featured {
    grid-column: span 1;
    grid-row: auto;
  }

  .stream-hero {
    min-height: 78svh;
  }

  .stream-hero__content {
    padding-block: 10rem 4rem;
  }

  .stream-hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }
}

.stream-resources--compact {
  background:
    radial-gradient(circle at top left, rgba(217,178,111,0.08), transparent 34%),
    #ffffff;
}

.stream-resources__inner {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 34px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.08);
}

.stream-resources__head h2 {
  margin: 0;
  color: #071b2f;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.stream-resource-list {
  display: grid;
  gap: 0.85rem;
}

.stream-resource-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 14px 34px rgba(15,23,42,0.05);
}

.stream-resource-item__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.stream-resource-item__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.68);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stream-resource-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.stream-resource-item h3 a {
  color: #071b2f;
  text-decoration: none;
}

.stream-resource-item__link {
  white-space: nowrap;
  color: #b9784f;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 860px) {
  .stream-resources__inner {
    grid-template-columns: 1fr;
  }

  .stream-resource-item {
    grid-template-columns: 1fr;
  }
}