:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f2f4f0;
  background: #050605;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  --bg: #050605;
  --panel: rgba(20, 22, 20, 0.74);
  --line: rgba(239, 242, 230, 0.12);
  --line-strong: rgba(239, 242, 230, 0.22);
  --text: #f2f4f0;
  --muted: #a8b0a8;
  --dim: #727a73;
  --cyan: #7fe5d6;
  --amber: #d8b66a;
  --max: 1700px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

.profileSection {
  content-visibility: auto;
  contain-intrinsic-size: auto 1400px;
}

.projectsSection {
  content-visibility: auto;
  contain-intrinsic-size: auto 4200px;
}

.strengthsSection {
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

.contactSection {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

body {
  margin: 0;
  min-width: 1180px;
  overflow-x: auto;
  background: #050605;
}

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

img,
video,
canvas {
  display: block;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.revealItem {
  --reveal-x: 0px;
  --reveal-y: 52px;
  --reveal-rotate: 0deg;
  --reveal-scale: 0.97;
  opacity: 0;
  filter: blur(10px);
  transform:
    translate3d(var(--reveal-x), var(--reveal-y), 0)
    rotate(var(--reveal-rotate))
    scale(var(--reveal-scale));
  transition:
    opacity 780ms ease,
    filter 780ms ease,
    transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.revealItem.revealFromLeft {
  --reveal-x: -138px;
  --reveal-y: 8px;
  --reveal-rotate: -2.2deg;
}

.revealItem.revealFromRight {
  --reveal-x: 138px;
  --reveal-y: -8px;
  --reveal-rotate: 2.2deg;
}

.revealItem.revealFromTop {
  --reveal-x: 0px;
  --reveal-y: -112px;
  --reveal-rotate: -1deg;
}

.revealItem.revealFromLowerLeft {
  --reveal-x: -112px;
  --reveal-y: 104px;
  --reveal-rotate: -2.8deg;
}

.revealItem.revealFromLowerRight {
  --reveal-x: 112px;
  --reveal-y: 104px;
  --reveal-rotate: 2.8deg;
}

.revealItem.revealFromUpperRight {
  --reveal-x: 108px;
  --reveal-y: -92px;
  --reveal-rotate: 2.4deg;
}

.revealItem.isVisible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

.shell {
  width: min(var(--max), calc(100vw - 96px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.heroVideo,
.silkCanvas,
.videoFallback,
.heroShade {
  position: absolute;
  inset: 0;
}

.silkCanvas {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.94;
  filter: saturate(0.92) contrast(1.2) brightness(0.82);
}

.heroVideo {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: saturate(0.74) contrast(1.12) brightness(0.78);
}

.videoFallback {
  z-index: 0;
  background:
    radial-gradient(circle at 34% 28%, rgba(69, 78, 151, 0.72), transparent 32%),
    radial-gradient(circle at 72% 38%, rgba(38, 59, 102, 0.64), transparent 35%),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 42px),
    linear-gradient(135deg, #05070f 0%, #111833 48%, #050605 100%);
  animation: drift 18s linear infinite;
}

.heroShade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.76) 0%, rgba(5, 6, 5, 0.3) 48%, rgba(5, 6, 5, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.12), rgba(5, 6, 5, 0.86));
}

.nav {
  position: relative;
  z-index: 4;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(239, 242, 230, 0.1);
}

.brand,
.navContact,
.navLinks {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0;
}

.brandMark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.navLinks {
  gap: 38px;
  font-size: 14px;
  color: rgba(242, 244, 240, 0.7);
}

.navLinks a {
  transition: color 180ms ease;
}

.navLinks a:hover {
  color: var(--text);
}

.navContact {
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: rgba(242, 244, 240, 0.06);
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.navContact:hover {
  border-color: rgba(127, 229, 214, 0.55);
  background: rgba(127, 229, 214, 0.08);
}

.heroContent {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 72px;
}

.eyebrow,
.sectionLabel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(72px, 6vw, 118px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 520;
}

.heroStage {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.heroDepthScene {
  position: relative;
  min-height: 410px;
  padding-top: 26px;
}

.heroTitleStack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  margin-top: 0;
}

.heroTitleRow {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
}

.heroTitleBack {
  position: relative;
  z-index: 1;
  justify-content: center;
  width: 100%;
  font-size: clamp(132px, 11.2vw, 236px);
  line-height: 0.82;
  opacity: 0.9;
  letter-spacing: 0;
}

.heroSubline {
  margin-top: 16px;
  color: rgba(242, 244, 240, 0.86);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.heroAvatarStage {
  position: absolute;
  top: -6px;
  left: 45%;
  display: block;
  pointer-events: none;
  z-index: 5;
  transform: translateX(-50%);
}

.heroAvatarAura {
  position: relative;
  display: block;
  width: clamp(380px, 27vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(127, 229, 214, 0.22), transparent 64%);
  filter: blur(26px);
  opacity: 0.9;
}

.heroAvatarWrap {
  position: absolute;
  flex: 0 0 auto;
  width: clamp(370px, 25vw, 450px);
  aspect-ratio: 0.9;
  transform: translate(-6px, 10px);
}

.heroAvatar {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter:
    saturate(1.04)
    contrast(1.08)
    drop-shadow(0 24px 40px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 20px rgba(127, 229, 214, 0.14));
}

.heroBottom {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  gap: 48px;
  align-items: end;
  margin-top: 30px;
}

.heroBottom p,
.sectionHeader p,
.profileCopy p,
.projectText p,
.strengthCard p,
.contactCopy p,
.timelineItem p {
  color: var(--muted);
  line-height: 1.75;
}

.heroBottom p {
  max-width: 620px;
  font-size: 18px;
}

.heroActions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.primaryButton,
.ghostButton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.primaryButton {
  color: #050605;
  background: #e8ece2;
  border-color: #e8ece2;
}

.ghostButton {
  background: rgba(255, 255, 255, 0.04);
}

.primaryButton:hover,
.ghostButton:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.section {
  padding: 132px 0;
  background: var(--bg);
}

.profileSection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, #050605, #0a0d0b 46%, #050605),
    #050605;
}

.profileBackgroundVideo,
.profileVideoVeil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.profileBackgroundVideo {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.86) contrast(1.22) brightness(0.82);
}

.profileVideoVeil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.62) 0%, rgba(5, 6, 5, 0.2) 48%, rgba(5, 6, 5, 0.66) 100%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.32), rgba(5, 6, 5, 0.68));
}

