/* ===== 1. BASICS (colours here) ===== */
:root {
  --bg: #07070a;
  --card: #14141a;
  --text: #f4f1ea;
  --mut: #a9a9b3;
  --acc: #e5132b;
  --pad: 6vw
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, sans-serif;
  overflow-x: hidden
}

body:not(.ready) {
  overflow: hidden;
  height: 100vh
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  background: none
}

h1,
h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: .95
}

section {
  padding: 90px var(--pad);
  max-width: 1300px;
  margin: auto;
  width: 100%
}

#app {
  display: flex;
  flex-direction: column
}

#home {
  order: -2
}

/* =========================================
   CONTINUE EXPLORING — CINEMATIC CARD RAIL
========================================= */

/* ===== CONTINUE EXPLORING ===== */
#continue {
  order: -1;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 70px 0 40px;
}

.c-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 3.7vw;
  margin-bottom: 26px;
}

.c-head h3 {
  font: 800 1.8rem/1.2 Inter, sans-serif;
  letter-spacing: -.03em;
  margin: 0;
}

.c-head p {
  color: #6f6f7a;
  font-size: .8rem;
}

.c-wrap { position: relative; }

#continue .rail {
  gap: 20px;
  padding: 6px 3.7vw 18px;
  scroll-padding-left: 3.7vw;
  scrollbar-width: none;
}

#continue .rail::-webkit-scrollbar { display: none; }

/* one card (button) = the picture + the red bar under it */
#continue .cc {
  position: relative;
  display: block;
  width: clamp(260px, 22vw, 440px);
  height: clamp(204px, 13.2vw, 254px);
  padding: 0;
  background: none;
  overflow: visible;
  text-align: left;
  transition: transform .3s;
}

#continue .cc:hover { transform: translateY(-5px); }

/* the picture */
#continue .face {
  position: absolute;
  inset: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(to bottom, transparent 35%, rgba(5, 5, 8, .85)),
    radial-gradient(circle at 80% 0%, var(--via), transparent 70%),
    var(--from);
  transition: border-color .3s;
}

/* fine scan-line texture */


#continue .cc:hover .face { border-color: rgba(255, 255, 255, .3); }

/* big faded word in the corner (CV, ★, 10 ...) */
#continue .wm {
  position: absolute;
  top: -2%;
  right: -2%;
  font: normal clamp(7rem, 9vw, 11rem)/1 'Bebas Neue', sans-serif;
  color: rgba(255, 255, 255, .1);
  pointer-events: none;
}

/* round play button */
#continue .play {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-size: .7rem;
  color: #fff;
  background: rgba(10, 10, 14, .55);
  border: 1px solid rgba(255, 255, 255, .4);
  transition: background .25s, border-color .25s;
}

#continue .cc:hover .play {
  background: var(--acc);
  border-color: var(--acc);
}

#continue .face small {
  position: relative;
  z-index: 1;
  color: #ff3355;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .3em;
  margin-bottom: 4px;
}

#continue .face strong {
  position: relative;
  z-index: 1;
  font: normal clamp(1.7rem, 2vw, 2.4rem)/1 'Bebas Neue', sans-serif;
  color: #f4f1ea;
  text-transform: uppercase;
}

/* small line that slides in on hover */
#continue .face em {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-style: normal;
  font-size: .8rem;
  color: #9a9aa5;
  transition: max-height .3s, opacity .3s, margin .3s;
}

#continue .cc:hover .face em {
  max-height: 24px;
  opacity: 1;
  margin-top: 6px;
}

/* red progress bar under the card */
#continue .bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
}

#continue .bar u {
  display: block;
  height: 100%;
  width: 0;
  text-decoration: none;
  background: linear-gradient(90deg, #c4001f, #f0143d);
  transition: width 1.2s;
}

/* left / right arrows */
.arr {
  position: absolute;
  top: 0;
  bottom: 18px;
  z-index: 5;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  opacity: 0;
  transition: opacity .25s;
}

