:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-family:
    var(--font-sans);
  color: #edf4f7;
  background: #050708;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #050708;
  --panel: rgba(14, 20, 23, 0.72);
  --panel-solid: #0d1316;
  --line: rgba(219, 238, 242, 0.14);
  --muted: #90a0a6;
  --text: #edf4f7;
  --accent: #2247ff;
  --accent-soft: rgba(34, 71, 255, 0.16);
  --steel: #b9c5c8;
  --max: 1700px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  min-width: 1180px;
  background: #000;
}

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

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #020202;
  border-bottom: 0;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 104px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.34) 56%, #000 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.24) 34%, rgba(0, 0, 0, 0.68) 76%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.34) 92%);
}

.motion-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 20% 26%, rgba(90, 107, 112, 0.16), transparent 15%),
    radial-gradient(circle at 83% 48%, rgba(116, 62, 54, 0.14), transparent 18%),
    #000;
}

.hero-glow {
  position: absolute;
  width: 440px;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.17), transparent 66%);
  filter: blur(22px);
  opacity: 0.42;
}

.hero-glow-one {
  top: -60px;
  left: 19%;
}

.hero-glow-two {
  right: 10%;
  bottom: 19%;
  opacity: 0.3;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    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: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.hero-portrait-chip {
  position: absolute;
  top: 18px;
  left: 22%;
  width: 94px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background:
    linear-gradient(150deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 39% 41%, transparent 42%),
    radial-gradient(circle at 54% 22%, #cbb9aa 0 9%, transparent 10%),
    linear-gradient(160deg, #14100f 0 30%, #4e4138 31% 53%, #0a0909 54%);
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.12);
  opacity: 0.72;
  animation: heroChipFloat 8s ease-in-out infinite alternate;
}

.hero-fragments {
  position: absolute;
  inset: 0;
  overflow: visible;
  perspective: 1600px;
  pointer-events: none;
  transform: translateZ(0);
  mask-image: radial-gradient(ellipse at center, black 0 72%, rgba(0, 0, 0, 0.88) 88%, transparent 100%);
}

.fragment {
  position: absolute;
  display: grid;
  width: calc(var(--card-w, 190px) * 0.88);
  height: calc(var(--card-h, 132px) * 0.88);
  place-items: end start;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 58% 38%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(95deg, rgba(255, 255, 255, var(--edge-light, 0.2)), transparent 20%, transparent 78%, rgba(0, 0, 0, 0.72)),
    linear-gradient(135deg, var(--tile-a, #b7b8b5), var(--tile-b, #686965));
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -20px 44px rgba(0, 0, 0, 0.22);
  opacity: var(--card-opacity, 0.78);
  animation: heroCardFloat calc(var(--float-speed, 3.8s) * 0.75) ease-in-out infinite alternate;
  transform:
    translate3d(0, var(--curve, 0px), 0)
    rotate(var(--tilt))
    scale(var(--scale, 1));
  transform-origin: center;
  will-change: transform;
}

.fragment i {
  display: none;
}

.fragment img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02) brightness(0.72);
  opacity: 1;
}

.fragment::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at 46% 46%, rgba(255, 255, 255, 0.13), transparent 18%),
    linear-gradient(95deg, transparent 0 36%, rgba(255, 255, 255, 0.16) 43% 49%, transparent 58%);
  z-index: 1;
}

.fragment::after {
  position: absolute;
  inset: 1px;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.1), transparent 20%);
  z-index: 2;
}