.profileGrid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.78fr 1fr 0.78fr;
  gap: 28px;
  align-items: stretch;
}

.portraitPanel,
.educationPanel,
.timelinePanel,
.strengthCard,
.statCard,
.contactPanel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.portraitPanel {
  min-height: 620px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.portraitFrame {
  position: relative;
  flex: 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(127, 229, 214, 0.16), transparent 48%),
    linear-gradient(315deg, rgba(216, 182, 106, 0.17), transparent 42%),
    #111410;
}

.portraitFigure {
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(239, 242, 230, 0.08);
  overflow: hidden;
  background: #0e1110;
}

.portraitFigure::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 5, 0) 42%, rgba(5, 6, 5, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 6, 5, 0.22), rgba(5, 6, 5, 0));
  z-index: 1;
}

.portraitFigure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 18%, rgba(127, 229, 214, 0.12), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(216, 182, 106, 0.12), transparent 30%);
  z-index: 1;
}

.profilePortraitPhoto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.88) contrast(1.02) brightness(0.84);
  transform: scale(1.02);
}

.portraitFigure span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: rgba(242, 244, 240, 0.86);
  font-size: 64px;
  font-weight: 520;
}

.scanLines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(255, 255, 255, 0.035) 10px);
  mix-blend-mode: overlay;
}

.profileSignal {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  margin-top: 16px;
  color: rgba(242, 244, 240, 0.78);
  font-size: 14px;
}

.profileCopy {
  align-self: center;
  padding: 34px 18px;
}

.profileCopy h2,
.sectionHeader h2,
.compactHeader h2,
.contactCopy h2 {
  margin-top: 18px;
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 500;
}

.profileCopy p {
  max-width: 760px;
  margin-top: 24px;
  font-size: 17px;
}

.contactRows {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  margin-top: 34px;
}

.contactRows a,
.contactRows span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  color: rgba(242, 244, 240, 0.78);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contactRows svg {
  margin-top: 2px;
}

.contactCardWide {
  font-size: 13px;
}

.profileSide {
  display: grid;
  gap: 14px;
  align-content: start;
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: start;
}

.statCard {
  min-height: 144px;
  padding: 24px;
}

.statCard strong {
  display: block;
  color: var(--amber);
  font-size: 48px;
  line-height: 1;
  font-weight: 520;
  font-variant-numeric: tabular-nums;
}

.statCard span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.educationPanel {
  padding: 24px;
}

.educationPanel h3 {
  margin: 0 0 18px;
  color: rgba(242, 244, 240, 0.72);
  font-size: 16px;
  font-weight: 500;
}

.educationItem {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.educationItem:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.educationItem span {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

.educationItem strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.educationItem p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.timelinePanel {
  grid-column: 2 / 4;
  padding: 30px;
}

.timelinePanel h3 {
  margin-bottom: 20px;
  color: rgba(242, 244, 240, 0.72);
  font-size: 16px;
  font-weight: 500;
}

.timelineItem {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timelineItem span {
  color: var(--dim);
  font-size: 13px;
}

.timelineItem strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

.timelineItem p {
  grid-column: 2;
  margin-top: -8px;
}

.sectionHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 46px;
}

.sectionHeader h2,
.compactHeader h2 {
  font-size: 64px;
}

.sectionHeader p {
  max-width: 560px;
  font-size: 16px;
}

.showcaseWall {
  --wall-gap: 24px;
  --wall-card-width: clamp(270px, 19.5vw, 370px);
  position: relative;
  height: clamp(660px, 50vw, 860px);
  margin: 28px 0 82px;
  overflow: hidden;
  border-top: 1px solid rgba(239, 242, 230, 0.08);
  border-bottom: 1px solid rgba(239, 242, 230, 0.08);
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 229, 214, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    #030403;
  mask-image:
    linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}

.showcaseWall::before,
.showcaseWall::after,
.showcaseWallShade {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.showcaseWall::before {
  z-index: 3;
  background:
    radial-gradient(ellipse at center, transparent 26%, rgba(3, 4, 3, 0.36) 68%, rgba(3, 4, 3, 0.95) 100%),
    linear-gradient(90deg, rgba(3, 4, 3, 0.98), transparent 20%, transparent 80%, rgba(3, 4, 3, 0.98)),
    linear-gradient(180deg, rgba(3, 4, 3, 0.9), transparent 20%, transparent 78%, rgba(3, 4, 3, 0.9));
}

.showcaseWall::after {
  z-index: 2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.35;
}

.showcaseWallShade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 4, 3, 0.55), transparent 30%, transparent 70%, rgba(3, 4, 3, 0.6));
}