.arr.l { left: 0;  background: linear-gradient(90deg,  rgba(7, 7, 10, .85), transparent); }
.arr.r { right: 0; background: linear-gradient(-90deg, rgba(7, 7, 10, .85), transparent); }

.c-wrap:hover .arr { opacity: 1; }
.c-wrap.at-start .arr.l,
.c-wrap.at-end .arr.r { opacity: 0 !important; pointer-events: none; }

@media (max-width: 800px) {
  .arr { display: none; }
  .c-head { flex-direction: column; gap: 4px; }
  #continue .cc { width: 78vw; }
}

/* =============================== */


#final {
  order: 99
}

h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 26px
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 14px
}

.sub {
  margin-top: 36px
}

.k {
  color: var(--acc);
  font-size: .72rem;
  letter-spacing: .35em;
  font-weight: 600;
  text-transform: uppercase
}

.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s, transform .8s
}

.rv.show {
  opacity: 1;
  transform: none
}

/* ===== 2. OPENING & PROFILE SELECT ===== */
#open,
#who {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity .8s
}

#open.gone,
#who:not(.on) {
  opacity: 0;
  pointer-events: none
}

#who {
  z-index: 99;
  background: radial-gradient(circle at 50% 30%, #1a0508, #000 70%)
}

#open>* {
  position: absolute;
  opacity: 0;
  transition: opacity 1s
}

.l1 {
  letter-spacing: .5em;
  font-size: .8rem;
  color: var(--mut)
}

.l2 {
  font-size: clamp(4rem, 16vw, 13rem);
  letter-spacing: .02em
}

.l3 {
  color: var(--acc);
  letter-spacing: .7em;
  font-weight: 600;
  margin-top: min(24vw, 170px)
}

#open[data-step="1"] .l1,
#open[data-step="2"] .l2,
#open[data-step="3"] .l2,
#open[data-step="3"] .l3 {
  opacity: 1
}

#skip {
  top: 22px;
  right: 24px;
  font-size: .7rem;
  letter-spacing: .2em;
  border: 1px solid #444;
  padding: 8px 14px;
  border-radius: 20px;
  opacity: 1 !important
}

#who h2 {
  font-family: Inter;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 34px
}

#profiles {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center
}

.pf {
  width: 130px;
  color: var(--mut);
  transition: .25s
}

.pf:hover {
  color: #fff;
  transform: scale(1.08)
}

.pf i {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  border-radius: 10px;
  font: normal 3rem 'Bebas Neue';
  background: var(--c);
  border: 3px solid transparent;
  overflow: hidden
}

.pf:hover i {
  border-color: #fff
}

.pf i img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top
}

.pf small {
  display: block;
  font-size: .7rem;
  margin-top: 4px
}

.note {
  color: var(--mut);
  font-size: .8rem;
  margin-top: 40px;
  max-width: 380px
}

#fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .7
}

#cur {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--acc);
  border-radius: 50%;
  z-index: 300;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
   display: none !important;
}

#cur.big {
  width: 56px;
  height: 56px;
  background: rgba(229, 19, 43, .2)
}

@media(pointer:fine) {
  body.ready #cur {
    display: block
  }
}

/* ===== 3. NAV ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 16px var(--pad);
  transition: transform .35s, background .3s
}

#nav.solid {
  background: rgba(7, 7, 10, .92);
  backdrop-filter: blur(10px)
}

#nav.hide {
  transform: translateY(-100%)
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .32em;
  color: #b4b4bd;          /* grey SERIES word */
}

.logo b {
  font: 800 1.5rem/1 Inter, sans-serif;   /* big bold red A */
  letter-spacing: 0;
  color: var(--acc);
  margin: 0;
}

#links {
  display: flex;
  gap: 20px;
  flex: 1
}

#links a {
  font-size: .85rem;
  color: var(--mut)
}

#links a:hover,
#links a.on {
  color: #fff
}

