:root {
  color-scheme: dark;
  --bg: #0c0c0b;
  --bg-warm: #17130f;
  --surface: #171716;
  --surface-soft: #1f1e1b;
  --text: #f2eee6;
  --muted: #96938b;
  --line: rgba(242, 238, 230, 0.15);
  --line-strong: rgba(242, 238, 230, 0.3);
  --orange: #ff641f;
  --acid: #d8ff3e;
  --header-height: 76px;
  --shell: min(1440px, calc(100vw - 64px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --scroll-progress: 0%;
  --dialog-progress: 0%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--orange) var(--bg);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open,
body.menu-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 100, 31, 0.055), transparent 28%),
    linear-gradient(120deg, #0c0c0b 0%, #0e0d0b 55%, #12100d 100%);
  content: "";
}

::selection {
  color: var(--bg);
  background: var(--acid);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--orange);
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

button {
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 12px 18px;
  color: var(--bg);
  background: var(--acid);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: var(--scroll-progress);
  height: 100%;
  background: var(--orange);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(110px, 12vw, 190px);
}

section[id] {
  scroll-margin-top: 92px;
}

.eyebrow {
  color: var(--orange);
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.15em;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 720ms var(--ease) var(--reveal-delay, 0ms),
    transform 720ms var(--ease) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1480px, calc(100vw - 40px));
  height: var(--header-height);
  padding: 0 10px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(9, 9, 8, 0.68);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 13px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.06em;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.brand:hover .brand-mark {
  color: var(--bg);
  border-color: var(--orange);
  background: var(--orange);
}

.brand-meta {
  color: var(--muted);
  font: 650 8px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
  padding: 7px;
}

.desktop-nav a {
  position: relative;
  display: grid;
  min-width: 64px;
  padding: 0 16px;
  place-items: center;
  border-radius: 999px;
  color: #b9b6ae;
  font-size: 13px;
  font-weight: 650;
  transition: color 220ms ease, background 220ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.desktop-nav a::after {
  position: absolute;
  bottom: 11px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  content: "";
  transform: translateX(-50%);
  transition: width 240ms var(--ease);
}

.desktop-nav a.is-current::after {
  width: 14px;
}

.header-contact {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 22px;
  height: 54px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font: 600 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  transition: color 220ms ease, background 220ms ease;
}

.header-contact i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--bg);
  background: var(--orange);
  font-style: normal;
  font-size: 16px;
}

.header-contact:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #0b0a09;
}

.hero-media,
.hero-slides,
.hero-slide,
.hero-slide img,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transform: scale(1.035);
  transition: opacity 1100ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.74) saturate(0.9) contrast(1.08);
  animation: hero-drift 12s ease-in-out both;
}

@keyframes hero-drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.105); }
}

.hero-shade {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.86) 0%, rgba(5, 5, 4, 0.45) 38%, rgba(5, 5, 4, 0.05) 68%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.48) 0%, transparent 32%, rgba(5, 5, 4, 0.05) 54%, #0c0c0b 100%);
}

.hero-grid {
  z-index: 4;
  opacity: 0.21;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-position: center;
  background-size: min(10vw, 140px) min(10vw, 140px);
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 58px);
  padding-bottom: 42px;
}

.hero-rail {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(242, 238, 230, 0.67);
  font: 650 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.18em;
}

.hero-copy {
  align-self: end;
  width: min(1030px, 84%);
  padding-bottom: clamp(42px, 6vh, 78px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3vh, 36px);
  color: rgba(242, 238, 230, 0.68);
  font: 650 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.15em;
}

.hero-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(216, 255, 62, 0.12);
}

.hero h1 {
  max-width: 1100px;
  font-size: clamp(68px, 9.4vw, 152px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.hero h1 > span {
  display: block;
}

.outline-title {
  margin-top: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 238, 230, 0.9);
}

.hero-copy-bottom {
  display: flex;
  align-items: flex-end;
  gap: clamp(32px, 7vw, 100px);
  margin-top: clamp(34px, 5vh, 64px);
  padding-left: clamp(0px, 15vw, 210px);
}

.hero-copy-bottom > p {
  max-width: 500px;
  color: rgba(242, 238, 230, 0.72);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.85;
}

.round-link {
  display: grid;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  padding: 20px;
  place-content: space-between;
  border-radius: 50%;
  color: #17110c;
  background: var(--orange);
  font-size: 13px;
  font-weight: 800;
  transition: color 240ms ease, background 240ms ease, transform 500ms var(--ease);
}

.round-link i {
  justify-self: end;
  font-style: normal;
  font-size: 21px;
}

.round-link:hover {
  color: var(--bg);
  background: var(--acid);
  transform: rotate(5deg) scale(1.05);
}

.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(242, 238, 230, 0.58);
  font: 650 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.16em;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--orange);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  80%, 100% { transform: translateY(200%); }
}

.hero-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(242, 238, 230, 0.55);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.hero-counter span:first-child {
  color: var(--text);
}

.hero-counter i {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

/* Split profile hero */
.hero-profile-split {
  background:
    radial-gradient(circle at 24% 32%, rgba(255, 100, 31, 0.1), transparent 32%),
    #080807;
}

.hero-profile-split .hero-grid {
  z-index: 0;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.hero-profile-split .hero-content {
  z-index: 2;
  gap: 14px;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 22px;
}

.hero-split-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.76fr) minmax(0, 1.24fr);
  gap: 12px;
  min-height: 0;
}

.hero-profile-panel,
.hero-cg-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: var(--surface);
}

.hero-profile-photo,
.hero-profile-shade,
.hero-profile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-profile-photo img {
  top: -42%;
  right: auto;
  bottom: auto;
  left: -3%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(0.82) saturate(0.88) contrast(1.04);
  width: 106%;
  height: 150%;
  transform: scale(1.008);
}