.showcaseWallViewport {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(58px, 5vw, 86px);
  height: 100%;
  perspective: 860px;
  perspective-origin: 50% 48%;
  transform:
    translate3d(var(--wall-shift-x, 0px), var(--wall-shift-y, 0px), 0)
    rotateX(calc(1.5deg + var(--wall-tilt-y, 0deg)))
    rotateY(var(--wall-tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform 260ms ease-out;
}

.showcaseWallRow {
  width: max-content;
  transform-style: preserve-3d;
}

.showcaseWallRow1 {
  position: relative;
  z-index: 1;
  transform: translateX(-130px) rotateZ(-0.45deg);
}

.showcaseWallRow2 {
  position: relative;
  z-index: 2;
  transform: translateX(-34px) rotateZ(0.22deg);
}

.showcaseWallRow3 {
  position: relative;
  z-index: 1;
  transform: translateX(-168px) rotateZ(-0.35deg);
}

.showcaseWallTrack {
  display: flex;
  gap: var(--wall-gap);
  width: max-content;
  animation: showcaseWallScroll var(--wall-speed, 42s) linear infinite;
  will-change: transform;
  transform-style: preserve-3d;
}

.showcaseWallRow1 .showcaseWallTrack {
  --wall-speed: 48s;
}

.showcaseWallRow2 .showcaseWallTrack {
  --wall-speed: 54s;
  animation-direction: reverse;
}

.showcaseWallRow3 .showcaseWallTrack {
  --wall-speed: 50s;
}

.showcaseWallGroup {
  display: flex;
  gap: var(--wall-gap);
  transform-style: preserve-3d;
}

.showcaseWallCard {
  position: relative;
  width: var(--wall-card-width);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 242, 230, 0.12);
  border-radius: 8px;
  background: #070807;
  opacity: var(--card-opacity, 0.72);
  transform:
    translate3d(0, 0, var(--card-depth, -70px))
    rotateY(var(--card-rotate, 0deg))
    scale(var(--card-scale, 0.94));
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, var(--card-shadow, 0.52)),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.showcaseWallCard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, var(--card-side-shade, 0.26)), transparent 32%, transparent 68%, rgba(0, 0, 0, var(--card-side-shade, 0.26))),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%, rgba(0, 0, 0, 0.18));
}

.showcaseWallCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(var(--card-saturation, 0.78)) contrast(1.1) brightness(var(--card-brightness, 0.68));
  transform: scale(1.01);
}

@keyframes showcaseWallScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - (var(--wall-gap) / 2)), 0, 0);
  }
}

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

.projectCard {
  min-height: 650px;
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  border: 1px solid var(--line);
  background: #101310;
  overflow: hidden;
}

.projectCardFeatured {
  grid-column: 1 / -1;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.42fr) minmax(380px, 0.58fr);
  grid-template-rows: 1fr;
  transform: none;
}

.projectCardVideo {
  min-height: 0;
  align-items: start;
  position: relative;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.projectCard1,
.projectCard3 {
  transform: translateY(44px);
}

.projectCardFeatured {
  transform: none;
}

.projectMedia {
  position: relative;
  overflow: hidden;
  background: #151914;
}

.projectMedia img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.82);
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.projectVideo {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #050605;
  filter: saturate(0.82) contrast(1.08) brightness(0.86);
}

.projectPlayButton {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 104px;
  height: 104px;
  padding: 0;
  color: rgba(244, 245, 238, 0.92);
  border: 1px solid rgba(244, 245, 238, 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 30%, rgba(255, 255, 255, 0.18), transparent 34%),
    rgba(5, 6, 5, 0.58);
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.projectPlayButton svg {
  width: 28px;
  height: 28px;
  transform: translateX(2px);
}

.projectPlayButton span {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  transform: translateX(-50%);
  color: rgba(244, 245, 238, 0.72);
  font-family: var(--font-condensed, inherit);
  font-size: 14px;
  text-transform: uppercase;
}

.projectPlayButton:hover {
  border-color: rgba(127, 229, 214, 0.62);
  background:
    radial-gradient(circle at 42% 30%, rgba(255, 255, 255, 0.22), transparent 34%),
    rgba(10, 16, 15, 0.7);
  transform: translate(-50%, -50%) scale(1.04);
}

.projectPlayButton.isHidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
}

.projectCardVideo.isPlaying {
  border-color: rgba(127, 229, 214, 0.46);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(127, 229, 214, 0.12),
    0 0 52px rgba(127, 229, 214, 0.08);
}

.projectCardVideo.isPlaying .projectMedia::after {
  background:
    linear-gradient(180deg, transparent 56%, rgba(5, 6, 5, 0.58)),
    linear-gradient(90deg, rgba(5, 6, 5, 0.16), transparent);
}

.projectCardVideo.isPlaying .projectVideo {
  filter: saturate(0.94) contrast(1.06) brightness(0.94);
}

.projectMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 42%, rgba(5, 6, 5, 0.84)),
    linear-gradient(90deg, rgba(5, 6, 5, 0.32), transparent);
}

.projectMedia span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  pointer-events: none;
  padding: 8px 10px;
  color: rgba(242, 244, 240, 0.8);
  border: 1px solid rgba(242, 244, 240, 0.16);
  background: rgba(5, 6, 5, 0.52);
  font-size: 12px;
}

.projectText {
  padding: 28px;
}

.projectCard:hover .projectMedia img {
  transform: scale(1.07);
}

.projectCardFeatured .projectMedia {
  min-height: 100%;
}

.projectCardVideo .projectMedia {
  aspect-ratio: 16 / 9;
  min-height: 0;
  align-self: start;
  background:
    linear-gradient(135deg, rgba(127, 229, 214, 0.08), transparent 34%),
    #050605;
}

.projectCardVideo .projectVideo {
  height: 100%;
  max-height: none;
}

.projectCardFeatured .projectText {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 100%;
}

.projectCardFeatured .projectText h3 {
  font-size: 56px;
}

.projectMeta {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--dim);
  font-size: 13px;
}

.projectText h3 {
  margin-top: 18px;
  color: var(--text);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 500;
}

.projectText p {
  margin-top: 16px;
  min-height: 84px;
}

.projectText a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--cyan);
  font-size: 14px;
}

.strengthsSection {
  background:
    linear-gradient(180deg, #050605, #080a08 52%, #050605),
    #050605;
}

.compactHeader {
  margin-bottom: 34px;
}

.strengthGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.strengthCard {
  min-height: 310px;
  padding: 26px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.strengthCard:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 229, 214, 0.34);
}

