/* About — selected work editorial showcase. Scoped to the section added after Career / Experience. */
.about-showcase {
  --showcase-max: var(--case-content, 1180px);
  --showcase-pad: var(--case-gutter, var(--pad));
  --showcase-copy: 760px;
  --showcase-line: rgba(255, 255, 255, .14);
  --showcase-muted: rgba(245, 245, 247, .62);
  position: relative;
  color: #f5f5f7;
  background: #0b0b0d;
  isolation: isolate;
}

.showcase-shell {
  width: min(var(--showcase-max), calc(100vw - (var(--showcase-pad) * 2)));
  margin-inline: auto;
}

.about-showcase img {
  display: block;
  max-width: 100%;
}

.about-showcase h2,
.about-showcase h3,
.about-showcase h4,
.about-showcase p,
.about-showcase figure {
  margin-top: 0;
}

.about-showcase figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.about-showcase h2,
.about-showcase h3,
.about-showcase h4 {
  scroll-margin-top: 7rem;
  text-wrap: balance;
}

.showcase-lead .eyebrow,
.showcase-work-intro .eyebrow,
.showcase-kicker,
.feature-label > p {
  margin-bottom: 1.25rem;
  color: currentColor;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .15em;
  line-height: 1.4;
  opacity: .58;
  text-transform: uppercase;
}

.thinking-evolution {
  overflow: clip;
  padding-block: clamp(7rem, 12vw, 11rem) clamp(5.5rem, 8vw, 8rem);
  border-top: 1px solid var(--showcase-line);
  background:
    radial-gradient(circle at 74% 42%, rgba(71, 104, 255, .14), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(255, 189, 70, .08), transparent 28%),
    #0b0b0d;
}

.showcase-lead {
  max-width: 1040px;
}

.showcase-lead h2,
.showcase-work-intro h2 {
  max-width: 16ch;
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 5.3vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.062em;
  line-height: .96;
}

.showcase-lead > p:last-child {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--showcase-muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

.thinking-path {
  position: relative;
  min-height: 24rem;
  margin-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-top: 5rem;
}

.thinking-path__line {
  position: absolute;
  top: 7.2rem;
  right: 3%;
  left: 3%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .11);
  transform: rotate(-4deg);
  transform-origin: left center;
}

.thinking-path__line > span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0b648 0%, #f3eee7 45%, #7b91ff 100%);
  box-shadow: 0 0 32px rgba(104, 132, 255, .38);
  transform: scaleX(var(--thinking-progress, 0));
  transform-origin: left center;
}

.thinking-path ol {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 7rem);
  list-style: none;
}

.thinking-path li {
  position: relative;
  max-width: 22rem;
  padding-top: 3rem;
  opacity: .38;
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.75,.25,1);
}

.thinking-path li:nth-child(1) { margin-top: 2.75rem; }
.thinking-path li:nth-child(2) { margin-top: 1.35rem; }

.thinking-path li::before {
  position: absolute;
  top: -.5rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: 0 0 0 0 rgba(113, 140, 255, 0);
  content: "";
  transition: background .6s ease, box-shadow .6s ease, transform .6s ease;
}

.thinking-path li.is-active {
  opacity: 1;
  transform: translateY(-.35rem);
}

.thinking-path li.is-active::before {
  background: #f5f5f7;
  box-shadow: 0 0 0 .55rem rgba(113, 140, 255, .12), 0 0 2rem rgba(113, 140, 255, .35);
  transform: scale(1.08);
}

.thinking-path__index {
  display: block;
  margin-bottom: 1.65rem;
  color: rgba(245,245,247,.45);
  font-size: .72rem;
  letter-spacing: .14em;
}