.fragment-1 { top: 11%; left: 7%; --card-w: 226px; --card-h: 148px; --curve: -18px; --tilt: 13deg; --scale: 1.02; --float-x: 46px; --float-y: -34px; --drift-x: -24px; --drift-y: 18px; --float-speed: 3.2s; --tile-a: #a9aaa6; --tile-b: #5d5e5a; --edge-light: 0.28; --card-opacity: 0.55; }
.fragment-2 { top: 2%; left: 22%; --card-w: 154px; --card-h: 196px; --curve: -34px; --tilt: -7deg; --scale: 0.92; --float-x: -38px; --float-y: 42px; --drift-x: 22px; --drift-y: -18px; --float-speed: 2.9s; animation-delay: -1.1s; --tile-a: #7f807c; --tile-b: #464743; --edge-light: 0.2; --card-opacity: 0.5; }
.fragment-3 { top: 24%; left: 13%; --card-w: 164px; --card-h: 142px; --curve: 2px; --tilt: 1deg; --scale: 0.88; --float-x: 34px; --float-y: 38px; --drift-x: -20px; --drift-y: -26px; --float-speed: 3.5s; animation-delay: -2.3s; --tile-a: #8d8e8a; --tile-b: #555652; --edge-light: 0.22; --card-opacity: 0.42; }
.fragment-4 { top: 19%; left: 69%; --card-w: 198px; --card-h: 136px; --curve: -12px; --tilt: -10deg; --scale: 0.98; --float-x: -50px; --float-y: -28px; --drift-x: 30px; --drift-y: 20px; --float-speed: 3s; animation-delay: -0.6s; --tile-a: #b6b7b3; --tile-b: #6a6b67; --edge-light: 0.3; --card-opacity: 0.54; }
.fragment-5 { top: 31%; left: 80%; --card-w: 150px; --card-h: 178px; --curve: 14px; --tilt: 9deg; --scale: 0.94; --float-x: 36px; --float-y: 44px; --drift-x: -26px; --drift-y: -22px; --float-speed: 3.4s; animation-delay: -1.9s; --tile-a: #8b8c88; --tile-b: #51524e; --edge-light: 0.24; --card-opacity: 0.46; }
.fragment-6 { top: 46%; left: 18%; --card-w: 224px; --card-h: 126px; --curve: 18px; --tilt: -5deg; --scale: 1.02; --float-x: -42px; --float-y: 32px; --drift-x: 28px; --drift-y: -28px; --float-speed: 3.1s; animation-delay: -2.8s; --tile-a: #777874; --tile-b: #42433f; --edge-light: 0.18; --card-opacity: 0.5; }
.fragment-7 { display: none; top: 24%; left: 34%; --card-w: 226px; --card-h: 132px; --curve: -8px; --tilt: 16deg; --scale: 1.02; --float-x: 48px; --float-y: -34px; --drift-x: -34px; --drift-y: 22px; --float-speed: 2.8s; animation-delay: -1.5s; --tile-a: #bdbebb; --tile-b: #747570; --edge-light: 0.34; --card-opacity: 0.58; }
.fragment-8 { top: 57%; left: 70%; --card-w: 170px; --card-h: 130px; --curve: 26px; --tilt: -3deg; --scale: 0.86; --float-x: -34px; --float-y: 38px; --drift-x: 22px; --drift-y: -18px; --float-speed: 3.6s; animation-delay: -3s; --tile-a: #8f908c; --tile-b: #545551; --edge-light: 0.22; --card-opacity: 0.45; }
.fragment-9 { top: 65%; left: 5%; --card-w: 210px; --card-h: 142px; --curve: 40px; --tilt: 7deg; --scale: 1.02; --float-x: 42px; --float-y: -34px; --drift-x: -22px; --drift-y: 22px; --float-speed: 3.3s; animation-delay: -0.8s; --tile-a: #babbb7; --tile-b: #6d6e6a; --edge-light: 0.28; --card-opacity: 0.52; }
.fragment-10 { top: 71%; left: 30%; --card-w: 178px; --card-h: 118px; --curve: 18px; --tilt: -9deg; --scale: 0.9; --float-x: -44px; --float-y: -28px; --drift-x: 30px; --drift-y: 18px; --float-speed: 3s; animation-delay: -2.1s; --tile-a: #7b7c78; --tile-b: #474844; --edge-light: 0.19; --card-opacity: 0.46; }
.fragment-11 { top: 69%; left: 57%; --card-w: 196px; --card-h: 128px; --curve: 10px; --tilt: 4deg; --scale: 0.98; --float-x: 40px; --float-y: 34px; --drift-x: -28px; --drift-y: -24px; --float-speed: 3.2s; animation-delay: -3.4s; --tile-a: #c0c1bd; --tile-b: #747571; --edge-light: 0.29; --card-opacity: 0.5; }
.fragment-12 { top: 66%; left: 79%; --card-w: 156px; --card-h: 176px; --curve: 34px; --tilt: -12deg; --scale: 0.98; --float-x: -36px; --float-y: -40px; --drift-x: 26px; --drift-y: 24px; --float-speed: 2.9s; animation-delay: -1.7s; --tile-a: #9a9b97; --tile-b: #5a5b57; --edge-light: 0.25; --card-opacity: 0.5; }

@keyframes heroCardFloat {
  from {
    transform:
      translate3d(0, var(--curve, 0px), 0)
      rotate(var(--tilt))
      scale(var(--scale, 1));
  }

  to {
    transform:
      translate3d(calc(var(--float-x) + var(--drift-x)), calc(var(--curve, 0px) + var(--float-y) + var(--drift-y)), 0)
      rotate(calc(var(--tilt) + 2.4deg))
      scale(var(--scale, 1));
  }
}

@keyframes heroChipFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }

  to {
    transform: translate3d(24px, 18px, 0) rotate(-3deg);
  }
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.hero-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 50;
  width: min(576px, calc(100% - 96px));
  height: 46px;
  padding: 0 10px 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 80px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
}

.brand span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #2247ff;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.brand small,
.section-kicker,
.project-info span,
.strength-card span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand small {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.nav-links a {
  transition: none;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(237, 244, 247, 0.22);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    color 260ms ease;
  will-change: transform;
}

.hero-nav .nav-cta {
  min-height: 30px;
  gap: 6px;
  padding: 0 18px;
  border-color: rgba(255, 255, 255, 0.88);
  background: #f2f2f0;
  color: #050505;
  font-size: 12px;
}

.hero-nav .nav-cta span {
  font-size: 12px;
  line-height: 1;
}

.hero-nav.category-nav {
  justify-content: center;
  padding-inline: 24px;
}

.hero-nav.category-nav .nav-links {
  width: 100%;
  justify-content: space-between;
  gap: 18px;
}

.hero-nav.category-nav .nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-cta:hover,
.button:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  letter-spacing: 0.035em;
  transform: translateZ(0) scale(1.045) skewX(-2deg) rotate(-0.3deg);
}

.hero-nav .nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.96);
  background: #fff;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

:where(
  .brand small,
  .nav-links a,
  .hero-content h1,
  .hero-subtitle,
  .section-kicker,
  .lead,
  .timeline-item span,
  .timeline-item h3,
  .timeline-item strong,
  .timeline-item p,
  .mini-heading span,
  .mini-heading h3,
  .section-heading h2,
  .section-heading > p,
  .brand-marquee span,
  .contact-shell h2,
  .contact-shell footer span
) {
  display: inline-block;
  transform: translate3d(0, 0, 0) skewX(0deg) rotate(0deg);
  transform-origin: center;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    letter-spacing 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 280ms ease;
  will-change: transform, letter-spacing;
}

:where(.hero-content h1, .about-content h2, .section-heading h2, .contact-shell h2) {
  --text-hover-space: 0.018em;
  --text-hover-tilt: -2deg;
}

:where(.section-kicker, .mini-heading span, .brand small) {
  --text-hover-space: 0.22em;
  --text-hover-tilt: -4deg;
}

:where(.lead, .section-heading > p, .timeline-item p) {
  --text-hover-space: 0.035em;
  --text-hover-tilt: -2deg;
}

:where(
  .brand small,
  .nav-links a,
  .hero-content h1,
  .hero-subtitle,
  .section-kicker,
  .lead,
  .timeline-item span,
  .timeline-item h3,
  .timeline-item strong,
  .timeline-item p,
  .mini-heading span,
  .mini-heading h3,
  .section-heading h2,
  .section-heading > p,
  .brand-marquee span,
  .contact-shell h2,
  .contact-shell footer span
):hover {
  color: #fff;
  letter-spacing: var(--text-hover-space, 0.055em);
  transform:
    translate3d(0, -2px, 0)
    skewX(var(--text-hover-tilt, -3deg))
    rotate(-0.35deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 112px 0 92px;
  text-align: center;
}

.projects-section,
.about-section,
.strengths-section,
.contact-page {
  scroll-margin-top: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 30px;
  padding: 10px 16px;
  border: 1px solid rgba(117, 231, 238, 0.24);
  border-radius: 999px;
  background: rgba(117, 231, 238, 0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: none;
  margin-bottom: 10px;
  padding: 0.06em 0.02em 0.12em;
  color: #f2f0ea;
  font-size: clamp(106px, 8.4vw, 168px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 0;
  color: rgba(242, 240, 234, 0.64);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.4;
}

.hero-subtitle span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-left: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f3f1ea;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.button.primary {
  border-color: rgba(237, 244, 247, 0.22);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.035);
}

.section {
  padding: 128px 0;
}

.about-section,
.strengths-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.055), transparent 24%),
    radial-gradient(circle at 18% 58%, rgba(117, 231, 238, 0.045), transparent 22%),
    radial-gradient(circle at 86% 54%, rgba(116, 62, 54, 0.075), transparent 24%),
    #000;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.about-section::before,
.strengths-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 140px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, #000, transparent);
}

.about-section > *,
.strengths-section > * {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
  min-height: calc(100vh - 340px);
}

.portrait-card {
  position: relative;
  width: min(440px, 100%);
  min-height: 478px;
  margin-top: 0;
  justify-self: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.09), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 38%),
    #050505;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
  will-change: transform;
}

.portrait-card::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(237, 244, 247, 0.1);
}

.portrait-visual {
  position: relative;
  display: grid;
  min-height: 386px;
  place-items: center;
}

.portrait-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 152px;
  height: 152px;
  place-items: center;
  border: 1px solid rgba(117, 231, 238, 0.36);
  border-radius: 50%;
  background: rgba(117, 231, 238, 0.07);
  color: #dffcff;
  font-size: 42px;
  font-weight: 800;
}

.portrait-ring {
  position: absolute;
  width: 268px;
  height: 268px;
  border: 1px solid rgba(237, 244, 247, 0.14);
  border-radius: 50%;
}

.portrait-ring::before,
.portrait-ring::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(117, 231, 238, 0.22);
}

.portrait-ring::before {
  inset: 72px -82px;
}

.portrait-ring::after {
  inset: -56px 118px;
}

.portrait-caption {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

.portrait-caption span {
  font-size: 17px;
  font-weight: 800;
}

.portrait-caption small {
  color: var(--muted);
}

.about-content h2 {
  max-width: 980px;
  margin-bottom: 20px;
  color: #f2f0ea;
  font-size: 54px;
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: 0;
}

.lead,
.section-heading > p {
  max-width: 820px;
  color: #aebcc0;
  font-size: 15px;
  line-height: 1.72;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 38px;
}

.stat-card,
.strength-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    rgba(6, 7, 7, 0.86);
  backdrop-filter: blur(20px);
}

.stat-card {
  min-height: 104px;
  padding: 18px;
}

.stat-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 28px;
}

.stat-card span {
  color: #aab7bb;
  font-size: 12px;
  line-height: 1.55;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 30px;
  min-height: 122px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 8px 0 0;
  font-size: 19px;
  line-height: 1.35;
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.timeline-item p {
  margin: 0;
  color: #aebcc0;
  font-size: 14px;
  line-height: 1.62;
}

.projects-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 22% 70%, rgba(117, 231, 238, 0.045), transparent 18%),
    radial-gradient(circle at 82% 68%, rgba(116, 62, 54, 0.08), transparent 22%),
    #000;
  border-top: 1px solid rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.projects-section::before,
.projects-section::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 18vw;
  pointer-events: none;
  content: "";
}

.projects-section .projects-shell::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 140px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, #000, transparent);
}

