/* extras.css — Insta background film, shrine-arch reels, and the About page treatment.
   Loaded after site.css; only adds and overrides, never edits the original. */

/* ================= INSTA: background film ================= */
.brk { isolation: isolate; }
.brk__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.brk__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.15) contrast(1.05);
  transition: opacity 1.4s ease;
}
.brk__bg.is-ready video { opacity: .42; }
/* keeps the copy readable and melts the top and bottom edges into the neighbours */
.brk__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#000, transparent 18%, transparent 80%, var(--velvet-deep, #1c020a) 100%),
    linear-gradient(90deg, rgba(7, 7, 13, .94) 0, rgba(7, 7, 13, .72) 38%, rgba(7, 7, 13, .25) 70%, rgba(7, 7, 13, .45) 100%),
    radial-gradient(60% 50% at 80% 45%, rgba(255, 178, 26, .14), transparent 70%);
}
@media (max-width: 980px) {
  .brk__bg::after {
    background:
      linear-gradient(#000, rgba(7,7,13,.75) 20%, rgba(7,7,13,.55) 55%, rgba(7,7,13,.8) 100%);
  }
}

/* ================= INSTA: real phones, real reels ================= */
/* A modern handset with the footage playing on it and Instagram's own reel chrome on top.
   The section's original tilt and hover lift are kept as they were. */
.phone__body {
  width: clamp(190px, 18vw, 262px);
  padding: 7px;
  border-radius: 46px;
  background: linear-gradient(145deg, #4a4a50 0, #1c1c20 18%, #0b0b0d 50%, #1c1c20 82%, #3a3a40 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 0 0 2.5px #050506,
    0 40px 70px -10px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(0, 0, 0, .6);
}
/* side buttons */
.phone__body::before,
.phone__body::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2a2a2e, #55555c);
}
.phone__body::before { left: -2px; top: 22%; height: 9%; }
.phone__body::after { right: -2px; top: 28%; height: 14%; }
/* dynamic island instead of the cartoon notch */
.phone__notch {
  top: 15px;
  width: 30%;
  height: 21px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.phone__screen {
  border-radius: 39px;
  background: #000;
  /* forces the playing video to respect the rounded glass inside a rotated parent */
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
  mask-image: radial-gradient(#fff, #000);
}

.phone__poster {
  padding: 0;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
  background: #000;
  border-radius: inherit;
  overflow: hidden;
}
.phone .mandala { display: none; }
.reel__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s;
}
.reel__vid.is-ready { opacity: 1; }
/* Instagram's own shading so white UI stays legible over any frame */
.phone__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0,0,0,.45), transparent 16%, transparent 55%, rgba(0,0,0,.75) 100%);
}
.reel-ui { position: absolute; inset: 0; z-index: 2; color: #fff; font: 400 11px/1.3 -apple-system, "Helvetica Neue", Arial, sans-serif; pointer-events: none; }
.reel-ui svg { display: block; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reel-top {
  position: absolute;
  left: 0; right: 0; top: 44px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 14px;
  font-weight: 700; font-size: 15px;
}
.reel-top i { width: 20px; height: 20px; }
.reel-side {
  position: absolute;
  right: 9px; bottom: 74px;
  display: grid; gap: 15px; justify-items: center;
}
.reel-side i { width: 22px; height: 22px; }
.reel-side b { width: 22px; height: 22px; border-radius: 5px; border: 1.6px solid #fff; background: linear-gradient(135deg, #b0123f, #ffb21a); }
.reel-cap {
  position: absolute;
  left: 12px; right: 46px; bottom: 16px;
  display: grid; gap: 6px;
}
.reel-who { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12px; }
.reel-av {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: #000; color: var(--sub);
  font: 400 13px/1 var(--hindi);
  box-shadow: 0 0 0 1.5px #fff;
}
.reel-follow { padding: 2px 8px 3px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); font-weight: 600; font-size: 11px; }
.reel-audio { display: flex; align-items: center; gap: 5px; opacity: .9; font-size: 11px; }
.reel-audio i { width: 11px; height: 11px; }
.reel-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.25); }
.reel-bar span { display: block; height: 100%; width: var(--p, 0%); background: #fff; }

/* the original title pieces become the reel's own on-screen text and caption */
.phone__part { display: none; }
.phone__hi {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; top: 38%;
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 2.4vw, 34px);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}
.phone__title {
  position: static;
  margin: 0;
  font: 400 11.5px/1.35 -apple-system, "Helvetica Neue", Arial, sans-serif;
  text-transform: none;
  color: rgba(255, 255, 255, .92);
}
.phone__play {
  z-index: 3;
  top: 50%;
  width: 56px; height: 56px;
  background: rgba(0, 0, 0, .35);
  box-shadow: none;
  opacity: .9;
}
.phone__play::after { left: 21px; top: 17px; border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }

