.zahir-page {
  --z-ink: #07070a;
  --z-paper: #f3f1ed;
  --z-accent: #08b8f4;
  --z-grad: linear-gradient(90deg, #08b8f4, #7b42ed, #f01da8);
  --z-gutter: clamp(1.25rem, 5vw, 5.5rem);
  --z-section: clamp(3rem, 7vw, 7rem);
  background: var(--z-ink);
  color: #fff;
}

.zahir-header,
.zahir-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem var(--z-gutter);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.zahir-header { border-bottom: 1px solid #fff2; }
.zahir-brand span { color: #ffffff9c; font-weight: 500; }
.zahir-header-link, .zahir-footer a { text-decoration: underline; text-underline-offset: .3em; }

.zahir-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem) var(--z-gutter);
  background: radial-gradient(ellipse at 85% 30%, #23133c, var(--z-ink) 70%);
}

.zahir-kicker {
  color: #ffffffa8;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.zahir-kicker::before {
  content: "";
  display: inline-block;
  width: 1.7rem;
  height: 1px;
  margin-right: .65rem;
  vertical-align: middle;
  background: var(--z-accent);
}

.zahir-hero h1, .zahir-section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.zahir-hero h1 { margin-top: 1.2rem; font-size: clamp(2.75rem, 7.2vw, 8rem); }

.zahir-hero h1 em {
  display: block;
  color: #9d75ff;
  background: var(--z-grad);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.zahir-lede {
  max-width: 32rem;
  margin-top: 1.5rem;
  color: #ffffffc9;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.zahir-reel-link {
  display: inline-block;
  margin-top: 1.4rem;
  padding: .75rem 1rem;
  border: 1px solid #fff6;
  font-weight: 750;
}

.zahir-reel-link:hover { border-color: var(--z-accent); }

.zahir-portrait {
  display: block;
  justify-self: center;
  width: 100%;
  height: auto;
  max-width: 31rem;
  max-height: 75svh;
  object-fit: contain;
}

.zahir-reel, .zahir-gallery { padding: var(--z-section) var(--z-gutter); }
.zahir-reel { background: #0b0b10; }
.zahir-section-head h2 { margin-top: .65rem; font-size: clamp(2.5rem, 6vw, 6rem); }

.zahir-video-grid, .zahir-gallery-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 4vw, 3.5rem);
}

.zahir-video-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.zahir-video-card { grid-column: span 2; margin: 0; border: 1px solid #fff2; background: #111119; }
.zahir-video-card:first-child { grid-column: 1 / -1; }
.zahir-video-card:nth-child(2), .zahir-video-card:nth-child(3) { grid-column: span 3; }

.zahir-video-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 848 / 478;
  object-fit: contain;
  background: #030306;
}

.zahir-video-featured video { max-height: 74svh; }

.zahir-video-card figcaption, .zahir-gallery figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .7rem .9rem;
  font-size: .85rem;
}

.zahir-video-card figcaption span { color: #ffffffab; font-variant-numeric: tabular-nums; }

.zahir-gallery { background: var(--z-paper); color: #0a0a0d; }
.zahir-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zahir-gallery figure { margin: 0; overflow: hidden; background: #e5e1dc; }

.zahir-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.zahir-footer {
  min-height: 0;
  border-top: 1px solid #fff2;
  color: #ffffffba;
}

@media (max-width: 760px) {
  .zahir-hero { grid-template-columns: minmax(0, 1fr); }
  .zahir-portrait { order: -1; max-width: 100%; max-height: 53svh; }
  .zahir-hero h1 { font-size: clamp(2.65rem, 10vw, 4.75rem); }
  .zahir-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zahir-video-grid > .zahir-video-card { grid-column: auto; }
  .zahir-video-grid > .zahir-video-featured,
  .zahir-video-grid > .zahir-video-card:last-child { grid-column: 1 / -1; }
  .zahir-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zahir-gallery-wide { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .zahir-brand span { display: none; }
  .zahir-video-grid { grid-template-columns: minmax(0, 1fr); }
  .zahir-video-featured video { max-height: none; }
}