.projects-section::before {
  left: 0;
  background: linear-gradient(90deg, #000 18%, rgba(0, 0, 0, 0.72), transparent);
}

.projects-section::after {
  right: 0;
  background: linear-gradient(270deg, #000 18%, rgba(0, 0, 0, 0.72), transparent);
}

.projects-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  align-items: center;
}

.project-heading {
  display: flex;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 52px;
  text-align: center;
}

.project-heading .section-kicker {
  display: none;
}

.project-heading h2 {
  max-width: none;
  margin: 0 0 22px;
  color: #f2f0ea;
  font-size: clamp(74px, 7.4vw, 132px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: 0;
}

.project-heading p {
  max-width: 720px;
  margin: 0;
  color: rgba(242, 240, 234, 0.66);
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 1.4;
}

.project-pills {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 20;
  display: flex;
  width: fit-content;
  max-width: calc(100% - 96px);
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
  backdrop-filter: none;
  pointer-events: auto;
}

.project-pills span,
.project-pills a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 8, 8, 0.44);
  box-shadow: none;
  color: rgba(242, 240, 234, 0.82);
  font-size: 15px;
  font-weight: 700;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    background 240ms ease;
  will-change: transform;
  white-space: nowrap;
  text-decoration: none;
}

.project-pills span:hover,
.project-pills a:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(14, 14, 14, 0.62);
  box-shadow: none;
  transform: translateZ(0) scale(1.06);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 56px;
}

.section-heading > div,
.mini-heading > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.section-heading > p {
  margin: 34px 0 0;
}

.project-wall {
  --wall-gap: 0px;
  --wall-column-gap: 0px;
  --wall-width: min(980px, calc(100% - 160px));
  --wall-card-width: calc((var(--wall-width) - (var(--wall-column-gap) * 4)) / 5);
  --wall-row-overlap: calc(var(--wall-card-width) * 0.34);
  --wall-row-height: auto;
  --wall-visible-height: auto;
  position: relative;
  width: var(--wall-width);
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  pointer-events: none;
  perspective: 1500px;
}

.project-wall-track {
  display: grid;
  height: auto;
  grid-template-rows: repeat(3, auto);
  gap: var(--wall-gap);
}

.project-row {
  overflow: hidden;
  border-radius: 18px;
  contain: layout paint;
}

.project-row:nth-child(2),
.project-row:nth-child(3) {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--wall-row-overlap) * -1);
}

