:root {
  --color-black: #111111;
  --color-ink: #202020;
  --color-muted: #70706b;
  --color-line: #dedbd4;
  --color-paper: #f6f4ef;
  --color-warm: #e8e3da;
  --color-white: #ffffff;
  --max-width: 1440px;
  --page-pad: clamp(20px, 4vw, 64px);
  --section-gap: clamp(72px, 10vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  text-rendering: geometricPrecision;
}

img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--color-warm);
}

video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--color-black);
}

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

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

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 8vw, 116px);
}

h2 {
  font-size: clamp(30px, 4.2vw, 62px);
}

h3 {
  font-size: clamp(20px, 2.2vw, 30px);
}

p {
  color: var(--color-muted);
  font-size: clamp(15px, 1.2vw, 18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px var(--page-pad);
  background: rgba(246, 244, 239, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  letter-spacing: 0;
}

.brand-cn {
  font-size: 15px;
}

.brand-en,
.eyebrow,
.project-meta,
.section-label,
.project-facts span,
.contact-info span,
.service-list span,
.values-grid span,
.process-list span {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  margin: 7px auto;
  background: var(--color-black);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: var(--page-pad);
  color: var(--color-white);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.5)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.02) 62%);
  content: "";
}

.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero picture {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1200ms ease, transform 4200ms ease;
}

.hero-carousel img.is-active {
  opacity: 1;
  transform: scale(1.02);
}

.motion-hero img,
.motion-hero picture img {
  transform: scale(1.035);
  animation: slowFrameDrift 18s ease-out forwards;
}

.hero-frame {
  position: absolute;
  inset: clamp(18px, 3vw, 48px);
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  opacity: 0;
  animation: frameFade 1200ms ease 280ms forwards;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.hero-copy p,
.hero-copy .eyebrow {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-copy h1 {
  margin: 18px 0 22px;
}

.hero-index {
  position: absolute;
  right: var(--page-pad);
  bottom: var(--page-pad);
  z-index: 2;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-gap) var(--page-pad) 0;
}

.section,
.page-hero,
.project-card,
.service-list article,
.values-grid article,
.process-list div {
  opacity: 1;
  transform: translateY(0);
}

.js .section,
.js .page-hero,
.js .project-card,
.js .service-list article,
.js .values-grid article,
.js .process-list div {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms ease, transform 900ms ease;
}

.js .section.is-visible,
.js .page-hero.is-visible,
.js .project-card.is-visible,
.js .service-list article.is-visible,
.js .values-grid article.is-visible,
.js .process-list div.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-intro {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(28px, 6vw, 90px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.section-heading,
.split-section,
.strategy-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: end;
}

.text-link {
  justify-self: end;
  border-bottom: 1px solid currentColor;
  color: var(--color-ink);
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  margin-top: 42px;
}

.featured-grid {
  grid-template-columns: 1.45fr 1fr 1fr;
}

.project-card {
  display: grid;
  gap: 12px;
  position: relative;
}

.project-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform-origin: center;
  transition: transform 900ms ease;
}

.project-card.large img {
  aspect-ratio: 4 / 3;
}

.project-card:hover img {
  transform: scale(1.018);
}

.project-card h2,
.project-card h3 {
  font-size: clamp(20px, 2vw, 30px);
}

.philosophy-band {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
}

.statement {
  max-width: 980px;
}

.statement p {
  max-width: 620px;
  margin-top: 28px;
}

.process-list {
  display: grid;
  gap: 28px;
}

.process-list div,
.service-grid article,
.values-grid article,
.service-list article {
  border-top: 1px solid var(--color-line);
  padding-top: 22px;
}

.process-list h3,
.service-grid h3,
.values-grid h3 {
  margin: 12px 0 10px;
}

.media-section img {
  aspect-ratio: 16 / 10;
  margin-bottom: 32px;
  object-fit: cover;
}

.image-reveal {
  position: relative;
  overflow: hidden;
}

.image-reveal::after {
  position: absolute;
  inset: 0;
  background: var(--color-paper);
  content: "";
  transform: translateX(0);
  transition: transform 1100ms cubic-bezier(.77, 0, .18, 1);
}

.image-reveal img {
  transform: scale(1.04);
  transition: transform 1200ms ease;
}

.is-visible .image-reveal::after {
  transform: translateX(100%);
}

.is-visible .image-reveal img {
  transform: scale(1);
}

.compact-list {
  gap: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  margin-top: 42px;
}

.contact-strip {
  padding-bottom: var(--section-gap);
}

.contact-strip h2 {
  max-width: 900px;
  margin: 12px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--color-black);
  border: 1px solid var(--color-black);
  color: var(--color-white);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px var(--page-pad);
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--color-ink);
  font-weight: 400;
}