.hero-profile-shade {
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.16), rgba(5, 5, 4, 0.08) 32%, rgba(5, 5, 4, 0.82) 68%, rgba(5, 5, 4, 0.97)),
    linear-gradient(90deg, rgba(5, 5, 4, 0.25), transparent 60%);
}

.hero-profile-topline,
.hero-cg-topline {
  position: absolute;
  top: 20px;
  right: 22px;
  left: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(242, 238, 230, 0.63);
  font: 700 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
}

.hero-profile-topline span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-profile-topline i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(216, 255, 62, 0.12);
}

.hero-profile-info {
  position: absolute;
  right: 26px;
  bottom: 25px;
  left: 26px;
  z-index: 3;
}

.hero-profile-role {
  margin-bottom: 12px;
  color: var(--orange);
  font: 700 8px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
}

.hero-profile-info h1 {
  font-size: clamp(42px, 3.7vw, 62px);
  font-weight: 870;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-profile-info h1 small {
  display: inline-block;
  margin-left: 10px;
  color: rgba(242, 238, 230, 0.72);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  vertical-align: 0.38em;
}

.hero-profile-intro {
  max-width: 530px;
  margin-top: 22px;
  color: rgba(242, 238, 230, 0.78);
  font-size: 11px;
  line-height: 1.62;
}

.hero-profile-intro small {
  display: block;
  margin-top: 6px;
  color: rgba(242, 238, 230, 0.46);
  font-size: 9px;
  line-height: 1.55;
}

.hero-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-profile-facts > div {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-profile-facts dt {
  color: var(--orange);
  font: 700 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.hero-profile-facts dd {
  margin-top: 8px;
  color: rgba(242, 238, 230, 0.78);
  font-size: 9px;
  line-height: 1.45;
}

.hero-profile-facts dd small {
  display: block;
  margin-top: 3px;
  color: rgba(242, 238, 230, 0.42);
  font-size: 8px;
}

.hero-profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 7px 0 15px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--orange);
  font: 750 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
  transition: background 220ms ease, transform 300ms var(--ease);
}

.hero-profile-link > span {
  color: rgba(12, 12, 11, 0.6);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.hero-profile-link i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(12, 12, 11, 0.1);
  font-style: normal;
  font-size: 14px;
}

.hero-profile-link:hover {
  background: var(--acid);
  transform: translateY(-2px);
}

.hero-cg-panel .hero-slides,
.hero-cg-panel .hero-slide,
.hero-cg-panel .hero-cg-shade {
  position: absolute;
  inset: 0;
}

.hero-cg-panel .hero-slide {
  overflow: hidden;
  background: #090a0d;
}

.hero-cg-panel .hero-slide::before {
  position: absolute;
  inset: -28px;
  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(25px) brightness(0.42) saturate(0.78);
  transform: scale(1.12);
}

.hero-cg-panel .hero-slide img {
  z-index: 1;
  top: 22%;
  bottom: 165px;
  width: 100%;
  height: auto;
  padding: 0;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.92) contrast(1.04);
  animation: none;
}

.hero-cg-shade {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.5), transparent 23%, transparent 54%, rgba(5, 5, 5, 0.88)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.42), transparent 45%);
}

.hero-cg-heading {
  position: absolute;
  top: 62px;
  right: 26px;
  z-index: 3;
  text-align: right;
}

.hero-cg-heading p {
  margin-bottom: 10px;
  color: var(--orange);
  font: 700 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
}

.hero-cg-heading h2 {
  color: rgba(242, 238, 230, 0.92);
  font-size: clamp(43px, 4.6vw, 70px);
  font-weight: 870;
  line-height: 0.92;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.hero-cg-bottom {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 4;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.hero-cg-caption > span {
  color: var(--orange);
  font: 700 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.13em;
}

.hero-cg-caption h3 {
  margin-top: 9px;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-cg-caption > p {
  margin-top: 6px;
  color: rgba(242, 238, 230, 0.52);
  font-size: 9px;
}

.hero-cg-open {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 34px;
  margin-top: 13px;
  padding: 0 5px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.44);
  backdrop-filter: blur(8px);
  font: 700 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.hero-cg-open i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--bg);
  font-style: normal;
  font-size: 12px;
}

.hero-cg-open:hover {
  color: var(--bg);
  border-color: var(--acid);
  background: var(--acid);
}

.hero-cg-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 62px);
  gap: 6px;
}

.hero-cg-thumbnail {
  position: relative;
  width: 62px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: #111;
  opacity: 0.48;
  transition: opacity 220ms ease, border-color 220ms ease, transform 300ms var(--ease);
}

.hero-cg-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cg-thumbnail:hover,
.hero-cg-thumbnail.is-active {
  border-color: var(--acid);
  opacity: 1;
  transform: translateY(-3px);
}

/* Visual fields carousel / second screen */
.visual-carousel {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(90px, 10vh, 132px) clamp(72px, 9vh, 112px);
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 50% 58%, rgba(216, 255, 62, 0.055), transparent 34%),
    #0c0c0b;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.visual-carousel::before,
.visual-carousel::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
  content: "";
}

.visual-carousel::before { top: 28px; }
.visual-carousel::after { bottom: 28px; }

.carousel-corner {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  opacity: 0.75;
}

.carousel-corner::before,
.carousel-corner::after {
  position: absolute;
  background: var(--orange);
  content: "";
}