.project-row-track {
  display: flex;
  width: 200%;
  gap: var(--wall-column-gap);
  animation: projectRowCarousel var(--row-duration, 12s) linear infinite;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.project-row-set {
  display: grid;
  flex: 0 0 calc(50% - (var(--wall-column-gap) / 2));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  row-gap: var(--wall-gap);
  column-gap: var(--wall-column-gap);
  padding-right: 0;
  box-sizing: border-box;
  min-width: 0;
}

.project-row:nth-child(1) {
  --row-duration: 11s;
}

.project-row:nth-child(2) {
  --row-duration: 12.5s;
}

.project-row:nth-child(3) {
  --row-duration: 11.7s;
}

.project-row:nth-child(2) .project-row-track {
  animation-delay: -3.2s;
}

@keyframes projectRowCarousel {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.about-featured {
  grid-column: 1 / -1;
  align-self: end;
  margin: 104px auto 0;
  width: min(1280px, 100%);
}

.mini-heading {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 26px;
  text-align: left;
}

.mini-heading span,
.section-heading .section-kicker {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-heading h3,
.section-heading h2 {
  margin: 0;
  color: #f2f0ea;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

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

.featured-card {
  display: flex;
  aspect-ratio: 3 / 2.5;
  min-height: 0;
  padding: 20px;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(117, 231, 238, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(6, 7, 7, 0.88);
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
  will-change: transform;
}

.featured-card h4 {
  margin: 0;
  color: #f2f0ea;
  font-size: 17px;
}

.project-card {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    #050505;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: none;
  transform: translate3d(var(--wall-card-shift, 0px), 0, 0) rotate(var(--rotate, 0deg)) scale(0.72);
  transform-origin: center;
  backface-visibility: hidden;
  contain: layout paint;
}

/* Pull the columns together without changing the card dimensions. */
.project-card:nth-child(5n + 2) {
  --wall-card-shift: -6px;
}

.project-card:nth-child(5n + 3) {
  --wall-card-shift: -12px;
}

.project-card:nth-child(5n + 4) {
  --wall-card-shift: -18px;
}

.project-card:nth-child(5n + 5) {
  --wall-card-shift: -24px;
}

.project-art {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #b8b8b5, #6f706d);
}

.project-tile-1,
.project-tile-5,
.project-tile-6,
.project-tile-10,
.project-tile-11,
.project-tile-15 {
  --scale: 1.02;
}

.project-tile-2,
.project-tile-4,
.project-tile-7,
.project-tile-9,
.project-tile-12,
.project-tile-14 {
  --scale: 1;
}

.project-tile-3,
.project-tile-8,
.project-tile-13 {
  --scale: 0.98;
}

.project-tile-1,
.project-tile-5 {
  --curve: -2px;
}

.project-tile-2,
.project-tile-4 {
  --curve: -16px;
}

.project-tile-3 {
  --curve: -24px;
}

.project-tile-11,
.project-tile-15 {
  --curve: 2px;
}

.project-tile-12,
.project-tile-14 {
  --curve: 16px;
}

.project-tile-13 {
  --curve: 24px;
}

.project-tile-1,
.project-tile-6,
.project-tile-11 {
  --rotate: 1.5deg;
  --skew: 1.4deg;
}

.project-tile-2,
.project-tile-7,
.project-tile-12 {
  --rotate: 0.7deg;
  --skew: 0.6deg;
}

.project-tile-4,
.project-tile-9,
.project-tile-14 {
  --rotate: -0.7deg;
  --skew: -0.6deg;
}

.project-tile-5,
.project-tile-10,
.project-tile-15 {
  --rotate: -1.5deg;
  --skew: -1.4deg;
}

.project-tile-1,
.project-tile-5 {
  --lift: 0;
}

.project-tile-6,
.project-tile-10 {
  --lift: 0;
}

.project-tile-11,
.project-tile-15 {
  --lift: 0;
}

.project-art-2 {
  background:
    radial-gradient(circle at 52% 36%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #8f908d, #555653);
}

.project-art-3 {
  background:
    radial-gradient(circle at 46% 28%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(135deg, #bebebc, #777874);
}

.project-art-4 {
  background:
    radial-gradient(circle at 58% 34%, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #969794, #5d5e5b);
}

.project-art-5 {
  background:
    radial-gradient(circle at 44% 34%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #b5b5b2, #737471);
}

.project-art-6 {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #878884, #4f504e);
}

.project-art::after {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 42%;
  height: 56%;
  content: "";
  border: 1px solid rgba(237, 244, 247, 0.14);
  background-image:
    linear-gradient(rgba(237, 244, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 244, 247, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.project-art::after,
.art-line,
.art-block,
.art-dot {
  display: none;
}

.art-line {
  position: absolute;
  right: 10%;
  bottom: 32%;
  width: 64%;
  height: 1px;
  background: rgba(117, 231, 238, 0.7);
  transform: rotate(-19deg);
}

.art-block {
  position: absolute;
  border: 1px solid rgba(117, 231, 238, 0.3);
  background: rgba(117, 231, 238, 0.08);
}

.art-block-a {
  top: 31%;
  left: 12%;
  width: 32%;
  height: 28%;
}

.art-block-b {
  right: 18%;
  bottom: 24%;
  width: 20%;
  height: 18%;
}

.art-dot {
  position: absolute;
  top: 42%;
  right: 32%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(117, 231, 238, 0.8);
}

.project-info {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(8, 8, 8, 0.58);
  backdrop-filter: blur(18px);
}

.project-info span {
  grid-column: 1 / -1;
  color: rgba(242, 240, 234, 0.55);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.project-info h3 {
  margin: 8px 0 0;
  color: #f4f1eb;
  font-size: 21px;
  line-height: 1.2;
}

.project-info p {
  display: none;
}

.project-info small {
  margin-bottom: 2px;
  color: rgba(244, 241, 235, 0.58);
  font-size: 11px;
}

.strength-grid {
  display: grid;
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.strength-card span {
  color: #fff;
}

.strength-card {
  min-height: 142px;
  padding: 18px;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
  will-change: transform;
}

.portrait-card:hover,
.featured-card:hover,
.strength-card:hover {
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(34, 71, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(0) scale(1.025);
}

.strength-card h3 {
  margin: 26px 0 10px;
  font-size: 18px;
}

.strength-card p {
  color: #aebcc0;
  font-size: 12px;
  line-height: 1.5;
}

.brand-marquee {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  margin: 54px 0 0;
}

.brand-marquee span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b8c5c9;
}

.contact-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.085), transparent 24%),
    radial-gradient(circle at 18% 62%, rgba(117, 231, 238, 0.045), transparent 20%),
    radial-gradient(circle at 82% 62%, rgba(116, 62, 54, 0.08), transparent 23%),
    #000;
}

.contact-shell h2 {
  max-width: 980px;
  margin: 0 0 36px;
  color: #f2f0ea;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}

.contact-shell footer {
  display: flex;
  justify-content: space-between;
  margin-top: 120px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

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

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

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

  .stat-card {
    min-height: 96px;
    padding: 16px;
  }

  .stat-card strong {
    font-size: 28px;
  }

  .stat-card span {
    font-size: 12px;
  }

  h1 {
    font-size: 88px;
  }

  .about-content h2 {
    font-size: 42px;
  }

  .project-wall {
    --wall-gap: 0px;
    --wall-column-gap: 0px;
    --wall-width: min(900px, calc(100% - 180px));
    --wall-row-overlap: calc(var(--wall-card-width) * 0.34);
    --wall-row-height: auto;
    --wall-visible-height: auto;
  }

  .project-pills {
    gap: 8px;
    max-width: calc(100% - 64px);
  }

  .project-pills span,
  .project-pills a {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
  }

  .featured-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .about-featured {
    margin-top: 96px;
  }

  .featured-card {
    min-height: 148px;
    padding: 16px;
  }

  .featured-card h4 {
    margin: 0;
    font-size: 15px;
  }

  .featured-card p {
    font-size: 11px;
  }

  .contact-shell h2 {
    font-size: 32px;
  }
}

/* Use the supplied work images in the second-screen wall. */
.project-wall .project-art {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.project-row:nth-child(1) .project-row-set .project-card:nth-child(1) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/1.jpg?v=2026081301");
}

.project-row:nth-child(1) .project-row-set .project-card:nth-child(2) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/4.jpg?v=2026081301");
}

.project-row:nth-child(1) .project-row-set .project-card:nth-child(3) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/5.jpg?v=2026081301");
}

.project-row:nth-child(1) .project-row-set .project-card:nth-child(4) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/6.jpg?v=2026081301");
}

.project-row:nth-child(1) .project-row-set .project-card:nth-child(5) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/7.jpg?v=2026081301");
}

.project-row:nth-child(2) .project-row-set .project-card:nth-child(1) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/8.jpg?v=2026081301");
}

.project-row:nth-child(2) .project-row-set .project-card:nth-child(2) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/9.jpg?v=2026081301");
}

.project-row:nth-child(2) .project-row-set .project-card:nth-child(3) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/10.jpg?v=2026081301");
}

.project-row:nth-child(2) .project-row-set .project-card:nth-child(4) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/11.jpg?v=2026081301");
}

.project-row:nth-child(2) .project-row-set .project-card:nth-child(5) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/12.jpg?v=2026082001");
}

.project-row:nth-child(3) .project-row-set .project-card:nth-child(1) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/13.jpg?v=2026082001");
}

.project-row:nth-child(3) .project-row-set .project-card:nth-child(2) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/14.jpg?v=2026081301");
}

.project-row:nth-child(3) .project-row-set .project-card:nth-child(3) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/15.jpg?v=2026081301");
}

.project-row:nth-child(3) .project-row-set .project-card:nth-child(4) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/1.jpg?v=2026081301");
}