.page-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(96px, 14vw, 180px) var(--page-pad) clamp(40px, 7vw, 90px);
}

.editorial-page-hero {
  min-height: min(62vh, 620px);
  display: grid;
  align-content: end;
}

.page-hero.compact h1 {
  max-width: 980px;
  font-size: clamp(38px, 6vw, 82px);
}

.page-hero h1 {
  max-width: 1080px;
  margin-top: 18px;
}

.about-layout,
.contact-layout,
.detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.about-layout img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.reverse-layout {
  align-items: center;
}

.rich-text {
  display: grid;
  gap: 20px;
}

.rich-text h2 {
  margin-bottom: 8px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  padding-bottom: var(--section-gap);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.filter-button {
  min-height: 38px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--color-black);
  color: var(--color-black);
}

.project-card.is-hidden {
  display: none;
}

.loading-note {
  grid-column: 1 / -1;
  padding: 32px 0;
}

.project-hero {
  position: relative;
  overflow: hidden;
}

.project-hero img {
  height: min(78vh, 820px);
  object-fit: cover;
}

.project-title {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px var(--page-pad) 0;
}

.project-title h1 {
  margin-top: 12px;
}

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

.project-facts div {
  border-top: 1px solid var(--color-line);
  padding-top: 16px;
}

.project-facts strong {
  display: block;
  margin-top: 8px;
  font-weight: 400;
}

.image-composition {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  padding-bottom: var(--section-gap);
}

.image-composition img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.image-composition .wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
}

.service-list {
  display: grid;
  gap: 0;
}

.service-list article {
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 70px);
  padding-bottom: 34px;
}

.process-panel {
  padding-bottom: var(--section-gap);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}

.timeline div {
  min-height: 190px;
  padding: 22px;
  background: var(--color-paper);
}

.timeline span {
  display: block;
  margin-bottom: 26px;
  color: var(--color-ink);
}

.contact-info {
  display: grid;
  gap: 28px;
}

.contact-info div {
  border-top: 1px solid var(--color-line);
  padding-top: 18px;
}

.contact-info a,
.contact-info p {
  display: block;
  margin-top: 8px;
  color: var(--color-ink);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.25;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--color-muted);
  font-size: 13px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  color: var(--color-ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.qr-grid figure {
  margin: 0;
}

.qr-grid img {
  aspect-ratio: 1;
  object-fit: cover;
}

.qr-grid figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-black);
  pointer-events: none;
  transform: translateY(100%);
}