.carousel-corner::before { width: 24px; height: 1px; }
.carousel-corner::after { width: 1px; height: 24px; }
.corner-top-left { top: 28px; left: 28px; }
.corner-top-right { top: 28px; right: 28px; transform: rotate(90deg); }
.corner-bottom-left { bottom: 28px; left: 28px; transform: rotate(-90deg); }
.corner-bottom-right { right: 28px; bottom: 28px; transform: rotate(180deg); }

.visual-carousel-head {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.visual-carousel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(216, 255, 62, 0.22);
  border-radius: 999px;
  color: var(--acid);
  background: rgba(216, 255, 62, 0.07);
  font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.visual-carousel-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.visual-carousel-head h2 {
  margin-top: 24px;
  font-size: clamp(43px, 5.5vw, 82px);
  font-weight: 790;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.visual-carousel-head h2 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.visual-carousel-head h2 > span,
.visual-carousel-head h2 > small {
  display: block;
}

.visual-carousel-head h2 > small {
  margin-top: 16px;
  color: #b0ada5;
  font-family: Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.13em;
}

.visual-carousel-head > p {
  max-width: 590px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.visual-carousel-head > p > span,
.visual-carousel-head > p > small {
  display: block;
}

.visual-carousel-head > p > small {
  margin-top: 7px;
  color: #68665f;
  font-size: 9px;
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.visual-carousel-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 510px;
  margin-top: 42px;
  perspective: 1200px;
  outline: 0;
  touch-action: pan-y;
}

.visual-carousel-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.visual-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 460px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: white;
  text-align: left;
  background: var(--surface);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transform-style: preserve-3d;
  filter: brightness(0.48);
  transition:
    transform 560ms var(--ease),
    opacity 420ms ease,
    filter 560ms var(--ease),
    border-color 320ms ease,
    box-shadow 560ms var(--ease);
  will-change: transform, opacity;
}

.visual-card.is-prev-2 {
  z-index: 2;
  opacity: 0.34;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(-350px) scale(0.82) rotateY(21deg);
  filter: brightness(0.56) saturate(0.72);
}

.visual-card.is-prev-1 {
  z-index: 5;
  opacity: 0.62;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(-178px) scale(0.9) rotateY(10deg);
  filter: brightness(0.72) saturate(0.82);
}

.visual-card.is-current {
  z-index: 10;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(216, 255, 62, 0.52);
  box-shadow: 0 25px 70px rgba(216, 255, 62, 0.17);
  transform: translate(-50%, -50%) translateX(0) scale(1) rotateY(0deg);
  filter: brightness(1) saturate(1);
}

.visual-card.is-next-1 {
  z-index: 5;
  opacity: 0.62;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(178px) scale(0.9) rotateY(-10deg);
  filter: brightness(0.72) saturate(0.82);
}

.visual-card.is-next-2 {
  z-index: 2;
  opacity: 0.34;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(350px) scale(0.82) rotateY(-21deg);
  filter: brightness(0.56) saturate(0.72);
}

.visual-card img,
.visual-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.visual-card img {
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.visual-card.is-current:hover img,
.visual-card.is-current:focus-visible img {
  transform: scale(1.035);
}

.visual-card-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 28%, rgba(0, 0, 0, 0.26) 55%, rgba(0, 0, 0, 0.94));
}

.visual-card-featured {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--acid);
  font: 750 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 240ms ease, transform 320ms var(--ease);
}

.visual-card-featured i {
  font-style: normal;
  font-size: 13px;
}

.visual-card.is-current .visual-card-featured {
  opacity: 1;
  transform: translateY(0);
}

.visual-card-copy {
  position: absolute;
  right: 24px;
  bottom: 25px;
  left: 24px;
  z-index: 2;
}

.visual-card-category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  font: 650 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
}

.visual-card-copy h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.045em;
  transition: font-size 360ms var(--ease);
}

.visual-card-title-cn {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.visual-card.is-current .visual-card-copy h3 {
  font-size: 31px;
}

.visual-card-copy p {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(7px);
  transition:
    max-height 400ms var(--ease),
    margin 400ms var(--ease),
    opacity 240ms ease 80ms,
    transform 400ms var(--ease);
}

.visual-card.is-current .visual-card-copy p {
  max-height: 72px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

.visual-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(8, 8, 7, 0.68);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 320ms var(--ease);
}

.visual-carousel-prev { left: 18px; }
.visual-carousel-next { right: 18px; }

.visual-carousel-nav svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-carousel-nav:hover {
  color: var(--bg);
  border-color: var(--acid);
  background: var(--acid);
  transform: translateY(-50%) scale(1.06);
}

.visual-carousel-status {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #66635d;
  font: 650 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.visual-carousel-status > span:last-child {
  text-align: right;
}

.visual-carousel-status > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.visual-carousel-status strong {
  color: var(--text);
  font-weight: 700;
}

.visual-carousel-status i {
  width: 48px;
  height: 1px;
  background: var(--line-strong);
}

.discipline-strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding-block: 20px;
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.discipline-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  color: #cbc7bd;
  font-size: clamp(12px, 1.2vw, 17px);
  font-weight: 750;
  letter-spacing: 0.08em;
  animation: marquee 35s linear infinite;
}

.discipline-track i {
  color: var(--orange);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Shared section heading */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 64px;
  margin-bottom: clamp(58px, 8vw, 112px);
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(54px, 7.2vw, 112px);
  font-weight: 850;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.section-intro {
  max-width: 470px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-head-compact {
  grid-template-columns: 1fr;
  margin-bottom: 68px;
}

/* Work */
.work {
  position: relative;
}

.work::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: var(--line);
  content: "";
}

.work-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(56px, 8vw, 104px);
  padding-block: 17px;
  border-block: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.filter:hover {
  color: var(--text);
  border-color: var(--line);
}

.filter.is-active {
  color: #16100c;
  border-color: var(--orange);
  background: var(--orange);
  font-weight: 750;
}

.project-count {
  flex: 0 0 auto;
  padding-top: 14px;
  color: var(--muted);
  font: 650 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
}

.project-count span {
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(54px, 7vw, 112px) clamp(16px, 2vw, 30px);
  align-items: start;
}

.project-card {
  position: relative;
  min-width: 0;
}

.project-card.layout-a { grid-column: 1 / span 8; }
.project-card.layout-b { grid-column: 9 / span 4; margin-top: 10vw; }
.project-card.layout-c { grid-column: 1 / span 4; }
.project-card.layout-d { grid-column: 5 / span 8; }
.project-card.layout-e { grid-column: 1 / span 7; }
.project-card.layout-f { grid-column: 8 / span 5; margin-top: 7vw; }
.project-card.layout-g { grid-column: 2 / span 10; }
.project-card.layout-h { grid-column: 1 / span 5; }

.project-open {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: transparent;
}

.project-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}

.layout-a .project-media,
.layout-d .project-media,
.layout-g .project-media {
  aspect-ratio: 16 / 10;
}

.layout-b .project-media,
.layout-c .project-media,
.layout-f .project-media,
.layout-h .project-media {
  aspect-ratio: 4 / 5;
}

.layout-e .project-media {
  aspect-ratio: 4 / 3;
}

.project-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.44));
  content: "";
  transition: opacity 450ms ease;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease), filter 650ms var(--ease);
}

