:root {
  --ink: #f7f0df;
  --muted: rgba(247, 240, 223, 0.72);
  --line: rgba(247, 240, 223, 0.24);
  --black: #070604;
  --gold: #d9b76c;
  --blue: #7194ba;
  --rose: #c77f71;
  --green: #6d8f68;
  --read-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 112px 112px;
  mix-blend-mode: soft-light;
  opacity: 0.28;
}

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

button {
  font: inherit;
}

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: calc(var(--read-progress) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--rose), var(--green));
  transform-origin: left;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 34px;
  color: var(--ink);
  mix-blend-mode: normal;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.brand strong,
.brand em {
  display: block;
  font-size: 12px;
  font-style: normal;
  line-height: 1.15;
}

.brand em {
  color: var(--muted);
  text-transform: none;
}

.topnav {
  display: flex;
  gap: 26px;
  color: rgba(247, 240, 223, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.topnav a {
  position: relative;
}

.topnav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.topnav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.chapter-rail {
  position: fixed;
  top: 50%;
  left: 34px;
  z-index: 45;
  display: grid;
  gap: 2px;
  width: 190px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 240ms ease, transform 240ms ease;
}

.chapter-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.chapter-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  padding: 5px 0;
  border: 0;
  color: rgba(247, 240, 223, 0.56);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 220ms ease, transform 220ms ease;
}

.chapter-link span {
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-link b {
  color: rgba(247, 240, 223, 0.44);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}

.chapter-link.is-active {
  color: var(--ink);
  transform: translateX(8px);
}

.chapter-link.is-active b {
  color: var(--gold);
}

.intro-scroll {
  position: relative;
  height: 480vh;
}

.intro-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: var(--black);
  perspective: 1400px;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  will-change: clip-path, opacity, transform;
}

.slide.is-active {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.slide-image {
  position: absolute;
  inset: -4vh -4vw;
  width: calc(100% + 8vw);
  height: calc(100% + 8vh);
  object-fit: cover;
  object-position: var(--slide-position, center);
  filter: saturate(1.02) contrast(1.05);
  transform-origin: center;
  will-change: transform;
}

.slide.is-active .slide-image {
  animation: active-image-breathe 5.6s ease-in-out infinite alternate;
}

.slide[data-theme="gold"] .slide-image {
  object-position: var(--slide-position, center right);
}

.slide[data-theme="blue"] .slide-image {
  object-position: var(--slide-position, center left);
}

.slide[data-theme="rose"] .slide-image {
  object-position: var(--slide-position, center);
}

.slide[data-theme="green"] .slide-image {
  object-position: var(--slide-position, center right);
}

.image-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 42%, transparent 0, rgba(7, 6, 4, 0.08) 24%, rgba(7, 6, 4, 0.5) 68%),
    linear-gradient(90deg, rgba(7, 6, 4, 0.92), rgba(7, 6, 4, 0.22) 44%, rgba(7, 6, 4, 0.46)),
    linear-gradient(0deg, rgba(7, 6, 4, 0.8), transparent 34%);
}

.slide[data-theme="blue"] .image-shade {
  background:
    radial-gradient(circle at 56% 38%, transparent 0, rgba(7, 6, 4, 0.16) 30%, rgba(7, 6, 4, 0.56) 72%),
    linear-gradient(90deg, rgba(7, 6, 4, 0.72), transparent 52%, rgba(7, 6, 4, 0.78)),
    linear-gradient(0deg, rgba(7, 6, 4, 0.82), transparent 42%);
}

.ornament-line {
  position: absolute;
  top: 26%;
  right: 9vw;
  width: 38vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 240, 223, 0.72), transparent);
  opacity: 0.44;
  transform: rotate(-10deg);
}

.ornament-line::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 246, 214, 0.95), transparent);
  transform: translateX(-120%);
}

.slide.is-active .ornament-line::after {
  animation: light-sweep 2.8s ease 0.35s both;
}

