/* ============================================================
   JAQFRUIT — PAGE MODULES
   Heroes, tribe grid, schedule, timeline, faculty
   ============================================================ */

/* ---------- standard hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem, 6vw, 5.5rem)) var(--gut) clamp(3rem, 5vw, 4.5rem);
  background: var(--yellow);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .16), transparent);
}
.hero--dark { background: var(--ink); color: var(--white); --muted: rgba(255, 255, 255, .58); --rule: rgba(255,255,255,.14); }

/* oversized watermark word behind hero content */
.hero__ghost {
  position: absolute;
  right: -3vw;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-poster);
  font-size: clamp(7rem, 19vw, 20rem);
  line-height: 1;
  color: rgba(0, 0, 0, .045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero--dark .hero__ghost { color: rgba(255, 212, 0, .05); }
.hero > *:not(.hero__ghost) { position: relative; z-index: 1; }

/* ---------- cinematic video hero ---------- */
.vhero {
  position: relative;
  min-height: clamp(560px, 92vh, 940px);
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 3rem) var(--gut) clamp(2.5rem, 5vw, 4.5rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.vhero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.vhero__media video,
.vhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* No CSS filter here on purpose — a filter on a playing full-bleed video is
     re-applied every frame and pins the compositor. The scrim below does the
     mood work for free. */
}
.vhero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,11,.78) 0%, rgba(11,11,11,.35) 32%, rgba(11,11,11,.88) 88%),
    linear-gradient(90deg, rgba(11,11,11,.62), transparent 62%);
}
.vhero__inner { max-width: 1100px; }
.vhero__badge {
  width: clamp(74px, 9vw, 118px);
  filter: invert(1);
  margin-bottom: clamp(.8rem, 1.6vw, 1.3rem);
}
.vhero__title {
  font-family: var(--font-poster);
  font-size: clamp(2.7rem, 8.4vw, 8.2rem);
  line-height: .9;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--white);
}
.vhero__title em {
  font-style: normal;
  color: var(--yellow);
  display: inline-block;
}
.vhero__sub {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.3vw, 1.8rem);
  font-weight: 700;
  font-style: italic;
  color: var(--yellow);
  margin-top: 1rem;
  letter-spacing: -.01em;
}
.vhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  right: var(--gut);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  z-index: 2;
}
.scroll-hint__line {
  width: 44px; height: 1px;
  background: rgba(255, 255, 255, .4);
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  animation: sweep 2.1s var(--ease) infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
@media (max-width: 700px) { .scroll-hint { display: none; } }

/* ============================================================
   INDIAN IMPROV TRIBE HERO
   A centred title card built around the animated logo mark.
   Kept visually distinct from the Live Shows hero, which is
   full-bleed montage footage with left-aligned poster type.
   ============================================================ */
.iit-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  justify-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) var(--gut) clamp(3rem, 7vw, 6rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

/* the animated logo plays full-bleed behind everything */
.iit-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.iit-hero__media video,
.iit-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* pulled up so the mark reads in the top half and the headline gets clear
     ground beneath it rather than sitting across the lettering */
  object-position: center 26%;
  /* source is a black mark on white — inverted, the ground goes black and
     the mark goes white, so it sits flush on this hero */
  filter: invert(1);
}
.iit-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 66% 44% at 50% 26%, rgba(255, 212, 0, .14), transparent 70%),
    linear-gradient(180deg,
      rgba(11,11,11,.62) 0%,
      rgba(11,11,11,.10) 22%,
      rgba(11,11,11,.72) 52%,
      rgba(11,11,11,.96) 74%);
  pointer-events: none;
}
.iit-hero__crumb {
  position: absolute;
  top: calc(var(--nav-h) + 1.1rem);
  left: var(--gut);
  margin: 0;
  color: rgba(255, 255, 255, .5);
}
.iit-hero__crumb a:hover { color: var(--yellow); }
.iit-hero__inner { max-width: 1000px; }

.iit-hero__title {
  font-size: clamp(1.5rem, 3.6vw, 3.1rem);
  color: var(--white);
  line-height: 1.02;
}
.iit-hero__title em { font-style: normal; color: var(--yellow); }

@media (max-width: 620px) {
  .iit-hero { text-align: center; }
  .iit-hero__crumb { position: static; justify-content: center; margin-bottom: 1rem; }
}

/* ---------- animated logo badge ---------- */
.logo-badge {
  width: clamp(150px, 20vw, 230px);
  aspect-ratio: 1100 / 842;
  position: relative;
  flex: none;
}
.logo-badge video,
.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-badge--invert img { filter: invert(1); }
.logo-badge--float { animation: float-y 6s var(--ease) infinite; }