.layout-b .project-media img,
.layout-c .project-media img,
.layout-f .project-media img,
.layout-h .project-media img {
  object-position: center;
}

.project-number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  min-width: 42px;
  height: 26px;
  padding-inline: 9px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(6, 6, 5, 0.32);
  backdrop-filter: blur(8px);
  font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.view-case {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  padding: 0 9px 0 17px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--acid);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 360ms var(--ease);
}

.view-case i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(12, 12, 11, 0.11);
  font-style: normal;
  font-size: 15px;
}

.project-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding-top: 20px;
}

.project-title-row {
  transition: transform 400ms var(--ease);
}

.project-title-row h3 {
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.layout-b .project-title-row h3,
.layout-c .project-title-row h3,
.layout-f .project-title-row h3,
.layout-h .project-title-row h3 {
  font-size: clamp(19px, 1.75vw, 27px);
}

.project-title-row p {
  max-width: 570px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.project-meta-side {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--muted);
  font: 650 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.07em;
  text-align: right;
  white-space: nowrap;
}

.project-meta-side i {
  color: var(--orange);
  font-style: normal;
  font-size: 17px;
  transition: transform 300ms var(--ease);
}

.project-open:hover .project-media img,
.project-open:focus-visible .project-media img {
  filter: brightness(1.08) saturate(1.12);
  transform: scale(1.045);
}

.project-open:hover .view-case,
.project-open:focus-visible .view-case {
  opacity: 1;
  transform: translateY(0);
}

.project-open:hover .project-title-row,
.project-open:focus-visible .project-title-row {
  transform: translateX(7px);
}

.project-open:hover .project-meta-side i,
.project-open:focus-visible .project-meta-side i {
  transform: translate(3px, -3px);
}

.project-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  padding: 70px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.noscript-note {
  padding: 24px;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Statement */
.visual-statement {
  position: relative;
  padding-block: clamp(120px, 17vw, 260px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 40%, rgba(255, 100, 31, 0.16), transparent 25%),
    linear-gradient(135deg, #17130f, #0c0c0b 65%);
}

.visual-statement::before,
.visual-statement::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.visual-statement::before {
  top: -35vw;
  right: -18vw;
  width: 70vw;
  height: 70vw;
}

.visual-statement::after {
  right: 5vw;
  bottom: -29vw;
  width: 48vw;
  height: 48vw;
}

.statement-label {
  margin-bottom: 40px;
  color: var(--orange);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.18em;
}

.statement-line {
  position: relative;
  z-index: 2;
  font-size: clamp(47px, 8vw, 125px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.statement-line span,
.statement-line em {
  display: block;
}

.statement-line em {
  margin-top: 0.2em;
  padding-left: 11vw;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(64px, 10vw, 160px);
  align-items: center;
}

.about-diagram {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.diagram-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black, transparent 72%);
}

.diagram-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.diagram-orbit::before,
.diagram-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.diagram-orbit::before {
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.diagram-orbit::after {
  right: 13%;
  bottom: 10%;
  width: 5px;
  height: 5px;
  background: var(--acid);
}

.orbit-a {
  width: min(34vw, 470px);
  height: min(34vw, 470px);
}

.orbit-b {
  width: min(23vw, 315px);
  height: min(23vw, 315px);
}

.diagram-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 146px;
  height: 146px;
  padding: 22px;
  place-content: center;
  border-radius: 50%;
  color: var(--bg);
  background: var(--orange);
  transform: translate(-50%, -50%);
}

.diagram-core span {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.09em;
}

.diagram-core small {
  margin-top: 8px;
  font: 800 8px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.diagram-label {
  position: absolute;
  color: var(--muted);
  font: 650 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.label-a { top: 28px; left: 0; }
.label-b { right: 0; bottom: 28px; }
.label-c { bottom: 28px; left: 0; color: var(--acid); }

.about-copy h3 {
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.about-copy h3 span {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.about-lead {
  max-width: 720px;
  margin-top: 48px;
  color: #d1cdc4;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.65;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 34px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.about-columns p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}

.skill-tags span {
  display: grid;
  min-height: 40px;
  padding: 0 16px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bab7af;
  font-size: 11px;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.skill-tags span:hover {
  color: var(--bg);
  border-color: var(--acid);
  background: var(--acid);
}

/* Capabilities */
.capabilities {
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
}

.capabilities .shell {
  position: relative;
  z-index: 2;
}

.capability-list {
  position: relative;
  z-index: 2;
  width: min(900px, 68%);
  border-top: 1px solid var(--line);
}

.capability-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 156px;
  border-bottom: 1px solid var(--line);
  transition: padding 400ms var(--ease), color 240ms ease;
}

.capability-item::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 156px;
  z-index: -1;
  background: var(--orange);
  content: "";
  opacity: 0;
  transform: scaleY(0.8);
  transition: opacity 260ms ease, transform 400ms var(--ease);
}

.capability-item.is-active::before,
.capability-item:hover::before,
.capability-item:focus-visible::before {
  opacity: 1;
  transform: scaleY(1);
}

.capability-item.is-active,
.capability-item:hover,
.capability-item:focus-visible {
  color: var(--bg);
  padding-inline: 18px;
}

.capability-index {
  align-self: start;
  padding-top: 49px;
  color: currentColor;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  opacity: 0.65;
}

.capability-item h3 {
  font-size: clamp(27px, 3vw, 45px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.05em;
}

.capability-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  transition: color 240ms ease;
}

.capability-item.is-active p,
.capability-item:hover p,
.capability-item:focus-visible p {
  color: rgba(12, 12, 11, 0.72);
}

.capability-item > i {
  padding-right: 8px;
  font-style: normal;
  font-size: 24px;
}

.capability-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(31vw, 420px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}

.capability-preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  content: "";
}

.capability-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  transition: opacity 220ms ease, transform 600ms var(--ease);
}

.capability-preview img.is-changing {
  opacity: 0;
  transform: scale(1.04);
}

.capability-preview span {
  position: absolute;
  right: 24px;
  bottom: 38px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font: 650 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
}

/* Process */
.process {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #0a0a09;
  background-size: 72px 72px;
}

.process-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(70px, 11vw, 180px);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 150px;
}

.process-copy h2 {
  margin-top: 22px;
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.process-copy > p:last-child {
  max-width: 460px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 190px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  color: var(--orange);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.process-step h3 {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.045em;
}

.process-step p {
  grid-column: 2;
  align-self: end;
  color: var(--muted);
  font-size: 12px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}

.contact-heading {
  position: sticky;
  top: 150px;
}

.contact-heading h2 {
  margin-top: 26px;
  font-size: clamp(52px, 6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.contact-heading h2 span {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.contact-email {
  position: relative;
  display: grid;
  width: min(100%, 520px);
  gap: 12px;
  margin-top: 64px;
  padding: 24px 64px 24px 0;
  border-block: 1px solid var(--line);
  text-align: left;
  background: transparent;
}

.contact-email small {
  color: var(--muted);
  font: 650 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.15em;
}

.contact-email strong {
  overflow: hidden;
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 650;
  text-overflow: ellipsis;
}

.contact-email i {
  position: absolute;
  right: 0;
  bottom: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--bg);
  background: var(--acid);
  font-style: normal;
  transition: transform 300ms var(--ease);
}

.contact-email:hover i {
  transform: rotate(12deg) scale(1.07);
}

.contact-form {
  display: grid;
  gap: 38px;
  padding: clamp(32px, 5vw, 64px);
  background: var(--surface);
}

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

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

.contact-form label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  transition: border-color 220ms ease;
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
  line-height: 1.7;
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 7px) 50%, 100% 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.contact-form select option {
  color: var(--text);
  background: var(--surface);
}

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

.contact-form [aria-invalid="true"] {
  border-bottom-color: #ff8662;
}

.contact-form ::placeholder {
  color: #66635e;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 6px;
}

.form-status {
  max-width: 310px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.submit-button {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-width: 210px;
  min-height: 58px;
  padding: 0 9px 0 22px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
  transition: background 220ms ease, transform 300ms var(--ease);
}

.submit-button i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(12, 12, 11, 0.1);
  font-style: normal;
  font-size: 18px;
}

.submit-button:hover {
  background: var(--acid);
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  padding: 80px 0 24px;
  border-top: 1px solid var(--line);
  background: #090908;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 80px;
  padding-bottom: 80px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.footer-brand > a {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.1em;
}

.footer-brand p {
  color: var(--muted);
  font: 650 8px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
}

.footer-links {
  display: grid;
  min-width: 260px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: #c2bfb7;
  font-size: 12px;
  transition: color 220ms ease, padding 260ms var(--ease);
}

.footer-links a:hover {
  padding-left: 8px;
  color: var(--orange);
}

.footer-links span {
  font-size: 15px;
}

.back-top {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}

.back-top span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.back-top:hover span {
  color: var(--bg);
  border-color: var(--acid);
  background: var(--acid);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #62605a;
  font: 650 8px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
}

/* Project dialog */
.project-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  border: 0;
  color: var(--text);
  background: var(--bg);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 300ms ease, transform 300ms var(--ease), display 300ms allow-discrete;
}

.project-dialog[open] {
  opacity: 1;
  transform: translateY(0);
}

@starting-style {
  .project-dialog[open] {
    opacity: 0;
    transform: translateY(28px);
  }
}

.project-dialog.is-closing {
  opacity: 0;
  transform: translateY(18px);
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.dialog-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 12;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.dialog-progress span {
  display: block;
  width: var(--dialog-progress);
  height: 100%;
  background: var(--orange);
}

.dialog-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 9px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 10, 9, 0.66);
  backdrop-filter: blur(12px);
  font-size: 10px;
}

.dialog-close i {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
}

.dialog-close i::before,
.dialog-close i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: var(--bg);
  content: "";
}

.dialog-close i::before { transform: translate(-50%, -50%) rotate(45deg); }
.dialog-close i::after { transform: translate(-50%, -50%) rotate(-45deg); }

.dialog-content {
  min-height: 100%;
}

.dialog-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.dialog-hero-media,
.dialog-hero-media img,
.dialog-hero-media div {
  position: absolute;
  inset: 0;
}

.dialog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) saturate(0.9);
}

.dialog-hero-media div {
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.82), rgba(7, 7, 6, 0.1) 68%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.2), transparent 50%, #0c0c0b);
}

.dialog-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: var(--shell);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 130px 0 66px;
}

.dialog-label {
  margin-bottom: 24px;
  color: var(--orange);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.17em;
}

.dialog-hero-copy h2 {
  max-width: 1050px;
  font-size: clamp(62px, 9vw, 148px);
  font-weight: 850;
  line-height: 0.84;
  letter-spacing: -0.085em;
}

.dialog-hero-copy > p:nth-of-type(2) {
  max-width: 590px;
  margin-top: 34px;
  color: rgba(242, 238, 230, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.dialog-scroll {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(242, 238, 230, 0.6);
  font: 650 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.16em;
}

.dialog-scroll i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-style: normal;
}

.dialog-shell {
  width: var(--shell);
  margin-inline: auto;
}

.dialog-overview {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(70px, 11vw, 170px);
  padding-block: clamp(100px, 12vw, 190px);
}

.project-facts {
  position: sticky;
  top: 60px;
  align-self: start;
  border-top: 1px solid var(--line);
}

.project-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
  font-size: 10px;
}

.project-facts dd {
  font-size: 11px;
  line-height: 1.5;
}

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

.project-story article {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 28px;
  padding: 38px 0 48px;
  border-bottom: 1px solid var(--line);
}

.project-story article > span {
  color: var(--orange);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.project-story h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-story p {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.dialog-gallery-section {
  padding-bottom: clamp(110px, 14vw, 210px);
}

.dialog-gallery-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 58px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.dialog-gallery-section > header p,
.dialog-gallery-section > header > span {
  color: var(--muted);
  font: 650 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.14em;
}

.dialog-gallery-section > header h3 {
  margin-top: 16px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.dialog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 6vw, 88px) clamp(14px, 2vw, 30px);
  align-items: start;
}

.gallery-figure.is-wide {
  grid-column: 1 / -1;
}

.gallery-image-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface);
}