.slide-copy {
  position: absolute;
  bottom: 11vh;
  left: 24vw;
  z-index: 4;
  width: min(740px, calc(100vw - 31vw));
  transform-origin: left bottom;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.slide.is-active .slide-copy {
  animation: copy-focus 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.slide h1,
.slide h2 {
  margin: 0;
  max-width: 920px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 112px;
  font-weight: 700;
  line-height: 0.86;
  text-wrap: balance;
}

.title-char {
  display: inline-block;
  transform-origin: 50% 92%;
  will-change: transform, filter;
}

.slide.is-active .title-char {
  animation: char-rise 780ms cubic-bezier(0.18, 1, 0.28, 1) both;
  animation-delay: calc(var(--char-index) * 32ms);
}

.slide h2 {
  font-size: 100px;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(247, 240, 223, 0.84);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.metric-row span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(247, 240, 223, 0.2);
  border-radius: 8px;
  background: rgba(7, 6, 4, 0.25);
  backdrop-filter: blur(16px);
  color: rgba(247, 240, 223, 0.78);
  font-size: 13px;
}

.metric-row strong {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.ghost-link::after {
  margin-left: 12px;
  content: "->";
}

.chapter-title {
  position: absolute;
  right: 5vw;
  bottom: -22px;
  z-index: 3;
  margin: 0;
  color: rgba(247, 240, 223, 0.14);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 178px;
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.slide.is-active .chapter-title {
  animation: title-focus 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scroll-cue {
  position: absolute;
  right: 34px;
  bottom: 30px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(247, 240, 223, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(247, 240, 223, 0.24);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gold);
  animation: cue 1.8s ease-in-out infinite;
}

.profile-band,
.contact-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --section-scale: 1.08;
  --section-tilt: 0deg;
  --section-y: 0px;
  --section-focus: 0;
  padding: 120px 8vw;
  background: #0e0d0a;
}

.profile-band::before,
.contact-band::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 6, 4, 0.24), rgba(7, 6, 4, 0.72)),
    radial-gradient(circle at 72% 24%, rgba(217, 183, 108, 0.18), transparent 34%);
  pointer-events: none;
}

.profile-band::after,
.contact-band::after {
  position: absolute;
  inset: -8%;
  z-index: -2;
  content: "";
  background-position: var(--section-bg-position, center);
  background-size: cover;
  clip-path: inset(calc((1 - var(--section-focus)) * 12%) calc((1 - var(--section-focus)) * 10%));
  filter: saturate(1.04) contrast(1.06);
  opacity: calc(0.78 + var(--section-focus) * 0.22);
  transform: translate3d(0, var(--section-y), 0) rotate(var(--section-tilt)) scale(var(--section-scale));
  transform-origin: center;
  will-change: clip-path, transform;
}

.profile-band > *,
.contact-band > * {
  position: relative;
  z-index: 1;
}

.profile-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 7vw;
  border-top: 1px solid rgba(247, 240, 223, 0.1);
}

.profile-band::before {
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.96), rgba(7, 6, 4, 0.62) 52%, rgba(7, 6, 4, 0.36)),
    linear-gradient(180deg, rgba(7, 6, 4, 0.2), rgba(7, 6, 4, 0.74));
}

.profile-band::after {
  background-image: url("./assets/about-bg.png");
}

.profile-heading h2,
.contact-band h2 {
  max-width: 880px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 72px;
  line-height: 0.95;
}

.profile-heading p,
.contact-band p {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(247, 240, 223, 0.7);
  font-size: 17px;
  line-height: 1.8;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  grid-column: 2;
  margin-top: 44px;
}

.profile-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(247, 240, 223, 0.14);
  border-radius: 8px;
  background: rgba(7, 6, 4, 0.34);
  backdrop-filter: blur(16px);
  transform: translateY(calc((1 - var(--section-focus)) * 34px)) rotateX(calc((1 - var(--section-focus)) * 10deg));
  transform-origin: top center;
  transition: border-color 320ms ease, background 320ms ease, transform 520ms ease;
}

.profile-grid article:nth-child(2) {
  transform: translateY(calc((1 - var(--section-focus)) * 52px)) rotateX(calc((1 - var(--section-focus)) * 12deg));
}

.profile-grid article:nth-child(3) {
  transform: translateY(calc((1 - var(--section-focus)) * 70px)) rotateX(calc((1 - var(--section-focus)) * 14deg));
}

.profile-grid span {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
}

.profile-grid h3 {
  margin: 34px 0 14px;
  font-size: 20px;
}