.project-row:nth-child(3) .project-row-set .project-card:nth-child(5) .project-art {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)), url("../assets/project-wall/4.jpg?v=2026081301");
}

/* Unified page field and section transitions. */
html,
body,
main,
.hero,
.projects-section,
.about-section,
.strengths-section,
.contact-page {
  background: #000 !important;
}

.motion-bg {
  background: #000;
}

.hero,
.projects-section,
.about-section,
.strengths-section,
.contact-page {
  border-top: 0;
  border-bottom: 0;
}

main > section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.about-section::before,
.strengths-section::before,
.projects-section .projects-shell::before,
.projects-section::before,
.projects-section::after {
  background: none;
}

/* Final visual system: quiet contrast, stable geometry, and one motion language. */
:root {
  --font-sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #8e999d;
  --accent: #2247ff;
}

body {
  background: #050505;
}

.hero-glow,
.hero-portrait-chip {
  display: none;
}

.hero-noise {
  opacity: 0.08;
}

.fragment {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: calc(var(--card-opacity, 0.5) * 0.75);
  animation-duration: calc(var(--float-speed, 3.8s) * 0.9);
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

.fragment-1,
.fragment-2,
.fragment-3,
.fragment-4,
.fragment-5,
.fragment-6,
.fragment-7,
.fragment-8,
.fragment-9,
.fragment-10,
.fragment-11,
.fragment-12 {
  display: grid;
  animation-duration: 2.4s;
}

/* Keep the hero composition balanced: six fragments on each side. */
.fragment-7 {
  display: none !important;
  top: 39%;
  left: 35%;
  --card-w: 174px;
  --card-h: 126px;
  --curve: -4px;
  --tilt: 8deg;
  --scale: 0.86;
  --float-x: 34px;
  --float-y: -40px;
  --drift-x: -22px;
  --drift-y: 24px;
  --tile-a: #a7a8a4;
  --tile-b: #5b5c58;
  --card-opacity: 0.42;
  animation-delay: -2.6s;
}

.fragment-10 {
  top: 62%;
  left: 30%;
  --curve: 18px;
  --card-opacity: 0.62;
  animation-delay: -1.4s;
}

.fragment-8 {
  top: 54%;
  --card-opacity: 0.58;
}

.fragment-9 {
  top: 60%;
  --card-opacity: 0.66;
}

.fragment-11 {
  top: 61%;
  --card-opacity: 0.64;
}

.fragment-12 {
  top: 58%;
  --card-opacity: 0.62;
}

@keyframes heroCardFloat {
  from {
    transform: translate3d(0, var(--curve, 0px), 0) rotate(var(--tilt)) scale(var(--scale, 1));
  }

  to {
    transform:
      translate3d(calc((var(--float-x) + var(--drift-x)) * 2.4), calc(var(--curve, 0px) + (var(--float-y) + var(--drift-y)) * 2.4), 0)
      rotate(calc(var(--tilt) + 9deg))
      scale(var(--scale, 1));
  }
}

.hero-nav {
  width: min(800px, calc(100% - 96px));
  height: 64px;
  padding: 0 14px 0 24px;
  background: rgba(8, 8, 8, 0.78);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
}

.hero-nav .nav-cta {
  min-height: 42px;
  padding: 0 22px;
  font-size: 13px;
}

.brand span {
  width: 32px;
  height: 32px;
  font-size: 10px;
}

.brand small,
.nav-links {
  font-size: 13px;
}

.nav-links {
  gap: 42px;
}

.nav-cta:hover,
.button:hover,
.hero-nav .nav-cta:hover {
  letter-spacing: 0;
  transform: translateZ(0) scale(1.025);
}

.section {
  padding: 150px 0;
}

.about-section,
.strengths-section,
.contact-page {
  background: #050505;
}

.about-section::before,
.strengths-section::before {
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.about-grid {
  gap: 64px;
}

.portrait-card,
.featured-card,
.strength-card,
.stat-card,
.work-case-card {
  background: #0b0c0c;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.portrait-card:hover,
.featured-card:hover,
.strength-card:hover,
.work-case-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38);
  transform: translateZ(0) translateY(-4px) scale(1.015);
}

.stat-card strong {
  color: #f2f0ea;
}

.project-wall {
  --wall-gap: 0px;
  --wall-column-gap: 0px;
  --wall-width: min(1120px, calc(100% - 120px));
  --wall-row-overlap: 0px;
  width: var(--wall-width);
  overflow: hidden;
}

.project-wall-track {
  gap: var(--wall-gap);
}

.project-row {
  overflow: visible;
  border-radius: 0;
  contain: none;
}

.project-row:nth-child(2),
.project-row:nth-child(3) {
  margin-top: -48px;
  transform: none;
}

.project-row-track {
  gap: var(--wall-column-gap);
  animation-duration: 26s;
  animation-timing-function: linear;
}

.project-row:nth-child(2) .project-row-track {
  animation-delay: -8s;
}

.project-card {
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  box-shadow: none;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(0.8);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 320ms ease,
    background 320ms ease;
}

.project-card:nth-child(5n + 2),
.project-card:nth-child(5n + 3),
.project-card:nth-child(5n + 4),
.project-card:nth-child(5n + 5) {
  --wall-card-shift: -44px;
}

.project-card:nth-child(5n + 3) {
  --wall-card-shift: -88px;
}

.project-card:nth-child(5n + 4) {
  --wall-card-shift: -132px;
}

.project-card:nth-child(5n + 5) {
  --wall-card-shift: -176px;
}

.project-card:hover {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(0.82);
}

.project-pills span:hover,
.project-pills a:hover {
  transform: translate3d(0, 0, 0) scale(1.025);
}

.project-pills {
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.project-pills span,
.project-pills a {
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.78);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), background 280ms ease, border-color 280ms ease;
}