/* ---------- split intro ---------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split--sticky > :first-child { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
@media (max-width: 860px) { .split--sticky > :first-child { position: static; } }

/* ---------- big numbered list ---------- */
.numbered { display: grid; gap: 0; }
.numbered li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: baseline;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left var(--dur) var(--ease-out);
}
.numbered li:hover { padding-left: .6rem; }
.numbered li:last-child { border-bottom: 0; }
.numbered__n {
  font-family: var(--font-poster);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--orange);
  line-height: 1;
  min-width: 2.2ch;
}
.numbered__t {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .25rem;
}
.numbered__d { font-size: .9rem; line-height: 1.65; color: var(--muted); }

/* ---------- tribe / people grid ---------- */
.tribe {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .85rem;
}
.tribe__card {
  position: relative;
  background: rgba(0, 0, 0, .05);
  padding: 1.25rem 1.1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.tribe__card:hover { background: rgba(0, 0, 0, .1); transform: translateY(-4px); }
.bg-black .tribe__card { background: rgba(255, 255, 255, .06); }
.bg-black .tribe__card:hover { background: rgba(255, 255, 255, .11); }
.tribe__init {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: .75rem;
  transition: transform var(--dur) var(--ease-spring);
}
.tribe__card:hover .tribe__init { transform: rotate(-8deg) scale(1.08); }
.bg-black .tribe__init { background: var(--yellow); color: var(--ink); }
.tribe__name { font-weight: 800; font-size: .93rem; line-height: 1.2; }
.tribe__role { font-size: .76rem; color: var(--muted); margin: .15rem 0 .55rem; line-height: 1.4; }

/* ---------- performer photo cards ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(160px, 20vw, 230px), 1fr));
  gap: clamp(.7rem, 1.4vw, 1.1rem);
}

.pcard {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--g-90);
  aspect-ratio: 4 / 5;
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-4); }

.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .7s var(--ease-out), filter var(--dur) var(--ease);
  filter: saturate(.92) contrast(1.03);
}
.pcard:hover img { transform: scale(1.06); filter: none; }

/* keeps the name legible whatever the photo is doing underneath */
.pcard::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .58) 45%, rgba(0, 0, 0, .92));
  pointer-events: none;
}

.pcard__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(.7rem, 1.4vw, 1rem);
  color: #fff;
}
.pcard__name {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.1;
}
.pcard__role {
  font-size: clamp(.66rem, .88vw, .76rem);
  color: rgba(255, 255, 255, .68);
  margin-top: .2rem;
  line-height: 1.35;
}
.pcard__tag {
  display: inline-block;
  margin-top: .45rem;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- client logo wall ---------- */
.logowall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 17vw, 200px), 1fr));
  gap: clamp(.6rem, 1.2vw, 1rem);
}

.logowall__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(.7rem, 1.4vw, 1rem);
  padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(.8rem, 1.6vw, 1.2rem);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--white);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.logowall__item:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

/* fixed mark area so every logo is optically the same size regardless of its
   own intrinsic dimensions (IBM 1075x401, Goldman 64x64, GE 500x500) */
.logowall {
  --mark-h: clamp(44px, 5.5vw, 62px);
}
.logowall__mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--mark-h);
}
.logowall__mark img {
  max-width: 100%;
  /* An absolute length, not `max-height: 100%`. A percentage max-height does
     not resolve against a centred grid item, so only max-width bound and the
     square marks rendered 175px tall inside a 60px row — overflowing badly
     and reading as missing. */
  max-height: var(--mark-h);
  width: auto;
  height: auto;
  object-fit: contain;
  /* No greyscale/opacity wash either: it rendered thin wordmarks (McKinsey)
     and white-filled artwork (GE) close to invisible on a white tile. */
}
/* stand-in for clients with no public logo file */
.logowall__mark--none {
  font-family: var(--font-poster);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--g-15);
  line-height: 1;
}

.logowall__name {
  font-size: clamp(.68rem, .88vw, .78rem);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--g-50);
  text-align: center;
  line-height: 1.3;
}