.strengthIcon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--cyan);
  border: 1px solid var(--line);
  background: rgba(127, 229, 214, 0.06);
}

.strengthCard h3 {
  margin-top: 72px;
  font-size: 24px;
  font-weight: 500;
}

.strengthCard p {
  margin-top: 16px;
  font-size: 15px;
}

.skillsBar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.skillsBar svg {
  color: var(--amber);
  margin-right: 4px;
}

.skillsBar span {
  padding: 9px 12px;
  color: rgba(242, 244, 240, 0.72);
  border: 1px solid rgba(239, 242, 230, 0.1);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
}

.contactSection {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(127, 229, 214, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(223, 127, 99, 0.1), transparent 40%),
    #050605;
}

.contactSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.contactWrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 72px;
  align-items: center;
  min-height: 100vh;
  padding: 86px 0 42px;
}

.contactCopy h2 {
  max-width: 980px;
  font-size: 82px;
  line-height: 0.98;
}

.contactCopy p {
  max-width: 720px;
  margin-top: 28px;
  font-size: 18px;
}

.contactPanel {
  padding: 18px;
}

.contactPanel a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 0 18px;
  color: rgba(242, 244, 240, 0.84);
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.contactPanel a:last-child {
  border-bottom: 0;
}

.contactPanel a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.contactPanel span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-self: end;
  color: var(--dim);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

@keyframes drift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 88px 0, 20px 0, -20px 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .revealItem,
  .showcaseWallTrack,
  .projectPlayButton,
  .projectCardVideo {
    transition: none;
    animation: none;
  }

  .revealItem {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 1280px) {
  body {
    min-width: 1024px;
  }

  .shell {
    width: calc(100vw - 56px);
  }

  .heroTitleBack {
    font-size: 126px;
  }

  .heroDepthScene {
    min-height: 350px;
  }

  .heroSubline {
    font-size: 22px;
  }

  .heroAvatarAura {
    width: 360px;
  }

  .heroAvatarWrap {
    width: 300px;
  }

  .profileGrid {
    grid-template-columns: 0.8fr 1fr;
  }

  .profileSide {
    grid-column: 1 / -1;
    grid-template-columns: 1.1fr 1fr;
  }

  .statsGrid {
    grid-template-columns: repeat(4, 1fr);
  }

  .timelinePanel {
    grid-column: 1 / -1;
  }

  .strengthGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contactWrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contactPanel {
    max-width: 720px;
  }
}

/* Premium editorial pass */
:root {
  --font-display: "Bodoni 72", "Didot", "Baskerville", "Georgia", serif;
  --font-body: "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-condensed: "Bahnschrift Condensed", "Arial Narrow", "Aptos", sans-serif;
  --bg: #040504;
  --panel: rgba(17, 20, 18, 0.78);
  --line: rgba(239, 242, 230, 0.13);
  --line-strong: rgba(239, 242, 230, 0.28);
  --text: #f4f5ee;
  --muted: #aeb5aa;
  --dim: #70776f;
  --cyan: #7fe5d6;
  --amber: #d8bf7a;
}

body {
  font-family: var(--font-body);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, #040504 0%, #0b0f0d 46%, #050604 100%);
  background-size: 112px 112px, 112px 112px, auto;
}

.hero {
  border-bottom-color: rgba(239, 242, 230, 0.18);
}

.heroVideo {
  opacity: 0.3;
  filter: saturate(0.58) contrast(1.18) brightness(0.64);
}

.silkCanvas {
  opacity: 0.96;
  filter: saturate(0.88) contrast(1.25) brightness(0.82);
}

.silkFallback {
  opacity: 0.72;
}

.heroShade {
  background:
    linear-gradient(90deg, rgba(4, 5, 4, 0.8) 0%, rgba(4, 5, 4, 0.34) 46%, rgba(4, 5, 4, 0.74) 100%),
    linear-gradient(180deg, rgba(4, 5, 4, 0.14), rgba(4, 5, 4, 0.88));
}

.nav {
  height: 104px;
  border-bottom-color: rgba(239, 242, 230, 0.14);
}

.brand,
.navLinks,
.navContact,
.eyebrow,
.sectionLabel,
.projectMeta,
.skillsBar span,
.educationItem span,
.timelineItem span {
  font-family: var(--font-condensed);
  text-transform: uppercase;
}

.brand {
  font-size: 14px;
  color: rgba(244, 245, 238, 0.86);
}

.brandMark {
  width: 42px;
  height: 42px;
  font-family: var(--font-display);
  font-size: 21px;
  background: rgba(244, 245, 238, 0.08);
}

.navLinks {
  gap: 46px;
  font-size: 13px;
}

.navContact {
  min-height: 46px;
  padding: 0 18px;
  background: rgba(244, 245, 238, 0.075);
}

.heroContent {
  min-height: calc(100vh - 104px);
  padding: 54px 0 74px;
}

.eyebrow,
.sectionLabel {
  color: rgba(127, 229, 214, 0.94);
  font-size: 13px;
}

.heroDepthScene {
  min-height: 430px;
  padding-top: 28px;
}