.project-pills span:hover,
.project-pills a:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.featured-grid,
.strength-grid {
  gap: 14px;
}

.featured-card,
.strength-card {
  min-height: 158px;
  border-radius: 10px;
}

.featured-card {
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 320ms ease, box-shadow 320ms ease;
}

.strength-card {
  min-height: 156px;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 320ms ease, box-shadow 320ms ease;
}

.strength-card h3 {
  margin-top: 30px;
}

.brand-marquee {
  gap: 8px;
  margin-top: 48px;
}

.brand-marquee span {
  padding: 10px 14px;
}

.contact-page {
  min-height: 86vh;
}

.contact-shell h2 {
  max-width: 1100px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.16;
}

@media (max-width: 1360px) {
  .hero-nav {
    width: min(760px, calc(100% - 72px));
  }

  .project-wall {
    --wall-width: min(980px, calc(100% - 120px));
  }
}

.motion-stage .motion-kicker,
.motion-stage .motion-title,
.motion-stage .motion-copy,
.motion-stage .motion-card {
  opacity: 0;
  will-change: opacity, clip-path, filter, translate, scale;
}

.motion-stage .motion-kicker {
  clip-path: inset(100% 0 0 0);
  filter: blur(5px);
  translate: 0 42px;
  scale: 1;
}

.motion-stage .motion-title {
  clip-path: inset(100% 0 0 0);
  filter: blur(8px);
  translate: 0 84px;
  scale: 1;
  transform-origin: 50% 70%;
}

.motion-stage .motion-copy {
  clip-path: inset(100% 0 0 0);
  filter: blur(5px);
  translate: 0 48px;
}

.motion-stage .motion-card {
  clip-path: inset(100% 0 0 0 round 8px);
  filter: blur(7px);
  translate: 0 70px;
  scale: 1;
}

.hero.motion-stage .motion-card {
  filter: blur(10px);
  translate: 0 34px;
  scale: 1.04;
}

.motion-stage.motion-visible .motion-kicker {
  opacity: 1;
  clip-path: inset(-0.12em -0.04em -0.18em);
  filter: blur(0);
  translate: 0 0;
  scale: 1;
  transition:
    opacity 0.82s ease,
    clip-path 1s cubic-bezier(0.76, 0, 0.12, 1),
    filter 0.9s ease,
    translate 1.12s cubic-bezier(0.22, 1, 0.2, 1),
    scale 1.12s cubic-bezier(0.22, 1, 0.2, 1);
}

.motion-stage.motion-visible .motion-title {
  opacity: 1;
  clip-path: inset(-0.12em -0.04em -0.18em);
  filter: blur(0);
  translate: 0 0;
  scale: 1;
  transition:
    opacity 0.96s ease,
    clip-path 1.22s cubic-bezier(0.76, 0, 0.12, 1),
    filter 1s ease,
    translate 1.34s cubic-bezier(0.22, 1, 0.2, 1),
    scale 1.34s cubic-bezier(0.22, 1, 0.2, 1);
  transition-delay: 0.06s;
}