/* ===== 4. BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  background: var(--text);
  color: #000;
  font-weight: 600;
  margin: 0 10px 10px 0;
  transition: transform .2s
}

.btn.ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff
}

.btn.sm {
  padding: 7px 16px;
  font-size: .75rem;
  letter-spacing: .15em;
  margin: 0;
  background: none;
  color: #fff;
  border: 1px solid #666;
  border-radius: 20px
}

.btn:hover {
  transform: translateY(-3px)
}

/* ===== 5. HERO ===== */
.hero {
  max-width: none;
  padding: 110px 30px 0 5px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(229, 19, 43, 0.28),
      transparent 45%
    ),
    var(--bg);
}
.hero-title {
  font-size: clamp(5.4rem, 15vw, 13rem);
  letter-spacing: 3px;
}

.hero-text {
  padding-bottom: 0;
  position: relative;
  z-index: 2;
  align-self: center;
  margin-left: 50px;
}
.eyebrow {
  margin-left: 10px;
}

.eyebrow,
.series {
  color: var(--acc);
  letter-spacing: .4em;
  font-size: .78rem;
  font-weight: 600
  
}

#big {
  font-size: clamp(5.4rem, 12vw, 13rem);
  letter-spacing: 3px;
  line-height: 0.95;

  text-transform: uppercase;
  margin-left: 0;
  background: linear-gradient(90deg, #f5f2ec 35%, #ff6688 55%, #f5f2ec 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.series {
  font-size: 1rem;
  font-weight: 700;
  margin: 6px 0 14px
}

.meta {
  color: var(--mut);
  font-size: .85rem
}

.role {
  letter-spacing: .25em;
  font-size: .78rem;
  font-weight: 600;
  margin: 14px 0
}

.lead {
  color: #cfcfd6;
  max-width: 630px;
  margin-bottom: 26px
}

.portrait {
  position: relative;
  top: -60px;    
  justify-self: center;
  width: 100%;
  max-width: 540px;
  transition: transform .1s
}

.portrait img {
  width: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent)
}

.chip {
  position: absolute;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(20, 20, 26, .8);
  backdrop-filter: blur(6px);
  border: 1px solid #333;
  font-size: .75rem;
  font-weight: 600;
  animation: fl 5s ease-in-out infinite
}

.c1 {
  top: 14%;
  right: -4%
}

.c2 {
  top: 42%;
  left: -6%;
  animation-delay: 1s
}

.c3 {
  bottom: 22%;
  right: 0;
  animation-delay: 2s
}

@keyframes fl {
  50% {
    transform: translateY(-12px)
  }
}

body.ready .hero-text,
body.ready .portrait {
  animation: rise 1.1s both
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(50px)
  }
}

/* ===== 6. RAILS & CARDS ===== */
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent
}

.rail>* {
  scroll-snap-align: start;
  flex: none
}

.cc {
  width: 230px;
  height: 130px;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform .25s;
  text-align: left;
  background: var(--bg)
}

.cc:hover {
  transform: scale(1.06)
}

.cc b {
  font-size: 1rem
}

.cc small {
  color: #ddd;
  font-size: .7rem
}

.cc u {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: var(--acc);
  width: 0;
  transition: width 1.2s
}

.pc {
  width: min(78vw, 430px);
  min-height: 380px;
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .2s, box-shadow .3s;
  will-change: transform
}

.pc:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, .7)
}

.pc small,
.ep small {
  letter-spacing: .2em;
  font-size: .68rem;
  opacity: .85
}

.pc h3 {
  font: normal clamp(2.2rem, 4vw, 3.2rem)/1 'Bebas Neue';
  margin: 6px 0
}

.pc p {
  color: #e3e3e6;
  font-size: .9rem;
  margin-bottom: 12px
}

.tags span {
  display: inline-block;
  font-size: .68rem;
  padding: 3px 10px;
  margin: 0 6px 6px 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .14)
}

.more {
  display: grid;
  place-items: center;
  width: 230px;
  min-height: 380px;
  border: 1px dashed #444;
  border-radius: 14px;
  text-align: center;
  color: var(--mut)
}