.profile-grid p {
  margin: 0;
  color: rgba(247, 240, 223, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

.work-scroll {
  position: relative;
  height: 360vh;
  background: #070604;
}

.project-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #070604;
  perspective: 1500px;
}

.project-counter {
  position: absolute;
  top: 112px;
  right: 8vw;
  z-index: 8;
  color: rgba(247, 240, 223, 0.7);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.project-slides,
.project-slide,
.project-bg,
.project-shade {
  position: absolute;
  inset: 0;
}

.project-slide {
  overflow: hidden;
  opacity: 0.36;
  clip-path: none;
  transform: translate3d(38vw, 0, -260px) rotateY(-12deg) scale(0.84);
  transform-style: preserve-3d;
  transition: opacity 520ms ease, filter 520ms ease, transform 760ms cubic-bezier(0.2, 1, 0.24, 1);
  will-change: opacity, transform;
}

.project-slide.is-active {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) rotateY(0) scale(1);
}

.project-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--project-position, center);
  filter: saturate(1.06) contrast(1.06);
  transform-origin: center;
  will-change: transform;
}

.project-shade {
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.92), rgba(7, 6, 4, 0.56) 47%, rgba(7, 6, 4, 0.36)),
    linear-gradient(180deg, rgba(7, 6, 4, 0.3), rgba(7, 6, 4, 0.84));
}

.project-content {
  position: absolute;
  bottom: 11vh;
  left: 8vw;
  z-index: 6;
  width: min(980px, calc(100vw - 16vw));
  transform-origin: left bottom;
  transform-style: preserve-3d;
  will-change: transform;
}

.project-content h2 {
  max-width: 780px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 78px;
  line-height: 0.92;
  text-wrap: balance;
}

.project-slide.is-active .project-content h2 {
  animation: copy-focus 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(247, 240, 223, 0.84);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.project-detail-grid p {
  min-height: 160px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(247, 240, 223, 0.14);
  border-radius: 8px;
  background: rgba(7, 6, 4, 0.38);
  backdrop-filter: blur(18px);
  color: rgba(247, 240, 223, 0.72);
  font-size: 14px;
  line-height: 1.68;
}

.project-detail-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
}