/* ---------- schedule / shows ---------- */
.shows { display: grid; gap: .9rem; }
.show {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.2rem, 2.4vw, 1.9rem) clamp(1.2rem, 2.4vw, 1.9rem);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.show:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
@media (max-width: 720px) {
  .show { grid-template-columns: auto 1fr; row-gap: 1rem; }
  .show > :last-child { grid-column: 1 / -1; }
}
.show__date {
  text-align: center;
  padding-right: clamp(1rem, 3vw, 2rem);
  border-right: 1px solid var(--g-08);
  min-width: 76px;
}
.show__day {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}
.show__mon {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: .2rem;
}
.show__title { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.show__meta { font-size: .82rem; color: var(--g-50); margin-top: .25rem; }

/* ---------- journey timeline ---------- */
.timeline { position: relative; display: grid; gap: 1.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--rule);
  border-radius: 2px;
}
@media (max-width: 620px) { .timeline::before { left: 23px; } }

.tl {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: start;
}
.tl__dot {
  position: relative;
  z-index: 1;
  width: 65px; height: 65px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 0 0 5px var(--yellow), 0 6px 18px rgba(0, 0, 0, .22);
  transition: transform var(--dur) var(--ease-spring);
}
@media (max-width: 620px) { .tl__dot { width: 49px; height: 49px; } }
.tl:hover .tl__dot { transform: scale(1.06); }
.tl__kicker {
  font-size: .46rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 212, 0, .7);
  line-height: 1;
}
.tl__num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.15;
}
@media (max-width: 620px) { .tl__num { font-size: 1rem; } .tl__kicker { font-size: .4rem; } }

.tl__body {
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
  box-shadow: var(--sh-2);
}
.tl--primary .tl__body { background: var(--ink); color: var(--white); }
.tl--primary .tl__body .t-body,
.tl--primary .tl__body p { color: rgba(255, 255, 255, .68); }
.tl__label {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .35rem;
}
.tl--primary .tl__label { color: var(--yellow); }
.tl__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .3rem;
}
.tl__when { font-size: .87rem; font-weight: 700; color: var(--g-50); margin-bottom: .7rem; }
.tl--primary .tl__when { color: rgba(255, 255, 255, .75); }
.tl__where {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-top: .9rem;
  font-size: .74rem;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tl--primary .tl__where { border-color: rgba(255, 212, 0, .4); color: var(--yellow); }
.tl__where:hover { background: rgba(0, 0, 0, .05); }
.tl--primary .tl__where:hover { background: rgba(255, 212, 0, .12); }

/* ---------- faculty ---------- */
.faculty {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.fac {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: var(--sh-2);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.fac:hover { transform: translateY(-6px); box-shadow: var(--sh-4); }
.fac__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--g-08);
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
}
.fac__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.fac__photo--empty {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 900;
  color: rgba(0, 0, 0, .16);
}
.fac__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.025em;
}
.fac__role { font-size: .76rem; font-weight: 600; color: var(--g-50); margin: .2rem 0 .85rem; line-height: 1.5; }
.fac__bio { font-size: .87rem; line-height: 1.75; color: var(--g-50); }
.fac__bio + .fac__bio { margin-top: .7rem; }

/* ---------- feature blocks (why improv / what's in it) ---------- */
.feature-list { display: grid; gap: .65rem; }
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.4;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease);
}
.feature:hover { transform: translateX(6px); background: #171717; }
.feature__n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  min-width: 1.9ch;
}

.qbox {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
}
.qbox__q {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: .5rem;
}
.qbox__a { font-size: .93rem; line-height: 1.7; color: rgba(255, 255, 255, .78); }

/* ---------- brand tiles ---------- */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: .7rem;
}
.brand {
  display: grid;
  place-items: center;
  height: 68px;
  padding: .5rem .9rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, .03);
  text-align: center;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.brand:hover { background: rgba(0, 0, 0, .08); transform: translateY(-3px); }
.bg-black .brand { background: rgba(255, 255, 255, .04); }
.bg-black .brand:hover { background: rgba(255, 255, 255, .09); }
.brand span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.25;
}

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (max-width: 620px) { .cats { grid-template-columns: 1fr; } }
.cat {
  position: relative;
  background: rgba(0, 0, 0, .05);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
  overflow: hidden;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.cat:hover { background: rgba(0, 0, 0, .1); transform: translateY(-4px); }
.cat__n {
  font-family: var(--font-poster);
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(0, 0, 0, .12);
  margin-bottom: .4rem;
  transition: color var(--dur) var(--ease);
}
.cat:hover .cat__n { color: var(--orange); }
.cat h4 { font-size: 1rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: .3rem; }
.cat p { font-size: .84rem; line-height: 1.6; color: var(--muted); }

/* ---------- pull quote ---------- */
.pull {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 20ch;
}
.pull--center { max-width: 24ch; margin-inline: auto; text-align: center; }