.heroTitleBack {
  justify-content: flex-start;
  font-family: var(--font-display);
  font-size: clamp(150px, 12.6vw, 282px);
  line-height: 0.75;
  font-weight: 500;
  color: rgba(245, 246, 239, 0.92);
  text-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.heroAvatarStage {
  top: -20px;
  left: 42%;
}

.heroAvatarAura {
  width: clamp(410px, 30vw, 560px);
  opacity: 0.78;
}

.heroAvatarWrap {
  width: clamp(390px, 27vw, 500px);
  transform: translate(-10px, 14px);
}

.heroSubline {
  margin-top: 4px;
  font-family: var(--font-condensed);
  color: rgba(244, 245, 238, 0.82);
  font-size: 42px;
}

.heroBottom {
  grid-template-columns: minmax(0, 640px) minmax(360px, 1fr);
  margin-top: 34px;
  border-top: 1px solid rgba(239, 242, 230, 0.14);
  padding-top: 26px;
}

.heroBottom p {
  font-size: 19px;
  color: rgba(244, 245, 238, 0.68);
}

.primaryButton,
.ghostButton {
  min-height: 56px;
  padding: 0 24px;
  font-family: var(--font-condensed);
  font-size: 16px;
}

.primaryButton {
  background: #f1f2ea;
}

.section {
  padding: 156px 0;
}

.profileSection,
.strengthsSection {
  background:
    linear-gradient(90deg, rgba(239, 242, 230, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #040504, #0a0d0b 46%, #040504);
  background-size: 128px 128px, auto;
}

.profileSection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.profileBackgroundVideo {
  opacity: 0.52;
  filter: saturate(0.82) contrast(1.22) brightness(0.78);
}

.profileBackgroundVideoPaused + .profileVideoVeil {
  background:
    radial-gradient(circle at 50% 32%, rgba(127, 229, 214, 0.12), transparent 30%),
    linear-gradient(120deg, rgba(31, 52, 70, 0.6), rgba(4, 5, 4, 0.78) 52%, rgba(21, 24, 29, 0.72)),
    linear-gradient(180deg, rgba(4, 5, 4, 0.3), rgba(4, 5, 4, 0.74));
}

.profileVideoVeil {
  background:
    radial-gradient(circle at 18% 18%, rgba(127, 229, 214, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(4, 5, 4, 0.64) 0%, rgba(4, 5, 4, 0.28) 50%, rgba(4, 5, 4, 0.7) 100%),
    linear-gradient(180deg, rgba(4, 5, 4, 0.34), rgba(4, 5, 4, 0.66));
}

.profileGrid {
  grid-template-columns: minmax(340px, 0.84fr) minmax(560px, 1.16fr) minmax(360px, 0.9fr);
  gap: 34px;
}

.portraitPanel,
.educationPanel,
.timelinePanel,
.strengthCard,
.statCard,
.contactPanel,
.projectCard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(14, 17, 15, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 34px 80px rgba(0, 0, 0, 0.28);
}

.portraitPanel {
  min-height: 720px;
  padding: 18px;
}

.portraitFigure {
  inset: 18px;
}

.portraitFigure span {
  left: 24px;
  bottom: 22px;
  font-family: var(--font-display);
  font-size: 86px;
}

.profilePortraitPhoto {
  object-position: center 34%;
  filter: saturate(0.82) contrast(1.06) brightness(0.78);
}

.profileSignal {
  min-height: 74px;
  padding: 0 6px;
  font-size: 15px;
  color: rgba(244, 245, 238, 0.74);
}

.profileCopy {
  padding: 24px 12px;
}

.profileCopy h2,
.sectionHeader h2,
.compactHeader h2,
.contactCopy h2 {
  font-family: var(--font-display);
  font-weight: 500;
}

.profileCopy h2 {
  max-width: 760px;
  font-size: 70px;
  line-height: 0.98;
}

.profileCopy p {
  max-width: 700px;
  margin-top: 28px;
  color: rgba(244, 245, 238, 0.68);
  font-size: 18px;
}

.contactRows {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
  margin-top: 40px;
}

.contactRows a,
.contactRows span {
  min-height: 64px;
  padding: 14px 16px;
  border-color: rgba(239, 242, 230, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 245, 238, 0.75);
}

.contactCardWide {
  grid-column: 1 / -1;
  font-size: 14px;
}

.profileSide {
  gap: 18px;
}

.statsGrid {
  gap: 16px;
}

.statCard {
  min-height: 176px;
  padding: 26px;
}

.statCard strong {
  font-family: var(--font-display);
  color: rgba(216, 191, 122, 0.96);
  font-size: 68px;
}

.statCard span {
  color: rgba(244, 245, 238, 0.58);
}

.educationPanel {
  padding: 28px;
}

.educationPanel h3,
.timelinePanel h3 {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 18px;
}

.educationItem strong {
  font-family: var(--font-display);
  font-size: 20px;
}

.timelinePanel {
  margin-top: 8px;
  padding: 34px;
}

.timelineItem {
  grid-template-columns: 190px minmax(0, 1fr);
  padding: 28px 0;
}

.timelineItem strong {
  font-family: var(--font-display);
  font-size: 25px;
}

.projectsSection .sectionHeader {
  margin-bottom: 68px;
}

.sectionHeader h2,
.compactHeader h2 {
  font-size: 88px;
  line-height: 0.94;
}

.sectionHeader p {
  max-width: 640px;
  color: rgba(244, 245, 238, 0.62);
  font-size: 18px;
}

.projectGrid {
  gap: 34px;
}

.projectCard {
  min-height: 720px;
}

.projectCardFeatured {
  min-height: 760px;
  grid-template-columns: minmax(0, 1.38fr) minmax(420px, 0.62fr);
  grid-template-rows: 1fr;
  transform: none;
}

.projectCardVideo {
  min-height: 0;
  grid-template-columns: minmax(0, 1.48fr) minmax(390px, 0.52fr);
  align-items: start;
}

.projectCard1,
.projectCard3 {
  transform: translateY(58px);
}

.projectCardFeatured {
  transform: none;
}

.projectMedia img {
  min-height: 420px;
  filter: saturate(0.62) contrast(1.14) brightness(0.76);
}

.projectVideo {
  min-height: 0;
  filter: saturate(0.76) contrast(1.12) brightness(0.82);
}

.projectCardVideo .projectMedia {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.projectCardVideo .projectVideo {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.projectText {
  padding: 34px;
}

.projectText h3 {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
}

.projectText p {
  color: rgba(244, 245, 238, 0.62);
}

.strengthGrid {
  gap: 22px;
}

.strengthCard {
  min-height: 340px;
  padding: 30px;
}

.strengthCard h3 {
  margin-top: 82px;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1;
}

.strengthCard p {
  color: rgba(244, 245, 238, 0.62);
}

.contactCopy h2 {
  font-size: 96px;
}

.contactCopy p {
  color: rgba(244, 245, 238, 0.66);
}

@media (max-width: 1280px) {
  .heroTitleBack {
    font-size: 142px;
  }

  .heroAvatarStage {
    left: 43%;
  }

  .heroAvatarWrap {
    width: 330px;
  }

  .heroAvatarAura {
    width: 390px;
  }

  .heroSubline {
    font-size: 30px;
  }

  .profileGrid {
    grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1fr);
  }

  .profileCopy h2 {
    font-size: 58px;
  }

  .profileSide {
    grid-column: 1 / -1;
  }
}

/* Final interaction and monochrome refinement */
:root {
  --bg: #050505;
  --panel: rgba(18, 18, 18, 0.78);
  --line: rgba(226, 226, 220, 0.14);
  --line-strong: rgba(226, 226, 220, 0.28);
  --text: #f2f2ee;
  --muted: #aaa9a2;
  --dim: #74736d;
  --cyan: #c4c8c2;
  --amber: #d6d0bd;
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(135deg, #050505 0%, #111111 48%, #060606 100%);
  background-size: 118px 118px, 118px 118px, auto;
}

.revealItem {
  filter: blur(14px);
  transition:
    opacity 1450ms ease,
    filter 1450ms ease,
    transform 1450ms cubic-bezier(0.16, 0.84, 0.22, 1);
}

.navContact,
.primaryButton,
.ghostButton,
.portraitPanel,
.profileCopy,
.educationPanel,
.timelinePanel,
.statCard,
.projectCard,
.strengthCard,
.skillsBar,
.contactRows a,
.contactRows span,
.contactPanel {
  transition:
    transform 520ms cubic-bezier(0.18, 0.82, 0.2, 1),
    border-color 520ms ease,
    background 520ms ease,
    box-shadow 520ms ease,
    filter 520ms ease;
}

.navContact:hover,
.primaryButton:hover,
.ghostButton:hover,
.portraitPanel:hover,
.profileCopy:hover,
.educationPanel:hover,
.timelinePanel:hover,
.statCard:hover,
.strengthCard:hover,
.skillsBar:hover,
.contactRows a:hover,
.contactRows span:hover,
.contactPanel:hover {
  transform: translate3d(0, -5px, 0) scale(1.015);
  border-color: rgba(226, 226, 220, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 34px 82px rgba(0, 0, 0, 0.34);
}

.projectCard {
  --project-lift: 0px;
  transform: translateY(var(--project-lift)) scale(1);
  transition:
    transform 620ms cubic-bezier(0.18, 0.82, 0.2, 1),
    border-color 520ms ease,
    box-shadow 520ms ease,
    background 520ms ease;
}

.projectCard1,
.projectCard3 {
  --project-lift: 58px;
  transform: translateY(var(--project-lift)) scale(1);
}

.projectCardFeatured {
  --project-lift: 0px;
  transform: translateY(0) scale(1);
}

.projectCard:hover {
  transform: translateY(calc(var(--project-lift) - 5px)) scale(1.014);
  border-color: rgba(226, 226, 220, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 36px 94px rgba(0, 0, 0, 0.36);
}

.projectCardFeatured:hover {
  transform: translateY(-4px) scale(1.008);
}

.projectMedia img {
  transition:
    transform 820ms cubic-bezier(0.18, 0.82, 0.2, 1),
    filter 820ms ease;
}

.projectCard:hover .projectMedia img {
  transform: scale(1.045);
  filter: saturate(0.72) contrast(1.12) brightness(0.86);
}

.projectPlayButton {
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.18, 0.82, 0.2, 1),
    border-color 360ms ease,
    background 360ms ease,
    box-shadow 360ms ease;
}

.profileSection,
.strengthsSection,
.projectsSection {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #050505, #0f0f0f 48%, #050505);
  background-size: 128px 128px, auto;
}

.profileVideoVeil {
  background:
    radial-gradient(circle at 22% 18%, rgba(180, 180, 172, 0.1), transparent 28%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.34) 50%, rgba(5, 5, 5, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.72));
}

.profileGrid {
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 42px;
  align-items: stretch;
}

.profileCopy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018)),
    rgba(15, 15, 15, 0.76);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 34px 80px rgba(0, 0, 0, 0.28);
}

.profileCopy h2 {
  max-width: 820px;
  font-size: 64px;
}

.profileCopy p {
  max-width: 760px;
}

.profileSide {
  gap: 22px;
}

.statsGrid {
  gap: 18px;
}

.statCard {
  min-height: 190px;
  padding: 34px 30px;
}

.statCard strong {
  color: var(--amber);
  font-size: 66px;
  letter-spacing: 0;
}

.educationPanel {
  padding: 30px;
}

.timelinePanel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 180px repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.timelinePanel h3,
.timelineItem {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016)),
    rgba(15, 15, 15, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 64px rgba(0, 0, 0, 0.22);
}

.timelinePanel h3 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 28px;
}

.timelineItem {
  display: block;
  padding: 28px;
}

.timelineItem strong {
  display: block;
  margin-top: 18px;
}

.timelineItem p {
  grid-column: auto;
  margin-top: 12px;
}

.showcaseWall {
  --wall-gap: 26px;
  border-color: rgba(226, 226, 220, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(190, 190, 184, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    #030303;
  mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), #000 6%, #000 94%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), #000 7%, #000 93%, rgba(0, 0, 0, 0.52));
}

.showcaseWall::before {
  background:
    radial-gradient(ellipse at center, transparent 34%, rgba(3, 3, 3, 0.18) 72%, rgba(3, 3, 3, 0.58) 100%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.58), transparent 12%, transparent 88%, rgba(3, 3, 3, 0.58)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.45), transparent 14%, transparent 86%, rgba(3, 3, 3, 0.48));
}