.project-tabs {
  position: absolute;
  right: 50%;
  bottom: 28px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(620px, calc(100vw - 48px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  transform: translateX(50%);
}

.project-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(247, 240, 223, 0.58);
  cursor: pointer;
  text-align: left;
  transition: color 220ms ease, transform 220ms ease;
}

.project-tab span {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-tab b {
  color: rgba(247, 240, 223, 0.44);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}

.project-tab.is-active {
  background: transparent;
  color: var(--gold);
  transform: translateY(-4px);
}

.project-tab.is-active b {
  color: var(--gold);
}

.contact-band {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-band::before {
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.86), rgba(7, 6, 4, 0.52) 48%, rgba(7, 6, 4, 0.38)),
    radial-gradient(circle at 34% 30%, rgba(113, 148, 186, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(7, 6, 4, 0.2), rgba(7, 6, 4, 0.7));
}

.contact-band::after {
  background-image: url("./assets/contact-bg.png");
}

.profile-band .section-kicker,
.profile-heading,
.profile-grid,
.contact-band .section-kicker,
.contact-band h2,
.contact-band p {
  transform: translate3d(0, calc((1 - var(--section-focus)) * 42px), 0) scale(calc(0.96 + var(--section-focus) * 0.04));
  transform-origin: left center;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cue {
  0% {
    transform: translateX(-110%);
  }
  55%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes active-image-breathe {
  from {
    filter: saturate(1.02) contrast(1.05);
  }
  to {
    filter: saturate(1.12) contrast(1.08);
  }
}

@keyframes copy-focus {
  from {
    filter: blur(8px);
  }
  to {
    filter: blur(0);
  }
}

@keyframes title-focus {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes light-sweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes char-rise {
  0% {
    filter: blur(2px);
    transform: translate3d(0, 1.1em, 0) rotateX(78deg) skewY(4deg);
  }
  62% {
    filter: blur(0);
    transform: translate3d(0, -0.08em, 0) rotateX(-8deg) skewY(0);
  }
  100% {
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateX(0) skewY(0);
  }
}

@media (max-width: 980px) {
  .topbar {
    padding: 18px 22px;
  }

  .topnav {
    display: none;
  }

  .chapter-rail {
    top: auto;
    bottom: 16px;
    left: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100% - 32px);
    padding: 8px;
    border: 1px solid rgba(247, 240, 223, 0.14);
    border-radius: 8px;
    background: rgba(7, 6, 4, 0.54);
    backdrop-filter: blur(18px);
    transform: none;
  }

  .chapter-rail.is-visible {
    transform: none;
  }

  .chapter-link {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 8px 4px;
    text-align: center;
  }

  .chapter-link span {
    font-size: 12px;
  }

  .chapter-link b {
    display: none;
  }

  .chapter-link.is-active {
    transform: none;
  }

  .intro-stage {
    min-height: 660px;
  }

  .slide-copy {
    bottom: 112px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .slide-image {
    object-position: var(--slide-tablet-position, var(--slide-position, center));
  }

  .slide h1,
  .slide h2 {
    max-width: 700px;
    font-size: 72px;
  }

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

  .chapter-title {
    right: 18px;
    bottom: 82px;
    font-size: 100px;
  }

  .scroll-cue {
    display: none;
  }

  .profile-band {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 90px 24px;
  }

  .profile-grid {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 90px 24px;
  }

  .project-stage {
    min-height: 820px;
  }

  .profile-band::after,
  .contact-band::after {
    background-position: var(--section-bg-tablet-position, var(--section-bg-position, center));
  }

  .project-bg {
    object-position: var(--project-tablet-position, var(--project-position, center));
  }

  .project-content {
    bottom: 112px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .project-content h2 {
    max-width: 760px;
    font-size: 56px;
  }

  .project-summary {
    max-width: 680px;
    font-size: 15px;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .project-detail-grid p {
    min-height: auto;
    padding: 14px;
    font-size: 13px;
    line-height: 1.58;
  }

  .project-tabs {
    right: 50%;
    bottom: 24px;
    width: calc(100% - 32px);
    transform: translateX(50%);
  }

  .project-tab {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .brand strong,
  .brand em {
    font-size: 10px;
  }

  .slide-image {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: var(--slide-mobile-position, var(--slide-position, center));
  }

  .image-shade {
    background:
      linear-gradient(90deg, rgba(7, 6, 4, 0.82), rgba(7, 6, 4, 0.24)),
      linear-gradient(0deg, rgba(7, 6, 4, 0.88), transparent 52%);
  }

  .slide h1,
  .slide h2 {
    font-size: 50px;
    line-height: 0.92;
  }

  .lead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.65;
  }

  .metric-row {
    gap: 7px;
    margin-top: 22px;
  }

  .metric-row span {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .metric-row strong {
    font-size: 20px;
  }

  .chapter-title {
    display: none;
  }

  .profile-heading h2,
  .contact-band h2 {
    font-size: 44px;
  }

  .project-stage {
    min-height: 940px;
  }

  .project-counter {
    font-size: 18px;
    top: 82px;
    right: 24px;
  }

  .project-slide {
    opacity: 0;
    filter: none !important;
    transform: translate3d(0, 48px, 0) scale(1);
  }

  .project-slide.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .project-bg {
    object-position: var(--project-mobile-position, center);
    transform: scale(var(--project-mobile-scale, 1.08));
  }

  .profile-band::after,
  .contact-band::after {
    background-position: var(--section-bg-mobile-position, var(--section-bg-position, center));
  }

  .project-shade {
    background:
      linear-gradient(180deg, rgba(7, 6, 4, 0.14), rgba(7, 6, 4, 0.62) 44%, rgba(7, 6, 4, 0.94)),
      linear-gradient(90deg, rgba(7, 6, 4, 0.44), rgba(7, 6, 4, 0.12));
  }

  .project-content h2 {
    font-size: 42px;
    line-height: 0.96;
  }

  .project-summary {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.58;
  }

  .project-detail-grid p {
    font-size: 12px;
  }

  .project-tabs {
    gap: 10px;
    width: calc(100% - 28px);
    bottom: 18px;
  }

  .project-tab {
    min-height: 34px;
    padding: 6px 0;
  }

  .project-tab span {
    font-size: 11px;
  }

  .project-tab b {
    font-size: 14px;
  }

  .project-tab.is-active {
    transform: translateY(-2px);
  }

  .ornament-line {
    top: 21%;
    right: 0;
    width: 44vw;
    opacity: 0.26;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