.gallery-image-button img {
  width: 100%;
  height: auto;
  transition: transform 650ms var(--ease), filter 650ms var(--ease);
}

.gallery-image-button:hover img,
.gallery-image-button:focus-visible img {
  filter: brightness(1.07) saturate(1.08);
  transform: scale(1.018);
}

.gallery-figure figcaption {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 18px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.gallery-figure figcaption span {
  color: var(--orange);
  font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.gallery-figure figcaption i {
  color: #66635d;
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.dialog-footer p {
  color: var(--muted);
  font: 650 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.16em;
}

.dialog-close-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--text);
  background: transparent;
  font-size: 11px;
}

.dialog-close-bottom span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

/* Lightbox */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  color: var(--text);
  background: rgba(6, 6, 5, 0.97);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.94);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 20px;
}

.lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  height: calc(100vh - 48px);
  height: calc(100svh - 48px);
}

.lightbox figure img {
  align-self: center;
  justify-self: center;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  max-height: calc(100svh - 120px);
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

.lightbox figcaption span {
  color: var(--orange);
  font: 700 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  background: transparent;
  font-size: 10px;
}

.lightbox-close span {
  font-size: 22px;
}

.lightbox-nav {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  font-size: 19px;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.lightbox-nav:hover:not(:disabled) {
  color: var(--bg);
  border-color: var(--acid);
  background: var(--acid);
}

.lightbox-nav:disabled {
  cursor: default;
  opacity: 0.25;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 10002;
  min-width: 160px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(20, 20, 18, 0.9);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  font-size: 11px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 44px, 1440px);
  }

  .site-header {
    width: calc(100vw - 28px);
  }

  .brand-meta,
  .header-contact span {
    display: none;
  }

  .header-contact {
    padding-left: 8px;
  }

  .hero-copy {
    width: 94%;
  }

  .hero-split-layout {
    grid-template-columns: minmax(350px, 0.72fr) minmax(0, 1.28fr);
  }

  .hero-profile-info {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .hero-profile-intro {
    font-size: 10px;
  }

  .hero-cg-thumbnails {
    grid-template-columns: repeat(4, 52px);
  }

  .hero-cg-thumbnail {
    width: 52px;
    height: 38px;
  }

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

  .project-card.layout-a,
  .project-card.layout-b,
  .project-card.layout-c,
  .project-card.layout-d,
  .project-card.layout-e,
  .project-card.layout-f,
  .project-card.layout-g,
  .project-card.layout-h {
    grid-column: auto;
    margin-top: 0;
  }

  .project-card:nth-child(3n + 2) {
    margin-top: 80px;
  }

  .project-card:nth-child(4n + 1) .project-media,
  .project-card:nth-child(4n) .project-media {
    aspect-ratio: 4 / 5;
  }

  .project-card:nth-child(4n + 2) .project-media,
  .project-card:nth-child(4n + 3) .project-media {
    aspect-ratio: 4 / 3;
  }

  .about-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 54px;
  }

  .about-diagram {
    min-height: 520px;
  }

  .orbit-a { width: 38vw; height: 38vw; }
  .orbit-b { width: 26vw; height: 26vw; }

  .capability-list {
    width: 72%;
  }

  .process-shell,
  .contact {
    grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
    gap: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr 280px;
  }

  .back-top {
    grid-column: 2;
  }
}

