/* =====================================================
   ABOUT / EXPERIENCE — SCROLL-DRAWN MANGA STORY
===================================================== */

.about-story {
  --story-purple: rgb(var(--theme-primary-rgb));
  --story-purple-dark: rgb(var(--theme-primary-rgb));
  --story-ink: rgb(var(--theme-ink-rgb));
  --story-paper: rgb(var(--theme-paper-rgb));
  --story-muted: rgb(var(--theme-paper-rgb) / 0.68);
  --route-progress: 0;
  position: relative;
  isolation: isolate;
  min-height: 3150px;
  padding: clamp(96px, 9vw, 150px) clamp(22px, 5vw, 80px) 150px;
  overflow: hidden;
  color: var(--story-paper);
  background:
    radial-gradient(circle at 10% 20%, rgb(var(--theme-primary-rgb) / 0.08), transparent 25%),
    radial-gradient(circle at 86% 64%, rgb(var(--theme-primary-rgb) / 0.08), transparent 25%),
    rgb(var(--theme-bg-rgb));
  font-family: var(--ff-body);
}

.about-story::before,
.about-story::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.about-story::before {
  inset: 0;
  background:
    radial-gradient(circle, rgb(var(--theme-text-rgb) / 0.78) 0 1.2px, transparent 1.7px) 7% 10% / 151px 189px,
    radial-gradient(circle, rgb(var(--theme-text-rgb) / 0.46) 0 1px, transparent 1.5px) 65% 18% / 213px 167px,
    repeating-linear-gradient(118deg, transparent 0 98px, rgb(var(--theme-text-rgb) / 0.018) 99px 101px, transparent 102px 210px);
  opacity: 0.7;
}

.about-story::after {
  right: -13vw;
  bottom: 4%;
  width: 52vw;
  height: 36vw;
  border: 3px solid rgb(var(--theme-primary-rgb) / 0.13);
  transform: rotate(-21deg);
  box-shadow: 0 0 0 38px rgb(var(--theme-primary-rgb) / 0.025), 0 0 0 80px rgb(var(--theme-primary-rgb) / 0.018);
}

.about-story__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgb(var(--theme-text-rgb)) 0 0.7px, transparent 0.9px),
    radial-gradient(circle, var(--story-purple) 0 0.7px, transparent 0.9px);
  background-position: 0 0, 3px 3px;
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, transparent, rgb(var(--theme-shadow-rgb)) 12%, rgb(var(--theme-shadow-rgb)) 88%, transparent);
}

/* Intro lockup */

.about-story__intro {
  position: relative;
  z-index: 4;
  width: min(1180px, 100%);
  min-height: 300px;
  margin: 0 auto;
  text-align: center;
}

.about-story__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-rajdhani);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--theme-paper-rgb) / 0.66);
}

.about-story__kicker span {
  padding: 6px 10px 5px;
  color: rgb(var(--theme-text-rgb));
  background: var(--story-purple);
  clip-path: polygon(0 0, 100% 7%, 94% 100%, 5% 92%);
}

.about-story__intro h2 {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font-bebas-neue);
  font-size: clamp(6rem, 12vw, 12.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 0.78;
  text-transform: uppercase;
  color: var(--story-paper);
  text-shadow: 5px 5px 0 var(--story-purple), 10px 10px 0 rgb(var(--theme-surface-raised-rgb));
  transform: skewX(-4deg) rotate(-1deg);
}

.about-story__intro h2 em {
  position: absolute;
  right: -0.2em;
  bottom: -0.42em;
  color: var(--story-purple);
  font-family: var(--font-caveat);
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: none;
  text-shadow: 2px 2px 0 rgb(var(--theme-shadow-rgb));
  transform: rotate(-8deg);
}

.about-story__scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(55px, 6vw, 78px);
  font-family: var(--font-rajdhani);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(var(--theme-text-rgb) / 0.5);
}