.showcaseWallShade {
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.3), transparent 24%, transparent 76%, rgba(3, 3, 3, 0.34));
}

.showcaseWallRow1 .showcaseWallTrack {
  --wall-speed: 76s;
}

.showcaseWallRow2 .showcaseWallTrack {
  --wall-speed: 88s;
}

.showcaseWallRow3 .showcaseWallTrack {
  --wall-speed: 82s;
}

.showcaseWall:not(.isWallActive) .showcaseWallTrack {
  animation-play-state: paused;
}

.showcaseWallViewport {
  transition: transform 620ms ease-out;
}

.showcaseWallCard img {
  filter: saturate(var(--card-saturation, 0.7)) contrast(1.08) brightness(var(--card-brightness, 0.74));
}

@media (max-width: 1280px) {
  .profileGrid {
    grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1fr);
  }

  .profileSide,
  .timelinePanel {
    grid-column: 1 / -1;
  }

  .timelinePanel {
    grid-template-columns: 1fr;
  }
}

/* Editorial hero: portrait and type have separate visual territories. */
.heroContent {
  justify-content: center;
  padding: 42px 0 58px;
}

.heroStage {
  gap: 18px;
}

.heroEditorialGrid {
  display: grid;
  grid-template-columns: minmax(380px, 1.08fr) minmax(360px, 0.82fr) minmax(280px, 0.68fr);
  min-height: 510px;
  border-top: 1px solid rgba(226, 226, 220, 0.18);
  border-bottom: 1px solid rgba(226, 226, 220, 0.18);
}