/* ===== 7. ABOUT / JOURNEY / PICKS ===== */
.quote {
  font: italic clamp(1.4rem, 3vw, 2.2rem)/1.3 'Instrument Serif', serif;
  max-width: 850px
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 30px 0 16px
}

.facts div {
  background: var(--card);
  padding: 16px;
  border-radius: 10px;
  font-size: .9rem
}

.facts span {
  display: block;
  color: var(--acc);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px
}

.tabs button {
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--card);
  font-size: .8rem;
  color: var(--mut)
}

.tabs .on {
  background: #fff;
  color: #000
}

.syn {
  color: var(--mut);
  max-width: 620px;
  margin-bottom: 20px
}

.eps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px
}

.ep {
  border-radius: 12px;
  padding: 22px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: rise .6s both
}

.ep h4 {
  font: normal 1.9rem 'Bebas Neue'
}

.ep p {
  font-size: .85rem;
  color: #ddd;
  margin: 4px 0 8px
}

.picks .tp {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 10px
}

.picks .n {
  font: normal 9rem/1 'Bebas Neue';
  color: transparent;
  -webkit-text-stroke: 3px #555;
  margin-right: -26px
}

.picks .tc {
  width: 170px;
  height: 240px;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  transition: transform .25s
}

.tc:hover {
  transform: scale(1.08)
}

.tc small {
  font-size: .62rem;
  letter-spacing: .15em;
  opacity: .8
}

.tc b {
  font: normal 1.6rem/1 'Bebas Neue'
}

.tc span {
  font-size: .7rem;
  color: #ddd
}

/* ===== 8. SKILLS / ACHIEVEMENTS / STORY / FINAL ===== */
.skills {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 34px
}

#cats button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  color: #777;
  border-left: 3px solid transparent;
  font-size: 1.15rem
}

#cats .on {
  color: #fff;
  border-color: var(--acc)
}

#cats small {
  display: block;
  font-size: .68rem;
  color: var(--mut)
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px
}

.tiles button {
  background: var(--card);
  border: 1px solid #26262e;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  transition: .2s
}

.tiles button:hover,
.tiles .on {
  border-color: var(--acc);
  transform: translateY(-3px)
}

.tiles i {
  display: inline-block;
  font: normal 1rem 'Bebas Neue';
  background: rgba(229, 19, 43, .18);
  color: #ff5568;
  padding: 2px 8px;
  border-radius: 5px;
  margin-bottom: 8px
}

.tiles em {
  font-size: .6rem;
  color: var(--acc);
  margin-left: 6px;
  font-style: normal
}

.ev {
  margin-top: 18px;
  color: var(--mut);
  font-size: .9rem;
  min-height: 3em
}

.posters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px
}

.po {
  background: linear-gradient(160deg, #2a1b05, #101014);
  border: 1px solid #3a2c10;
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  transition: transform .25s
}

.po:hover {
  transform: translateY(-6px)
}

.po small {
  color: #ffb547;
  letter-spacing: .25em;
  font-size: .65rem;
  text-transform: uppercase
}

.po h4 {
  font: normal 2.2rem 'Bebas Neue';
  margin: 8px 0 0
}

.po b {
  color: var(--mut);
  font-size: .85rem
}

.po p {
  font-size: .82rem;
  color: #bbb;
  margin-top: 10px
}

.certs a {
  width: 230px;
  background: var(--card);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #26262e
}

.certs a:hover {
  border-color: var(--acc)
}

.certs small {
  color: var(--acc);
  font-size: .65rem;
  letter-spacing: .15em
}

.tl {
  display: grid;
  gap: 14px;
  margin-bottom: 20px
}

.tl div {
  border-left: 3px solid var(--acc);
  padding-left: 16px
}

.tl small {
  color: var(--mut)
}



/* ===== 9. OVERLAYS (reel, project, resume) ===== */
.ov {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
  overflow-y: auto
}

.ov.on {
  opacity: 1;
  pointer-events: auto
}

.x {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-size: 1.1rem
}

#reel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #2a0610, #000 70%)
}

