/* Layer on top of the Sahil-style frame: rounded image cards, white pills,
   tight grotesk headlines, card carousel, full-bleed video, stacked topics. */
:root { --grot: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; }
body { background: #000; }

.pill { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px; background: #fff; color: #0b0b0f; font-family: var(--grot); font-weight: 500; font-size: 14.5px; text-decoration: none; transition: transform .25s, background .25s; }
.pill:hover { transform: translateY(-2px); }
.pill--ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.pill--ghost:hover { background: rgba(255, 255, 255, .22); }
.pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- hero ---------- */
.mhero { background: #000; }
.mhero__card { background: radial-gradient(70% 90% at 62% 30%, #3a6fd8 0%, #173a8f 45%, #0a1534 100%) !important; position: absolute; left: calc(var(--gutter) + 1.6vw); right: calc(11.5vw + 1.6vw); top: calc(var(--bar) + 84px); bottom: 3.5vh; border-radius: 14px; overflow: hidden; background: #0d1733; }
.mhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) brightness(.8); transform: scale(1.06); animation: drift 22s ease-in-out infinite alternate; }
.mhero__portrait { position: absolute; right: 26%; bottom: 0; height: 96%; width: auto; filter: grayscale(.1); -webkit-mask-image: linear-gradient(to top, transparent, #000 18%), linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to top, transparent, #000 18%), linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-composite: intersect; animation: drift 22s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.mhero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 23, 51, .15) 0%, rgba(13, 23, 51, .1) 35%, rgba(18, 52, 160, .78) 78%, #1238b8 100%), linear-gradient(90deg, rgba(5, 10, 30, .55), transparent 60%); }
.mhero__copy { position: absolute; left: 4.5vw; bottom: 7vh; max-width: 640px; color: #fff; z-index: 2; }
.mhero__h { margin: 14px 0 0; font-family: var(--grot); font-weight: 500; font-size: clamp(48px, 6.6vw, 104px); line-height: .98; letter-spacing: -.035em; white-space: nowrap; }
.mhero__sub { font-family: var(--grot); font-size: 16px; line-height: 1.5; margin: 18px 0 0; max-width: 46ch; opacity: .92; }
.ticker--left { margin: 0; width: 340px; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.feat { position: absolute; z-index: 2; right: 2.4vw; bottom: 7vh; width: 300px; color: #fff; text-decoration: none; font-family: var(--grot); }
.feat__k { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.feat__k::first-letter { color: var(--blue); }
.feat__img { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feat__img i { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0b0b0f; display: grid; place-items: center; font-style: normal; font-size: 16px; padding-left: 3px; }
.feat:hover .feat__img img { transform: scale(1.05); }
.feat__t { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.feat__t em { font-style: normal; opacity: .7; font-weight: 400; }

/* ---------- talks carousel ---------- */
.talks { background: #000; color: #fff; display: flex; align-items: center; }
.talks__in { width: 100%; padding: calc(var(--bar) + 84px) calc(11.5vw + 2vw) 0 calc(var(--gutter) + 2.4vw); }
.talks__top { display: flex; justify-content: space-between; align-items: center; }
.th2 { font-family: var(--grot); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -.03em; margin: 0; }
.th2 a { font-size: 14px; letter-spacing: 0; font-weight: 400; color: #a9a9b3; text-decoration: none; margin-left: 16px; }
.th2 a:hover { color: #fff; }
.slider__nav--dark { margin: 0; }
.slider__nav--dark button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #26262c; color: #fff; }
.slider__nav--dark button:hover { background: #fff; color: #000; }
.talks .slider { margin: 30px 0 22px; overflow: hidden; border-radius: 12px; }
.tcard { flex: 0 0 calc((100% - 4 * 12px) / 4.4); aspect-ratio: 2 / 3; max-height: 56vh; border-radius: 12px; position: relative; overflow: hidden; padding: 0 18px 26px; display: flex; flex-direction: column; justify-content: flex-end; text-align: center; color: #fff; transition: transform .4s; }
.tcard:hover { transform: translateY(-6px); }
.tcard::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .55)); z-index: 0; }
.tcard > * { position: relative; z-index: 1; }
.tcard--a::before { background: radial-gradient(120% 80% at 20% 0%, #4d7fff, #0f2a7a 55%, #050b24); }
.tcard--b::before { background: radial-gradient(120% 80% at 80% 10%, #9fd0ff, #2f6fd6 45%, #0b1d4f); }
.tcard--c::before { background: radial-gradient(120% 80% at 50% 0%, #6b5bff, #24187a 55%, #08051f); }
.tcard--d::before { background: radial-gradient(120% 80% at 30% 10%, #f0b45a, #9a4b16 50%, #2a0f05); }
.tcard--f::before { background: radial-gradient(120% 80% at 40% 0%, #4fe0d0, #0f6b78 50%, #04191f); }
.tcard--e::before { background: radial-gradient(120% 80% at 70% 0%, #d8dbe6, #5b6478 50%, #14171f); }
.tcard__by { font-family: var(--grot); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tcard h3 { margin: 6px 0 12px; font-family: var(--grot); font-weight: 600; font-size: 26px; line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.tcard h3 { font-size: clamp(16px, 1.35vw, 22px); }
.tcard h3 b { display: block; font-size: clamp(30px, 2.9vw, 46px); overflow-wrap: anywhere; font-weight: 600; font-stretch: condensed; letter-spacing: -.035em; }
.tcard p { font-family: var(--grot); font-size: 13px; line-height: 1.4; margin: 0; opacity: .88; }
.talks__fmt { font-family: var(--grot); font-size: 13px; color: #8c8c96; margin: 0; }

/* ---------- full-bleed video ---------- */
.watch { background: #000; color: #fff; display: grid; place-items: center; text-align: center; }
.watch__bg { position: absolute; inset: 0; overflow: hidden; }
.watch__bg img, .watch__bg iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(56.25vw, 100vh); transform: translate(-50%, -50%) scale(1.15); border: 0; object-fit: cover; pointer-events: none; }
.watch__bg iframe { z-index: 1; transform: translate(-50%, -43%) scale(1.4); }
.watch__shade { position: absolute; inset: 0; background: radial-gradient(55% 65% at 50% 50%, rgba(5, 12, 35, .72), rgba(5, 12, 35, .5) 60%, rgba(0, 0, 0, .75)), linear-gradient(0deg, rgba(0,0,0,.6), transparent 30%); z-index: 1; }
.watch__copy { position: relative; z-index: 2; max-width: 620px; padding: 0 20px; display: flex; flex-direction: column; align-items: center; }
.bigh { font-family: var(--grot); font-weight: 500; font-size: clamp(48px, 6vw, 92px); line-height: .96; letter-spacing: -.04em; margin: 0 0 18px; }
.watch__copy p:not(.eyebrow) { font-family: var(--grot); font-size: 17px; line-height: 1.5; margin: 0 0 28px; opacity: .92; }

/* ---------- stacked topics ---------- */
.topics { background: #fff; display: flex; align-items: center; }
.topics__in { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; padding: calc(var(--bar) + 84px) calc(11.5vw + 3vw) 4vh calc(var(--gutter) + 3vw); }
.dotlabel { font-family: var(--grot); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; color: #111; }
.dotlabel::first-letter { color: var(--blue); }
.stack { list-style: none; margin: 0; padding: 0; }
.stack li { font-family: var(--grot); font-weight: 500; font-size: clamp(34px, 4.1vw, 66px); line-height: 1.04; letter-spacing: -.045em; color: #0b0b0f; transition: color .3s, transform .3s; cursor: default; }
.stack li:hover { color: var(--blue); transform: translateX(10px); }
.topics__img { margin: 0; border-radius: 14px; overflow: hidden; height: 66vh; }
.topics__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- video modal ---------- */
.vmodal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .88); display: grid; place-items: center; padding: 4vw; }
.vmodal[hidden] { display: none; }
.vmodal__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; }
.vmodal__x { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 24px; line-height: 1; }

@media (max-width: 900px) {
  .mhero { min-height: 100svh; }
  .mhero__card { left: 10px; right: 10px; top: calc(var(--bar) + 74px); bottom: 10px; }
  .mhero__copy { left: 22px; right: 22px; bottom: 30px; }
  .mhero__h { white-space: normal; }
  .feat { display: none; }
  .talks__in, .topics__in { padding: 70px 22px; }
  .topics__in { grid-template-columns: 1fr; }
  .topics__img { height: 60vh; }
  .tcard { flex-basis: 68%; max-height: none; }
  .watch { min-height: 90svh; }
}

.book { display: block; width: 120px; margin: 0 auto 26px; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .7); transition: transform .4s; }
.book:hover { transform: translateY(-4px) rotate(-1deg); }
.book img { width: 100%; height: auto; }
.tcard__by { color: rgba(255, 255, 255, .85); }