.heroLead,
.heroServices {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heroLead {
  padding: 38px 48px 34px 0;
}

.heroLeadIndex,
.heroServicesLabel {
  color: rgba(242, 242, 238, 0.48);
  font-family: var(--font-condensed);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.heroTitleStack {
  z-index: 1;
  margin-top: 56px;
}

.heroTitleBack {
  justify-content: flex-start;
  width: auto;
  color: rgba(245, 246, 239, 0.96);
  font-family: var(--font-condensed);
  font-size: clamp(82px, 6.4vw, 132px);
  font-weight: 500;
  line-height: 0.78;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.heroTitleAccent {
  display: block;
  margin-top: 18px;
  color: rgba(218, 218, 211, 0.92);
  font-family: var(--font-display);
  font-size: clamp(118px, 9.2vw, 188px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.7;
}

.heroLeadNote {
  max-width: 330px;
  margin-top: 64px;
  color: rgba(242, 242, 238, 0.58);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.45;
}

.heroPortraitColumn {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(226, 226, 220, 0.14);
  border-left: 1px solid rgba(226, 226, 220, 0.14);
  overflow: hidden;
}

.heroAvatarStage {
  --avatar-x: 0px;
  --avatar-y: 0px;
  --avatar-rotate-x: 0deg;
  --avatar-rotate-y: 0deg;
  --avatar-glow-x: 50%;
  --avatar-glow-y: 46%;
  position: relative;
  top: auto;
  left: auto;
  width: min(94%, 470px);
  aspect-ratio: 1;
  transform:
    translate3d(var(--avatar-x), var(--avatar-y), 0)
    rotateX(var(--avatar-rotate-x))
    rotateY(var(--avatar-rotate-y));
  z-index: 2;
  transform-origin: center center;
  transform-style: preserve-3d;
  isolation: isolate;
  will-change: transform;
}

.heroAvatarAura {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at var(--avatar-glow-x) var(--avatar-glow-y), rgba(255, 255, 255, 0.15), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(190, 194, 190, 0.13), transparent 66%);
  filter: blur(30px);
  opacity: 0.64;
  animation: heroAvatarAuraPulse 7s ease-in-out infinite;
}

.heroAvatarWrap {
  left: 50%;
  top: 50%;
  width: 88%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  isolation: isolate;
  animation: heroAvatarFloat 6.8s ease-in-out infinite;
  will-change: transform;
}

.heroAvatar {
  z-index: 3;
  filter:
    saturate(0.94)
    contrast(1.08)
    drop-shadow(0 34px 52px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 28px rgba(210, 214, 210, 0.1));
  transition: filter 760ms ease;
}

.hero:hover .heroAvatar {
  filter:
    saturate(1.02)
    contrast(1.12)
    drop-shadow(0 38px 58px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 34px rgba(220, 224, 220, 0.16));
}

.heroPortraitMeta {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: rgba(242, 242, 238, 0.54);
  font-family: var(--font-condensed);
  font-size: 11px;
  text-transform: uppercase;
}

.heroPortraitMeta strong {
  color: rgba(242, 242, 238, 0.88);
  font-weight: 500;
}

.heroServices {
  padding: 38px 0 34px 42px;
}

.heroServicesLabel {
  margin-bottom: 58px;
}

.heroServiceItem {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px solid rgba(226, 226, 220, 0.14);
}

.heroServiceItem:last-of-type {
  border-bottom: 1px solid rgba(226, 226, 220, 0.14);
}

.heroServiceItem strong {
  color: rgba(242, 242, 238, 0.36);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
}

.heroServiceItem span {
  color: rgba(245, 246, 239, 0.9);
  font-family: var(--font-condensed);
  font-size: 19px;
}

.heroServices p {
  max-width: 250px;
  margin-top: 52px;
  color: rgba(242, 242, 238, 0.52);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
}

.heroBottom {
  grid-template-columns: minmax(0, 620px) 1fr;
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}

.heroBottom p {
  font-size: 16px;
}

@keyframes heroAvatarFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(7px) scale(0.995);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-11px) scale(1.012);
  }
}