.motion-stage.motion-visible .motion-copy {
  opacity: 1;
  clip-path: inset(-0.12em -0.04em -0.18em);
  filter: blur(0);
  translate: 0 0;
  transition:
    opacity 0.9s ease,
    clip-path 1.1s cubic-bezier(0.76, 0, 0.12, 1),
    filter 0.9s ease,
    translate 1.12s cubic-bezier(0.22, 1, 0.2, 1);
  transition-delay: 0.28s;
}

.motion-stage.motion-visible .motion-card {
  opacity: 1;
  clip-path: inset(0 round 8px);
  filter: blur(0);
  translate: 0 0;
  scale: 1;
  transition:
    opacity 0.96s ease,
    clip-path 1.12s cubic-bezier(0.76, 0, 0.12, 1),
    filter 0.96s ease,
    translate 1.22s cubic-bezier(0.22, 1, 0.2, 1),
    scale 1.22s cubic-bezier(0.22, 1, 0.2, 1);
  transition-delay: calc(0.36s + (var(--motion-order, 0) * 0.055s));
}

.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-kicker,
.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-title,
.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-copy,
.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-card {
  opacity: 0;
}

.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-kicker,
.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-copy {
  clip-path: inset(100% 0 0 0);
  filter: blur(5px);
  translate: 0 48px;
}

.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-title {
  clip-path: inset(100% 0 0 0);
  filter: blur(8px);
  translate: 0 84px;
}

.motion-stage.motion-visible .motion-stage:not(.motion-visible) .motion-card {
  clip-path: inset(100% 0 0 0 round 8px);
  filter: blur(7px);
  translate: 0 70px;
}

.motion-image {
  transform: translate3d(0, var(--image-parallax, 0), 0);
  transition: transform 360ms linear;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-content h1,
  .hero-subtitle,
  .hero-fragments,
  .motion-stage .motion-kicker,
  .motion-stage .motion-title,
  .motion-stage .motion-copy,
  .motion-stage .motion-card,
  .motion-image {
    opacity: 1 !important;
    clip-path: none !important;
    filter: none !important;
    translate: none !important;
    scale: 1 !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .work-motion-active .hubei-shot {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.work-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 14% 42%, rgba(34, 71, 255, 0.09), transparent 26%),
    radial-gradient(circle at 82% 58%, rgba(116, 62, 54, 0.11), transparent 24%),
    #000;
}

.work-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.work-page > * {
  position: relative;
  z-index: 1;
}

.work-hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.72fr);
  gap: 72px;
  align-items: center;
  padding: 150px 0 96px;
}

.work-kicker {
  margin: 0 0 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.work-hero h1 {
  max-width: 820px;
  margin: 0 0 28px;
  color: #f2f0ea;
  font-size: clamp(92px, 8vw, 150px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0;
}

.work-hero-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #aebcc0;
  font-size: 17px;
  line-height: 1.8;
}

.work-hero-board {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 46%, rgba(117, 231, 238, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 8, 8, 0.78);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.52);
}

.work-hero-board::before,
.work-hero-board::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(117, 231, 238, 0.18);
}

.work-hero-board::before {
  inset: 78px 64px;
}

.work-hero-board::after {
  inset: 132px 116px;
  border-radius: 50%;
}

.brand-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #d8f7ff;
  font-size: 84px;
  font-weight: 900;
  letter-spacing: -0.04em;
  transform: translate(-50%, -50%);
}

.brand-tile {
  position: absolute;
  width: 170px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 56% 36%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(95deg, rgba(255, 255, 255, 0.22), transparent 26%, transparent 76%, rgba(0, 0, 0, 0.6)),
    linear-gradient(135deg, #b6b8b6, #5f625f);
  opacity: 0.48;
  transform: rotate(var(--tile-rotate, 0deg));
}

.brand-tile-one {
  top: 48px;
  left: 42px;
  --tile-rotate: -10deg;
}

.brand-tile-two {
  top: 116px;
  right: 46px;
  width: 206px;
  --tile-rotate: 8deg;
}

.brand-tile-three {
  right: 108px;
  bottom: 82px;
  --tile-rotate: -5deg;
}

.brand-tile-four {
  bottom: 118px;
  left: 72px;
  width: 214px;
  --tile-rotate: 5deg;
}

.work-section {
  padding: 0 0 120px;
}

.work-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 34px;
}

.work-section-heading h2 {
  margin: 0;
  color: #f2f0ea;
  font-size: 32px;
  font-weight: 500;
}

