/* ============================================================
   STHIR.KALA — Home Page (Dzinr Choreography + Sage Theme)
   ============================================================ */

.hero-editorial {
  position: relative;
  padding-top: clamp(48px, 9vh, 96px);
  padding-bottom: 24px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 0.82;
  pointer-events: none;
}

.hero-mega-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-mega-svg {
  width: 100%;
  height: auto;
  color: var(--fg);
  display: block;
}

.hero-bottom-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 16vh, 170px);
}

.hero-statements {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 52px);
}

.hero-statement {
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  line-height: 1.25;
  margin: 0;
}

.hero-statement--muted {
  color: var(--fg-soft);
}

.hero-scroll-cue {
  color: var(--fg);
  display: inline-flex;
  padding: 6px;
  transition: transform 0.3s var(--ease);
}

.hero-scroll-cue:hover {
  transform: translateY(4px);
}

/* --- Showreel / Fullscreen Visual Stage --- */
.stage-band {
  position: relative;
  z-index: 2;
  padding-top: 12px;
}

.reel-frame {
  position: relative;
  height: clamp(440px, 92vh, 920px);
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
}

.reel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 15, 0.08) 0%, rgba(13, 18, 15, 0.58) 100%);
}

.reel-cursor-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f4f2ec;
  color: #141916;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.reel-frame:hover .reel-cursor-pill {
  opacity: 1;
}

.reel-overlay-caption {
  position: absolute;
  left: clamp(18px, 3.5vw, 44px);
  right: clamp(18px, 3.5vw, 44px);
  bottom: clamp(18px, 3.5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  color: #f2f0ea;
  z-index: 3;
}

.reel-overlay-caption h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
  max-width: 19ch;
}

/* --- Editorial Manifesto Band (Dzinr Spacing) --- */
.editorial-intro {
  padding-top: clamp(72px, 16vh, 180px);
  padding-bottom: clamp(64px, 12vh, 140px);
  position: relative;
}

.editorial-kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: clamp(24px, 4vw, 52px);
  margin-left: clamp(0px, 24vw, 330px);
}

.editorial-big-copy {
  font-size: clamp(1.85rem, 4.15vw, 3.75rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
  font-weight: 400;
}

.editorial-indent {
  display: inline-block;
  width: clamp(0px, 24vw, 330px);
}

.editorial-rule {
  height: 2px;
  background: var(--line);
  margin-block: clamp(44px, 6vw, 72px) 24px;
}

.editorial-split-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.editorial-split-left {
  font-size: 1.1rem;
  color: var(--fg-muted);
}

.editorial-split-right {
  max-width: 420px;
}

.editorial-split-right p {
  margin: 0 0 22px;
  color: var(--fg-muted);
}

/* --- Pinned Horizontal-Scrolling Project Gallery (Dzinr w-[400%] Signature) --- */
.h-showcase {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 80px);
}

.h-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  will-change: transform;
}

.h-lead-spacer {
  flex: 0 0 14vw;
}

.h-panel {
  flex: 0 0 min(88vw, 1240px);
  height: clamp(500px, 92vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  margin-right: 28px;
}

.h-panel--sage-dark {
  background: #132219;
  color: #f2f0ea;
}

.h-panel--cream {
  background: #f4f2ec;
  color: #1c2b21;
}

.h-panel--mist {
  background: #dce5da;
  color: #141916;
}

.h-panel--forest {
  background: #243429;
  color: #f2f0ea;
}

.h-panel-media {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.h-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h-panel-foot {
  padding: clamp(18px, 2.4vw, 28px);
}

.h-panel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.h-panel-year {
  border: 1px solid currentColor;
  padding: 2px 14px;
}

.h-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.h-panel-title-row h3 {
  font-size: clamp(2.2rem, 5.5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.h-panel-arrow {
  width: clamp(52px, 5.2vw, 68px);
  height: clamp(52px, 5.2vw, 68px);
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 10px;
}

.h-panel-arrow-in {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: currentColor;
  display: grid;
  place-items: center;
}

.h-panel-arrow svg {
  width: 26px;
  height: 26px;
  color: #132219;
  transform: rotate(-45deg);
  transition: transform 0.35s var(--ease);
}

.h-panel--cream .h-panel-arrow svg,
.h-panel--mist .h-panel-arrow svg {
  color: #f4f2ec;
}

.h-panel:hover .h-panel-arrow svg {
  transform: rotate(0deg);
}

.h-end-panel {
  flex: 0 0 85vw;
  height: clamp(500px, 92vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding-inline: clamp(24px, 5vw, 64px);
}

.h-end-panel h2 {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  letter-spacing: -0.04em;
}

.h-end-panel p {
  font-size: clamp(1.5rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 24ch;
  margin: 0;
}

@media (max-width: 1023px) {
  .h-track {
    flex-direction: column;
    gap: 24px;
    padding-inline: var(--gut);
  }

  .h-lead-spacer {
    display: none;
  }

  .h-panel,
  .h-end-panel {
    flex: none;
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  .h-panel-media {
    aspect-ratio: 16 / 11;
  }
}

/* --- Services We Provide (Dzinr 4-Card Section) --- */
.dz-svc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.dz-svc-head h2 {
  font-size: clamp(2.8rem, 7.5vw, 7.2rem);
  line-height: 0.96;
}

.dz-svc-summary {
  display: flex;
  gap: 32px;
  font-size: 16px;
}

.dz-svc-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.dz-svc-summary li {
  color: var(--fg-muted);
  transition: color 0.25s var(--ease);
}

.dz-svc-summary li:hover {
  color: var(--fg);
}

.dz-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dz-svc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 75%, transparent);
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.dz-svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--fg);
}

.dz-svc-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-top: 10px;
  filter: invert(1);
}

html.theme-light .dz-svc-card img {
  filter: none;
}

.dz-svc-card h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.dz-svc-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--fg-muted);
}

@media (max-width: 1020px) {
  .dz-svc-head {
    flex-direction: column;
  }

  .dz-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dz-svc-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Explore Collaborations & 3000+ Creator Roster --- */
.collab-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  margin-top: 44px;
}

.collab-preview {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  overflow: hidden;
}

.collab-preview-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.collab-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collab-preview-body {
  padding: 24px;
}

.collab-preview-body h3 {
  font-size: 1.65rem;
  margin-top: 8px;
}

.collab-preview-body p {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--fg-soft);
}

.collab-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.collab-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
}

.collab-stats span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 4px;
}

.collab-list {
  border-top: 1px solid var(--line);
}

.collab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 10px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-inline 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.collab-row:hover,
.collab-row.is-active {
  padding-inline: 18px;
  border-bottom-color: var(--accent);
  background: rgba(134, 163, 134, 0.08);
}

.collab-row-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
}

.collab-row-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Giant Scroll Banner ("So, are you ready to Bring Vision?") --- */
.standout-band {
  background: var(--fg);
  color: var(--bg);
  height: clamp(320px, 82vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.standout-text {
  white-space: nowrap;
  font-size: clamp(4.5rem, 16vw, 15rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  padding-inline: 18vw;
  will-change: transform;
}

/* --- Reel Modal --- */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 12, 10, 0.88);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.reel-modal[hidden] {
  display: none;
}

.reel-modal-card {
  width: 100%;
  max-width: 860px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--fg);
  padding: clamp(22px, 4vw, 38px);
  position: relative;
}

.reel-modal-slides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.reel-modal-slides img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
}

@media (max-width: 920px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }

  .collab-preview {
    position: static;
  }
}

@media (max-width: 600px) {
  .reel-modal-slides {
    grid-template-columns: 1fr;
  }
}
