/* ==========================================================================
   RONIT TAMBE — ABOUT SECTION (AWWWARDS EDITORIAL & PINNED STORYTELLING)
   Typography: Anton (Headings/Display) + Instrument Sans (Body/Meta)
   Colors: --bg: rgb(11,11,12) · --fg: rgb(239,237,232) · --acc: #4D5BFF
   ========================================================================== */

#about {
  --bg: rgb(11, 11, 12);
  --fg: rgb(239, 237, 232);
  --acc: #4D5BFF;
  --pad: clamp(1.25rem, 4vw, 4rem);
  box-sizing: border-box;
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  position: relative;
  transition: background-color 0.9s cubic-bezier(0.16, 1, 0.3, 1), color 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

#about * {
  box-sizing: border-box;
}

#about .d {
  font-family: Anton, Impact, 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
  line-height: .92;
}

#about .pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

#about .lab {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  letter-spacing: .1em;
}

#about .lab i {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .35;
  transform-origin: left;
}

#about .ln {
  display: block;
  overflow: hidden;
  padding: .04em 0;
}

#about .ch {
  display: inline-block;
  will-change: transform;
}

#about .s1 {
  padding-top: 14vh;
  padding-bottom: 10vh;
}

#about .h-xl {
  font-size: clamp(4.2rem, 17.5vw, 18rem);
  margin-top: 6vh;
}

#about .sub {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  margin: 5vh 0 0 auto;
}

#about .s2 {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  padding-top: 10vh;
  padding-bottom: 18vh;
}

#about .pw {
  position: relative;
  max-width: 520px;
  cursor: none;
}

#about .pic {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: radial-gradient(120% 80% at 30% 15%, #2c2c38, #121214 62%);
  clip-path: inset(100% 0 0 0);
}

#about .pic .ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.4);
  transform-origin: center center;
  will-change: transform;
}

#about .cap {
  margin-top: .9rem;
  font-size: .8rem;
  letter-spacing: .1em;
}

#about .badge {
  position: absolute;
  right: -3.2rem;
  bottom: 3.5rem;
  width: 140px;
  height: 140px;
  color: #fff;
  z-index: 3;
  pointer-events: none;
}

#about .h3 {
  font-size: clamp(2.4rem, 5.4vw, 5.6rem);
}

#about .bio {
  font-size: clamp(1.3rem, 2.3vw, 2.2rem);
  line-height: 1.28;
  margin: 5vh 0 0;
  max-width: 30em;
  font-weight: 500;
}

#about .bio .about-word {
  display: inline-block;
  opacity: 0.15;
  will-change: opacity;
}

#about .bio b {
  font-weight: 500;
  background: linear-gradient(var(--acc), var(--acc)) 0 100% / 0% 3px no-repeat;
  padding-bottom: 2px;
}

#about .pin {
  position: relative;
  min-height: 100svh;
  padding: 12vh var(--pad) 8vh;
  display: grid;
  grid-template-columns: minmax(110px, 22vw) 1fr;
  gap: 2rem;
  overflow: hidden;
}

#about .rail {
  position: relative;
  display: flex;
  gap: 1.2rem;
}

#about .prog {
  width: 2px;
  background: var(--acc);
  transform-origin: top;
  align-self: stretch;
  transform: scaleY(0.02);
}

#about .cnt {
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: 1;
  display: flex;
  align-items: flex-end;
  gap: .6rem;
  position: sticky;
  top: 20vh;
  align-self: start;
}

#about .win {
  height: 1em;
  overflow: hidden;
}

#about .win div {
  height: 1em;
}

#about .cnt small {
  font: 500 1rem 'Instrument Sans', sans-serif;
  opacity: .6;
  padding-bottom: 1.4rem;
}

#about .stage {
  position: relative;
}

#about .chap {
  margin-bottom: 12vh;
}

html.pin-on #about .chap,
body.pin-on #about .chap,
#about.pin-on .chap {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

html.pin-on #about .pin,
body.pin-on #about .pin,
#about.pin-on .pin {
  height: 100svh;
  min-height: 0;
  padding-top: 10vh;
}

#about .chap h4 {
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  margin-bottom: 4vh;
}

#about .row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0 1.6rem;
  position: relative;
  transition: transform 0.3s ease;
}

#about .row:hover {
  transform: translateX(10px);
}

#about .row i {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: currentColor;
  opacity: .3;
  transform-origin: left;
}

#about .row span {
  opacity: .55;
  font-size: .9rem;
  padding-top: .45rem;
}

#about .row h5 {
  margin: 0 0 .4rem;
  font: 500 clamp(1.15rem, 2vw, 1.8rem)/1.2 'Instrument Sans', sans-serif;
}

#about .row p {
  margin: 0;
  opacity: .7;
  max-width: 36rem;
  line-height: 1.45;
}

#about .focus {
  font-size: clamp(2.2rem, 5.6vw, 5.8rem);
  max-width: 15em;
  line-height: 1;
}

#about .ghost {
  position: absolute;
  left: 0;
  bottom: 2vh;
  white-space: nowrap;
  font-size: clamp(9rem, 26vw, 28rem);
  color: transparent;
  -webkit-text-stroke: 1px currentColor;
  opacity: .13;
  pointer-events: none;
}

#about .strip {
  overflow: hidden;
  padding: 10vh 0;
  white-space: nowrap;
}

#about .track {
  display: inline-flex;
  font-size: clamp(5.5rem, 15vw, 15rem);
}

#about .track span {
  padding-right: .5em;
}

#about .track .o {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}

/* Custom cursor portrait reticle */
.cursor-stencil.cursor--portrait {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.cursor-stencil.cursor--portrait::after {
  content: 'RONIT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Instrument Sans', var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  pointer-events: none;
  white-space: nowrap;
}

body:has(.cursor--portrait) #cursor-stencil-dot {
  opacity: 0;
}

@media (max-width: 899px) {
  #about .s2,
  #about .pin {
    grid-template-columns: 1fr;
  }
  #about .sub {
    margin-left: 0;
  }
  #about .badge {
    right: -.5rem;
    bottom: 2.5rem;
    width: 110px;
    height: 110px;
  }
  #about .pin {
    padding-top: 8vh;
  }
  #about .rail {
    display: none;
  }
  #about .chap {
    margin-bottom: 9vh;
  }
  #about .ghost {
    display: none;
  }
  #about .s2 {
    padding-bottom: 10vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  #about .track {
    transform: none !important;
  }
  #about .bio b {
    background-size: 100% 3px !important;
  }
  #about .bio .about-word {
    opacity: 1 !important;
  }
  #about .row i {
    transform: none !important;
  }
  #about .prog {
    transform: none !important;
  }
  #about .pic {
    clip-path: none !important;
  }
  #about .ph-img {
    transform: none !important;
  }
  #about .ch {
    transform: none !important;
  }
  #about .sub {
    opacity: 1 !important;
    transform: none !important;
  }
  #about .chap {
    opacity: 1 !important;
    transform: none !important;
  }
}