.work-section-heading p {
  margin: 8px 0 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-case-card {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
    rgba(7, 8, 8, 0.86);
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
  will-change: transform;
}

.work-case-card:hover {
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(34, 71, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(0) scale(1.025);
}

.work-case-large {
  grid-column: span 2;
}

.work-case-visual {
  height: 280px;
  background:
    radial-gradient(circle at 60% 32%, rgba(255, 255, 255, 0.22), transparent 23%),
    linear-gradient(135deg, #b5b6b2, #656762);
}

.visual-system {
  background:
    radial-gradient(circle at 22% 66%, rgba(34, 71, 255, 0.28), transparent 20%),
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(110deg, #c3c4bf, #4b4d49);
}

.visual-logo {
  background:
    radial-gradient(circle at 48% 45%, rgba(117, 231, 238, 0.18), transparent 24%),
    linear-gradient(135deg, #777a76, #191b1b);
}

.visual-ip {
  background:
    radial-gradient(circle at 70% 30%, rgba(199, 176, 160, 0.28), transparent 22%),
    linear-gradient(135deg, #999b96, #343633);
}

.visual-material {
  background:
    radial-gradient(circle at 30% 34%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(90deg, #b1b3ae, #333634 72%);
}

.work-case-info {
  padding: 22px;
}

.work-case-info span,
.process-row span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-case-info h3 {
  margin: 18px 0 12px;
  color: #f2f0ea;
  font-size: 24px;
  font-weight: 600;
}

.work-case-info p,
.process-row p {
  margin: 0;
  color: #aebcc0;
  font-size: 14px;
  line-height: 1.65;
}

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

.process-row div {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
    rgba(7, 8, 8, 0.8);
}

.process-row strong {
  display: block;
  margin: 42px 0 14px;
  color: #f2f0ea;
  font-size: 20px;
}

.work-contact {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 0 0 120px;
}

@media (max-width: 1360px) {
  .work-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
    gap: 48px;
  }

  .work-hero h1 {
    font-size: 88px;
  }

  .work-hero-board {
    min-height: 500px;
  }

  .work-case-card {
    min-height: 390px;
  }

  .work-case-visual {
    height: 240px;
  }
}

.hubei-page {
  min-height: 100vh;
  overflow: visible;
  background: #000;
}

.hubei-page::before {
  display: none;
}

.work-page.hubei-page > .hero-nav {
  position: fixed !important;
  top: 24px;
  left: calc(50% + 10px);
  width: min(576px, calc(100% - 96px));
  height: 46px;
  padding: 0 24px;
  z-index: 1000 !important;
  transform: translateX(-50%);
}

.work-page.hubei-page > .hero-nav .nav-links {
  gap: 34px;
  font-size: 12px;
}

.work-page.hubei-page > .hero-nav .nav-cta {
  min-height: 30px;
  padding: 0 18px;
  font-size: 12px;
}

.project-switch {
  position: fixed;
  top: 50%;
  right: 28px;
  left: 28px;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.project-switch:has(.project-switch-next:only-child) {
  justify-content: flex-end;
}

.project-switch-link {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: rgba(255, 255, 255, 0.68);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  pointer-events: auto;
  backdrop-filter: blur(18px);
  transition:
    transform 260ms ease,
    color 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.project-switch-link small {
  display: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
}

.project-switch-link strong {
  display: none;
  font-size: 15px;
  font-weight: 600;
}

.project-switch-link:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: scale(1.06);
}

.hubei-hero {
  display: flex;
  min-height: 52vh;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  padding: 176px 0 72px;
}

.hubei-kicker {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hubei-hero h1 {
  margin: 0;
  color: #f2f0ea;
  font-size: clamp(96px, 12vw, 220px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: 0;
}

.hubei-project-meta {
  display: grid;
  min-width: 260px;
  gap: 10px;
  padding-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
}

.hubei-gallery {
  display: grid;
  width: min(81%, 1377px);
  gap: 65px;
  padding: 104px 0 126px;
}

.hubei-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #050505;
}

.work-motion-active .hubei-shot {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.2, 0.78, 0.2, 1);
  transition-delay: calc(var(--work-reveal-order, 0) * 70ms);
  will-change: opacity, transform;
}

.work-motion-active .hubei-shot.work-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hubei-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.visual-design-page .hubei-shot.visual-edge-fill {
  width: calc(100% + 24px);
  margin-left: -12px;
}

@supports (content-visibility: auto) {
  .hubei-shot {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}

.hubei-shot span {
  display: none;
}

.hubei-slot {
  position: relative;
  grid-column: span 4;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #030303;
}

.hubei-slot::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.28;
}

.hubei-slot span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hubei-slot-wide {
  grid-column: span 8;
}

.hubei-slot-tall {
  grid-row: span 2;
  min-height: 738px;
}

@media (max-width: 1360px) {
  .hubei-hero {
    padding-top: 144px;
  }

  .hubei-gallery {
    gap: 50px;
  }

  .project-switch {
    right: 18px;
    left: 18px;
  }

  .project-switch-link {
    width: 50px;
    height: 50px;
  }

  .hubei-slot {
    min-height: 300px;
  }

  .hubei-slot-tall {
    min-height: 618px;
  }
}

/* Keep the home and project-page navigation on the same compact scale. */
.hero-nav {
  width: min(576px, calc(100% - 96px));
  height: 46px;
  padding: 0 10px 0 19px;
}

.hero-nav .nav-cta {
  min-height: 30px;
  padding: 0 18px;
  font-size: 12px;
}

.hero-nav .nav-links {
  gap: 34px;
  font-size: 12px;
}

.brand span {
  width: 24px;
  height: 24px;
  font-size: 8px;
}

.brand small {
  font-size: 11px;
}

.portrait-visual {
  overflow: hidden;
  isolation: isolate;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.98) contrast(1.05) brightness(0.92);
  transform: scale(1.03);
}

.portrait-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(3, 7, 8, 0.06), rgba(3, 7, 8, 0.24));
}

.portrait-ring {
  z-index: 2;
}

.portrait-card::before,
.portrait-ring,
.portrait-ring::before,
.portrait-ring::after {
  display: none;
}

/* Project cover images keep the featured cards concrete while preserving the dark system. */
.about-featured .featured-card {
  position: relative;
  isolation: isolate;
  padding: 20px;
  overflow: hidden;
  background: #0b0c0c;
}

.about-featured .featured-card::before,
.about-featured .featured-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.about-featured .featured-card::before {
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.9;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease;
}

.about-featured .featured-card::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 5, 5, 0.08) 18%, rgba(4, 5, 5, 0.82) 100%);
}

.about-featured .featured-card h4 {
  position: relative;
  z-index: 2;
}

.about-featured .featured-card:nth-child(1)::before {
  background-image: url("../assets/featured-projects/hubei.jpg?v=2026081301");
}

.about-featured .featured-card:nth-child(2)::before {
  background-image: url("../assets/featured-projects/qingcha.jpg?v=2026081301");
}

.about-featured .featured-card:nth-child(3)::before {
  background-image: url("../assets/featured-projects/wangmoyu.jpg?v=2026081301");
}

.about-featured .featured-card:nth-child(4)::before {
  background-image: url("../assets/featured-projects/visual-design.jpg?v=2026081301");
}

.about-featured .featured-card:nth-child(5)::before {
  background-image: url("../assets/featured-projects/illustration.jpg?v=2026081301");
}

.about-featured .featured-card:hover::before {
  opacity: 1;
  transform: scale(1.045);
}

/* Featured projects use a consistent horizontal 3:2 frame. */
.about-featured .featured-card {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.about-featured a.featured-card {
  color: inherit;
  text-decoration: none;
}