.about-story__scroll-cue::before,
.about-story__scroll-cue::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--story-purple);
}

/* The route is both decoration and progress indicator. */

.about-story__route {
  position: absolute;
  inset: 290px 0 0;
  z-index: 1;
  height: calc(100% - 290px);
  pointer-events: none;
}

.about-story__route svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.about-route {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

.about-route--shadow {
  stroke: var(--story-purple-dark);
  stroke-width: clamp(18px, 2.65vw, 42px);
  opacity: 0.16;
}

.about-route--progress {
  stroke: var(--story-purple);
  stroke-width: clamp(18px, 2.65vw, 42px);
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  filter: drop-shadow(7px 7px 0 rgb(var(--theme-shadow-rgb))) drop-shadow(-2px -2px 0 rgb(var(--theme-text-rgb) / 0.18));
}

.about-story.is-reveal-pending .about-story__intro {
  opacity: 0;
  translate: 0 48px;
}

.about-story.is-reveal-pending .about-story__texture,
.about-story.is-reveal-pending .about-story__route {
  opacity: 0;
}

.about-story.is-revealed .about-story__intro {
  animation: about-intro-reveal 620ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

.about-story.is-revealed .about-story__texture {
  animation: about-texture-reveal 520ms ease-out 180ms both;
}

.about-story.is-revealed .about-story__route {
  animation: about-route-reveal 220ms ease-out 700ms both;
}

@keyframes about-intro-reveal {
  from {
    opacity: 0;
    translate: 0 48px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes about-texture-reveal {
  from { opacity: 0; }
  to { opacity: 0.14; }
}

@keyframes about-route-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Story chapters */

.about-story__chapters {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.story-chapter {
  position: relative;
  display: flex;
  min-height: 840px;
  opacity: 1;
}

.story-chapter--about {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 760px;
  padding-top: clamp(80px, 10vw, 150px);
}

.story-chapter--experience {
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 960px;
  padding-top: clamp(85px, 10vw, 145px);
}

.story-chapter--contact {
  align-items: flex-start;
  justify-content: center;
  min-height: 820px;
  padding-top: clamp(100px, 11vw, 165px);
}

.story-panel {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  color: var(--story-paper);
  background-color: rgb(var(--theme-surface-raised-rgb));
  background-image:
    linear-gradient(127deg, rgb(var(--theme-text-rgb) / 0.035), transparent 40%),
    radial-gradient(circle, rgb(var(--theme-text-rgb) / 0.08) 0 1px, transparent 1.3px);
  background-size: auto, 7px 7px;
  border: 3px solid var(--story-paper);
  box-shadow: 12px 12px 0 var(--story-purple), 20px 20px 0 rgb(var(--theme-shadow-rgb));
  clip-path: polygon(0 2%, 7% 0, 44% 1.2%, 74% 0, 100% 4%, 98.5% 35%, 100% 68%, 97% 100%, 58% 98.5%, 22% 100%, 2% 97%, 0.7% 61%);
  opacity: 0;
  transition: opacity 360ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1), clip-path 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 145px;
  height: 105px;
  background: var(--story-purple);
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 0 0);
  opacity: 0.95;
  pointer-events: none;
}

.story-panel--about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  column-gap: clamp(18px, 2vw, 34px);
  width: min(1120px, 92%);
  min-height: 600px;
  padding: clamp(42px, 4vw, 62px) clamp(24px, 2.8vw, 44px) clamp(40px, 3.5vw, 54px) clamp(48px, 4.5vw, 72px);
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  clip-path: none;
  transform: translateX(-90px) rotate(-2.5deg) scale(0.92);
}

.story-panel--about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  opacity: 1;
  background-color: rgb(var(--theme-surface-raised-rgb));
  background-image:
    linear-gradient(127deg, rgb(var(--theme-text-rgb) / 0.035), transparent 40%),
    radial-gradient(circle, rgb(var(--theme-text-rgb) / 0.08) 0 1px, transparent 1.3px);
  background-size: auto, 7px 7px;
  border: 3px solid var(--story-paper);
  filter: drop-shadow(11px 13px 0 var(--story-purple)) drop-shadow(-5px -4px 0 var(--story-paper));
  clip-path: polygon(1% 9%, 7% 2%, 35% 0, 43% 4%, 69% 1%, 77% 5%, 95% 2%, 100% 12%, 98% 36%, 100% 68%, 96% 94%, 73% 92%, 65% 100%, 40% 96%, 18% 100%, 0 92%, 2% 62%, 0 35%);
  pointer-events: none;
}

.story-panel__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.story-panel--about .story-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -120px 0 32px -18px;
  padding: 13px 27px 11px 15px;
  border: 5px solid rgb(var(--theme-text-rgb));
  outline: 7px solid rgb(var(--theme-ink-rgb));
  color: rgb(var(--theme-text-rgb));
  background: rgb(var(--theme-ink-rgb));
  font-family: var(--font-bebas-neue);
  font-size: clamp(5.2rem, 7.7vw, 8.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.8;
  text-transform: uppercase;
  transform: translateY(-44px) rotate(-2deg);
  box-shadow: -9px -8px 0 var(--story-purple), 11px 8px 0 var(--story-purple);
  clip-path: polygon(3% 4%, 90% 0, 100% 18%, 96% 89%, 12% 100%, 0 78%);
}

.story-panel--about .story-panel__label span {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 58px;
  padding: 5px 8px 3px;
  color: rgb(var(--theme-text-rgb));
  background: var(--story-purple);
  font-size: 0.72em;
  line-height: 1;
}

.story-panel--about .story-panel__copy h3 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 4.8vw, 5.2rem);
}