.thinking-path strong {
  display: block;
  max-width: 10ch;
  font-size: clamp(2rem, 3.1vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.thinking-path p {
  max-width: 24rem;
  margin: 1.2rem 0 0;
  color: var(--showcase-muted);
  font-size: .98rem;
  line-height: 1.58;
}

.showcase-work-intro {
  padding-block: clamp(7rem, 11vw, 10rem) clamp(5rem, 8vw, 7rem);
  border-top: 1px solid var(--showcase-line);
}

.showcase-work-intro h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.showcase-project {
  position: relative;
}

.showcase-project__header {
  display: grid;
  padding-block: clamp(6.5rem, 9vw, 9rem) clamp(4rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .55fr);
  gap: clamp(3rem, 7vw, 8rem);
  border-top: 1px solid var(--showcase-line);
}

.showcase-project__header h3 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.8rem, 5.15vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.064em;
  line-height: .96;
}

.showcase-project__meta {
  align-self: end;
  padding-top: 1.35rem;
  border-top: 1px solid var(--showcase-line);
}

.showcase-project__meta p {
  margin-bottom: .75rem;
  color: var(--showcase-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.showcase-project__meta p:first-child {
  color: rgba(245,245,247,.84);
}

.feature-label {
  max-width: 46rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.75rem);
}

.feature-label h4 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-weight: 520;
  letter-spacing: -.057em;
  line-height: .98;
}

.coloros-utilities {
  padding-block: clamp(5rem, 8vw, 7.5rem) 0;
  color: #17181b;
  background: #f2f2f0;
  box-shadow: 0 0 0 100vmax #f2f2f0;
  clip-path: inset(0 -100vmax);
}

.coloros-utilities .feature-label > p { color: #55585e; opacity: 1; }

.coloros-utilities__media {
  overflow: hidden;
  border-radius: 0;
  background: #e7e8e7;
  box-shadow: 0 2.5rem 6rem rgba(45,48,54,.08);
}

.coloros-utilities__media img {
  width: 100%;
  height: auto;
}

.coloros-theme {
  overflow: clip;
  color: #f5f6ee;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 207, 80, .14), transparent 27%),
    radial-gradient(circle at 22% 86%, rgba(111, 191, 137, .19), transparent 31%),
    #0d584d;
}

.coloros-theme__layout {
  display: grid;
  min-height: clamp(46rem, 72vw, 62rem);
  padding-block: clamp(6rem, 9vw, 9rem);
  grid-template-columns: minmax(0, .78fr) minmax(24rem, 1.22fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.coloros-theme__copy {
  position: relative;
  z-index: 2;
}

.coloros-theme__copy h4 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.7rem, 4.6vw, 5rem);
  font-weight: 510;
  letter-spacing: -.06em;
  line-height: .96;
}

.coloros-theme__copy > p:not(.showcase-kicker) {
  max-width: 32rem;
  margin: 1.65rem 0 0;
  color: rgba(245,246,238,.68);
  font-size: clamp(.98rem, 1.2vw, 1.14rem);
  line-height: 1.65;
}

.coloros-theme__swatches {
  display: flex;
  margin-top: 2.5rem;
  gap: .7rem;
}

.coloros-theme__swatches span {
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(0,0,0,.15);
}

.coloros-theme__swatches span:nth-child(1) { background: #f7ca44; }
.coloros-theme__swatches span:nth-child(2) { background: #f06a4d; }
.coloros-theme__swatches span:nth-child(3) { background: #80ca51; }
.coloros-theme__swatches span:nth-child(4) { background: #62a9ff; }

.coloros-theme__visual {
  position: relative;
  display: grid;
  min-height: 46rem;
  place-items: center;
}

.coloros-theme__visual::before {
  position: absolute;
  width: min(54vw, 46rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 242, 211, .2), transparent 68%);
  content: "";
  filter: blur(10px);
}

.coloros-theme__phone {
  position: relative;
  z-index: 1;
  width: min(28vw, 25rem);
  margin: 0;
  border-radius: clamp(1.8rem, 3vw, 3.2rem);
  box-shadow: 0 3.25rem 7rem rgba(3, 25, 18, .42);
}

.coloros-theme__phone img {
  width: 100%;
  border-radius: inherit;
}

.showcase-project--smart {
  background: #eef2f1;
}

.showcase-project--smart > .showcase-project__header {
  color: #14171a;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.showcase-project--smart > .showcase-project__header .showcase-project__meta {
  border-top-color: rgba(20,23,26,.15);
}

.showcase-project--smart > .showcase-project__header .showcase-project__meta p {
  color: rgba(20,23,26,.58);
}

.showcase-project--smart > .showcase-project__header .showcase-project__meta p:first-child {
  color: rgba(20,23,26,.82);
}

.smart-continuum {
  --smart-progress: 0;
  display: grid;
  padding-bottom: clamp(7rem, 11vw, 10rem);
  color: #14171a;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.smart-rail {
  position: relative;
  padding-top: 7rem;
}

.smart-rail__track {
  position: sticky;
  top: 16vh;
  display: block;
  width: 1px;
  height: 68vh;
  margin-left: .45rem;
  overflow: hidden;
  background: rgba(20,23,26,.15);
}

.smart-rail__track i {
  display: block;
  width: 100%;
  height: 100%;
  background: #20bfc2;
  transform: scaleY(var(--smart-progress));
  transform-origin: top center;
}

.smart-rail ol {
  position: sticky;
  top: 16vh;
  display: flex;
  height: 68vh;
  margin: -68vh 0 0 1.35rem;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
}

.smart-rail li {
  color: rgba(20,23,26,.28);
  font-size: .72rem;
  letter-spacing: .14em;
  transition: color .35s ease, transform .35s ease;
}

.smart-rail li.is-active {
  color: #0b777b;
  transform: translateX(.25rem);
}

.smart-stage {
  padding-block: clamp(6rem, 9vw, 9rem);
  border-top: 1px solid rgba(20,23,26,.12);
}

.smart-stage:first-child { border-top: 0; }

.smart-stage__header {
  display: grid;
  max-width: 56rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: clamp(1.1rem, 2.2vw, 2rem);
}

.smart-stage__header > span {
  padding-top: .55rem;
  color: rgba(20,23,26,.34);
  font-size: .72rem;
  letter-spacing: .14em;
}

.smart-stage__header h4 {
  margin: 0;
  font-size: clamp(2.35rem, 4.15vw, 4.75rem);
  font-weight: 520;
  letter-spacing: -.058em;
  line-height: .98;
}

.smart-stage__header p {
  max-width: 36rem;
  margin: 1.1rem 0 0;
  color: rgba(20,23,26,.57);
  font-size: clamp(.96rem, 1.15vw, 1.08rem);
  line-height: 1.6;
}

.smart-structure {
  width: min(72%, 52rem);
  margin: 0 0 0 auto;
  overflow: hidden;
  border-radius: 0;
  background: #f1f4f2;
  box-shadow: 0 2.75rem 6rem rgba(32,47,48,.16);
}

.smart-structure img {
  display: block;
  width: 100%;
  height: auto;
}

.smart-core img {
  width: 100%;
  height: auto;
}

.smart-core {
  overflow: hidden;
  width: min(100%, 74rem);
  margin: 0 auto;
  border-radius: 0;
  background: #edf0f2;
  box-shadow: 0 2.75rem 6rem rgba(32,47,48,.13);
}

.smart-stage--evidence {
  display: grid;
  grid-template-columns: minmax(12.5rem, .42fr) minmax(0, 1.58fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.smart-stage--evidence .smart-stage__header {
  position: sticky;
  top: 7rem;
  display: block;
  margin-bottom: 0;
}

.smart-stage--evidence .smart-stage__header > span {
  display: block;
  margin-bottom: 2rem;
  padding-top: 0;
}

.smart-stage--evidence .smart-stage__header h4 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1;
}

.smart-stage--evidence .smart-stage__header p {
  margin-top: 1rem;
  font-size: .96rem;
}

.smart-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  align-items: start;
}

.smart-thumb {
  overflow: hidden;
  border: 1px solid rgba(20,23,26,.1);
  background: #fff;
  box-shadow: 0 .65rem 1.8rem rgba(36,49,50,.06);
  transition: border-color .25s ease, transform .3s ease, box-shadow .3s ease;
}

.smart-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.showcase-project--notes {
  background: #0b0b0d;
}

.notes-core {
  padding-block: clamp(5rem, 8vw, 8rem) clamp(4rem, 6vw, 6rem);
  color: #141619;
  background: #f2f3f4;
}

.notes-core .feature-label > p { color: #5f6369; opacity: 1; }

.notes-core figure,
.notes-themes figure {
  overflow: hidden;
  margin: 0;
  border-radius: 0;
}

.notes-core figure {
  background: #eceef0;
  box-shadow: 0 2.5rem 5.5rem rgba(31,38,44,.09);
}

.notes-core img,
.notes-themes img {
  width: 100%;
  height: auto;
}

.notes-transition {
  position: relative;
  height: 0;
  border-top: 1px solid rgba(20,22,24,.14);
  background: #292929;
}

.notes-themes {
  overflow: clip;
  padding-block: clamp(4.5rem, 7vw, 7rem) clamp(7rem, 10vw, 10rem);
  color: #f5f5f7;
  background: #292929;
}

.feature-label--light > p { color: rgba(245,245,247,.56); opacity: 1; }

.notes-themes figure {
  background: #292929;
  box-shadow: 0 2.75rem 6rem rgba(0,0,0,.22);
}

[data-about-enter] {
  opacity: 0;
  transition-property: opacity, transform, clip-path;
  transition-duration: .9s, 1s, 1.1s;
  transition-timing-function: ease, cubic-bezier(.2,.74,.2,1), cubic-bezier(.2,.74,.2,1);
  will-change: opacity, transform, clip-path;
}

[data-about-enter="copy"] { transform: translateY(1.6rem); }
[data-about-enter="scale"] { transform: scale(.955); }
[data-about-enter="wipe"] { clip-path: inset(0 0 100% 0 round 1.5rem); }
[data-about-enter="slide-left"] { transform: translateX(-2.5rem) rotate(-.5deg); }
[data-about-enter="slide-right"] { transform: translateX(2.5rem) rotate(.5deg); }

[data-about-enter].is-visible {
  opacity: 1;
  transform: none;
}

[data-about-enter="wipe"].is-visible {
  clip-path: inset(0);
}

[data-about-parallax] {
  translate: 0 var(--about-parallax-y, 0px);
  will-change: translate;
}

@media (max-width: 980px) {
  .showcase-project__header,
  .coloros-theme__layout {
    grid-template-columns: 1fr;
  }

  .showcase-project__header { gap: 2.75rem; }

  .showcase-project__meta {
    max-width: 38rem;
    align-self: auto;
  }

  .coloros-theme__layout { gap: 1rem; }

  .coloros-theme__copy h4 { max-width: 14ch; }

  .coloros-theme__visual { min-height: 42rem; }

  .coloros-theme__phone { width: min(54vw, 24rem); }

  .smart-continuum {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 1.5rem;
  }

  .smart-stage--evidence {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .smart-stage--evidence .smart-stage__header { position: static; }

  .smart-evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .showcase-lead h2,
  .showcase-work-intro h2,
  .showcase-project__header h3 {
    max-width: none;
    font-size: clamp(2.65rem, 13.2vw, 4rem);
    line-height: .98;
  }

  .thinking-evolution { padding-block: 6rem 7rem; }

  .thinking-path {
    min-height: 0;
    margin-top: 4.5rem;
    padding: 0 0 0 2.25rem;
  }

  .thinking-path__line {
    top: .5rem;
    bottom: .5rem;
    left: .45rem;
    width: 2px;
    height: auto;
    transform: none;
  }

  .thinking-path__line > span {
    transform: scaleY(var(--thinking-progress, 0));
    transform-origin: top center;
  }

  .thinking-path ol {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .thinking-path li,
  .thinking-path li:nth-child(1),
  .thinking-path li:nth-child(2) {
    margin-top: 0;
    padding-top: 0;
  }

  .thinking-path li::before {
    top: .35rem;
    left: -2.3rem;
  }

  .thinking-path strong { max-width: none; }

  .showcase-work-intro { padding-block: 6rem 4rem; }

  .showcase-project__header { padding-block: 5.5rem 4rem; }

  .feature-label h4,
  .coloros-theme__copy h4,
  .smart-stage__header h4 {
    max-width: none;
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .coloros-utilities { padding-top: 4rem; }

  .coloros-theme__layout {
    min-height: 0;
    padding-block: 5.5rem 4.5rem;
  }

  .coloros-theme__visual { min-height: 34rem; }

  .coloros-theme__phone { width: min(72vw, 19rem); }

  .smart-continuum {
    display: block;
    padding-bottom: 6rem;
  }

  .smart-rail { display: none; }

  .smart-stage { padding-block: 5.25rem; }

  .smart-stage__header {
    margin-bottom: 3rem;
    grid-template-columns: 1.7rem minmax(0, 1fr);
    gap: .85rem;
  }

  .smart-stage__header > span { padding-top: .45rem; }

  .smart-structure { width: calc(100% - 1.5rem); }

  .smart-stage--evidence .smart-stage__header { margin-bottom: 0; }

  .smart-stage--evidence .smart-stage__header > span { margin-bottom: 1.35rem; }

  .smart-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .notes-core { padding-top: 4.5rem; }
  .notes-themes { padding-bottom: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .thinking-path__line > span { transform: none; }
  .thinking-path li { opacity: 1; transform: none; }

  [data-about-enter] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  [data-about-parallax] {
    translate: none;
  }
}