#bars {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 80px;
  display: flex;
  gap: 5px;
  z-index: 5
}

#bars i {
  flex: 1;
  height: 3px;
  background: #444;
  border-radius: 3px;
  overflow: hidden
}

#bars b {
  display: block;
  height: 100%;
  width: 0;
  background: #fff
}

#slide {
  text-align: center;
  max-width: 760px;
  padding: 30px;
  animation: rise .6s both
}

#slide h2 {
  font-size: clamp(3.5rem, 10vw, 8rem)
}

#slide p {
  color: #d0d0d6;
  font-size: 1.1rem;
  margin-top: 8px
}

.zl,
.zr {
  position: fixed;
  top: 60px;
  bottom: 0;
  width: 30%
}

.zl {
  left: 0
}

.zr {
  right: 0
}

#mbody {
  max-width: 900px;
  margin: auto;
  padding: 90px var(--pad) 60px
}

#mbody h2 {
  font-size: clamp(3rem, 8vw, 6rem)
}

.big-g {
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  z-index: -1;
  opacity: .7
}

.mets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 26px 0
}

.mets div {
  background: rgba(255, 255, 255, .07);
  padding: 16px;
  border-radius: 10px
}

.mets b {
  font: normal 2.4rem 'Bebas Neue';
  display: block;
  color: var(--a)
}

.mets span {
  font-size: .75rem;
  color: #ccc
}

#mbody ul {
  margin: 8px 0 20px 20px;
  color: #ddd
}

#mbody li {
  margin-bottom: 6px
}

#mbody h4 {
  margin-top: 22px;
  letter-spacing: .2em;
  font-size: .75rem;
  color: var(--a)
}

.rbox {
  max-width: 900px;
  height: 100%;
  margin: auto;
  padding: 70px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.rbox iframe {
  flex: 1;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #fff
}

/* ===== 10. PHONE ===== */
@media(max-width:800px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 90px
  }

  .hero-text {
    padding-bottom: 0
  }

  .lead {
    margin: 0 auto 24px
  }

  .chip {
    display: none
  }

  #links {
    display: none
  }

  .skills {
    grid-template-columns: 1fr
  }

  #cats {
    display: flex;
    overflow-x: auto
  }

  #cats button {
    white-space: nowrap
  }

  .picks .n {
    font-size: 6rem
  }

  #nav {
    justify-content: space-between
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }

  .rv {
    opacity: 1;
    transform: none
  }
}



/* ==== ===== */
/* ===== FOOTER: TO BE CONTINUED ===== */
#final {
  position: relative;
  max-width: none;
  overflow: hidden;
  text-align: center;
  padding: 140px var(--pad) 60px;
}

#fxEnd {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.end-glow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 70vw;
  height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(229, 19, 43, .28), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  animation: endGlow 5s ease-in-out infinite alternate;
}

@keyframes endGlow {
  from { opacity: .6; transform: translate(-50%, -50%) scale(.95); }
  to   { opacity: 1;  transform: translate(-50%, -50%) scale(1.08); }
}

.end-inner { position: relative; z-index: 2; }

#final .end-label {
  color: var(--acc);
  letter-spacing: .4em;
  font-size: .72rem;
  font-weight: 800;
  margin: 0 0 10px;
}

/* big title: starts blurred and wide, then sharpens and tightens */
#final .end-title {
  font-size: clamp(3.4rem, 11vw, 10.5rem);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  color: #f4f1ea;
  filter: blur(14px);
  letter-spacing: .22em;
  opacity: 0;
  transition: filter 1.6s ease, letter-spacing 1.8s cubic-bezier(.2, .7, .2, 1), opacity 1.2s ease;
}

#final.show .end-title {
  filter: blur(0);
  letter-spacing: .02em;
  opacity: 1;
}