.story-panel__copy > p {
  position: relative;
  max-width: 47ch;
  margin: 0 0 15px;
  color: var(--story-muted);
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  line-height: 1.65;
}

.story-panel__copy > .story-panel__lead {
  color: var(--story-paper);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  font-weight: 500;
  line-height: 1.5;
}

.story-panel__manga-frames {
  position: relative;
  z-index: 4;
  align-self: center;
  justify-self: center;
  width: calc(100% + 140px);
  height: 500px;
  margin: -110px -110px -92px -46px;
  pointer-events: none;
}

.story-panel__copy > .artist-profile__bio {
  max-width: 36ch;
  margin: 0 0 30px;
  color: var(--story-paper);
  font-family: var(--font-rajdhani);
  font-size: clamp(1.24rem, 1.55vw, 1.48rem);
  font-weight: 700;
  line-height: 1.32;
}

.artist-profile__details {
  display: grid;
  gap: 23px;
}

.artist-profile__block {
  min-width: 0;
}

.artist-profile__block h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: var(--story-purple);
  font-family: var(--font-rajdhani);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.artist-profile__block h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--story-purple), transparent);
}

.artist-profile__achievements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.artist-profile__achievements article {
  position: relative;
  min-height: 86px;
  padding: 13px 14px;
  border-left: 3px solid rgb(var(--theme-primary-rgb) / 0.48);
  background: rgb(var(--theme-primary-rgb) / 0.07);
  transition: border-color 280ms ease, background-color 280ms ease, box-shadow 280ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.artist-profile__achievements article::before,
.artist-profile__achievements article::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--story-purple);
  opacity: 0.35;
  transition: width 260ms ease, height 260ms ease, opacity 260ms ease;
}

.artist-profile__achievements article::before {
  top: 0;
  right: 0;
  border-bottom: 0;
  border-left: 0;
}

.artist-profile__achievements article::after {
  bottom: 0;
  left: 0;
  border-top: 0;
  border-right: 0;
}

.artist-profile__achievements article:hover {
  border-left-color: rgb(var(--theme-primary-rgb));
  background: rgb(var(--theme-primary-rgb) / 0.15);
  box-shadow: -10px 0 20px rgb(var(--theme-primary-rgb) / 0.16);
  transform: translateX(8px);
}