@media (max-width: 600px) {
  .phone__body { width: clamp(150px, 42vw, 182px); padding: 5px; border-radius: 34px; }
  .phone__screen { border-radius: 29px; }
  .phone__notch { top: 11px; height: 15px; }
  .reel-top { top: 32px; font-size: 12px; padding: 0 10px; }
  .reel-top i { width: 16px; height: 16px; }
  .reel-side { right: 6px; bottom: 60px; gap: 11px; }
  .reel-side i, .reel-side b { width: 17px; height: 17px; }
  .reel-cap { left: 9px; right: 32px; bottom: 12px; }
  .reel-follow, .reel-audio span { display: none; }
  .phone__title { font-size: 10px; }
  .phone__hi { font-size: 22px; }
  .phone__play { width: 46px; height: 46px; }
  .phone__play::after { left: 17px; top: 13px; border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }
}

/* ================= ABOUT: the director's proof sheet ================= */
.about { position: relative; }
/* registration marks, like a print proof */
.about::before,
.about::after {
  content: "";
  position: absolute;
  top: 36px;
  width: 26px;
  height: 26px;
  pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat,
    radial-gradient(circle, transparent 0 6px, var(--ink) 6.5px 7.5px, transparent 8px);
  opacity: .35;
}
.about::before { left: 18px; }
.about::after { right: 18px; }

/* title: a pixel lens lives on top of it */
.about__title { position: relative; }
.px-lens {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  image-rendering: pixelated;
  --lx: 50%;
  --ly: 50%;
  --lr: 0px;
  -webkit-mask: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 99%, transparent 100%);
  mask: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 99%, transparent 100%);
}
.px-tip {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  font: 600 11px/1 var(--text);
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--light);
  white-space: nowrap;
  text-transform: none;
  opacity: 0;
  transform: translate(-50%, 0);
  transition: opacity .2s;
}
.about__title.is-lensing .px-tip { opacity: 1; }

/* principle: the outline inks itself in as you scroll past */
.principle span:first-child {
  background: linear-gradient(var(--ink), var(--ink)) 0 0 / var(--fill, 0%) 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}

/* offer: each column opens on its word in Hindi, set like a film-poster title */
.offer__grid { gap: 40px 28px; }
.offer__grid .offer__hi {
  margin: 0 0 10px;
  font: 400 clamp(22px, 2vw, 30px)/1.1 var(--poster);
  color: #b0123f;
}

/* career: an edit timeline with a playhead */
.career__list { position: relative; padding-left: 30px; }
.career__list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-ink);
}
.career__rail {
  position: absolute;
  left: 8px;
  top: 0;
  width: 1px;
  height: var(--prog, 0%);
  background: #b0123f;
  pointer-events: none;
}
.career__rail::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: -6px;
  width: 11px;
  height: 11px;
  background: #b0123f;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.career__list li {
  position: relative;
  isolation: isolate;
  padding-left: 14px;
  padding-right: 14px;
}
.career__list li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 34px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--light);
  box-shadow: inset 0 0 0 1.5px #9a9caa;
  transition: background .3s, box-shadow .3s;
}
.career__list li.is-passed::before { background: #b0123f; box-shadow: none; }
@media (max-width: 860px) {
  .career__list { padding-left: 24px; }
  .career__list li::before { left: -20px; top: 28px; }
  .career__list::before, .career__rail { left: 6px; }
}

/* toolkit: each tool gets its own label */
.kit__chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.kit__chip {
  display: inline-block;
  padding: 4px 10px 5px;
  border-radius: 3px;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: inset 0 0 0 1px var(--line-ink);
}

@media (prefers-reduced-motion: reduce) {
  .brk__bg video { display: none; }
  .reel__vid { display: none; }
}