/* everything else fades in one after another */
#final .end-name,
#final .end-role,
#final .end-btns,
#final .end-replay,
#final .end-logo,
#final .end-copy {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease;
}

#final.show .end-name   { opacity: 1; transform: none; transition-delay: .9s; }
#final.show .end-role   { opacity: 1; transform: none; transition-delay: 1.05s; }
#final.show .end-btns   { opacity: 1; transform: none; transition-delay: 1.2s; }
#final.show .end-replay { opacity: 1; transform: none; transition-delay: 1.4s; }
#final.show .end-logo   { opacity: 1; transform: none; transition-delay: 1.55s; }
#final.show .end-copy   { opacity: 1; transform: none; transition-delay: 1.7s; }

#final .end-name {
  margin: 40px 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text);
}

#final .end-role {
  margin: 6px 0 0;
  color: var(--mut);
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.end-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: .25s;
}

.pill:hover { border-color: #fff; transform: translateY(-2px); }

.pill.primary {
  background: #d4002a;
  border-color: #d4002a;
  box-shadow: 0 0 28px rgba(229, 19, 43, .55);
}

.pill.primary:hover { box-shadow: 0 0 44px rgba(229, 19, 43, .85); }

.end-replay {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 42px;
  font-size: .75rem;
  letter-spacing: .2em;
  font-weight: 600;
  color: var(--mut);
}

.end-replay button:hover { color: #fff; }

#final .end-logo {
  margin: 46px 0 0;
  font-size: .75rem;
  letter-spacing: .3em;
  font-weight: 700;
  color: var(--text);
}

.end-logo b { color: var(--acc); font: normal 1.6rem 'Bebas Neue'; margin-right: 4px; }

#final .end-copy {
  margin: 12px 0 0;
  color: #6f6d7a;
  font-size: .75rem;
}

@media (max-width: 700px) {
  #final .end-title { white-space: normal; }
}


/* For All Point left side start  */
/* same left starting point for all sections */
:root { --left: 3.7vw; }

section:not(.hero):not(#continue):not(#final) {
  max-width: none;
  margin: 0;
  padding-left: var(--left);
  padding-right: var(--left);
}



 /* <!-- That for Abhinav Picks Section -->
/* ===== TOP PICKS — big outlined numbers + tall cards ===== */
#s-picks .c-wrap { margin-top: 10px; }

#picks.rail {
  gap: 0;
  align-items: center;
  padding: 24px 3.7vw 30px;
  scroll-padding-left: 3.7vw;
  scrollbar-width: none;
}

#picks.rail::-webkit-scrollbar { display: none; }

/* one pick = big number + card */
#picks .tp {
  display: flex;
  align-items: center;
  margin-right: 24px;
}

/* the big outlined number */
#picks .n {
  font: normal clamp(16rem, 20vw, 25rem)/.8 'Bebas Neue', sans-serif;
  color: transparent;
  -webkit-text-stroke: 2px #4b4b54;
  margin-right: -2.2vw;          /* how much the card covers the number */
  user-select: none;
}

/* the card */
#picks .tc {
  position: relative;
  z-index: 1;
  width: clamp(200px, 12vw, 240px);
  height: clamp(280px, 17vw, 330px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  background:
    linear-gradient(to bottom, transparent 40%, rgba(5, 5, 8, .88)),
    radial-gradient(circle at 78% 4%, var(--via), transparent 68%),
    var(--from);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

#picks .tc:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, .35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
}

/* small label at the top */
#picks .tc small {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #cfc9c0;
  opacity: 1;
}

/* title + detail at the bottom */
#picks .tc b {
  display: block;
  font: normal clamp(1.7rem, 2vw, 2.1rem)/1 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  color: #f4f1ea;
}

#picks .tc span {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  line-height: 1.35;
  color: #b4b4be;
}

@media (max-width: 800px) {
  #picks .n { font-size: 11rem; margin-right: -30px; }
  #picks .tc { width: 170px; height: 250px; }
}