.page-transition.is-active {
  animation: pageWipe 640ms cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes slowFrameDrift {
  from {
    transform: scale(1.08) translateY(10px);
  }
  to {
    transform: scale(1.035) translateY(0);
  }
}

@keyframes frameFade {
  to {
    opacity: 1;
  }
}

@keyframes pageWipe {
  0% {
    transform: translateY(100%);
  }
  52%,
  100% {
    transform: translateY(0);
  }
}

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

  .js .section,
  .js .page-hero,
  .js .project-card,
  .js .service-list article,
  .js .values-grid article,
  .js .process-list div {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .featured-grid,
  .project-grid,
  .service-grid,
  .values-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-intro,
  .intro-grid,
  .section-heading,
  .split-section,
  .strategy-grid,
  .philosophy-band,
  .about-layout,
  .reverse-layout,
  .contact-layout,
  .detail-overview {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 22px var(--page-pad) 28px;
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: 22px;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-index {
    display: none;
  }

  .project-grid,
  .featured-grid,
  .service-grid,
  .values-grid,
  .timeline,
  .image-composition,
  .project-facts,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .image-composition .wide {
    aspect-ratio: 4 / 5;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Tech motion redesign layer */
:root {
  --color-black: #050607;
  --color-ink: #f3f5f4;
  --color-muted: #9ca5a4;
  --color-line: rgba(214, 224, 222, 0.18);
  --color-paper: #090b0d;
  --color-warm: #16191b;
  --color-white: #ffffff;
  --color-accent: #8df7ff;
  --color-accent-soft: rgba(141, 247, 255, 0.22);
}

html {
  background: var(--color-black);
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28rem),
    #050607;
  color: var(--color-ink);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(141, 247, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 247, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 34%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
  background-position: var(--grid-x, 0) var(--grid-y, 0), var(--grid-x, 0) var(--grid-y, 0), center;
  content: "";
  opacity: 0.48;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 7px
  );
  content: "";
  mix-blend-mode: overlay;
  opacity: 0.2;
  pointer-events: none;
}

.ambient-shell,
.ambient-shell::before,
.ambient-shell::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-shell {
  z-index: -2;
  overflow: hidden;
}

.ambient-shell::before {
  background:
    linear-gradient(110deg, transparent 0 24%, rgba(141, 247, 255, 0.08) 24.2%, transparent 24.7% 62%, rgba(255, 255, 255, 0.05) 62.2%, transparent 62.7%),
    linear-gradient(180deg, rgba(141, 247, 255, 0.08), transparent 42%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 0 100%);
  content: "";
  transform: translate3d(calc(var(--mouse-x, 0.5) * -18px), calc(var(--mouse-y, 0.5) * -18px), 0);
  transition: transform 120ms linear;
}

.ambient-shell::after {
  background:
    linear-gradient(90deg, transparent, rgba(141, 247, 255, 0.16), transparent),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  opacity: 0.24;
  transform: translateY(var(--scan-y, -30%));
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(255, 255, 255, 0.9));
  box-shadow: 0 0 18px var(--color-accent-soft);
  pointer-events: none;
}

.cursor-follower {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 160;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(141, 247, 255, 0.3);
  clip-path: polygon(16% 0, 100% 0, 100% 84%, 84% 100%, 0 100%, 0 16%);
  opacity: 0.5;
  pointer-events: none;
  transform: translate3d(calc(var(--cursor-x, -200px) - 60px), calc(var(--cursor-y, -200px) - 60px), 0);
  transition: transform 90ms linear, opacity 220ms ease, width 220ms ease, height 220ms ease;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: clamp(18px, 3vw, 44px);
  background: rgba(5, 6, 7, 0.94);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.image-lightbox img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 116px);
  object-fit: contain;
  background: transparent;
  filter: none;
}

.image-lightbox figcaption {
  color: rgba(243, 245, 244, 0.72);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  right: clamp(18px, 3vw, 32px);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(141, 247, 255, 0.38);
  background: rgba(5, 6, 7, 0.62);
  color: var(--color-white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.site-header {
  background: rgba(5, 6, 7, 0.68);
  border-bottom-color: rgba(141, 247, 255, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 80px rgba(0, 0, 0, 0.24);
}

.brand-cn,
.site-footer strong,
.timeline span,
.contact-info a,
.contact-info p {
  color: var(--color-ink);
}

.brand-en,
.eyebrow,
.project-meta,
.section-label,
.project-facts span,
.contact-info span,
.service-list span,
.values-grid span,
.process-list span {
  color: var(--color-accent);
}

.site-nav a {
  color: rgba(243, 245, 244, 0.78);
}

.site-nav a::after {
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 14px var(--color-accent-soft);
}

.hero,
.project-hero {
  background: var(--color-black);
  isolation: isolate;
}

.hero::before,
.project-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.86), transparent 52%),
    linear-gradient(180deg, transparent, rgba(5, 6, 7, 0.8));
  content: "";
  pointer-events: none;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(141, 247, 255, 0.11) 18.1%, transparent 18.8% 76%, rgba(255, 255, 255, 0.08) 76.1%, transparent 76.6%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 16vw);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero img,
.project-hero img {
  filter: none;
}

.motion-hero img,
.motion-hero picture img {
  animation: techFrameDrift 12s ease-out forwards;
}

.hero-frame {
  border-color: rgba(141, 247, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 45px rgba(141, 247, 255, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.hero-frame::before,
.hero-frame::after {
  position: absolute;
  background: var(--color-accent);
  content: "";
  box-shadow: 0 0 16px var(--color-accent-soft);
}

.hero-frame::before {
  left: -1px;
  top: 18%;
  width: 1px;
  height: 18%;
  animation: verticalTrace 3.8s ease-in-out infinite;
}

.hero-frame::after {
  right: 12%;
  bottom: -1px;
  width: 18%;
  height: 1px;
  animation: horizontalTrace 4.4s ease-in-out infinite;
}

.hero-copy,
.project-title {
  text-transform: none;
}

.hero-copy h1,
.page-hero h1,
.project-title h1 {
  max-width: 1180px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(54px, 10.5vw, 168px);
  line-height: 0.86;
}

.hero-copy p:last-child {
  padding-left: clamp(0px, 11vw, 160px);
}

.hero-index {
  right: var(--page-pad);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  gap: 16px;
  color: rgba(141, 247, 255, 0.82);
}

.hero-index span {
  display: block;
  padding: 9px 0 9px 18px;
  border-left: 1px solid rgba(141, 247, 255, 0.34);
}

.section {
  position: relative;
}

.section::before {
  position: absolute;
  top: calc(var(--section-gap) - 24px);
  left: var(--page-pad);
  width: calc(100% - var(--page-pad) * 2);
  height: 1px;
  background: linear-gradient(90deg, rgba(141, 247, 255, 0.6), transparent);
  content: "";
  opacity: 0.34;
}

.section-heading,
.split-section,
.strategy-grid,
.section-intro,
.philosophy-band,
.about-layout,
.contact-layout,
.detail-overview {
  align-items: start;
}

.intro-grid h2,
.statement h2,
.section-heading h2,
.split-section h2,
.contact-strip h2 {
  text-transform: uppercase;
}

.project-grid {
  gap: clamp(14px, 2vw, 28px);
  perspective: 1200px;
}

.featured-grid {
  grid-template-columns: 1.65fr 0.92fr 0.92fr;
}

.project-card {
  gap: 14px;
  padding: 1px;
  border: 1px solid rgba(141, 247, 255, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(0);
  transition: border-color 400ms ease, transform 500ms ease, box-shadow 500ms ease;
}

.project-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, transparent, rgba(141, 247, 255, 0.18), transparent),
    linear-gradient(180deg, transparent 56%, rgba(5, 6, 7, 0.92));
  content: "";
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 500ms ease, transform 700ms ease;
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(141, 247, 255, 0.58);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38), 0 0 40px rgba(141, 247, 255, 0.1);
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-6px);
}

.project-card:hover::before {
  opacity: 1;
  transform: translateX(40%);
}

.project-card img {
  cursor: zoom-in;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card .project-meta,
.project-card h2,
.project-card h3 {
  position: relative;
  z-index: 2;
  padding-inline: 18px;
}

.project-card h2,
.project-card h3 {
  padding-bottom: 18px;
}

.service-grid article,
.values-grid article,
.process-list div,
.project-facts div,
.timeline div,
.contact-info div {
  border-color: rgba(141, 247, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.service-grid article,
.values-grid article,
.timeline div {
  padding: 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.filter-button,
.button {
  position: relative;
  overflow: hidden;
  border-color: rgba(141, 247, 255, 0.34);
  color: var(--color-ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.button {
  background: rgba(141, 247, 255, 0.12);
  box-shadow: inset 0 0 24px rgba(141, 247, 255, 0.08), 0 0 30px rgba(141, 247, 255, 0.08);
}

.filter-button {
  background: rgba(255, 255, 255, 0.025);
}

.filter-button.active,
.filter-button:hover,
.button:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 0 24px rgba(141, 247, 255, 0.14);
}

.page-hero {
  position: relative;
  min-height: min(70vh, 720px);
  display: grid;
  align-content: end;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: 0;
  height: 58%;
  z-index: -1;
  border: 1px solid rgba(141, 247, 255, 0.16);
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(141, 247, 255, 0.09) 38.2%, transparent 39%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 80px);
  content: "";
  clip-path: polygon(0 0, 100% 0, 100% 78%, 88% 100%, 0 100%);
}

.project-title {
  position: relative;
  z-index: 2;
  margin-top: -150px;
  padding-bottom: 70px;
  color: var(--color-white);
}

.detail-overview {
  margin-top: 0;
}

.image-composition img,
.about-layout img,
.media-section img,
.qr-grid img {
  border: 1px solid rgba(141, 247, 255, 0.14);
  filter: none;
}

.image-composition img,
[data-detail-cover] {
  cursor: zoom-in;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-bottom-color: rgba(141, 247, 255, 0.28);
  color: var(--color-ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--color-accent);
  outline: 0;
}

.site-footer {
  border-top-color: rgba(141, 247, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.page-transition {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(141, 247, 255, 0.2) 18.1%, transparent 18.6%),
    #050607;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 86% 100%, 0 100%);
}

.page-transition.is-active {
  animation: techWipe 760ms cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes techFrameDrift {
  from {
    transform: scale(1.16) translate3d(18px, 18px, 0);
    filter: none;
  }
  to {
    transform: scale(1.045) translate3d(0, 0, 0);
    filter: none;
  }
}

@keyframes verticalTrace {
  0%,
  100% {
    top: 10%;
    opacity: 0.25;
  }
  50% {
    top: 72%;
    opacity: 1;
  }
}

@keyframes horizontalTrace {
  0%,
  100% {
    right: 10%;
    opacity: 0.2;
  }
  50% {
    right: 70%;
    opacity: 1;
  }
}

@keyframes techWipe {
  0% {
    transform: translateX(-110%) skewX(-8deg);
  }
  45% {
    transform: translateX(0) skewX(-8deg);
  }
  100% {
    transform: translateX(110%) skewX(-8deg);
  }
}

@media (max-width: 1020px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy p:last-child {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  body::before {
    background-size: 42px 42px, 42px 42px, 100% 100%;
  }

  .cursor-follower {
    display: none;
  }

  .site-nav {
    background: rgba(5, 6, 7, 0.96);
    border-bottom-color: rgba(141, 247, 255, 0.2);
  }

  .hero-copy h1 {
    font-size: clamp(46px, 15vw, 78px);
  }

  .page-hero {
    min-height: 54vh;
  }

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

  .project-title {
    margin-top: -90px;
  }
}