.artist-profile__achievements article:hover::before,
.artist-profile__achievements article:hover::after {
  width: 13px;
  height: 13px;
  opacity: 1;
}

.artist-profile__achievements strong,
.artist-profile__achievements span {
  display: block;
}

.artist-profile__achievements strong {
  margin-bottom: 7px;
  color: rgb(var(--theme-text-rgb));
  font-family: var(--font-rajdhani);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
}

.artist-profile__achievements span {
  color: var(--story-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.artist-profile__toolkit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.85fr);
  gap: 22px;
}

.artist-profile__tags,
.artist-profile__software {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.artist-profile__tags li {
  padding: 7px 12px 6px;
  border: 1px solid rgb(var(--theme-primary-rgb) / 0.58);
  border-radius: 999px;
  color: rgb(var(--theme-primary-rgb));
  background: rgb(var(--theme-primary-rgb) / 0.08);
  font-family: var(--font-rajdhani);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  cursor: default;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.artist-profile__tags li:hover {
  color: rgb(var(--theme-text-rgb));
  border-color: rgb(var(--theme-primary-rgb));
  background: rgb(var(--theme-primary-rgb) / 0.18);
  box-shadow: 0 7px 18px rgb(var(--theme-primary-rgb) / 0.2);
  transform: translateY(-3px);
}

.artist-profile__software li {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid rgb(var(--theme-primary-rgb) / 0.42);
  color: rgb(var(--theme-paper-rgb) / 0.78);
  background: rgb(var(--theme-text-rgb) / 0.035);
  overflow: hidden;
  cursor: help;
  transition: color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.artist-profile__software li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 260ms ease;
}

.artist-profile__software li:hover {
  transform: translateY(-5px) scale(1.05);
}

.artist-profile__software li:hover::before {
  opacity: 0.09;
}

.artist-profile__software-icon {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.artist-profile__software li[title="Adobe Photoshop"]:hover {
  color: #31a8ff;
  border-color: #31a8ff;
  box-shadow: 0 0 20px rgba(49, 168, 255, 0.5);
}

.artist-profile__software li[title="Adobe Illustrator"]:hover {
  color: #ff9a00;
  border-color: #ff9a00;
  box-shadow: 0 0 20px rgba(255, 154, 0, 0.5);
}

.artist-profile__software li[title="Substance 3D Painter"]:hover {
  color: #1ced62;
  border-color: #1ced62;
  box-shadow: 0 0 20px rgba(28, 237, 98, 0.5);
}

.artist-profile__software li[title="3D Coat"]:hover {
  color: #00bfa5;
  border-color: #00bfa5;
  box-shadow: 0 0 20px rgba(0, 191, 165, 0.5);
}

.artist-profile__software li[title="Blender"]:hover {
  color: #f5792a;
  border-color: #f5792a;
  box-shadow: 0 0 20px rgba(245, 121, 42, 0.5);
}

.artist-profile__software li[title="ZBrush"]:hover {
  color: rgb(var(--theme-text-rgb));
  border-color: rgb(var(--theme-text-rgb));
  box-shadow: 0 0 20px rgb(var(--theme-text-rgb) / 0.5);
}

.artist-profile__software li[title="Unreal Engine"]:hover {
  color: rgb(var(--theme-text-rgb));
  border-color: rgb(var(--theme-text-rgb));
  box-shadow: 0 0 20px rgb(var(--theme-text-rgb) / 0.4);
}

.manga-photo {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 87%;
  margin: 0;
  padding: 0;
  background: var(--story-paper);
  border: 0;
  filter:
    drop-shadow(4px 0 0 rgb(var(--theme-ink-rgb)))
    drop-shadow(-4px 0 0 rgb(var(--theme-ink-rgb)))
    drop-shadow(0 4px 0 rgb(var(--theme-ink-rgb)))
    drop-shadow(0 -4px 0 rgb(var(--theme-ink-rgb)))
    drop-shadow(8px 9px 0 rgb(var(--theme-ink-rgb)));
  transform-origin: center bottom;
}

.manga-photo--one {
  right: 2%;
  z-index: 4;
  width: 74%;
  height: 118%;
  clip-path: polygon(19% 0, 100% 5%, 81% 100%, 0 94%);
  transform: translateY(-51%) rotate(-4deg);
}

.manga-photo__placeholder {
  position: absolute;
  inset: 12px;
  z-index: 1;
  display: grid;
  place-items: end center;
  width: auto;
  height: auto;
  padding: 18px 8px;
  overflow: hidden;
  clip-path: inherit;
  color: rgb(var(--theme-text-rgb) / 0.72);
  background:
    linear-gradient(145deg, rgb(var(--theme-primary-rgb) / 0.32), transparent 58%),
    radial-gradient(circle, rgb(var(--theme-text-rgb) / 0.12) 0 1px, transparent 1.4px),
    rgb(var(--theme-surface-raised-rgb));
  background-size: auto, 7px 7px, auto;
  font-family: var(--font-rajdhani);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manga-photo__placeholder img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-panel--experience {
  width: min(720px, 57%);
  padding: clamp(34px, 4vw, 56px);
  transform: translateX(90px) rotate(2deg) scale(0.92);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.story-chapter.is-visible .story-panel--experience {
  clip-path: polygon(0 2%, 7% 0, 44% 1.2%, 74% 0, 100% 4%, 98.5% 35%, 100% 68%, 97% 100%, 58% 98.5%, 22% 100%, 2% 97%, 0.7% 61%);
  opacity: 1;
}

.story-chapter.is-visible .story-panel--about {
  clip-path: none;
  opacity: 1;
  transform: translateX(0) rotate(-1.2deg) scale(1);
}

.story-chapter.is-visible .story-panel--experience {
  transform: translateX(0) rotate(0.8deg) scale(1);
}

.story-panel--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(900px, 74%);
  min-height: 390px;
  padding: clamp(48px, 6vw, 82px);
  color: var(--story-paper);
  text-align: center;
  text-decoration: none;
  transform: translateY(90px) rotate(-2deg) scale(0.9);
  clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
}

.story-chapter.is-visible .story-panel--contact {
  opacity: 1;
  transform: translateY(0) rotate(-0.8deg) scale(1);
  clip-path: polygon(0 2%, 7% 0, 44% 1.2%, 74% 0, 100% 4%, 98.5% 35%, 100% 68%, 97% 100%, 58% 98.5%, 22% 100%, 2% 97%, 0.7% 61%);
}

.story-panel--contact::after {
  content: "";
  position: absolute;
  right: clamp(25px, 5vw, 70px);
  bottom: clamp(20px, 3vw, 42px);
  width: clamp(74px, 10vw, 130px);
  aspect-ratio: 1.45;
  border: 3px solid rgb(var(--theme-paper-rgb) / 0.15);
  background:
    linear-gradient(32deg, transparent 48%, rgb(var(--theme-paper-rgb) / 0.15) 49% 51%, transparent 52%),
    linear-gradient(-32deg, transparent 48%, rgb(var(--theme-paper-rgb) / 0.15) 49% 51%, transparent 52%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.story-panel--contact .story-panel__label {
  margin-bottom: 28px;
}

.story-panel--contact h3 {
  max-width: 100%;
  margin-inline: auto;
  font-size: clamp(5rem, 8vw, 9rem);
}

.story-panel--contact > p {
  max-width: 54ch;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.story-contact__action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 25px 13px;
  border: 3px solid var(--story-paper);
  color: rgb(var(--theme-text-rgb));
  background: var(--story-purple);
  font-family: var(--font-rajdhani);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 7px 7px 0 rgb(var(--theme-shadow-rgb));
  transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.story-chapter.is-visible .story-panel--contact:hover,
.story-chapter.is-visible .story-panel--contact:focus-visible {
  transform: translateY(-8px) rotate(-0.2deg) scale(1);
  box-shadow: 16px 18px 0 var(--story-purple), 25px 26px 0 rgb(var(--theme-shadow-rgb));
}

.story-panel--contact:hover .story-contact__action,
.story-panel--contact:focus-visible .story-contact__action {
  color: var(--story-purple);
  background: var(--story-paper);
  box-shadow: 10px 10px 0 rgb(var(--theme-shadow-rgb));
  transform: translate(-3px, -3px);
}

.story-panel--contact:focus-visible {
  outline: 4px solid var(--story-paper);
  outline-offset: 8px;
}

.story-panel__label {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-bottom: 24px;
  padding: 7px 14px 6px;
  color: rgb(var(--theme-text-rgb));
  background: var(--story-purple);
  font-family: var(--font-rajdhani);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 rgb(var(--theme-shadow-rgb));
}

.story-panel h3 {
  position: relative;
  z-index: 1;
  max-width: 90%;
  margin: 0 0 25px;
  font-family: var(--font-bebas-neue);
  font-size: clamp(3.8rem, 5.5vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.82;
  text-transform: uppercase;
  color: rgb(var(--theme-text-rgb));
}

.story-panel h3 span {
  color: var(--story-purple);
}

.story-panel > p {
  position: relative;
  max-width: 49ch;
  margin: 0 0 17px;
  color: var(--story-muted);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.72;
}

.story-panel > .story-panel__lead {
  color: var(--story-paper);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  font-weight: 500;
  line-height: 1.52;
}

.story-panel__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 30px;
}

.story-panel__facts div {
  min-height: 82px;
  padding: 13px 12px;
  color: var(--story-ink);
  background: var(--story-paper);
  border: 2px solid rgb(var(--theme-ink-rgb));
  transform: rotate(-1deg);
}

.story-panel__facts div:nth-child(2) {
  color: rgb(var(--theme-text-rgb));
  background: var(--story-purple);
  transform: rotate(1.2deg);
}

.story-panel__facts strong,
.story-panel__facts span {
  display: block;
}

.story-panel__facts strong {
  font-family: var(--font-bebas-neue);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.story-panel__facts span {
  margin-top: 7px;
  font-family: var(--font-rajdhani);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.story-panel__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.story-panel__skills span {
  padding: 6px 10px;
  border: 1px solid rgb(var(--theme-paper-rgb) / 0.3);
  color: rgb(var(--theme-paper-rgb) / 0.74);
  font-family: var(--font-rajdhani);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-chapter__number {
  position: absolute;
  z-index: 2;
  font-family: var(--font-bebas-neue);
  font-size: clamp(9rem, 17vw, 17rem);
  font-style: italic;
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 2px rgb(var(--theme-paper-rgb) / 0.13);
  pointer-events: none;
}

.story-chapter--about .story-chapter__number {
  top: 3%;
  left: 68%;
  transform: rotate(7deg);
}

.story-chapter--experience .story-chapter__number {
  top: 4%;
  right: 48%;
  transform: rotate(-7deg);
}

.story-chapter--contact .story-chapter__number {
  top: 4%;
  left: 12%;
  transform: rotate(6deg);
}

.story-chapter__stamp {
  position: absolute;
  z-index: 5;
  top: 17%;
  left: 44%;
  display: grid;
  place-items: center;
  width: 102px;
  aspect-ratio: 1;
  border: 4px solid var(--story-paper);
  color: rgb(var(--theme-text-rgb));
  background: var(--story-purple);
  font-family: var(--font-bebas-neue);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 82% 23%, 100% 28%, 91% 45%, 100% 59%, 82% 68%, 79% 88%, 61% 84%, 50% 100%, 38% 85%, 20% 91%, 17% 72%, 0 64%, 9% 47%, 0 31%, 19% 25%, 23% 6%, 40% 13%);
  opacity: 0;
  transform: scale(0.35) rotate(-25deg);
  transition: opacity 220ms ease 350ms, transform 520ms cubic-bezier(0.16, 1, 0.3, 1) 350ms;
}

.story-chapter__stamp--experience {
  top: 19%;
  right: 50%;
  left: auto;
  transform: scale(0.35) rotate(25deg);
}

.story-chapter__stamp--contact {
  top: 12%;
  right: 12%;
  left: auto;
}

.story-chapter--about .story-chapter__stamp {
  top: 13%;
  left: 75%;
}

.story-chapter.is-visible .story-chapter__stamp {
  opacity: 1;
  transform: scale(1) rotate(-8deg);
}

.story-chapter.is-visible .story-chapter__stamp--experience {
  transform: scale(1) rotate(8deg);
}

/* Experience list */

.experience-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgb(var(--theme-paper-rgb) / 0.22);
}

.experience-item {
  display: grid;
  grid-template-columns: minmax(92px, 0.32fr) 1fr;
  gap: clamp(14px, 2vw, 25px);
  padding: 17px 7px;
  border-bottom: 1px solid rgb(var(--theme-paper-rgb) / 0.17);
  transition: color 220ms ease, background-color 220ms ease;
}

.experience-item:hover {
  background: rgb(var(--theme-primary-rgb) / 0.09);
}

.experience-item time {
  color: var(--story-purple);
  font-family: var(--font-rajdhani);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-item h4 {
  margin: 0 0 3px;
  color: rgb(var(--theme-text-rgb));
  font-family: var(--font-barlow-condensed);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.experience-item p {
  margin: 0;
  color: rgb(var(--theme-paper-rgb) / 0.58);
  font-size: 0.78rem;
  line-height: 1.42;
}

.story-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 13px 18px 12px;
  color: rgb(var(--theme-text-rgb));
  background: var(--story-purple);
  border: 2px solid var(--story-paper);
  box-shadow: 5px 5px 0 rgb(var(--theme-shadow-rgb));
  font-family: var(--font-rajdhani);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.story-panel__cta:hover,
.story-panel__cta:focus-visible {
  color: var(--story-purple);
  background: var(--story-paper);
  box-shadow: 8px 8px 0 var(--story-purple-dark);
}

.story-panel__cta:focus-visible {
  outline: 3px solid rgb(var(--theme-text-rgb));
  outline-offset: 4px;
}

.story-panel__cta svg {
  flex: 0 0 auto;
}

/* Tablet */

@media (min-width: 769px) and (max-width: 1080px) {
  .about-story {
    min-height: 3050px;
  }

  .story-panel--about {
    grid-template-columns: minmax(0, 0.9fr) minmax(350px, 1.1fr);
    column-gap: 18px;
    width: 95%;
    padding-inline: 38px 24px;
  }

  .story-panel__manga-frames {
    width: calc(100% + 104px);
    height: 420px;
    margin: -88px -82px -76px -34px;
  }

  .story-panel--experience {
    width: 62%;
  }

  .story-panel--contact {
    width: 78%;
  }

  .story-chapter--about .story-chapter__stamp {
    left: 80%;
  }

  .story-chapter__stamp--experience {
    right: 53%;
    left: auto;
  }
}

/* Mobile keeps the same narrative, with the route running behind each card. */

@media (max-width: 768px) {
  .about-story {
    min-height: 0;
    padding: 86px 16px 96px;
  }

  .about-story__intro {
    min-height: 250px;
  }

  .about-story__intro h2 {
    font-size: clamp(5rem, 25vw, 8rem);
    text-shadow: 3px 3px 0 var(--story-purple), 6px 6px 0 rgb(var(--theme-surface-raised-rgb));
  }

  .about-story__intro h2 em {
    right: 0;
  }

  .about-story__scroll-cue {
    margin-top: 48px;
  }

  .about-story__route {
    top: 260px;
    bottom: 0;
    height: auto;
    opacity: 0.78;
  }

  .about-route--shadow {
    stroke-width: 20px;
  }

  .about-route--progress {
    stroke-width: 20px;
  }

  .story-chapter,
  .story-chapter--experience,
  .story-chapter--contact {
    min-height: 0;
    padding: 95px 7px 150px;
  }

  .story-chapter--about,
  .story-chapter--experience,
  .story-chapter--contact {
    justify-content: center;
  }

  .story-panel--about,
  .story-panel--experience,
  .story-panel--contact {
    width: 100%;
    max-width: 620px;
    padding: 34px 24px 38px;
  }

  .story-panel--about {
    display: block;
    min-height: 0;
  }

  .story-panel--about .story-panel__label {
    margin: -76px 0 34px 0;
    border-width: 4px;
    outline-width: 5px;
    font-size: clamp(4.2rem, 21vw, 5.8rem);
    transform: translateY(-27px) rotate(-2deg);
  }

  .story-panel--contact {
    min-height: 0;
  }

  .story-panel--contact::after {
    right: 18px;
    bottom: 22px;
    opacity: 0.65;
  }

  .story-panel--contact > p {
    margin-bottom: 30px;
  }

  .story-panel__copy {
    position: relative;
    z-index: 5;
  }

  .story-panel__manga-frames {
    width: calc(100% + 48px);
    height: 360px;
    margin: 48px -24px -90px;
  }

  .manga-photo {
    filter:
      drop-shadow(3px 0 0 rgb(var(--theme-ink-rgb)))
      drop-shadow(-3px 0 0 rgb(var(--theme-ink-rgb)))
      drop-shadow(0 3px 0 rgb(var(--theme-ink-rgb)))
      drop-shadow(0 -3px 0 rgb(var(--theme-ink-rgb)))
      drop-shadow(6px 7px 0 rgb(var(--theme-ink-rgb)));
  }

  .manga-photo__placeholder {
    inset: 8px;
  }

  .story-panel h3 {
    font-size: clamp(3.7rem, 17vw, 5.6rem);
  }

  .story-panel__facts {
    grid-template-columns: 1fr;
  }

  .story-panel__facts div {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    align-items: center;
    min-height: 62px;
  }

  .story-panel__facts span {
    margin-top: 0;
  }

  .story-chapter__number {
    top: 42px !important;
    right: auto !important;
    left: 8px !important;
    font-size: 8rem;
  }

  .story-chapter__stamp,
  .story-chapter__stamp--experience,
  .story-chapter__stamp--contact {
    top: 58px;
    right: 3px;
    left: auto;
    width: 86px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 420px) {
  .about-story__kicker {
    gap: 7px;
    letter-spacing: 0.1em;
  }

  .story-panel--about,
  .story-panel--experience,
  .story-panel--contact {
    padding-right: 20px;
    padding-left: 20px;
  }

  .story-panel--experience::before {
    width: 105px;
    height: 78px;
  }

  .story-panel--about .story-panel__label {
    gap: 7px;
    padding-inline: 9px 14px;
  }

  .story-panel--about .story-panel__label span {
    min-width: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-story {
    --route-progress: 1;
  }

  .about-story.is-reveal-pending .about-story__intro,
  .about-story.is-reveal-pending .about-story__texture,
  .about-story.is-reveal-pending .about-story__route {
    animation: none;
    opacity: 1;
    translate: 0 0;
  }

  .story-panel,
  .story-chapter__stamp,
  .artist-profile__achievements article,
  .artist-profile__achievements article::before,
  .artist-profile__achievements article::after,
  .artist-profile__tags li,
  .artist-profile__software li,
  .artist-profile__software li::before {
    transition: none;
  }
}