@keyframes heroAvatarAuraPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.04);
  }
}

@media (max-width: 1280px) {
  .heroEditorialGrid {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.86fr) minmax(250px, 0.68fr);
    min-height: 470px;
  }

  .heroLead {
    padding-right: 32px;
  }

  .heroTitleBack {
    font-size: 74px;
  }

  .heroTitleAccent {
    font-size: 126px;
  }

  .heroServices {
    padding-left: 28px;
  }

  .heroServiceItem span {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroAvatarStage,
  .heroAvatarWrap,
  .heroAvatarAura {
    animation: none;
    transition: none;
  }
}

/* Bold typographic hero and restrained collision-color system. */
:root {
  --accent-acid: #b9d950;
  --accent-coral: #ff3b30;
  --accent-ice: #9fc5ff;
}

.heroContent {
  justify-content: center;
  padding: 32px 0 44px;
}

.heroStage {
  align-items: center;
  gap: 14px;
  text-align: center;
}

.heroStage > .eyebrow {
  order: 0;
  opacity: 0;
  color: var(--accent-coral);
}

.heroSloganStage {
  order: 2;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.heroSlogan {
  width: 100%;
  text-align: center;
}

.heroSloganLine {
  display: block;
  opacity: 0;
  transform: translateY(70px);
  filter: blur(14px);
  clip-path: inset(0 0 100% 0);
}

.heroSloganLinePrimary {
  color: rgba(245, 246, 239, 0.97);
  font-family: var(--font-condensed);
  font-size: clamp(88px, 8.6vw, 174px);
  font-weight: 520;
  line-height: 0.82;
}

.heroSloganLineSecondary {
  margin-top: 14px;
  color: rgba(190, 190, 185, 0.72);
  font-family: var(--font-display);
  font-size: clamp(68px, 6.7vw, 136px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.78;
}

.heroSloganLineSecondary strong {
  color: var(--accent-coral);
  font-family: var(--font-condensed);
  font-style: normal;
  font-weight: 520;
}

.heroAccentLetter {
  color: var(--accent-acid);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.heroAccentMark {
  color: var(--accent-coral);
}

.heroSloganNote {
  margin-top: 22px;
  opacity: 0;
  color: rgba(242, 242, 238, 0.46);
  font-family: var(--font-condensed);
  font-size: 11px;
  text-transform: uppercase;
}

.heroAvatarReveal {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(42px) scale(0.9);
  filter: blur(12px);
}

.heroAvatarVisual {
  display: flex;
  width: 410px;
  height: 310px;
  align-items: center;
  justify-content: center;
}

.heroAvatarStage {
  width: 384px;
}

.heroAvatarAura {
  background:
    radial-gradient(circle at var(--avatar-glow-x) var(--avatar-glow-y), rgba(201, 255, 63, 0.17), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(255, 90, 79, 0.1), transparent 65%);
}

.heroIdentity {
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(242, 242, 238, 0.42);
  font-family: var(--font-condensed);
  font-size: 11px;
  text-transform: uppercase;
}

.heroIdentity strong {
  color: rgba(242, 242, 238, 0.9);
  font-weight: 500;
}

.heroIdentity strong::after {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 18px;
  border-radius: 50%;
  background: var(--accent-coral);
  content: "";
  vertical-align: middle;
}

.heroBottom {
  width: 100%;
  margin-top: 18px;
  opacity: 0;
}

.heroSequenceActive .heroStage > .eyebrow {
  animation: heroMetaReveal 900ms 80ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.heroSequenceActive .heroSloganLinePrimary {
  animation: heroSloganReveal 1.25s 220ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.heroSequenceActive .heroSloganLineSecondary {
  animation: heroSloganReveal 1.25s 560ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.heroSequenceActive .heroSloganNote {
  animation: heroMetaReveal 900ms 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.heroSequenceActive .heroAvatarReveal {
  animation: heroPortraitReveal 1.3s 1.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.heroSequenceActive .heroBottom {
  animation: heroMetaReveal 900ms 2.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroSloganReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes heroPortraitReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroMetaReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brandMark {
  color: #080808;
  background: var(--accent-coral);
}

.profileSection .sectionLabel,
.contactSection .sectionLabel {
  color: var(--accent-coral);
}

.projectsSection .sectionLabel,
.timelineItem span {
  color: var(--accent-coral);
}

.strengthsSection .sectionLabel,
.educationItem > span {
  color: var(--accent-ice);
}

.statCard:nth-child(odd) strong,
.strengthCard:nth-child(odd) .strengthIcon {
  color: var(--accent-coral);
}

.statCard:nth-child(even) strong,
.strengthCard:nth-child(even) .strengthIcon {
  color: var(--accent-ice);
}

.statCard:nth-child(4n + 4) strong,
.strengthCard:nth-child(4n + 4) .strengthIcon {
  color: var(--accent-coral);
}

.projectCard:nth-child(odd) .projectMeta span:first-child {
  color: var(--accent-coral);
}

.projectCard:nth-child(even) .projectMeta span:first-child {
  color: var(--accent-ice);
}

.contactAccent {
  color: var(--accent-coral);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.primaryButton {
  border-color: var(--accent-coral);
  background: var(--accent-coral);
  color: #080808;
}

.primaryButton:hover {
  border-color: #ff625a;
  background: #ff625a;
}

.navContact:hover {
  border-color: var(--accent-coral);
  background: rgba(255, 59, 48, 0.12);
}

@media (max-width: 1280px) {
  .heroSloganLinePrimary {
    font-size: 82px;
  }

  .heroSloganLineSecondary {
    font-size: 66px;
  }

  .heroAvatarVisual {
    width: 330px;
    height: 252px;
  }

  .heroAvatarStage {
    width: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroStage > .eyebrow,
  .heroSloganLine,
  .heroSloganNote,
  .heroAvatarReveal,
  .heroBottom {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    animation: none;
  }
}