/* Mobile navigation and layout */
@media (max-width: 820px) {
  :root {
    --header-height: 62px;
    --shell: calc(100% - 34px);
  }

  .section {
    padding-block: 105px;
  }

  .site-header {
    top: 10px;
    z-index: 1002;
    grid-template-columns: 1fr auto;
    width: calc(100vw - 20px);
    height: var(--header-height);
    padding: 0 8px 0 12px;
  }

  .brand {
    position: relative;
    z-index: 1002;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 6px;
    border-radius: 50%;
    background: var(--orange);
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 1px;
    background: var(--bg);
    transition: transform 280ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 96px 20px 24px;
    visibility: hidden;
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 100, 31, 0.24), transparent 35%),
      #0c0c0b;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 280ms ease, transform 360ms var(--ease), visibility 280ms;
  }

  .mobile-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font: 650 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0.14em;
  }

  .mobile-nav-links {
    display: grid;
    margin-top: auto;
    margin-bottom: auto;
  }

  .mobile-nav-links a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    min-height: 78px;
    border-bottom: 1px solid var(--line);
    font-size: clamp(32px, 10vw, 52px);
    font-weight: 760;
    letter-spacing: -0.055em;
  }

  .mobile-nav-links a > span {
    color: var(--orange);
    font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0;
  }

  .mobile-nav-links a i {
    color: var(--muted);
    font-style: normal;
    font-size: 19px;
  }

  .mobile-email {
    display: grid;
    gap: 7px;
    min-height: 58px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    text-align: left;
    background: transparent;
  }

  .mobile-email span {
    color: var(--muted);
    font-size: 9px;
  }

  .mobile-email strong {
    font-size: 13px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 4, 0.72), rgba(5, 5, 4, 0.08)),
      linear-gradient(180deg, rgba(5, 5, 4, 0.35), transparent 30%, rgba(5, 5, 4, 0.2) 62%, #0c0c0b 100%);
  }

  .hero-grid {
    background-size: 72px 72px;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 24px;
  }

  .hero-profile-split {
    min-height: auto;
  }

  .hero-profile-split .hero-content {
    grid-template-rows: auto auto auto;
    min-height: auto;
    gap: 14px;
    padding-top: 92px;
    padding-bottom: 22px;
  }

  .hero-split-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-profile-panel {
    min-height: 820px;
  }

  .hero-profile-photo img {
    object-position: center 45%;
  }

  .hero-profile-info {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .hero-profile-info h1 {
    font-size: clamp(44px, 13.5vw, 68px);
  }

  .hero-profile-intro {
    max-width: 520px;
    font-size: 11px;
  }

  .hero-profile-facts {
    max-width: 560px;
  }

  .hero-cg-panel {
    min-height: 540px;
  }

  .hero-cg-panel .hero-slide img {
    top: 150px;
    bottom: 150px;
    height: auto;
    padding: 0;
  }

  .hero-cg-heading h2 {
    font-size: clamp(43px, 12.5vw, 68px);
  }

  .hero-cg-thumbnails {
    grid-template-columns: repeat(4, 54px);
  }

  .hero-cg-thumbnail {
    width: 54px;
    height: 38px;
  }

  .hero-rail span:last-child {
    display: none;
  }

  .hero-copy {
    width: 100%;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(57px, 17vw, 104px);
    line-height: 0.84;
  }

  .outline-title {
    -webkit-text-stroke-width: 1px;
  }

  .hero-copy-bottom {
    align-items: flex-end;
    gap: 20px;
    margin-top: 34px;
    padding-left: 0;
  }

  .hero-copy-bottom > p {
    max-width: 380px;
    font-size: 12px;
    line-height: 1.75;
  }

  .round-link {
    width: 84px;
    height: 84px;
    padding: 15px;
    font-size: 10px;
  }

  .round-link i {
    font-size: 17px;
  }

  .visual-carousel {
    min-height: 900px;
    padding-block: 86px 66px;
    background-size: 54px 54px, 54px 54px, auto, auto;
  }

  .visual-carousel::before { top: 14px; }
  .visual-carousel::after { bottom: 14px; }

  .carousel-corner {
    width: 16px;
    height: 16px;
  }

  .carousel-corner::before { width: 16px; }
  .carousel-corner::after { height: 16px; }
  .corner-top-left { top: 14px; left: 14px; }
  .corner-top-right { top: 14px; right: 14px; }
  .corner-bottom-left { bottom: 14px; left: 14px; }
  .corner-bottom-right { right: 14px; bottom: 14px; }

  .visual-carousel-head h2 {
    margin-top: 20px;
    font-size: clamp(39px, 11.5vw, 60px);
  }

  .visual-carousel-head > p {
    max-width: 420px;
    font-size: 12px;
  }

  .visual-carousel-stage {
    height: 435px;
    margin-top: 34px;
  }

  .visual-card {
    width: 270px;
    height: 395px;
    border-radius: 14px;
  }

  .visual-card.is-prev-2 {
    transform: translate(-50%, -50%) translateX(-245px) scale(0.78) rotateY(21deg);
  }

  .visual-card.is-prev-1 {
    transform: translate(-50%, -50%) translateX(-132px) scale(0.88) rotateY(10deg);
  }

  .visual-card.is-next-1 {
    transform: translate(-50%, -50%) translateX(132px) scale(0.88) rotateY(-10deg);
  }

  .visual-card.is-next-2 {
    transform: translate(-50%, -50%) translateX(245px) scale(0.78) rotateY(-21deg);
  }

  .visual-card-copy {
    right: 20px;
    bottom: 21px;
    left: 20px;
  }

  .visual-card.is-current .visual-card-copy h3 {
    font-size: 26px;
  }

  .visual-carousel-nav {
    width: 44px;
    height: 44px;
  }

  .visual-carousel-prev { left: -4px; }
  .visual-carousel-next { right: -4px; }

  .visual-carousel-status {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 4px;
  }

  .visual-carousel-status > span {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 58px;
  }

  .section-head h2 {
    font-size: clamp(50px, 15vw, 82px);
  }

  .section-intro {
    max-width: 420px;
    font-size: 13px;
  }

  .work-toolbar {
    display: block;
    margin-right: calc((100vw - 100%) / -2);
    margin-left: calc((100vw - 100%) / -2);
    padding-inline: 17px;
    overflow: hidden;
  }

  .filters {
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .project-count {
    padding-top: 13px;
    text-align: right;
  }

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

  .project-card,
  .project-card:nth-child(3n + 2) {
    grid-column: 1 !important;
    margin-top: 0;
  }

  .project-card .project-media,
  .project-card:nth-child(4n + 1) .project-media,
  .project-card:nth-child(4n) .project-media {
    aspect-ratio: 4 / 3;
  }

  .project-card:nth-child(3n + 2) .project-media {
    aspect-ratio: 4 / 5;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 17px;
  }

  .project-title-row h3,
  .layout-b .project-title-row h3,
  .layout-c .project-title-row h3,
  .layout-f .project-title-row h3,
  .layout-h .project-title-row h3 {
    font-size: 25px;
  }

  .project-meta-side {
    justify-content: space-between;
    text-align: left;
  }

  .view-case {
    opacity: 1;
    transform: none;
  }

  .statement-line em {
    padding-left: 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-diagram {
    min-height: min(105vw, 520px);
  }

  .orbit-a { width: 78vw; height: 78vw; max-width: 420px; max-height: 420px; }
  .orbit-b { width: 52vw; height: 52vw; max-width: 280px; max-height: 280px; }

  .about-copy h3 {
    font-size: clamp(40px, 11.5vw, 64px);
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .capability-list {
    width: 100%;
  }

  .capability-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 136px;
  }

  .capability-item::before {
    height: 136px;
  }

  .capability-index {
    padding-top: 44px;
  }

  .capability-item h3 {
    font-size: 27px;
  }

  .capability-preview {
    display: none;
  }

  .process-shell,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-copy,
  .contact-heading {
    position: static;
  }

  .process-step {
    min-height: 160px;
  }

  .contact-form {
    padding: 30px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .footer-links {
    min-width: 0;
  }

  .back-top {
    grid-column: 1;
    justify-self: start;
  }

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

  .dialog-close {
    top: 12px;
    right: 12px;
  }

  .dialog-close > span {
    display: none;
  }

  .dialog-close {
    width: 48px;
    padding: 8px;
  }

  .dialog-hero-copy {
    padding: 100px 0 34px;
  }

  .dialog-hero-copy h2 {
    font-size: clamp(52px, 16vw, 90px);
  }

  .dialog-hero-copy > p:nth-of-type(2) {
    font-size: 13px;
  }

  .dialog-scroll {
    display: none;
  }

  .dialog-overview {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .project-facts {
    position: static;
  }

  .dialog-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-figure.is-wide {
    grid-column: 1;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox[open] {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 6px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox figcaption {
    display: grid;
    gap: 5px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero-profile-panel {
    min-height: 790px;
  }

  .hero-profile-info {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .hero-profile-info h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-profile-facts {
    gap: 8px;
  }

  .hero-cg-panel {
    min-height: 620px;
  }

  .hero-cg-bottom {
    display: grid;
    gap: 18px;
  }

  .hero-cg-thumbnails {
    justify-self: end;
  }

  .hero-cg-panel .hero-slide img {
    top: 145px;
    bottom: 220px;
    height: auto;
    padding: 0;
  }

  .hero-kicker {
    font-size: 8px;
  }

  .hero-copy-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
  }

  .hero-footer {
    align-items: center;
  }

  .scroll-cue span {
    display: none;
  }

  .discipline-strip {
    padding-block: 16px;
  }

  .work::before {
    height: 56px;
  }

  .project-number {
    top: 12px;
    left: 12px;
  }

  .view-case {
    right: 12px;
    bottom: 12px;
    gap: 15px;
  }

  .statement-label {
    margin-bottom: 24px;
  }

  .statement-line {
    font-size: clamp(42px, 13vw, 66px);
  }

  .diagram-core {
    width: 122px;
    height: 122px;
  }

  .diagram-core span {
    font-size: 34px;
  }

  .capability-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    min-height: 148px;
  }

  .capability-item::before {
    height: 148px;
  }

  .capability-item > i {
    display: none;
  }

  .capability-item h3 {
    font-size: 24px;
  }

  .process-step {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
  }

  .footer-brand {
    display: grid;
  }

  .project-facts > div {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .project-story article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .gallery-figure figcaption {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .gallery-figure figcaption i {
    display: none;
  }

  .dialog-footer p {
    display: none;
  }

  .dialog-footer {
    justify-content: flex-end;
  }

  .lightbox[open] {
    grid-template-columns: 1fr;
  }

  .lightbox figure {
    grid-column: 1;
    grid-row: 1;
    height: calc(100svh - 28px);
  }

  .lightbox-nav {
    position: fixed;
    bottom: 22px;
    z-index: 2;
    background: rgba(10, 10, 9, 0.8);
  }

  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }

  .lightbox figure img {
    max-height: calc(100svh - 100px);
  }

  .lightbox figcaption {
    padding-inline: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
